NT password change through smblib

Andrew Bartlett abartlet at samba.org
Sat Sep 28 12:22:00 GMT 2002


balagurumoorthy shanmuganathan wrote:
> 
> Hi,
>         I am using smblib 0.50. I have a NT PDC. I would
> like to change the password form Linuxbox running a
> webserver. I tried using the test program.
> It works with admin password. But does not work with
> normal user password. The programe test_password
> returns 2466 status when tried to change the password.
> 
> The status is returned by SMBapi_NetUserPasswordSet
> function call. Please advice if any thing else to be
> done.

Use pam_winbind and winbindd.  I use it with the Authen::PAM perl module
to great effect.  (Assumes you mean a user changing their own password).

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net



More information about the samba-technical mailing list