-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Derek Harkness wrote: > Hello All, > > I'm integrating an existing unix environment into an exist AD > environment. I'm thinking of switching from nssldap to nss_winbind but > have one problem. My user's home directories are in the format of > /home/user/<$first letter>/<$second letter>/<$username> > (/home/user/d/h/dhaknes). Looking at the template homedir it doesn't > appear that I can use this format. Is there away to pull the first and > second letters of the username as variables to use in template homedir?
No but this would be easy to implement. The nss_info API allows you to write a new plugin. if you code in C, I can point you right at what to do. Maybe an hour's work. > Side question, I'm looking at using pam_mkhomedir and > it is creating home directories for computer accounts > is there anyway to prevent that? Not really. A Computer object is derived from a user object in AD. SO both share the same set of base attributes (i.e. a computer is just a special type of user). 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.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJNVx/IR7qMdg1EfYRArppAJ4i7Bm3E+UOa0Jk4Y4SL0Xi46TzUACfTpqy WmNCZFHJnPLWub7fDm0q59E= =SqmA -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
