[Samba] XP SP2 - winlogon.exe crashes
Geoff Scott
geoffs at guestshire.com
Thu Jan 20 06:55:51 GMT 2005
==============
The problem:
==============
I am in the testing stages of implementing a Samba domain.
My user is logging on to a standard win xp SP2 desktop, with the samba pdc,
supplying the credentials. The logon screen disappears and an "SAS window:
winlogon.exe - Application Error" box pops up on the Win XP screen. If I
click OK the machine reboots.
My user can log onto the Debian Sarge server using ssh fine. My other users
in the same ldap Users container can log onto the open-xchange part of this
server fine.
==============================
My attempts at problem solving
==============================
reset the users password
removed the XP machine from the domain and added it again.
added the " use sendfile = no" directive to smb.conf
shutdown the firewalls on both the XP machine and the server
==============================
technical details
==============================
Samba version: Version 3.0.10-Debian
Linux flavour: debian Sarge
XP version SP2
Ldap with bdb backend (users can log on with other applications)
=============
The questions
=============
Can anyone point me in the direction of docs that I can use to fix this?
Can anyone decrypt the content of the error message from the logs below and
point me in the right direction?
==================
The Errors from log
===================
[2005/01/20 16:02:01, 0] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was Transport endpoint is not connected
[2005/01/20 16:02:01, 0] lib/util_sock.c:write_socket_data(430)
write_socket_data: write failure. Error = Connection reset by peer
[2005/01/20 16:02:01, 0] lib/util_sock.c:write_socket(455)
write_socket: Error writing 4 bytes to socket 24: ERRNO = Connection reset
by peer
[2005/01/20 16:02:01, 0] lib/util_sock.c:send_smb(647)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/01/20 17:24:12, 0] lib/util_sock.c:get_peer_addr(1000)
getpeername failed. Error was Transport endpoint is not connected
[2005/01/20 17:24:12, 0] lib/util_sock.c:write_socket_data(430)
write_socket_data: write failure. Error = Connection reset by peer
[2005/01/20 17:24:12, 0] lib/util_sock.c:write_socket(455)
write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset
by peer
[2005/01/20 17:24:12, 0] lib/util_sock.c:send_smb(647)
Error writing 4 bytes to client. -1. (Connection reset by peer)
====================
smb.conf - global section
====================
# Global parameters
[global]
unix charset = LOCALE
workgroup = guestshire
netbios name = guests1
interfaces = eth1, lo
bind interfaces only = Yes
passdb backend = ldapsam:ldap://guests1.guestsfurniturehire.com.au
# username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/log.%m
max log size = 50
smb ports = 139 445
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
show add printer wizard = No
add user script = /usr/sbin/samba/smbldap-useradd -a -m '%u'
delete user script = /usr/sbin/samba/smbldap-userdel '%u'
add group script = /usr/sbin/samba/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/samba/smbldap-groupdel '%g'
add user to group script = /usr/sbin/samba/smbldap-groupmod -m '%u'
'%g'
delete user from group script = /usr/sbin/samba/smbldap-groupmod -x '%u'
'%g'
set primary group script = /usr/sbin/samba/smbldap-usermod -g '%g'
'%u'
add machine script = /usr/sbin/samba/smbldap-useradd -w '%u'
#shutdown script = /var/lib/samba/scripts/shutdown.sh
#abort shutdown script = /sbin/shutdown -c
logon script = scripts\logon.bat
logon path = \\%L\profiles\%U
logon drive = X:
domain logons = Yes
preferred master = Yes
wins support = Yes
ldap suffix = dc=guestsfurniturehire,dc=com,dc=au
ldap machine suffix = ou=Users,ou=OxObjects
ldap user suffix = ou=Users,ou=OxObjects
ldap group suffix = ou=Groups,ou=OxObjects
ldap idmap suffix = ou=Idmap
ldap admin dn =
cn=Manager,ou=Users,ou=OxObjects,dc=guestsfurniturehire,dc=com,dc=au
idmap backend = ldap://guests1.guestsfurniturehire.com.au
idmap uid = 1000-20000
idmap gid = 1000-20000
map acl inherit = Yes
printing = cups
printer admin = Administrator, geoffs
use sendfile = no
What else can I do to give more information?
Regards Geoff Scott
More information about the samba
mailing list