> add machine script = /usr/sbin/smbldap-useradd -t 0 -w "%u" > Shouldn't that be "-W" (uppercase W)? From smbldap-useradd: -w is a Windows Workstation (otherwise, Posix stuff only) -W is a Windows Workstation, with Samba atributes (otherwise, Posix stuff only)