[Samba] Samba "hijack" the connection?
Fajar Priyanto
fajarpri at cbn.net.id
Mon Oct 22 01:31:46 GMT 2007
Dear all,
I have 2 domains: JUPITER.COM (Samba 3.0.23c - Centos5) and WIN.COM (Windows
2000 Adv Srv). I join a windows XP SP1 (MOON), first to Windows domain and
then to Samba's.
The problem is when I join the XP to Samba's and then try to logon to WIN.COM,
the XP is instead logon to Samba, thus the username is not found. The DNS is
not a problem, I set the DNS of the XP to Windows' DNS.
Here's what the Samba log says:
Oct 21 15:36:06 centos5 smbd[7680]: [2007/10/21 15:36:06, 2]
smbd/reply.c:reply_special(496)
Oct 21 15:36:06 centos5 smbd[7680]: netbios connect: name1=CENTOS5
name2=MOON
Oct 21 15:36:06 centos5 smbd[7680]: [2007/10/21 15:36:06, 2]
smbd/reply.c:reply_special(503)
Oct 21 15:36:06 centos5 smbd[7680]: netbios connect: local=centos5
remote=moon, name type = 0
Oct 21 15:36:06 centos5 smbd[7680]: [2007/10/21 15:36:06, 2]
smbd/sesssetup.c:setup_new_vc_session(799)
Oct 21 15:36:06 centos5 smbd[7680]: setup_new_vc_session: New VC == 0, if
NT4.x compatible we would close all old resources.
Oct 21 15:36:06 centos5 smbd[7680]: [2007/10/21 15:36:06, 2]
smbd/sesssetup.c:setup_new_vc_session(799)
Oct 21 15:36:06 centos5 smbd[7680]: setup_new_vc_session: New VC == 0, if
NT4.x compatible we would close all old resources.
Oct 21 15:36:06 centos5 smbd[7680]: [2007/10/21 15:36:06, 2]
lib/smbldap.c:smbldap_open_connection(788)
Oct 21 15:36:06 centos5 smbd[7680]: smbldap_open_connection: connection
opened
Oct 21 15:36:06 centos5 smbd[7680]: [2007/10/21 15:36:06, 2]
smbd/reply.c:reply_tcon_and_X(711)
Oct 21 15:36:06 centos5 smbd[7680]: Serving IPC$ as a Dfs root
Oct 21 15:36:07 centos5 smbd[7680]: [2007/10/21 15:36:07, 0]
auth/auth_util.c:smb_create_user(55)
Oct 21 15:36:07 centos5 smbd[7680]: smb_create_user: Running the command
`/usr/sbin/useradd test2' gave 126
Oct 21 15:36:07 centos5 smbd[7680]: [2007/10/21 15:36:07, 0]
libsmb/samlogon_cache.c:netsamlogon_cache_store(124)
Oct 21 15:36:07 centos5 smbd[7680]: netsamlogon_cache_store: cannot open
netsamlogon_cache.tdb for write!
Oct 21 15:36:07 centos5 smbd[7680]: [2007/10/21 15:36:07, 2]
auth/auth.c:check_ntlm_password(319)
Oct 21 15:36:07 centos5 smbd[7680]: check_ntlm_password: Authentication for
user [test2] -> [test2] FAILED with error NT_STATUS_NO_SUCH_USER
Oct 21 15:36:07 centos5 smbd[7680]: [2007/10/21 15:36:07, 2]
smbd/reply.c:reply_tcon_and_X(711)
Oct 21 15:36:07 centos5 smbd[7680]: Serving IPC$ as a Dfs root
Why does Samba still handle the logon request?
One more info, if I then join the XP back to Windows' and then try to logon
both to Samba and Windows, the logon process is OK.
Any insight and comments are very welcome.
--
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
08:20:32 up 13 min, 2.6.20-16-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20071022/1d611037/attachment.bin
More information about the samba
mailing list