Hi

I had the same problems.
I modified the smbldap-scripts in order to
get the right chat (commenting out first print line and adding OK at the end, see a: and b: at the end of the mail)
passwd program = /usr/local/sbin/smbldap-passwd.pl_unix "%u"
passwd chat = *ew*password* %n\n *ew*password* %n\n *OK*
I recognized, that changing password from an Windows Workstation doesn't work.
(or, it works with an error on the client side)
Therefore I made a new smbldap-passwd.pl_unix, in which I set samba=2 in the if statment (see c:),
which changes only the unix part
and the error went away.


It not nice, but it seems to work...

If I should send you the modified scripts of-list, give me a note.

Greetings

Hansj�rg

a:
#print "Changing password for $user\n";

b:
print "OK\n";
# take down session
$ldap_master->unbind;

c:
if ($samba == 2) {


- [EMAIL PROTECTED] wrote:

Hi all!
I want to thanks all people here for their help, good job guys! :o)
And nox, it's my question:
I'm using smbldap-tools 0.8.2 from samba.idealx.org. In all the docs I read about it, I read that I must put these lines in smb.conf:
passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
I look in the code of the Perl script, and I saw 2 things:
1- there's no -o option
2- there no print (like "successfully") when the end is OK, just nothing
3- the first "new" is "New", beware of the case, its (very) sensitive


And my question is: how is everybody able to use smbldap-tools without any modifications (except for smbldap_conf.pm ofcourse) ???




--
Dr. Hansj�rg Maurer
itsystems Deutschland AG
Linprunstr. 10
D-80335 M�nchen
Ph/Fax +49 89 52 04 68-41/-59



-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to