REPOST: P/w

Andrew McRobert mcrobert at central.murdoch.edu.au
Tue Jun 20 05:14:00 GMT 2000


hi, I didn't see this in the digest, so it may not have made it to the list
...

hi, I've had this problem for a while and can't seem to get around it ...

When a normal user tries to change his/her passwd using smbpasswd or SWAT,
they get the following error:

"machine 127.0.0.1 rejected the session setup. Error was : ERRSRV - ERRbadpw
(Bad password - name/password pair in a Tree Connect or
Session Setup are invalid.).
Failed to change password for mcrobert"

... but the users are contained in the smbpasswd file & the /etc/passwd
file. What's happenin' here???!!? I'm using a bare bones smb.conf file:
shown below:

# Samba config file created using SWAT
# from [my machine]
# Date: 2000/06/19 12:43:05

# Global parameters
[global]
	workgroup =
	interfaces = [machine's IP]/22 127.0.0.1
	encrypt passwords = Yes
	debug level = 2
	guest account =

[homes]
	browseable = No

[mcrobert]
	path = /home/mcrobert
	writeable = Yes

[jlange]
	path = /home/temp

... the relevant lines from the /var/log/smb file (at log-level 2) are:

[2000/06/19 12:37:01, 2] param/loadparm.c:do_section(2481)
  Processing section "[homes]"
[2000/06/19 12:37:01, 2] param/loadparm.c:do_section(2481)
  Processing section "[mcrobert]"
[2000/06/19 12:37:01, 2] param/loadparm.c:do_section(2481)
  Processing section "[jlange]"
[2000/06/19 12:37:01, 2] lib/interface.c:add_interface(83)
  added interface ip=134.115.227.50 bcast=134.115.227.255
nmask=255.255.252.0
[2000/06/19 12:37:01, 2] smbd/server.c:main(746)
  Changed root to /
[2000/06/19 12:37:01, 2] smbd/reply.c:reply_special(97)
  netbios connect: name1=127.0.0.1        name2=
[2000/06/19 12:37:01, 2] smbd/connection.c:utmp_claim(560)
  utmp_claim: conn NULL
[2000/06/19 12:37:01, 1] smbd/reply.c:reply_sesssetup_and_X(988)
  Username  is invalid on this system
[2000/06/19 12:37:01, 2] smbd/server.c:exit_server(408)
  Closing connections

thanks a lot for any help!!
Andrew


-------------------------------------------------
Andrew McRobert LLB B.Sc(Comp. Sci)
IT Officer, School of Law
MURDOCH UNIVERSITY
Perth, Western Australia
Ph: [+61 8 9360 6479]
Fax: [+61 8 9310 6671]
e-mail: mcrobert at central.murdoch.edu.au
"The lottery: a tax on people who are bad at math"




More information about the samba mailing list