New feature for winbindd
Gerald (Jerry) Carter
jerry at samba.org
Thu Dec 13 16:33:10 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pedro de Medeiros wrote:
> Actually, I guess some changes to param/loadparm.c would
> be necessary, since idmap_[gu]id_{low|high} variables are
> hardcoded into functions handle_idmap_[gu]id(). Unless, of
> course, we create a new directive in smb.conf to deal
> specially with this new feature. Something like:
>
> idmap uid command = /usr/local/bin/getmynumber %U
> idmap gid command = /usr/local/bin/getmynumber %U
>
> This would require a new section too, instead of [global], I
> presume?
Nope. See the new idmap allocate backend in 3.0.25
and later. Then define a parameteric option for your
new backend. No need to touch loadparm.c. Thyat's my
point about not touch core daemon code unless necessary.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHYV7GIR7qMdg1EfYRAunMAJ0fTBT2DmyfmhtJsB/PSBYmYmCDGACgz94c
zFuF4cbBAkcD1EviDrDbFKI=
=qF9z
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list