l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Oct 07 11:11

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Passing the proper username from Windows XP to Linux via Samba
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Passing the proper username from Windows XP to Linux via Samba

As mentioned previously, samba is using the 'guest account'.

If you want a quick-and-dirty fix, try editing (or maybe adding) the following
line in smb.conf:

guest account = unixacct

This solves most of my permissions problems.  The smbpasswd thingy works, as
well, but I rely more on this one (I have had weirdness [e.g. passwords that I
set in smbpasswd not working all the time and not working consistently] using
the smbpasswd stuff with winXP, I am going to wait for a few more releases of
samba before I start using it regularly).  I don't know if the weirdness is
samba or winXP, but it's still gives some freaky behavior.  Anyone else had
this eXPerience?  --My $0.02

Here is the part from manpage:

       guest account (S)
              This is a username which will be used for access to
              services  which  are  specified  as   guest ok (see
              below). Whatever privileges this user has  will  be
              available  to  any  client  connecting to the guest
              service.  Typically this user  will  exist  in  the
              password file, but will not have a valid login. The
              user account "ftp" is often a good choice for  this
              parameter.  If  a  username is specified in a given
              service, the specified username overrides this one.

              One some systems the default guest account "nobody"
              may not be able to print. Use  another  account  in
              this case. You should test this by trying to log in
              as your guest user (perhaps by using the su -  com­
              mand)  and  trying  to print using the system print
              command such as lpr(1) or  lp(1).

              Default:  specified  at   compile   time,   usually

              Example: guest account = ftp

--- Richard Crawford <rscrawford@mossroot.com> wrote:
> I'm trying to perfect my home network.  I have a server running Red Hat 
> 8, and I'd like to connect to it from my Windows XP laptop so that files 
> I create on my laptop can be edited easily from my Linux desktop.
> The problem is that even though I map to the network drive with the 
> "user other username and password" function of Windows, and set the 
> username and password to the username and password of my account on the 
> Linux box, files I create with Windows on the Linux box still show up as 
> owned by "nobody".  So I can't edit them on my Linux box without 
> chowning them, which is annoying.
> I am, of course, using Samba to share out the Linux drive to Windows.
> The FM seems to have no answer to this puzzle.  Suggestions, anyone?
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

POLITICS, n.  A strife of interests masquerading as a contest of
principles.  The conduct of public affairs for private advantage.

Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.