[Samba] net groupmap syntax ?!?

Holger Brückner lists at net-labs.de
Tue Jun 10 17:47:57 GMT 2003


another strange thing

i only get a listing of the buildingroups if i define smbpasswd
as the first backend in smb.conf:

passdb backend = smbpasswd ldapsam tdbsam guest

svpdc:/etc/samba# net groupmap list
System Operators (S-1-5-32-549) -> -1
smbadmin (S-1-5-21-3839733233-2759951301-2176690758-3036) -> smbadmin
Replicators (S-1-5-32-552) -> -1
Guests (S-1-5-32-546) -> -1
......

passdb backend = ldapsam tdbsam smbpasswd guest
svpdc:/etc/samba# net groupmap list
svpdc:/etc/samba#

?!? ;)

Holger

On Tue, 2003-06-10 at 19:01, Holger Brückner wrote:
> hello,
> 
> trying to follow the example im the howto-collection.
> this is a samba 3.0beta-1 from debian, recompiled with ldapsam support
> 
> refering to the howto, the following command should work:
> 
> net groupmap add unixgroup=smbadmin ntgroup="Domain Admins"
> 
> unfortunately ist just says:
>  svpdc:~# net groupmap add unixgroup=smbadmin ntgroup="Domain Admins"
> Usage: net groupmap add {rid=<int>|sid=<string>} unixgroup=<string>
> [type=<domain|local|builtin>] [ntgroup=<string>] [comment=<string>]
> 
> what am i doing wrong here ?!?
> 
> smbadmin is in ldap as a posixGroup:
> 
> svpdc:~# getent group smbadmin
> smbadmin:x:1008:
> 
> thanks a lot
> 
> Holger
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list