[Samba] new users, new group, can't access share

Dale Schroeder dale at BriannasSaladDressing.com
Wed May 12 12:11:35 MDT 2010


On 05/12/2010 8:30 AM, Leonardo Carneiro - Veltrac wrote:
> Leonardo Carneiro - Veltrac wrote:
>> Hi everyone. I have a Samba 3.4.7 (bpo) on a debian box running as 
>> PDC with a LDAP backend. i have added a new group, 2 new users and 
>> created a new group share for them, but by some unknown reason they 
>> cannon access the share. the client is running windows vista. here's 
>> what i did:
>>
>>    smbldap-groupadd -a office
>>    smbldap-useradd -a -m user1
>>    smbldap-useradd -a -m user2
>>    smbldap-passwd user1
>>    smbldap-passwd user2
>>    smbldap-usermod -G +office user1
>>    smbldap-usermod -G +office user2
>>
>> and added the following entry to my smb.conf:
>>
>>    [office]
>>            writeable = yes
>>            map acl inherit = yes
>>            inherit permissions = yes
>>            path = /home/grupos/office
>>            force directory mode = 02777
>>            force create mode = 0777
>>            create mask = 0777
>>            directory mask = 02777
>>            valid users = @office
>>
>> here is the folder permissions:
>>
>>    fileserver:~# ls -ld /home/grupos/office/
>>    drwxrwx--- 2 root office 4096 2010-05-12 09:30 /home/grupos/office/
>>
>> did i missed something?
Possibly.
>>
>> Tks in advance.
> I forgot to tell, this particular machine has not joined the domain, 
> but this never has been a problem with other machines so far.

Since the client is not in the domain, do you have this in [global]?
     map untrusted to domain = Yes

See the "Authentication Changes" section of 
http://www.samba.org/samba/history/samba-3.4.0.html

Dale



More information about the samba mailing list