I write this post because I’m completely lost
I configured a SAMBA server with LDAP backend, and I’m trying to use LDAPSMB for samba scripts.
I have problems with the add machine script. Previously to the use of LDAPSMB I’ve been using sucessfully the default add machine script:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
After installed LDAPSMB first I change the add machine script for the following:
add machine script = /usr/sbin/ldapsmb -a --homedir /var/lib/nobody --shell /bin/false -wks %m$ --gid 515
Note: I use the following YouTube video as a guide https://www.youtube.com/watch?v= failed.
If I take out the --gid 515 option the result is the same except that the line that starts with _samb_create_user doesn't appear I really don't know what's going on. And one thing that annoys me is that at minute 9:21 of the YouTube video you can see a navigation to the LDAP tree where the machine added appears with all the SAMBA attributes. Can annyone help me with this?? I'm becoming crazy!!! :'( I'm using opensuse 11.3 and LDAPSMB 1.34b that comes with the distro Regards.