Hello all, i have made a howto on how to install samba as a PDC with an LDAP backend. The howto is here http://www.xs4all.nl/~doub/samba-ldap/index.html <http://www.xs4all.nl/%7Edoub/samba-ldap/index.html> It all works well, domain logons work, and adding users to the system works also from the command line. But when i want to use usrmgr , i get the "famous" error A device attached to the system is not functioning. I have search the whole day for a solution, but could not find a way to solve this. I am sorry if i over looked the answer. Could someone please tell me what i am missing. Thanks for your time Regards, Johan Hendriks
This is a case in your smbldap-tools: "add user script/usr/local/sbin/smbldap-useradd -m %u" Put in the right arguments that fit your system. I think also your passwd change wont work this way: passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn * passwd This has to be: ldap passwd sync = Yes passwd program = /usr/local/sbin/smbldap-passwd -u %u ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Johan Hendriks Gesendet: Mittwoch, 17. November 2010 19:43 An: samba at lists.samba.org Betreff: [Samba] ldap backend and usrmgr.exe Hello all, i have made a howto on how to install samba as a PDC with an LDAP backend. The howto is here http://www.xs4all.nl/~doub/samba-ldap/index.html <http://www.xs4all.nl/%7Edoub/samba-ldap/index.html> It all works well, domain logons work, and adding users to the system works also from the command line. But when i want to use usrmgr , i get the "famous" error A device attached to the system is not functioning. I have search the whole day for a solution, but could not find a way to solve this. I am sorry if i over looked the answer. Could someone please tell me what i am missing. Thanks for your time Regards, Johan Hendriks -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
This is a case in your smbldap-tools: "add user script/usr/local/sbin/smbldap-useradd -m %u" Put in the right arguments that fit your system. I think also your passwd change wont work this way: passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn * passwd This has to be: ldap passwd sync = Yes passwd program = /usr/local/sbin/smbldap-passwd -u %u ----------------------------------------------- EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- Thank you for your kind reply. I do not clearly know what you mean with the First answer. I tried almost every option. -a -P -m "%u" and so on. If i use /usr/local/sbin/smbldap-useradd -m test The user test is added to the system, and i can see it with usrmgr.exe.. Could you be more specific what i need to change. Thanks again. ps i am out of the office till thuesday, so no message does not mean that i am not thankfull :D Regards, Johan Hendriks