[Samba] Winbind user primary group

Gerald (Jerry) Carter jerry at samba.org
Fri Jun 10 12:57:36 GMT 2005


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

Etienne Goyer wrote:

| My problem is that I would like to set winbind
| user's primary group to a specific group from
| the local /etc/group.  Is this possible at all ?
| Otherwise, any alternative to tweak winbind
| user's group membership ?

You'll need to modify the winbindd's source code
yourself.  It's pretty easy.  Look in
nsswitch/winbindd_user.c:winbindd_getpwnam().
You'll also need to fixc the cooresponding getpwuid()
call.




cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCqY4/IR7qMdg1EfYRAswMAKCTkiHIFgcnQkZe/pVocnav2tIJbgCg2dF9
zd5AgwcKZlIvfMV+avtg4wg=
=VTpl
-----END PGP SIGNATURE-----


More information about the samba mailing list