Aaron Maley
2009-Nov-19 15:17 UTC
[Samba] Linux & Windows clients domain join - Error: NT_STATUS_CANT_ACCESS_DOMAIN_INFO
Sorry, I'll try this again. It appears the email got stripped out and left the attachment. ------------------------ I'm having an issue where any machine refuses to join the domain. It's a a Debian server(lenny) with an LDAP backend. I assume the issue is something obvious, but this is an "inherited" network and based on the state of the rest of it, the issue could be anything. Essentially, in a nutshell, the error is that any machine, linux or windows, refuses to join the domain, I'll attached a log of a testjoin from a linux machine, but the errors looks to be "NT_STATUS_CANT_ACCESS_DOMAIN_INFO," which from searching seems to usually associated with a domain join using ads, which is obviously not the case here. I had a previous schannel error, so I added the client schannel = no command which doesn't seem to help this error. I had also assumed that it could be a ldap acl error due to the nature of the error, so my acl's are set to be permissive at the moment, but that doesn't appear to have helped either. I'm sure it's something really simple that I'm just overlooking, but I'm at my wits end trying to figure out what it is. Any help offered would be greatly appreciated. I'd assumed that it could also be an error with the sambaDomainName ldap entry, but it looks okay to me. Here it is: dn: sambaDomainName=mydomain,ou=Domains,dc=mydomain objectClass: sambaDomain objectClass: sambaConfig sambaDomainName: mydomain sambaSID: S-1-5-21-3770724945-3807680268-1836530589 sambaAlgorithmicRidBase: 1000 sambaNextUserRid: 30000 sambaNextGroupRid: 28000 sambaNextRid: 30007 structuralObjectClass: sambaDomain entryUUID: ad31114c-52c5-102e-8adf-1bff14f823db creatorsName: cn=admin,dc=mydomain createTimestamp: 20091021194257Z sambaPwdHistoryLength: 0 entryCSN: 20091117214105.466919Z#000000#000#000000 modifiersName: cn=admin,dc=mydomain modifyTimestamp: 20091117214105Z Details: Server: Debian lenny(5.0.2) Kernel: 2.6.26-2-686 Samba Version: 3.2.5 (debian package version is 3.2.5-4lenny6) Config: [global] ??????? guest account = guest ??????? map to guest = never ??????? invalid users = root ??????? dont descend = /proc,/dev ??????? unix extensions = no ??????? bind interfaces only = no ??????? interfaces = eth0 ??????? client schannel = no ??????? security = user ??????? workgroup = mydomain ??????? server string = %h Server (Samba %v) ??????? syslog only = no ??????? socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 ??????? encrypt passwords = true ??????? passdb backend = ldapsam:ldap://ldap.mydomain.com ??????? wins support = no wins server = 10.0.3.3 os level = 99 local master = yes ??????? preferred master = yes ??????? domain master = yes ??????? domain logons = yes ??????? logon path = \\profiles\profiles\%U ??????? logon home = \\shell\%U ??????? logon drive = u: ??????? logon script = logon.bat ??????? name resolve order = host bcast ??????? dns proxy = yes ??????? ldap admin dn = uid=samba,ou=Services,dc=mydomain ??????? ldap suffix = dc=mydomain ??????? ldap user suffix = ou=People ??????? ldap group suffix = ou=Groups ??????? ldap idmap suffix = ou=Idmap ??????? ldap machine suffix = ou=Hosts ??????? ldap replication sleep = 1000 ??????? ldap passwd sync = true ??????? ldapsam:trusted = true ??????? check password script = /usr/local/sbin/pwcheck ??????? unix password sync = false ??????? max log size = 1000 ??????? log level = 0 ------------------------------------------- net rpc join - loglevel 10 ------------------------------------------- [2009/11/18 11:25:54, 5] lib/debug.c:debug_dump_status(407) INFO: Current debug levels: all: True/10 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 locking: False/0 msdfs: False/0 dmapi: False/0 registry: False/0 [2009/11/18 11:25:54, 3] param/loadparm.c:lp_load_ex(8778) lp_load_ex: refreshing parameters [2009/11/18 11:25:54, 3] param/loadparm.c:init_globals(4621) Initialising global parameters [2009/11/18 11:25:54, 3] param/params.c:pm_process(569) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" [2009/11/18 11:25:54, 3] param/loadparm.c:do_section(7441) Processing section "[global]" doing parameter printing = cups doing parameter printcap = cups doing parameter load printers = yes doing parameter guest account = guest doing parameter map to guest = never doing parameter invalid users = root doing parameter dont descend = /proc,/dev doing parameter unix extensions = no doing parameter bind interfaces only = no doing parameter interfaces = eth0 doing parameter client schannel = no doing parameter dos filetime resolution = yes doing parameter security = user doing parameter workgroup = mydomain doing parameter server string = %h Server (Samba %v) doing parameter syslog only = no doing parameter syslog = 0; doing parameter socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 doing parameter encrypt passwords = true doing parameter passdb backend = ldapsam:ldap://ldap.mydomain.com doing parameter wins support = no doing parameter wins server = 10.0.3.3 doing parameter os level = 99 doing parameter local master = yes doing parameter preferred master = yes doing parameter domain master = yes doing parameter domain logons = yes doing parameter logon path = \\profiles\profiles\%U doing parameter logon home = \\shell\%U doing parameter logon drive = u: doing parameter logon script = logon.bat doing parameter name resolve order = host bcast doing parameter dns proxy = yes doing parameter ldap admin dn = uid=samba,ou=Services,dc=mydomain doing parameter ldap suffix = dc=mydomain doing parameter ldap user suffix = ou=People doing parameter ldap group suffix = ou=Groups doing parameter ldap idmap suffix = ou=Idmap doing parameter ldap machine suffix = ou=Hosts doing parameter ldap replication sleep = 1000 doing parameter ldap passwd sync = true doing parameter ldapsam:trusted = true doing parameter check password script = /usr/local/sbin/pwcheck doing parameter unix password sync = false doing parameter max log size = 1000 doing parameter log level = 0 [2009/11/18 11:25:54, 4] param/loadparm.c:lp_load_ex(8822) pm_process() returned Yes [2009/11/18 11:25:54, 7] param/loadparm.c:lp_servicenumber(9027) lp_servicenumber: couldn't find homes [2009/11/18 11:25:54, 10] param/loadparm.c:set_server_role(8000) set_server_role: role = ROLE_DOMAIN_PDC [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UCS-2LE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset UCS-2LE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF-16LE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF-16LE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UCS-2BE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset UCS-2BE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF-16BE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF-16BE [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF8 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF8 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF-8 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF-8 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset ASCII [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset ASCII [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset 646 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset 646 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset ISO-8859-1 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset ISO-8859-1 [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UCS2-HEX [2009/11/18 11:25:54, 5] lib/iconv.c:smb_register_charset(112) Registered charset UCS2-HEX [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/util.c:init_names(271) Netbios name list:- my_netbios_names[0]="TOLKIEN" [2009/11/18 11:25:54, 2] lib/interface.c:add_interface(337) added interface eth0 ip=fe80::20d:56ff:fec9:5190%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: [2009/11/18 11:25:54, 2] lib/interface.c:add_interface(337) added interface eth0 ip=10.0.3.2 bcast=10.0.3.127 netmask=255.255.255.128 [2009/11/18 11:25:54, 5] lib/gencache.c:gencache_init(61) Opening cache file at /var/run/samba/gencache.tdb [2009/11/18 11:25:54, 10] lib/gencache.c:gencache_get(194) Cache entry with key = AD_SITENAME/DOMAIN/ couldn't be found [2009/11/18 11:25:54, 5] libads/dns.c:sitename_fetch(814) sitename_fetch: No stored sitename for [2009/11/18 11:25:54, 10] libsmb/namequery.c:internal_resolve_name(1443) internal_resolve_name: looking up tolkien#20 (sitename (null)) [2009/11/18 11:25:54, 10] lib/gencache.c:gencache_get(208) Returning valid cache entry: key = NBT/TOLKIEN#20, value 127.0.1.1:0, timeout = Wed Nov 18 11:30:23 2009 [2009/11/18 11:25:54, 5] libsmb/namecache.c:namecache_fetch(233) name tolkien#20 found. [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 5] lib/charcnv.c:charset_name(82) Substituting charset 'UTF-8' for LOCALE [2009/11/18 11:25:54, 3] libsmb/cliconnect.c:cli_start_connection(1632) Connecting to host=tolkien [2009/11/18 11:25:54, 3] lib/util_sock.c:open_socket_out(1400) Connecting to 127.0.1.1 at port 445 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_KEEPALIVE = 0 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_REUSEADDR = 0 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_BROADCAST = 0 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option TCP_NODELAY = 1 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option TCP_KEEPCNT = 9 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option TCP_KEEPIDLE = 7200 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option TCP_KEEPINTVL = 75 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option IPTOS_LOWDELAY = 16 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option IPTOS_THROUGHPUT = 16 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_SNDBUF = 8192 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_RCVBUF = 8192 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_SNDLOWAT = 1 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_RCVLOWAT = 1 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_SNDTIMEO = 0 [2009/11/18 11:25:54, 5] lib/util_sock.c:print_socket_options(781) socket option SO_RCVTIMEO = 0 [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,194) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,194) wrote 194 [2009/11/18 11:25:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 127 [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=127 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=6231 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]=12803 (0x3203) smb_vwv[ 2]= 256 (0x100) smb_vwv[ 3]= 1024 (0x400) smb_vwv[ 4]= 65 (0x41) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]=22528 (0x5800) smb_vwv[ 8]= 24 (0x18) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 243 (0xF3) smb_vwv[11]= 128 (0x80) smb_vwv[12]=51477 (0xC915) smb_vwv[13]=27596 (0x6BCC) smb_vwv[14]=51816 (0xCA68) smb_vwv[15]=11265 (0x2C01) smb_vwv[16]= 1 (0x1) smb_bcc=58 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 74 6F 6C 6B 69 65 6E 00 00 00 00 00 00 00 00 00 tolkien. ........ [010] 60 28 06 06 2B 06 01 05 05 02 A0 1E 30 1C A0 0E `(..+... ....0... [020] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A3 0A 0...+... ..7..... [030] 30 08 A0 06 1B 04 4E 4F 4E 45 0.....NO NE [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=127 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=6231 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]=12803 (0x3203) smb_vwv[ 2]= 256 (0x100) smb_vwv[ 3]= 1024 (0x400) smb_vwv[ 4]= 65 (0x41) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]=22528 (0x5800) smb_vwv[ 8]= 24 (0x18) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 243 (0xF3) smb_vwv[11]= 128 (0x80) smb_vwv[12]=51477 (0xC915) smb_vwv[13]=27596 (0x6BCC) smb_vwv[14]=51816 (0xCA68) smb_vwv[15]=11265 (0x2C01) smb_vwv[16]= 1 (0x1) smb_bcc=58 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 74 6F 6C 6B 69 65 6E 00 00 00 00 00 00 00 00 00 tolkien. ........ [010] 60 28 06 06 2B 06 01 05 05 02 A0 1E 30 1C A0 0E `(..+... ....0... [020] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A3 0A 0...+... ..7..... [030] 30 08 A0 06 1B 04 4E 4F 4E 45 0.....NO NE [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,92) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,92) wrote 92 [2009/11/18 11:25:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 94 [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=94 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=6231 smb_uid=100 smb_mid=2 smt_wct=3 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 1 (0x1) smb_bcc=53 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 00 55 00 6E 00 69 00 78 00 00 00 53 00 61 00 6D .U.n.i.x ...S.a.m [010] 00 62 00 61 00 20 00 33 00 2E 00 32 00 2E 00 35 .b.a. .3 ...2...5 [020] 00 00 00 50 00 52 00 45 00 43 00 49 00 44 00 49 ...P.R.E .C.I.D.I [030] 00 41 00 00 00 .A... [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=94 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=6231 smb_uid=100 smb_mid=2 smt_wct=3 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 1 (0x1) smb_bcc=53 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 00 55 00 6E 00 69 00 78 00 00 00 53 00 61 00 6D .U.n.i.x ...S.a.m [010] 00 62 00 61 00 20 00 33 00 2E 00 32 00 2E 00 35 .b.a. .3 ...2...5 [020] 00 00 00 50 00 52 00 45 00 43 00 49 00 44 00 49 ...P.R.E .C.I.D.I [030] 00 41 00 00 00 .A... [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,82) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,82) wrote 82 [2009/11/18 11:25:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 56 [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=56 smb_com=0x75 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=6231 smb_uid=100 smb_mid=3 smt_wct=7 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 1 (0x1) smb_vwv[ 3]= 511 (0x1FF) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 511 (0x1FF) smb_vwv[ 6]= 0 (0x0) smb_bcc=7 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 49 50 43 00 00 00 00 IPC.... [2009/11/18 11:25:54, 10] libsmb/clientgen.c:cli_init_creds(415) cli_init_creds: user domain [2009/11/18 11:25:54, 10] libsmb/namequery.c:saf_store(75) saf_store: domain = [MYDOMAIN], server = [tolkien], expire = [1258562454] [2009/11/18 11:25:54, 10] lib/gencache.c:gencache_set(131) Adding cache entry with key = SAF/DOMAIN/MYDOMAIN; value = tolkien and timeout = Wed Nov 18 11:40:54 2009 (900 seconds ahead) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,108) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,108) wrote 108 [2009/11/18 11:25:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 103 [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=103 smb_com=0xa2 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=6231 smb_uid=100 smb_mid=4 smt_wct=34 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]=18944 (0x4A00) smb_vwv[ 3]= 368 (0x170) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_vwv[10]= 0 (0x0) smb_vwv[11]= 0 (0x0) smb_vwv[12]= 0 (0x0) smb_vwv[13]= 0 (0x0) smb_vwv[14]= 0 (0x0) smb_vwv[15]= 0 (0x0) smb_vwv[16]= 0 (0x0) smb_vwv[17]= 0 (0x0) smb_vwv[18]= 0 (0x0) smb_vwv[19]= 0 (0x0) smb_vwv[20]= 0 (0x0) smb_vwv[21]=32768 (0x8000) smb_vwv[22]= 0 (0x0) smb_vwv[23]= 0 (0x0) smb_vwv[24]= 0 (0x0) smb_vwv[25]= 0 (0x0) smb_vwv[26]= 0 (0x0) smb_vwv[27]= 0 (0x0) smb_vwv[28]= 0 (0x0) smb_vwv[29]= 0 (0x0) smb_vwv[30]= 0 (0x0) smb_vwv[31]= 512 (0x200) smb_vwv[32]=65280 (0xFF00) smb_vwv[33]= 5 (0x5) smb_bcc=0 [2009/11/18 11:25:54, 5] rpc_client/cli_pipe.c:rpc_pipe_bind(2049) Bind RPC Pipe[704a]: \NETLOGON auth_type 0, auth_level 0 [2009/11/18 11:25:54, 5] rpc_client/cli_pipe.c:valid_pipe_name(1650) Bind Abstract Syntax: [000] 78 56 34 12 34 12 CD AB EF 00 01 23 45 67 CF FB xV4.4... ...#Eg.. [010] 01 00 00 00 .... [2009/11/18 11:25:54, 5] rpc_client/cli_pipe.c:valid_pipe_name(1653) Bind Transfer Syntax: [000] 04 5D 88 8A EB 1C C9 11 9F E8 08 00 2B 10 48 60 .]...... ....+.H` [010] 02 00 00 00 .... [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_debug(88) 000000 smb_io_rpc_hdr hdr [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0000 major : 05 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0001 minor : 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0002 pkt_type : 0b [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0003 flags : 03 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0004 pack_type0: 10 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0005 pack_type1: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0006 pack_type2: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0007 pack_type3: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0008 frag_len : 0048 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 000a auth_len : 0000 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 000c call_id : 00000001 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_debug(88) 000010 smb_io_rpc_hdr_rb [2009/11/18 11:25:54, 6] rpc_parse/parse_prs.c:prs_debug(88) 000010 smb_io_rpc_hdr_bba [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0010 max_tsize: 10b8 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0012 max_rsize: 10b8 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0014 assoc_gid: 00000000 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0018 num_contexts: 01 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 001c context_id : 0000 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 001e num_transfer_syntaxes: 01 [2009/11/18 11:25:54, 6] rpc_parse/parse_prs.c:prs_debug(88) 00001f smb_io_rpc_iface [2009/11/18 11:25:54, 7] rpc_parse/parse_prs.c:prs_debug(88) 000020 smb_io_uuid uuid [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0020 data : 12345678 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0024 data : 1234 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0026 data : abcd [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8s(865) 0028 data : ef 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8s(865) 002a data : 01 23 45 67 cf fb [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0030 version: 00000001 [2009/11/18 11:25:54, 6] rpc_parse/parse_prs.c:prs_debug(88) 000034 smb_io_rpc_iface [2009/11/18 11:25:54, 7] rpc_parse/parse_prs.c:prs_debug(88) 000034 smb_io_uuid uuid [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0034 data : 8a885d04 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0038 data : 1ceb [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 003a data : 11c9 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8s(865) 003c data : 9f e8 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8s(865) 003e data : 08 00 2b 10 48 60 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0044 version: 00000002 [2009/11/18 11:25:54, 5] rpc_client/cli_pipe.c:rpc_api_pipe(769) rpc_api_pipe: Remote machine tolkien pipe \NETLOGON fnum 0x704a [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=154 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=51201 smb_tid=1 smb_pid=6231 smb_uid=100 smb_mid=5 smt_wct=16 smb_vwv[ 0]= 0 (0x0) smb_vwv[ 1]= 72 (0x48) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 4280 (0x10B8) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_vwv[10]= 82 (0x52) smb_vwv[11]= 72 (0x48) smb_vwv[12]= 82 (0x52) smb_vwv[13]= 2 (0x2) smb_vwv[14]= 38 (0x26) smb_vwv[15]=28746 (0x704A) smb_bcc=87 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 00 5C 00 50 00 49 00 50 00 45 00 5C 00 00 00 05 .\.P.I.P .E.\.... [010] 00 0B 03 10 00 00 00 48 00 00 00 01 00 00 00 B8 .......H ........ [020] 10 B8 10 00 00 00 00 01 00 00 00 00 00 01 00 78 ........ .......x [030] 56 34 12 34 12 CD AB EF 00 01 23 45 67 CF FB 01 V4.4.... ..#Eg... [040] 00 00 00 04 5D 88 8A EB 1C C9 11 9F E8 08 00 2B ....]... .......+ [050] 10 48 60 02 00 00 00 .H`.... [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,158) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,158) wrote 158 [2009/11/18 11:25:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 128 [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=128 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=6231 smb_uid=100 smb_mid=5 smt_wct=10 smb_vwv[ 0]= 0 (0x0) smb_vwv[ 1]= 72 (0x48) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 0 (0x0) smb_vwv[ 4]= 56 (0x38) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 72 (0x48) smb_vwv[ 7]= 56 (0x38) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_bcc=73 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 00 05 00 0C 03 10 00 00 00 48 00 00 00 01 00 00 ........ .H...... [010] 00 B8 10 B8 10 F0 53 00 00 0F 00 5C 50 49 50 45 ......S. ...\PIPE [020] 5C 6E 65 74 6C 6F 67 6F 6E 00 00 00 00 01 00 00 \netlogo n....... [030] 00 00 00 00 00 04 5D 88 8A EB 1C C9 11 9F E8 08 ......]. ........ [040] 00 2B 10 48 60 02 00 00 00 .+.H`... . [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=128 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=6231 smb_uid=100 smb_mid=5 smt_wct=10 smb_vwv[ 0]= 0 (0x0) smb_vwv[ 1]= 72 (0x48) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 0 (0x0) smb_vwv[ 4]= 56 (0x38) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 72 (0x48) smb_vwv[ 7]= 56 (0x38) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_bcc=73 [2009/11/18 11:25:54, 10] lib/util.c:dump_data(2223) [000] 00 05 00 0C 03 10 00 00 00 48 00 00 00 01 00 00 ........ .H...... [010] 00 B8 10 B8 10 F0 53 00 00 0F 00 5C 50 49 50 45 ......S. ...\PIPE [020] 5C 6E 65 74 6C 6F 67 6F 6E 00 00 00 00 01 00 00 \netlogo n....... [030] 00 00 00 00 00 04 5D 88 8A EB 1C C9 11 9F E8 08 ......]. ........ [040] 00 2B 10 48 60 02 00 00 00 .+.H`... . [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_debug(88) 000000 smb_io_rpc_hdr rpc_hdr [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0000 major : 05 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0001 minor : 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0002 pkt_type : 0c [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0003 flags : 03 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0004 pack_type0: 10 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0005 pack_type1: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0006 pack_type2: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0007 pack_type3: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0008 frag_len : 0048 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 000a auth_len : 0000 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 000c call_id : 00000001 [2009/11/18 11:25:54, 10] rpc_client/cli_pipe.c:rpc_api_pipe(842) rpc_api_pipe: got PDU len of 72 at offset 0 [2009/11/18 11:25:54, 10] rpc_client/cli_pipe.c:rpc_api_pipe(893) rpc_api_pipe: Remote machine tolkien pipe \NETLOGON fnum 0x704a returned 72 bytes. [2009/11/18 11:25:54, 3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086) rpc_pipe_bind: Remote machine tolkien pipe \NETLOGON fnum 0x704a bind request returned ok. [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_debug(88) 000000 smb_io_rpc_hdr hdr [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0000 major : 05 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0001 minor : 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0002 pkt_type : 0c [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0003 flags : 03 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0004 pack_type0: 10 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0005 pack_type1: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0006 pack_type2: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 0007 pack_type3: 00 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0008 frag_len : 0048 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 000a auth_len : 0000 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 000c call_id : 00000001 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_debug(88) 000010 smb_io_rpc_hdr_ba [2009/11/18 11:25:54, 6] rpc_parse/parse_prs.c:prs_debug(88) 000010 smb_io_rpc_hdr_bba [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0010 max_tsize: 10b8 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0012 max_rsize: 10b8 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0014 assoc_gid: 000053f0 [2009/11/18 11:25:54, 6] rpc_parse/parse_prs.c:prs_debug(88) 000018 smb_io_rpc_addr_str [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0018 len: 000f [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8s(865) 001a str: \PIPE\netlogon. [2009/11/18 11:25:54, 6] rpc_parse/parse_prs.c:prs_debug(88) 000029 smb_io_rpc_results [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8(624) 002c num_results: 01 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0030 result : 0000 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0032 reason : 0000 [2009/11/18 11:25:54, 6] rpc_parse/parse_prs.c:prs_debug(88) 000034 smb_io_rpc_iface [2009/11/18 11:25:54, 7] rpc_parse/parse_prs.c:prs_debug(88) 000034 smb_io_uuid uuid [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0034 data : 8a885d04 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 0038 data : 1ceb [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint16(689) 003a data : 11c9 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8s(865) 003c data : 9f e8 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint8s(865) 003e data : 08 00 2b 10 48 60 [2009/11/18 11:25:54, 5] rpc_parse/parse_prs.c:prs_uint32(718) 0044 version: 00000002 [2009/11/18 11:25:54, 5] rpc_client/cli_pipe.c:check_bind_response(1704) check_bind_response: accepted! [2009/11/18 11:25:54, 10] rpc_client/cli_pipe.c:cli_rpc_pipe_open_noauth(2282) cli_rpc_pipe_open_noauth: opened pipe \NETLOGON to machine tolkien and bound anonymously. [2009/11/18 11:25:54, 5] passdb/passdb.c:get_trust_pw_clear(1578) get_trust_pw_clear: could not fetch clear text trust account password for domain MYDOMAIN [2009/11/18 11:25:54, 5] passdb/secrets.c:secrets_fetch_trust_account_password_legacy(396) secrets_fetch failed! [2009/11/18 11:25:54, 5] passdb/passdb.c:get_trust_pw_hash(1615) get_trust_pw_hash: could not fetch trust account password for domain MYDOMAIN [2009/11/18 11:25:54, 0] rpc_client/cli_pipe.c:get_schannel_session_key_common(2449) get_schannel_session_key: could not fetch trust account password for domain 'MYDOMAIN' [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,45) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,45) wrote 45 [2009/11/18 11:25:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 35 [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=35 smb_com=0x4 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=6231 smb_uid=100 smb_mid=6 smt_wct=0 smb_bcc=0 [2009/11/18 11:25:54, 10] libsmb/clientgen.c:cli_rpc_pipe_close(553) cli_rpc_pipe_close: closed pipe \NETLOGON to machine tolkien [2009/11/18 11:25:54, 0] utils/net_rpc_join.c:net_rpc_join_ok(87) net_rpc_join_ok: failed to get schannel session key from server tolkien for domain MYDOMAIN. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,39) [2009/11/18 11:25:54, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,39) wrote 39 [2009/11/18 11:25:54, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 35 [2009/11/18 11:25:54, 5] lib/util.c:show_msg(642) [2009/11/18 11:25:54, 5] lib/util.c:show_msg(652) size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=6231 smb_uid=100 smb_mid=7 smt_wct=0 smb_bcc=0 Join to domain 'MYDOMAIN' is not valid: NT_STATUS_CANT_ACCESS_DOMAIN_INFO [2009/11/18 11:25:54, 2] utils/net.c:main(1172) return code = -1