samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] new users, new group, can't access shar

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

From: Leonardo Carneiro - Veltrac <lscarneiro_at_nospam>
Date: Wed May 12 2010 - 13:44:36 GMT
To: samba@lists.samba.org

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?
>>
>> 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.
Giving full permission to the folder (chmod -R +rwx /home/grupos/office)
permit the user to access, but i rather not use like this. There is
another way out?
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba