Réf. : [Samba] Net groupmap fails

Kent L. Nasveschuk kent at wareham.k12.ma.us
Fri Nov 7 16:32:09 GMT 2003


When I ran smbldap_populate.pl the objectclass sambaGroupMapping was not
present.I don't know if it is supposed to be created or not but when I
used ldapmodify with and a file that contained:


dn: cn=Domain Admins,ou=Groups,o=30GreatNeck,dc=home,dc=net
add: objectclass
objectclass: sambaGroupMapping
sambaSID: S-1-5-21-739112995-4084651483-89095900-512
sambaGroupType: 2

Now when I run net groupmap list I get
Domain Admins (S-1-5-21...512) => 512

Guess I will have to do that with all of the groups created by
smbldap-populate.pl.


found at archive:

http://www.mail-archive.com/samba@lists.samba.org/msg21134.html

Am I doing this right?



On Fri, 2003-11-07 at 10:31, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Kent L. Nasveschuk wrote:
> 
> | root at lnxsrvr2:~# /usr/local/samba/bin/net groupmap add ntgroup="Domain
> | Admins" unixgroup="Domain Admins" rid=512
> | Can't lookup UNIX group Domain Admins
> |
> | Is there something with initial compiling samba 3.0.0 that would disable
> | this? All the documentation that I've seen makes it look so easy, but I
> | can't get it to work.
> 
> Should work as far as I can tell.  try running
> 
> ~  net groupmap add ntgroup="Domain Admins" \
> ~  unixgroup="Domain Admins" rid=512 --debuglevel=10
> 
> and see if you get any clues.
> 
> 
> 
> cheers, 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.1 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE/q7rgIR7qMdg1EfYRApNLAJ9Vl+zRDF6dcF/ILcLBXx1KUyEniQCg2jm8
> awcVVG2Haash31wV5FKIRvo=
> =AzvU
> -----END PGP SIGNATURE-----
-- 
Kent L. Nasveschuk <kent at wareham.k12.ma.us>




More information about the samba mailing list