I am trying to get Samba 2.0.3 running on a Slackware 3.6 (2.0.36)
Linux system. When I do smbclient -L localhost it connects
and then produces a "password:" prompt. No matter what I enter for
a password (password or no password) the response is always..
> smbclient -L localhost
> Added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0
> password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.3]
> session setup ok
> tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair
> in a Tree Connect or Session Setup are invalid.)
I also get the same response if I use the -Uuser option.
Here is my smb.conf file
[global]
log level = 2 <<<--- I have had this as high as 5
interfaces = 192.168.1.5/24
log file = /var/log/samba/log.%m
max log size = 50
smbrun = /usr/sbin/smbrun
guest account = guest
dns proxy = yes
security = user
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
The "guest" account is set up as:
guest:x:405:100:guest:/dev/null:/dev/null
gid 100 is "users"
It seems to be having trouble setting the gid.. since the only clue I
see in the log file ...
> 1999/04/03 01:41:54, 3] smbd/password.c:authorise_login(794)
> ACCEPTED: guest account and guest ok
> [1999/04/03 01:41:54, 3] smbd/service.c:make_connection(386)
> Connect path is /tmp
> [1999/04/03 01:41:54, 0] smbd/uid.c:become_gid(105)
> Couldn't set effective gid to 100 currently set to (real=0,eff=0)
> [1999/04/03 01:41:54, 0] smbd/service.c:make_connection(425)
> Can't become connected user!
HELP!! WHAT AM I DOING WRONG?
---
Pete Rossi - WA3NNA
pete@pjrnet.com