LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-04-2007, 07:31 AM   #1
bfrank
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
Windows server and Samba server in one network


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.cush_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/10/04 06:49:24, 3] smbd/uid.cush_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.cush_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2007/10/04 06:49:24, 3] smbd/uid.cush_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.cop_sec_ctx(339)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/10/04 06:49:24, 3] smbd/sec_ctx.cop_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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to Samba Server over VPN on Windows Network trout256 Linux - Networking 12 11-05-2019 02:01 AM
can's see the samba server at my windows network neiborhood crzlyn Linux - Enterprise 4 08-18-2006 05:32 AM
samba print server for windows network, cannot save printer setting lnthai2002 Linux - Networking 0 07-25-2006 11:38 AM
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 07:40 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration