Réf. : [Samba] Net groupmap fails

John H Terpstra jht at samba.org
Fri Nov 7 15:54:51 GMT 2003


On Fri, 7 Nov 2003, 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.

Hint: Make sure that you have all your "add XXXX scripts" in place.
Also, make sure that these scripts can handle object names that have upper
case characters and/or spaces in them.

PS: groupadd does NOT permit spaces or upper case characters in a group
name.


- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list