win32utils-devel@rubyforge.org
2004-Mar-05 11:32 UTC
[Win32utils-devel] win32-etc change_password
Hi all, I''ve been updating this thing and, on my Windows XP Pro box, the Admin.change_password method doesn''t seem to work. I keep getting "user not found" errors, even though I can see that the user is definitely in place. In fact, it doesn''t seem to work for the 0.2.0 release, even though I could swear I had it working. Also, is it possible to change the password for a user that hasn''t set a password? The NetUserChangePassword method doesn''t seem to like NULL much as an option for oldpassword. Regards, Dan
win32utils-devel@rubyforge.org
2004-Mar-05 19:59 UTC
[Win32utils-devel] win32-etc change_password
Hi,> Hi all, > > I''ve been updating this thing and, on my Windows XP Pro box, the > Admin.change_password method doesn''t seem to work. I keep getting "user > not found" errors, even though I can see that the user is definitely in > place. In fact, it doesn''t seem to work for the 0.2.0 release, even > though I could swear I had it working. >I downloaded from CVS and tested. In my Windows XP Pro box, it works fine. Don''t worry be happy:)> Also, is it possible to change the password for a user that hasn''t set a > password? The NetUserChangePassword method doesn''t seem to like NULL > much as an option for oldpassword. >Try with "" like this ruby test_admin.rb -r "" bar> Regards, > > Dan >Regards, Park Heesob