[Samba] re: cannot map ntgroup to ldap group-fixed

John H. mrmailer at myway.com
Tue Jan 27 08:08:17 GMT 2004

ok, i noticed the gid of ldap group "users" was 539, but the one it was migrated from in /etc/group was 100, so I changed the gid and everything seems to work now?  but why should it care that the gid is the same as it's /etc/group counterpart?

 --- On Tue 01/27, John H. < mrmailer at myway.com > wrote:
From: John H. [mailto: mrmailer at myway.com]
To: samba at lists.samba.org
Date: Tue, 27 Jan 2004 01:43:58 -0500 (EST)
Subject: [Samba] re: cannot map ntgroup to ldap group

<br>ok, cn=users group has an ldap entry, as you can see below...<br><br># Entry 1: cn=users,ou=Group,dc=INTRANET<br>dn: cn=users,ou=Group,dc=INTRANET<br>cn: users<br>userPassword: {crypt}x<br>gidNumber: 539<br>objectClass: top<br>objectClass: posixGroup<br>objectClass: phpgwAccount<br>phpgwAccountStatus: A<br>phpgwAccountType: g<br>phpgwAccountExpires: -1<br><br>I can type net groupmap ntgroup="Domain Power Users" unixgroup=bin and it will work, but it will not do it to unixgroup=users, but why?<br><br>I used phpldapadmin to do it manually, but it ends up only doing this<br>net groupmap list<br><br>Domain Power Users (S-1-5-21-4070452498-3149834983-2923667569-1201) -> 539<br><br><br>still not mapping it to the group, like the one down below does<br>Domain Admins (S-1-5-21-4070452498-3149834983-2923667569-512) -> ntadmin<br><br>here are the exported entries of both groups, so what is the problem?<br># Entry 1: cn=ntadmin,ou=Group,dc=INTRANET<br>dn: cn=ntadmin,ou=Group,dc=INTRANET<br>objectClass: posixGroup<br>objectClass: sambaGroupMapping<br>cn: ntadmin<br>userPassword:<br>gidNumber: 504<br>sambaSID: S-1-5-21-4070452498-3149834983-2923667569-512<br>sambaGroupType: 2<br>displayName: Domain Admins<br>description: Local Unix group<br><br># Entry 1: cn=users,ou=Group,dc=INTRANET<br>dn: cn=users,ou=Group,dc=INTRANET<br>cn: users<br>userPassword:<br>gidNumber: 539<br>sambaGroupType: 2<br>sambaSID: S-1-5-21-4070452498-3149834983-2923667569-1201<br>displayName: Domain Power Users<br>objectClass: posixGroup<br>objectClass: sambaGroupMapping<br>description: Local Unix Group<br><br><br>i seem to be so close to getting ldap working with samba:) users and all work, I just need to get these mappings and i can switch for good over to ldap from smbpasswd.<br><br><br>_______________________________________________<br>No banners. No pop-ups. No kidding.<br>Introducing My Way - http://www.myway.com<br>-- <br>To unsubscribe from this list go to the following URL and read the<br>instructions:  http://lists.samba.org/mailman/listinfo/samba<br>

No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com

More information about the samba mailing list