You can add a pam module to create them but that would require users to login first. I did a quick google and found this which might help you.
http://mirrors.techiesabode.com/linuxgazette/101/levkovich.html Michael Luich Unix Admininstrator DSCI corp [EMAIL PROTECTED] cell: 603-475-5799 "The mark of an immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one." --W. Stekel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitri Yioulos Sent: Friday, July 29, 2005 12:50 PM To: Samba Subject: [Samba] Automatically creating home directories? Hello to all. I want to use winbind to automatically create email accounts. I've added several linux boxes to our win2k3 AD and working pretty well (more in a new post about this). When I create a new user on the win2k3 box, users can access various shares on the linux boxes, as it should be. I also have a sendmail server sitting in a DMZ. I have to create the email user account on this box separately. I'd like to eliminate this step. I've added 3.0.14a to the email server, and fired up winbind. It works like a charm! But ... I still need to create user home directories so that mail gets deilvered to thier mailboxes. I know there's a samba directive as follows: "template homedir = home/%D/%U". Should this create user home directories? If not, is there a way to do this automatically, and if so, how. As always, many thanks. Dimitri -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba