[Fwd: Patch To winbindd_users to set template group as seen with getent passwd]

Gerald (Jerry) Carter jerry at samba.org
Thu Sep 18 16:23:17 GMT 2003

Hash: SHA1

Gregory Hinton Nietsky wrote:
| here is a small patch to set the primary group when the users are
| enumerated im not sure if all will want this
| behaviour but it makes my life easier all users will be put into one
| group ie users this emulates the "old" way of adding unix users
| and allows for simpler management ....
| i have also changed the way template dir works in that all my users are
| now /var/home/user[0]/user[1]/user to allow for directory hashing this
| is set when hash2 is passed as a param to "template homedir"

Thanks Gregory, but I'm inclined not to include this patch
for a couple of reasons.  First it overloads the meaning
the 'template primary group' to doa couple of unrelated
operations.  And secondly, i think it is more intuitive to
leave the primary group as it is on the DC.

This issue has come up in the past but it has always been a specific
need for an application (e.g. clearcase).

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)

Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba-technical mailing list