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
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10 Jun 2003, 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>]give it a rid or SID. 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.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+9mzgIR7qMdg1EfYRAmtSAKCfFnr7CUsYLTgt8VDrnyGq1oVfcgCgwvgZ nlVpRieIpns5WjjYGr6lR0Q=SLXC -----END PGP SIGNATURE-----
net groupmap modify unixgroup=smbadmin ntgroup="Domain Admins" does the job regards> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10 Jun 2003, 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>] > > > give it a rid or SID. > > > > > 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.0 (GNU/Linux) > Comment: For info see http://quantumlab.net/pine_privacy_guard/ > > iD8DBQE+9mzgIR7qMdg1EfYRAmtSAKCfFnr7CUsYLTgt8VDrnyGq1oVfcgCgwvgZ > nlVpRieIpns5WjjYGr6lR0Q> =SLXC > -----END PGP SIGNATURE----- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!