[Samba]
Files copied from windows box set owner to "nobody";[homes] problem
steve king
its_steevo at hotmail.com
Tue Feb 18 11:47:28 GMT 2003
Hello,
I am using Samba 2.2.7 running on Solaris 8. I have also configured pam_smb
1.1.6 to authenticate my user against my NT domain. I have a few problems
though:
1) Every time I copy a file from my NT box to one of my Samba shares the
owner is set to nobody, the only way I can change this is by logging in as
root on the UNIX box and using 'chown'. What am I missing?
My smb.conf looks like this:
#Global parameters
workgroup=mydomain
security=share
hosts allow=localhost, unixmachine, 192.168.1.
hosts deny=All
[share]
path=/share
comment=Solaris Share
guest ok=Yes
read only=No
I thought this might be down to the fact that I didn't have a [homes]
section in my smb.conf file, which leads me onto my second problem...
2) If I add a [homes] section like this:
[homes]
guest account=
valid users=%S
read only =No
create mask=0664
directory mask=0775
browseable=Yes
Every time I try to access the [homes] share "steve" I am prompted for my
username and password which are not accepted. I have tried setting
security=user and security=server in the global but to no avail, the same
prompt appears. I can log into the UNIX box fine by telnetting and the dt
login prompt using my username and NT password so I know pam_smb is working
ok.
I am sure I am missing something obvious.
Thanks
Steve
_________________________________________________________________
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
More information about the samba
mailing list