Click to See Complete Forum and Search --> : Samba user mapping


Hawg
06-25-2002, 07:03 PM
All files copied from the Windows machine are being written as user/group nobody, instead of the actual user name. I've created an account on the server and am using the same logon passwd on the PC. When I mount the drive it accepts the password.

I've added all the users to smbpasswd file. Is this the defualt guest behaviour. If so is there a way to change it.

Thanks

inspleak
06-25-2002, 07:55 PM
The default quest is user Nobody... so
chances are pretty good that you have smb.conf
set to use guest access.. if that is not the case you could check out the Directory Mask
setting and the Create Mask setting..

Are you using SWAT or Webmin to setup the smb.conf file? if not you may want to look
into those.. they help lots to create a working smb.conf file..

-Jake

Hawg
06-25-2002, 08:49 PM
It was set to guest access. I guess I need to read up on it a bit more. Contrary to what I thought,using guest access maps ALL users as guests. Anyway I removed guest access and I'm good to go.
Tried swat but didn't see any advantage over hand editing the file. Never tried webmin


Thanks

mychl
06-26-2002, 08:43 AM
Look for a line that says bad user maps to nobody or something similar.