Koozali.org: home of the SME Server

Changing User Passwords with NT

Robert Heaton

Changing User Passwords with NT
« on: August 30, 2002, 02:02:29 PM »
Hi,

I've setup SME 5.1.2 with Blade 2 installed, and have several NT4SP6 clients connected, however when a user tries to change their password via (CTRL+ALT+DELETE) and change password, NT reports that the old password was incorrect.

Here's a sample from the samba log;
[2002/08/29 08:35:18, 0] lib/util_sock.c:matchname(955)
  host name/name mismatch: pc-00098 != pc-00098.witherslackhalladmin.co.uk
[2002/08/29 08:35:18, 0] lib/util_sock.c:get_socket_name(1008)
  Matchname failed on pc-00098 192.168.1.98
[2002/08/29 09:15:40, 0] smbd/server.c:sig_hup(384)
  Got SIGHUP
[2002/08/29 09:15:42, 0] smbd/server.c:sig_hup(384)
  Got SIGHUP

Once you have tried this, you then can't change the password via the user panel (http://servername/user-password)
It just gives you the error "Software Failure"


Please help! & Thanks in advance!
Rob.

Byte

Re: Changing User Passwords with NT
« Reply #1 on: August 30, 2002, 03:16:46 PM »
Rob,


What is the Software Failure please could i see the extact error as i had what looks like to be the same problem.

Is this upgraded from sme ver 4.1.2?

Rgrds

Byte

Bill Talcott


Robert Heaton

Re: Changing User Passwords with NT
« Reply #3 on: August 30, 2002, 06:03:54 PM »
Hi,
No the server wasn't updated from 4.1.2 it was a clean install of 5.1.2.

the exact error I get from http://servername/user-password is;

Software error:
Failed to set Unix password for account robh.
For help, please send mail to the webmaster (admin@northwestlinux.co.uk), giving this error message and the time and date of the error.

Thankyou Bill, I looked at http://www.e-smith.org/bugs/index.php3?op=showBug&bugID=84 but this says it only applies to SME 5.5 but I'm using 5.1.2. (Thanks anyway!)

Thanks for all the help,
Rob.

Byte

Re: Changing User Passwords with NT
« Reply #4 on: August 30, 2002, 07:16:31 PM »
Yes this is the error i got it was something to do with the id permissions in the /etc/e-smith/web so i would check that out to make sure there all ok if your interested i would send you over my /etc/e-smith for referencing with yours.

This was such a pain for me but all is ok now;-)

Byte

Nathan Fowler

Re: Changing User Passwords with NT
« Reply #5 on: August 30, 2002, 07:46:43 PM »
It appears the root of your problem is that Samba is expecting the FQDN (Fully qualified domain name) of the machine, but NT4 is only sending the NetBIOS name, not the FQDN.  Samba will not reset that password because the machine names do not match.

Have you joined these machines to your samba domain?  My guess would be yes.

I know this isn't a fix, but perhaps it will get you going in the right direction.  I don't think the fault is with E-Smith user management itself, but instead with samba and the machine name mismatch.

Hope this helped,
Nathan

Byte

Re: Changing User Passwords with NT
« Reply #6 on: August 30, 2002, 08:01:39 PM »
just quicky when you log into the user-manager to change password you dont use the same password as the old one do you? casue that throws up an error if you use something like

Account name= example
Old password=test
New password=test
Verify password=test

The above will not work

Try

Accou.......=example

Old pass.......=test
New Pass.......=example
Verify pass.....=example

Comes back fine

Sorry might seem silly, but it does case a problem

Thanks

Byte

Robert Heaton

Re: Changing User Passwords with NT
« Reply #7 on: September 03, 2002, 02:46:43 PM »
Hello Again!

Yes I have joined the NT workstations to the samba controlled domain, and this worked first time without any problems.

Byte - could you please email your /etc/e-smith to rob@northwestlinux.co.uk

Thanks for all your help!
Kind regards,
Rob.