Displaying 1 result from an estimated 1 matches for "ldap_modify_batch".
2017 Mar 13
0
smbpasswd port 139
I have a network where the domain controllers do not connect on port 139
Is there a way to have smbpasswd change the password without this?
I am able to change the password using an ldap method in php
ldap_connect
ldap_bind
ldap_modify_batch
full source code here
http://forums.fedoraforum.org/showthread.php?t=313554
however this does not allow the password to be set if it has expired.
smbpasswd works on 2 of my 3 networks.
I was hoping there might be some way to get it working without port 139
(echo -e 'oldpasswd\nnewpasswd\nne...