[Samba] samba 3.5.6 & win2k8 r2, session request fails
Sys
sys-mqc1n at ari.as
Sat Oct 29 03:00:58 MDT 2011
Hi
I've been trying to join a debian6 (IP: 172.16.0.180) box to a win2k8 r2 active directory (ORCHARD, IP: 172.16.0.200), without much success.
The settings for samba and kerberos are correct:
- and kinit works fine
The error string returned is: 'failed to lookup DC info for domain 'ARIAS.INT' over rpc: The network name cannot be found'
##################################################################
After trawling through the debug dump (-d10) i found this:
##################################################################
[2011/10/29 10:38:02.876908, 3] lib/util_sock.c:979(open_socket_out_send)
Connecting to 172.16.0.200 at port 139
[2011/10/29 10:38:02.877069, 5] lib/util_sock.c:304(print_socket_options)
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 16384
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
[2011/10/29 10:38:02.877122, 6] libsmb/clientgen.c:323(write_socket)
write_socket(10,72)
[2011/10/29 10:38:02.877141, 6] libsmb/clientgen.c:326(write_socket)
write_socket(10,72) wrote 72
[2011/10/29 10:38:02.877151, 5] libsmb/cliconnect.c:1931(cli_session_request)
Sent session request
[2011/10/29 10:38:02.877262, 10] lib/util_sock.c:731(read_smb_length_return_keepalive)
got smb length of 1
[2011/10/29 10:38:02.877278, 5] lib/util.c:617(show_msg)
[2011/10/29 10:38:02.877283, 5] lib/util.c:627(show_msg)
size=1
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
[2011/10/29 10:38:02.877305, 1] libsmb/cliconnect.c:2227(cli_start_connection)
session request to ORCHARD failed (Called name not present)
[2011/10/29 10:38:02.877313, 3] libsmb/cliconnect.c:2209(cli_start_connection)
Connecting to host=orchard.DTEST.lan
[2011/10/29 10:38:02.877328, 3] lib/util_sock.c:979(open_socket_out_send)
Connecting to 172.16.0.200 at port 139
[2011/10/29 10:38:02.877529, 5] lib/util_sock.c:304(print_socket_options)
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 16384
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
[2011/10/29 10:38:02.877580, 6] libsmb/clientgen.c:323(write_socket)
write_socket(11,72)
[2011/10/29 10:38:02.877599, 6] libsmb/clientgen.c:326(write_socket)
write_socket(11,72) wrote 72
[2011/10/29 10:38:02.877609, 5] libsmb/cliconnect.c:1931(cli_session_request)
Sent session request
[2011/10/29 10:38:02.877720, 10] lib/util_sock.c:731(read_smb_length_return_keepalive)
got smb length of 1
[2011/10/29 10:38:02.877736, 5] lib/util.c:617(show_msg)
[2011/10/29 10:38:02.877741, 5] lib/util.c:627(show_msg)
size=1
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
[2011/10/29 10:38:02.877764, 1] libsmb/cliconnect.c:2227(cli_start_connection)
session request to *SMBSERVER failed (Called name not present)
##################################################################
##################################################################
Samba Config:
##################################################################
[global]
workgroup = DTEST
realm = DTEST.LAN
server string = oblivion
load printers = no
log file = /var/log/samba/%m.log
security = ads
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
password server = 172.16.0.200
local master = no
domain master = no
preferred master = no
wins support = yes
dns proxy = no
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
interfaces = eth1 lo
##################################################################
##################################################################
Kerberos Config:
##################################################################
[realms]
DTEST.LAN = {
kdc = 172.16.0.200:88
admin_server = 172.16.0.200:749
default_domain = DTEST.LAN
}
[domain_realm]
.DC1.DTEST.LAN= DTEST.LAN
DC1.DTEST.LAN= DTEST.LAN
##################################################################
First i thought it was a firewall problem, i am however able to connect to 172.16.0.200 via telnet on ports 139, 88, 749.
Does anyone know of any interoperability problems with the win2k8 r2 AD? Do i need to alter any registry/auth settings on the AD?
Any help would be great - been stuck on this problem for the last two days...
Thanks
Tommy
More information about the samba
mailing list