Re: [Samba] credentials check failed - Samba 3.0.21

2006-01-09 Thread Jeremy Allison
On Tue, Jan 03, 2006 at 10:12:59PM +0100, Hans Otto Lunde wrote:
 I'm getting some strange entries in my logs after upgrading to samba version
 3.0.21-1. Also in 3.0.21a-1. 
 
 The machines connection to my samba pdc are WinXP SP2 and also a
 2003 server. 
 
 For example: 
 
 [2006/01/03 21:57:28, 0] libsmb/credentials.c:creds_server_check(159)
 creds_server_check: credentials check failed.
 [2006/01/03 21:57:28, 0] rpc_server/srv_netlog_nt.c:_net_sam_logon(667)
 _net_sam_logon: creds_server_step failed. Rejecting auth request from 
 client TERMINATOR machine account TERMINATOR$ 
 
 But the logon succeeds 

I'm investigating this (but I'm on the road at the moment so won't
be able to do anything until I'm back in the office on Wed). It's
harmless in that the user can always log in (compared to the bug
this code change fixed, in which the user sometimes couldn't log in :-)
but the error messages are bugging me. If I decide it's a Windows
bug I'll just raise the debug log leve, if it's an smbd bug I'll
just fix it :-).

Thanks,

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] credentials check failed - Samba 3.0.21

2006-01-07 Thread Hans Otto Lunde

I'm getting some strange entries in my logs after upgrading to samba version
3.0.21-1. Also in 3.0.21a-1. 


The machines connection to my samba pdc are WinXP SP2 and also a
2003 server. 

For example: 


[2006/01/03 21:57:28, 0] libsmb/credentials.c:creds_server_check(159)
creds_server_check: credentials check failed.
[2006/01/03 21:57:28, 0] rpc_server/srv_netlog_nt.c:_net_sam_logon(667)
_net_sam_logon: creds_server_step failed. Rejecting auth request from 
client TERMINATOR machine account TERMINATOR$ 

But the logon succeeds 


[2006/01/03 21:57:28, 0] lib/debug.c:reopen_logs(597)
Unable to open new log file /var/log/samba/terminator.log: Permission 
denied 

But the terminator.log file is created ok 

I use the smbpasswd backend. I have client and server channel set to auto. 

Does anyone know if this behavior is a problem or a feature. Everything 
seems to work ok, except for these strange log-entries 


Hans Otto Lunde
Egmont Højskolen
Denmark 

See first part of my smb.conf 


[global]
workgroup = EGMONT
server string = Samba %v
interfaces = eth0, 192.168.194.0/255.255.255.0
passwd program = /usr/bin/passwd
log file = /var/log/samba/%m.log
max log size = 0
max mux = 100
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = %G.bat
logon path = \\%N\%U\profileXP
logon drive = h:
domain logons = Yes
os level = 65
lm announce = No
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
	invalid users = bin, daemon, adm, sync, shutdown, halt, mail, news, uucp, 
operator

hosts allow = 192.168.194.
printing = bsd
print command = lpr -r -P%p %s
lpq command = lpq -P%p
	lprm command = lprm -P%p %j 


[netlogon]
comment = Login Scripts
path = /home/netlogon
	browseable = No 


[homes]
comment = Home Directories
read only = No
create mask = 0600
directory mask = 0700
browseable = No
. 
--

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba