I have installed SUSE Linux 10.2 on a PC having an Asus P5LD2 motherboard and Windows SmallBusiness Server 2003 on a similar computer. There are windows clients in the same network and they are members of the linux samba domain. If the Windows server is turned on, the windows (XP) clients can't log onto the Linux samba server, or the logon takes very long (circa 5 minutes for Windows 2000 clients). The domain names on both server are different ("halmbt" and "halm-bt", so there must'nt be a conflict because of that.
What I tried to do:
I have stopped all network services on the windows server that aren't definitely necessary.
I have read somewhere that windows xp looks for the domain controller by the domain name, so I have installed DNS server on the Linux machine, and I have setted the client's DNS address to the address of the linux server.
Another strange thing:
After windows xp starts and the logon window appears, the client can't log on immediately, only after circa 40 seconds when the cursor turns into hour-glass for a moment. But Windows 2000 clients can log on immediately after the logon window appears.
The samba is configured as PDC. Here is the global section of my smb.conf:
workgroup = HALM-BT
netbiosname = lserver
map to guest = Bad User
logon path = \\%L\%U\.msprofile
logon drive = S:
logon home = \\%L\%U\Dokumentumok
domain logons = Yes
domain master = Yes
cups options = raw
include = /etc/samba/dhcp.conf
os level = 65
preferred master = Yes
log file = /var/log/samba.%m
max log size = 50000
passdb backend = tdbsam
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
server string = linux-szerver
hosts allow = 192.168.8.0/24 192.168.10.127/24
logon script = scripts\logon.cmd
socket options = IPTOS_LOWDELAY TCP_NODELAY
Here are some messages from the client's samba log file to the time the client wanted (and couldn't) to log on :
[[2007/10/04 06:49:24, 3] auth/auth.c:check_ntlm_password(221)
check_ntlm_password: Checking password for unmapped user []\[]@[MUNKAHELY4] with the new password interface
[2007/10/04 06:49:24, 3] auth/auth.c:check_ntlm_password(224)
check_ntlm_password: mapped user is: [HALM-BT]\[]@[MUNKAHELY4]
[2007/10/04 06:49:24, 3] smbd/sec_ctx.c
ush_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/10/04 06:49:24, 3] smbd/uid.c
ush_conn_ctx(353)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/10/04 06:49:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/10/04 06:49:24, 3] smbd/sec_ctx.c
ush_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2007/10/04 06:49:24, 3] smbd/uid.c
ush_conn_ctx(353)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2007/10/04 06:49:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2007/10/04 06:49:24, 3] smbd/sec_ctx.c
op_sec_ctx(339)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/10/04 06:49:24, 3] smbd/sec_ctx.c
op_sec_ctx(339)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/10/04 06:49:24, 3] auth/auth.c:check_ntlm_password(270)
check_ntlm_password: guest authentication for user [] succeeded
And here are some error messages from the same file (at this time the windows server is already stopped and the client could log on):
[2007/10/04 07:43:04, 3] smbd/error.c:error_packet(146)
error packet at smbd/nttrans.c(90) cmd=160 (SMBnttrans) NT_STATUS_BUFFER_TOO_SMALL
[2007/10/04 07:43:04, 3] smbd/error.c:error_packet(146)
error packet at smbd/nttrans.c(647) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND
[2007/10/04 07:43:04, 3] smbd/error.c:error_packet(146)
error packet at smbd/trans2.c(2679) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND
[2007/10/04 07:43:07, 3] lib/charcnv.c:convert_string_internal(264)
convert_string_internal: Conversion error: Illegal multibyte sequence(‘ gĂ©p 10143.xls.lnk)
[2007/10/04 07:43:07, 3] lib/charcnv.c:convert_string_internal(243)
convert_string_internal: Conversion error: Incomplete multibyte sequence(
gép 10143.xls.lnk)
[2007/10/04 07:43:12, 3] smbd/trans2.c:call_trans2qfilepathinfo(2933)
call_trans2qfilepathinfo: SMB_VFS_STAT of ntconfig.pol failed (No such file or directory)
I would be thankful for any advice.