Samba/LDAP group configuration

MisterBlue's picture

Forums: 

Hello,

For more than one day, i am trying to search the good configuration to share a samba directory to a ldap group.

LDAP and samba are working but i can't access the directory (if i replace the valid user group by a valid user name, it's working).

Let me show you how i process:

I have created a directory :

ls -al
drwxr-xr-x 2 root root 4096 May 11 13:34 developpement

I have written the samba configuration:

[developpement]
comment = Répertoire Developpement
path = /home/domain/developpement
valid users = @developpement
write list = @developpement
force user = root
force create mode = 0770
force directory mode = 0770

I am actually in the group

smbldap-groupshow developpement
dn: cn=developpement,ou=group,dc=zmu
objectClass: posixGroup,top,sambaGroupMapping
cn: developpement
description: Developpement Group
sambaGroupType: 2
displayName: developpement
gidNumber: 29951
sambaSID: S-1-5-21-95357854-615248666-2694723956-60903
memberUid: romain.dubois

Do you have any idea why it doesn't work? (Logs are quiet)

Sorry for my bad english Smile and thanks for your help

MisterBlue