On Tue, Apr 28, 2009 at 1:50 PM, Eduardo M KALINOWSKI <edua...@kalinowski.com.br> wrote: > On Ter, 28 Abr 2009, Philippe Le Gal wrote: >> >> Probleme solved. > > You might want to tell the list how you did that, in case other people have > a similar problem and could benefit from the solution.
A simple solution is: function create_home { ... } function create_maildir { ... } for uid in $(ldapsearch -x -h ldap -bdc=example,dc=com uid | awk '/^uid/ {print $2}) do create_home $uid create_maildir $uid done Perhaps better having pam_mkhomedir installed -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org