Rashid N. Achilov
2005-Aug-18 04:39 UTC
[Samba] Creating directories before resource connect
When I have fileserver with many users homedirs (but all users from AD through winbind), how can I autocreate /usr/home/blabla, when I have just create user blabla in AD? Samba required existed directory to connect to resource, preexec= starts only after succesful connection. I'd like to automate process - when I have just create user blabla, when it connect first time to their homedir at fileserver, their homedir will autocreate. How can I do it? -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), Web: http://granch.ru/~shelton Granch Ltd. system administrator, e-mail: achilov [at] granch [dot] ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20050818/6d2349ea/attachment.bin
Michal Kurowski
2005-Aug-18 05:11 UTC
[Samba] Re: Creating directories before resource connect
Rashid N. Achilov [shelton@granch.ru] wrote:> When I have fileserver with many users homedirs (but all users from AD through > winbind), how can I autocreate /usr/home/blabla, when I have just create user > blabla in AD? Samba required existed directory to connect to resource, > preexec= starts only after succesful connection. I'd like to automate process > - when I have just create user blabla, when it connect first time to their > homedir at fileserver, their homedir will autocreate. How can I do it?It's been discussed recently in here. See these threads: http://lists.samba.org/archive/samba/2005-June/106507.html http://lists.samba.org/archive/samba/2005-June/106954.html Cheers, -- Michal Kurowski <mkur@poczta.gazeta.pl>