New feature for winbindd

Gerald (Jerry) Carter jerry at samba.org
Thu Dec 13 14:42:57 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pedro de Medeiros wrote:
> Hi, list.
> 
> I am thinking of implementing a new feature in winbindd that
> allows me to do this in smb.conf:
> 
> idmap uid = | /usr/local/bin/getmynumber %U
> idmap gid = | /usr/local/bin/getmynumber %U
> 
> Basically it will get new uids and gids from an application,
> instead of allocating new uids and gids serially for users as
> they first login to the host. After that, the uid/gid could still
> be stored in the tdb database.
> 
> So it is the application's job to guarantee that uid is unique,
> but that is besides the point.
> 
> I am willing to write a patch if there is interest in this
> feature. :)

This would belogn in an idmap allocator plugin an not in
the core winbindd code.  Should be easy to do.






cheers, jerry
- --
=====================================================================
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHYUTxIR7qMdg1EfYRAimTAKCKRypaMht0IxZ+CuIrHHbkAiN/1wCgzzP0
SlGCSWharKxv6GsSuNuMykc=
=+JMl
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list