Auto create local account with winbind.

Hi,

I have a set up a linux box connected to windows active directory using winbind. Everything is up and running fine. Now i wish to auto create a local account whenever a new user logs in. I have tried every possible way using the smb.conf to no avail.

Any help would be appreciated.

I did add "add user script = /usr/bin/useradd %u" in samba.conf

That didnt help either.