Hi- I'm using Samba with OpenLDAP and was wondering how to add a user to multiple groups, for instance 'Domain Users' and 'Marketing'. Is this stored in the gid field? Do I just add more than one gid filed for each entry? Thanks! -Greg _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 11 Feb 2003, Gregory Chagnon wrote:> I'm using Samba with OpenLDAP and was wondering how to add a user to > multiple groups, for instance 'Domain Users' and 'Marketing'. Is this > stored in the gid field? Do I just add more than one gid filed for each > entry? Thanks! -GregSAMBA_3_0 ? or a Samba 2.2 release? jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+SoAsIR7qMdg1EfYRAsS8AKDrsOlw7+o/2vhdMnP5vAA9z8/zpQCgltFy z5Ap34HNHklfYfiaJvczOao=N0LB -----END PGP SIGNATURE-----
Am Die, 2003-02-11 um 22.35 schrieb Gregory Chagnon:> Hi- > I'm using Samba with OpenLDAP and was wondering how to add a user to > multiple groups, for instance 'Domain Users' and 'Marketing'. Is this > stored in the gid field? Do I just add more than one gid filed for eachNo, 'gidNumber' attribute defines the primaray group. If you want to add a user to secondary groups, you have to add those to the specific group in LDAP. E.g. if you want to add User1 to Group1 you have to add an attribute "memberUid" with the value "User1" into "cn=Group1,ou=Groups, dc=abc,dc=org". It behaves just the same way Unix passwd/group files do. regards Dariush -- PGP Fingerprint: 0x886C99A1 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.samba.org/archive/samba/attachments/20030212/7ebb33f4/attachment.bin