[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: help! ... doin' the samba



So in the excerpt:
---------------------------
[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
-----------------------------
It seems that the username from the win machine is null.
the message says "Username [insert here] is invalid on this system."

what name are you logining in your windows box with? you can change that
name and/or map user names for your samba account.

under global "username map = /etc/samba/users.map"
and in users.map [unix name]  = "my name"

james


-----Original Message-----
From: Andrew McRobert [mailto:mcrobert@central.murdoch.edu.au]
Sent: Sunday, June 18, 2000 11:43 PM
To: Debian-Users (E-mail)
Subject: help! ... doin' the samba


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@central.murdoch.edu.au
"The lottery: a tax on people who are bad at math"


--
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null




Reply to: