[Samba] GroupMap : 'Privilege >> No privilege'
David PORTE
porte at trigone.fr
Mon Jun 16 09:29:23 GMT 2003
Hello,
I'm using Samba3Beta1 and i try to map group.
I create a posix group in my ldap:
dn: cn=Administrateurs du domaine,ou=Groups,dc=middleearth,dc=ring
objectClass: posixGroup
cn: Administrateurs du domaine
memberUid: root
memberUid: administrateur
gidNumber: 1000
And I try to map this group with the nt group : Domain Admins
net groupmap add ntgroup="Domain Admins" unixgroup="Administrateurs du
domaine"
But it didn't work. It told me, how to use the nep groupmap command:
Usage: net groupmap add {rid=<int>|sid=<string>}......
So I, add "rid=512" to my command:
net groupmap add rid=512 ntgroup="Domain Admins"
unixgroup="Administrateurs du domaine"
And it worked.
I looked in my ldap, and see:
dn: cn=Administrateurs du domaine,ou=Groups,dc=middleearth,dc=ring
objectClass: posixGroup
objectClass: sambaGroupMapping
cn: Administrateurs du domaine
memberUid: root
memberUid: administrateur
gidNumber: 1000
sambaSID: S-1-5-21-3921159120-4202317873-1033194960-512
sambaGroupType: 2
displayName: Domain Admins
But When I try to look the privilege:
net groupmap list verbose
I see:
Domain Admins
SID :S-1-5-21-3921159120-4202317873-1033194960-512
Unix group:Administrateurs du domaine
Group type:Doamin
Comment :
Privilege : No privilege
Someone can tell me why there are no privilege... This is my Admin group
domain and I've got no privilege...It's no good.....
Is it a bug??
David PORTE
More information about the samba
mailing list