Problem persists
Cristian POP
cpop at compas.dntcj.ro
Tue Apr 11 09:03:34 GMT 2000
Hi,
I sent a message few days ago (SAMBA digest 2478) to the samba list
and i didn't get any answer but this :
(SAMBA Digest 2479)
Date: Wed, 5 Apr 2000 20:53:57 -0700
From: "Deborah Barba" <dbarba at yahoo-inc.com>
To: "'samba at samba.org'", "samba at samba.org", Allison, Ed, Jeremy, List,
Multiple, SAMBA, Samba, Schernau, To:, <ed at schernau.com>,
jeremy at valinux.com, list, of, recipients, samba-ntdom at samba.org,
samba at kilnar.com, <samba at samba.org>
Subject: Please inform samba at samba.org
.....
as if i've changed my address.
I didn't and I don't know what it means.
So please help me with my authentication problem.
I'll include my old email here :
#########################################
>From cpop at compas.dntcj.ro Tue Apr 11 12:02:13 2000
Date: Tue, 4 Apr 2000 09:19:55 +0300 (EEST)
From: Cristian POP <cpop at compas.dntcj.ro>
To: Samba List <samba at samba.org>
Subject: Authentication failure
Hi all,
Please help me with this problem :
I'm using RH 6.0 and samba 2.0.3 ( it came with RH ) and
for authentication ( default ) pam and shadow passwords.
The stations are DOS6.2(+MSClient), Win95 and Win98.
For every connection that is made to the server ( for a samba service )
I get an error from the PAM_pwdb module, which is responsible for
authentication. In addition there is a __annoying__ waiting period after
that error occurs.
I think the problem is between samba and pam : samba does not
transmit the right user&password combination at first time the connection
is made and that causes.
The file /etc/pam.d/samba looks like (default, also I tried different
options ) :
------------------------------------------------------------------
auth required /lib/security/pam_pwdb.so shadow
account required /lib/security/pam_pwdb.so
------------------------------------------------------------------
I put a level 3 debug in samba and the log looks like this (see below..)
Also, at the same time I put strace to monitor the smbd process and
recorded a log file too ( it's quite big, but it is available).
samba log file :
________________________________________________________________
[2000/03/20 11:19:08, 3] smbd/process.c:process_smb(565)
Transaction 188 of length 66
[2000/03/20 11:19:08, 3] smbd/process.c:switch_message(402)
switch message SMBtconX (pid 5310)
[2000/03/20 11:19:08, 2] lib/access.c:check_access(249)
Allowed connection from ws006 (192.168.41.6)
[2000/03/20 11:19:08, 2] smbd/service.c:make_connection(268)
Invalid username/password for cpop
[2000/03/20 11:19:08, 3] smbd/error.c:error_packet(138)
error packet at line 162 cmd=117 (SMBtconX) eclass=2 ecode=2
[2000/03/20 11:19:08, 3] smbd/process.c:process_smb(565)
Transaction 189 of length 73
[2000/03/20 11:19:08, 3] smbd/process.c:switch_message(402)
switch message SMBtconX (pid 5310)
[2000/03/20 11:19:08, 2] lib/access.c:check_access(249)
Allowed connection from ws006 (192.168.41.6)
[2000/03/20 11:19:09, 3] smbd/password.c:authorise_login(725)
ACCEPTED: session list username and given password ok
[2000/03/20 11:19:09, 3] smbd/service.c:make_connection(386)
Connect path is /home/file.server/users/cpop
[2000/03/20 11:19:09, 3] smbd/password.c:setup_groups(192)
cpop is in 3 groups: 105, 106, 107
[2000/03/20 11:19:09, 3] lib/doscalls.c:dos_ChDir(327)
dos_ChDir to /
[2000/03/20 11:19:09, 1] smbd/service.c:make_connection(488)
ws006 (192.168.41.6) connect to service cpop as user cpop (uid=106, gid=105) (pid 5310)
[2000/03/20 11:19:09, 3] smbd/reply.c:reply_tcon_and_X(340)
tconX service=cpop user=cpop
[2000/03/20 11:19:09, 3] smbd/process.c:process_smb(565)
Transaction 190 of length 82
[2000/03/20 11:19:09, 3] smbd/process.c:switch_message(402)
switch message SMBtrans2 (pid 5310)
[2000/03/20 11:19:09, 3] lib/doscalls.c:dos_ChDir(327)
dos_ChDir to /home/file.server/users/cpop
[2000/03/20 11:19:09, 3] smbd/trans2.c:call_trans2qfsinfo(1088)
call_trans2qfsinfo: level = 261
[2000/03/20 11:19:09, 3] smbd/process.c:process_smb(565)
Transaction 191 of length 67
________________________________________________________________
Thanx,
C-ya,
Cristian POP
-----------------------------------------------
"Only dead fish go with the flow."
_______________________________________________
#########################################
C-ya,
Cristian POP
-----------------------------------------------
"Only dead fish go with the flow."
_______________________________________________
More information about the samba-technical
mailing list