NT password change through smblib

Richard Sharpe rsharpe at ns.aus.com
Sat Sep 28 15:27:01 GMT 2002


On Sat, 28 Sep 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.

Please don't. That code is ancient. There are plenty of better ways to do 
that now, including PAM, I believe.

> 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.
> 
> Thanks in advance,
> Balagurumoorthy.s
> 
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
> 

-- 
Regards
-----
Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org, 
sharpe at ethereal.com




More information about the samba-technical mailing list