Hi all I am having trouble joining a server to our new AD 2008 server with DOMAIN security mode. ADS Security mode works just fine ,but the server is going to be a Clearcase Vobserver and ADS is not supported. The AD server is also configured to only allow NTLMv2 and not older NTLM, the last 4 lines i global show this. Tried version 3.3.2 and 3.0.34. Same errors om both. Joining a older AD server works fine is the temporary workaround. Environment: OS:: Solaris 10 10/08 # uname -a # SunOS SERVER_01 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-280R Samba:: # ./configure --with-acl-support --with-automount --with-winbind smb.conf [global] workgroup = *** security = DOMAIN netbios name = SERVER_01 password server = AD_SERVER_01,AD_SERVER_02 encrypt passwords = Yes preferred master = No local master = No domain master = No admin users = administrator create mask = 0664 directory mask = 0775 lanman auth = no ntlm auth = no client NTLMv2 auth = yes client lanman auth = no [test] comment = tmp path=/tmp read only = no # net rpc join -S AD_SERVER_01 Could not initialise lsa pipe Enter root's password: Could not connect to server AD_SERVER_01 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE # net rpc join -S AD_SERVER_01 -d 10 [2009/03/25 10:31:23, 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/03/25 10:31:23, 3] param/loadparm.c:lp_load_ex(8794) lp_load_ex: refreshing parameters [2009/03/25 10:31:23, 3] param/loadparm.c:init_globals(4629) Initialising global parameters [2009/03/25 10:31:23, 3] param/params.c:pm_process(569) params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf" [2009/03/25 10:31:23, 3] param/loadparm.c:do_section(7457) Processing section "[global]" doing parameter workgroup = *** doing parameter security = DOMAIN doing parameter netbios name = SERVER_01 [2009/03/25 10:31:23, 4] param/loadparm.c:handle_netbios_name(6810) handle_netbios_name: set global_myname to: SERVER_01 doing parameter password server = AD_SERVER_02,AD_SERVER_01 doing parameter encrypt passwords = Yes doing parameter preferred master = No doing parameter local master = No doing parameter domain master = No doing parameter admin users = administrator doing parameter create mask = 0664 doing parameter directory mask = 0775 doing parameter lanman auth = no doing parameter ntlm auth = no doing parameter client NTLMv2 auth = yes doing parameter client lanman auth = no [2009/03/25 10:31:23, 4] param/loadparm.c:lp_load_ex(8838) pm_process() returned Yes [2009/03/25 10:31:23, 7] param/loadparm.c:lp_servicenumber(9043) lp_servicenumber: couldn't find homes [2009/03/25 10:31:23, 10] param/loadparm.c:set_server_role(8016) set_server_role: role = ROLE_DOMAIN_MEMBER [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UCS-2LE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset UCS-2LE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF-16LE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF-16LE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UCS-2BE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset UCS-2BE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF-16BE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF-16BE [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF8 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF8 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UTF-8 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset UTF-8 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset ASCII [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset ASCII [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset 646 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset 646 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset ISO-8859-1 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset ISO-8859-1 [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(104) Attempting to register new charset UCS2-HEX [2009/03/25 10:31:23, 5] lib/iconv.c:smb_register_charset(112) Registered charset UCS2-HEX [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/util.c:init_names(269) Netbios name list:- my_netbios_names[0]="SERVER_01" [2009/03/25 10:31:23, 2] lib/interface.c:add_interface(340) added interface eri0 ip=SERVER_01_IP bcast=SERVER_01_IP_BC netmask=255.255.255.0 [2009/03/25 10:31:23, 5] lib/gencache.c:gencache_init(61) Opening cache file at /usr/local/samba/var/locks/gencache.tdb [2009/03/25 10:31:23, 10] lib/gencache.c:gencache_get(194) Cache entry with key = AD_SITENAME/DOMAIN/ couldn't be found [2009/03/25 10:31:23, 5] libads/dns.c:sitename_fetch(814) sitename_fetch: No stored sitename for [2009/03/25 10:31:23, 10] libsmb/namequery.c:internal_resolve_name(1505) internal_resolve_name: looking up AD_SERVER_01#20 (sitename (null)) [2009/03/25 10:31:23, 10] lib/gencache.c:gencache_get(208) Returning valid cache entry: key = NBT/AD_SERVER_01#20, value = AD_SERVER_01_IP:0, timeout = Wed Mar 25 10:39:58 2009 [2009/03/25 10:31:23, 5] libsmb/namecache.c:namecache_fetch(233) name AD_SERVER_01#20 found. [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 5] lib/charcnv.c:charset_name(82) Substituting charset 'ISO8859-1' for LOCALE [2009/03/25 10:31:23, 3] libsmb/cliconnect.c:cli_start_connection(1649) Connecting to host=AD_SERVER_01 [2009/03/25 10:31:23, 3] lib/util_sock.c:open_socket_out(1400) Connecting to AD_SERVER_01_IP at port 445 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option SO_KEEPALIVE = 0 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option SO_REUSEADDR = 0 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option SO_BROADCAST = 0 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option TCP_NODELAY = 1 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option IPTOS_LOWDELAY = 0 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option IPTOS_THROUGHPUT = 0 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option SO_SNDBUF = 49152 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(781) socket option SO_RCVBUF = 49640 [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_SNDLOWAT. [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_RCVLOWAT. [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_SNDTIMEO. [2009/03/25 10:31:23, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_RCVTIMEO. [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,194) [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,194) wrote 194 [2009/03/25 10:31:23, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 193 [2009/03/25 10:31:23, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:23, 5] lib/util.c:show_msg(655) size=193 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=26268 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 9 (0x9) smb_vwv[ 1]=12815 (0x320F) 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]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 499 (0x1F3) smb_vwv[11]=51328 (0xC880) smb_vwv[12]=39391 (0x99DF) smb_vwv[13]=11381 (0x2C75) smb_vwv[14]=51629 (0xC9AD) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 255 (0xFF) smb_bcc=124 [2009/03/25 10:31:23, 10] lib/util.c:dump_data(2233) [000] B0 1A FA DC 1E 72 35 43 90 88 1A 61 8E 8B F3 93 ..??.r5C ...a.. [010] 60 6A 06 06 2B 06 01 05 05 02 A0 60 30 5E A0 30 `j..+... ..?`0^?0 [020] 30 2E 06 09 2A 86 48 82 F7 12 01 02 02 06 09 2A 0...*.H. .......* [030] 86 48 86 F7 12 01 02 02 06 0A 2A 86 48 86 F7 12 .H...... ..*.H... [040] 01 02 02 03 06 0A 2B 06 01 04 01 82 37 02 02 0A ......+. ....7... [050] A3 2A 30 28 A0 26 1B 24 6E 6F 74 5F 64 65 66 69 .*0(?&.$ not_defi [060] 6E 65 64 5F 69 6E 5F 52 46 43 34 31 37 38 40 70 ned_in_R FC4178@p [070] 6C 65 61 73 65 5F 69 67 6E 6F 72 65 lease_ig nore [2009/03/25 10:31:23, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:23, 5] lib/util.c:show_msg(655) size=193 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=26268 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 9 (0x9) smb_vwv[ 1]=12815 (0x320F) 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]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 499 (0x1F3) smb_vwv[11]=51328 (0xC880) smb_vwv[12]=39391 (0x99DF) smb_vwv[13]=11381 (0x2C75) smb_vwv[14]=51629 (0xC9AD) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 255 (0xFF) smb_bcc=124 [2009/03/25 10:31:23, 10] lib/util.c:dump_data(2233) [000] B0 1A FA DC 1E 72 35 43 90 88 1A 61 8E 8B F3 93 ..??.r5C ...a.. [010] 60 6A 06 06 2B 06 01 05 05 02 A0 60 30 5E A0 30 `j..+... ..?`0^?0 [020] 30 2E 06 09 2A 86 48 82 F7 12 01 02 02 06 09 2A 0...*.H. .......* [030] 86 48 86 F7 12 01 02 02 06 0A 2A 86 48 86 F7 12 .H...... ..*.H... [040] 01 02 02 03 06 0A 2B 06 01 04 01 82 37 02 02 0A ......+. ....7... [050] A3 2A 30 28 A0 26 1B 24 6E 6F 74 5F 64 65 66 69 .*0(?&.$ not_defi [060] 6E 65 64 5F 69 6E 5F 52 46 43 34 31 37 38 40 70 ned_in_R FC4178@p [070] 6C 65 61 73 65 5F 69 67 6E 6F 72 65 lease_ig nore [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,92) [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,92) wrote 92 [2009/03/25 10:31:23, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 237 [2009/03/25 10:31:23, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:23, 5] lib/util.c:show_msg(655) size=237 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=26268 smb_uid=2049 smb_mid=2 smt_wct=3 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 237 (0xED) smb_vwv[ 2]= 0 (0x0) smb_bcc=196 [2009/03/25 10:31:23, 10] lib/util.c:dump_data(2233) [000] 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 .W.i.n.d .o.w.s. [010] 00 53 00 65 00 72 00 76 00 65 00 72 00 20 00 28 .S.e.r.v .e.r. .( [020] 00 52 00 29 00 20 00 32 00 30 00 30 00 38 00 20 .R.). .2 .0.0.8. [030] 00 45 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 .E.n.t.e .r.p.r.i [040] 00 73 00 65 00 20 00 36 00 30 00 30 00 31 00 20 .s.e. .6 .0.0.1. [050] 00 53 00 65 00 72 00 76 00 69 00 63 00 65 00 20 .S.e.r.v .i.c.e. [060] 00 50 00 61 00 63 00 6B 00 20 00 31 00 00 00 57 .P.a.c.k . .1...W [070] 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 53 .i.n.d.o .w.s. .S [080] 00 65 00 72 00 76 00 65 00 72 00 20 00 28 00 52 .e.r.v.e .r. .(.R [090] 00 29 00 20 00 32 00 30 00 30 00 38 00 20 00 45 .). .2.0 .0.8. .E [0A0] 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 00 73 .n.t.e.r .p.r.i.s [0B0] 00 65 00 20 00 36 00 2E 00 30 00 00 00 4B 00 44 .e. .6.. .0...K.D [0C0] 00 41 00 00 .A.. [2009/03/25 10:31:23, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:23, 5] lib/util.c:show_msg(655) size=237 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=26268 smb_uid=2049 smb_mid=2 smt_wct=3 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 237 (0xED) smb_vwv[ 2]= 0 (0x0) smb_bcc=196 [2009/03/25 10:31:23, 10] lib/util.c:dump_data(2233) [000] 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 .W.i.n.d .o.w.s. [010] 00 53 00 65 00 72 00 76 00 65 00 72 00 20 00 28 .S.e.r.v .e.r. .( [020] 00 52 00 29 00 20 00 32 00 30 00 30 00 38 00 20 .R.). .2 .0.0.8. [030] 00 45 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 .E.n.t.e .r.p.r.i [040] 00 73 00 65 00 20 00 36 00 30 00 30 00 31 00 20 .s.e. .6 .0.0.1. [050] 00 53 00 65 00 72 00 76 00 69 00 63 00 65 00 20 .S.e.r.v .i.c.e. [060] 00 50 00 61 00 63 00 6B 00 20 00 31 00 00 00 57 .P.a.c.k . .1...W [070] 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 53 .i.n.d.o .w.s. .S [080] 00 65 00 72 00 76 00 65 00 72 00 20 00 28 00 52 .e.r.v.e .r. .(.R [090] 00 29 00 20 00 32 00 30 00 30 00 38 00 20 00 45 .). .2.0 .0.8. .E [0A0] 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 00 73 .n.t.e.r .p.r.i.s [0B0] 00 65 00 20 00 36 00 2E 00 30 00 00 00 4B 00 44 .e. .6.. .0...K.D [0C0] 00 41 00 00 .A.. [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,92) [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,92) wrote 92 [2009/03/25 10:31:23, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 56 [2009/03/25 10:31:23, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:23, 5] lib/util.c:show_msg(655) size=56 smb_com=0x75 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=2049 smb_pid=26268 smb_uid=2049 smb_mid=3 smt_wct=7 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 56 (0x38) smb_vwv[ 2]= 1 (0x1) smb_vwv[ 3]=65535 (0xFFFF) smb_vwv[ 4]= 31 (0x1F) smb_vwv[ 5]=65535 (0xFFFF) smb_vwv[ 6]= 31 (0x1F) smb_bcc=7 [2009/03/25 10:31:23, 10] lib/util.c:dump_data(2233) [000] 49 50 43 00 00 00 00 IPC.... [2009/03/25 10:31:23, 10] libsmb/clientgen.c:cli_init_creds(415) cli_init_creds: user domain [2009/03/25 10:31:23, 10] libsmb/namequery.c:saf_store(86) saf_store: domain = [***], server = [AD_SERVER_01], expire = [1237974383] [2009/03/25 10:31:23, 10] lib/gencache.c:gencache_set(131) Adding cache entry with key = SAF/DOMAIN/***; value = AD_SERVER_01 and timeout = Wed Mar 25 10:46:23 2009 (900 seconds ahead) [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,104) [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,104) wrote 104 [2009/03/25 10:31:23, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 35 [2009/03/25 10:31:23, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:23, 5] lib/util.c:show_msg(655) size=35 smb_com=0xa2 smb_rcls=34 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=2049 smb_pid=26268 smb_uid=2049 smb_mid=4 smt_wct=0 smb_bcc=0 [2009/03/25 10:31:23, 3] rpc_client/cli_pipe.c:rpc_pipe_open_np(2915) rpc_pipe_open_np: cli_nt_create failed on pipe \lsarpc to machine AD_SERVER_01. Error was NT_STATUS_ACCESS_DENIED Could not initialise lsa pipe [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,39) [2009/03/25 10:31:23, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,39) wrote 39 [2009/03/25 10:31:24, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 35 [2009/03/25 10:31:24, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:24, 5] lib/util.c:show_msg(655) size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=2049 smb_pid=26268 smb_uid=2049 smb_mid=5 smt_wct=0 smb_bcc=0 [2009/03/25 10:31:24, 10] lib/gencache.c:gencache_get(194) Cache entry with key = AD_SITENAME/DOMAIN/ couldn't be found [2009/03/25 10:31:24, 5] libads/dns.c:sitename_fetch(814) sitename_fetch: No stored sitename for [2009/03/25 10:31:24, 10] libsmb/namequery.c:internal_resolve_name(1505) internal_resolve_name: looking up AD_SERVER_01#20 (sitename (null)) [2009/03/25 10:31:24, 10] lib/gencache.c:gencache_get(208) Returning valid cache entry: key = NBT/AD_SERVER_01#20, value = AD_SERVER_01_IP:0, timeout = Wed Mar 25 10:39:58 2009 [2009/03/25 10:31:24, 5] libsmb/namecache.c:namecache_fetch(233) name AD_SERVER_01#20 found. Enter root's password: [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_start_connection(1649) Connecting to host=AD_SERVER_01 [2009/03/25 10:31:25, 3] lib/util_sock.c:open_socket_out(1400) Connecting to AD_SERVER_01_IP at port 445 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option SO_KEEPALIVE = 0 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option SO_REUSEADDR = 0 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option SO_BROADCAST = 0 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option TCP_NODELAY = 1 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option IPTOS_LOWDELAY = 0 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option IPTOS_THROUGHPUT = 0 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option SO_SNDBUF = 49152 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(781) socket option SO_RCVBUF = 49640 [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_SNDLOWAT. [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_RCVLOWAT. [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_SNDTIMEO. [2009/03/25 10:31:25, 5] lib/util_sock.c:print_socket_options(778) Could not test socket option SO_RCVTIMEO. [2009/03/25 10:31:25, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,194) [2009/03/25 10:31:25, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,194) wrote 194 [2009/03/25 10:31:25, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 193 [2009/03/25 10:31:25, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:25, 5] lib/util.c:show_msg(655) size=193 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=26268 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 9 (0x9) smb_vwv[ 1]=12815 (0x320F) 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]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 499 (0x1F3) smb_vwv[11]=18560 (0x4880) smb_vwv[12]=30010 (0x753A) smb_vwv[13]=11382 (0x2C76) smb_vwv[14]=51629 (0xC9AD) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 255 (0xFF) smb_bcc=124 [2009/03/25 10:31:25, 10] lib/util.c:dump_data(2233) [000] B0 1A FA DC 1E 72 35 43 90 88 1A 61 8E 8B F3 93 ..??.r5C ...a.. [010] 60 6A 06 06 2B 06 01 05 05 02 A0 60 30 5E A0 30 `j..+... ..?`0^?0 [020] 30 2E 06 09 2A 86 48 82 F7 12 01 02 02 06 09 2A 0...*.H. .......* [030] 86 48 86 F7 12 01 02 02 06 0A 2A 86 48 86 F7 12 .H...... ..*.H... [040] 01 02 02 03 06 0A 2B 06 01 04 01 82 37 02 02 0A ......+. ....7... [050] A3 2A 30 28 A0 26 1B 24 6E 6F 74 5F 64 65 66 69 .*0(?&.$ not_defi [060] 6E 65 64 5F 69 6E 5F 52 46 43 34 31 37 38 40 70 ned_in_R FC4178@p [070] 6C 65 61 73 65 5F 69 67 6E 6F 72 65 lease_ig nore [2009/03/25 10:31:25, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:25, 5] lib/util.c:show_msg(655) size=193 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=26268 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 9 (0x9) smb_vwv[ 1]=12815 (0x320F) 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]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 499 (0x1F3) smb_vwv[11]=18560 (0x4880) smb_vwv[12]=30010 (0x753A) smb_vwv[13]=11382 (0x2C76) smb_vwv[14]=51629 (0xC9AD) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 255 (0xFF) smb_bcc=124 [2009/03/25 10:31:25, 10] lib/util.c:dump_data(2233) [000] B0 1A FA DC 1E 72 35 43 90 88 1A 61 8E 8B F3 93 ..??.r5C ...a.. [010] 60 6A 06 06 2B 06 01 05 05 02 A0 60 30 5E A0 30 `j..+... ..?`0^?0 [020] 30 2E 06 09 2A 86 48 82 F7 12 01 02 02 06 09 2A 0...*.H. .......* [030] 86 48 86 F7 12 01 02 02 06 0A 2A 86 48 86 F7 12 .H...... ..*.H... [040] 01 02 02 03 06 0A 2B 06 01 04 01 82 37 02 02 0A ......+. ....7... [050] A3 2A 30 28 A0 26 1B 24 6E 6F 74 5F 64 65 66 69 .*0(?&.$ not_defi [060] 6E 65 64 5F 69 6E 5F 52 46 43 34 31 37 38 40 70 ned_in_R FC4178@p [070] 6C 65 61 73 65 5F 69 67 6E 6F 72 65 lease_ig nore [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_session_setup_spnego(823) Doing spnego session setup (blob length=124) [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_session_setup_spnego(850) got OID=1 2 840 48018 1 2 2 [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_session_setup_spnego(850) got OID=1 2 840 113554 1 2 2 [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_session_setup_spnego(850) got OID=1 2 840 113554 1 2 2 3 [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_session_setup_spnego(850) got OID=1 3 6 1 4 1 311 2 2 10 [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_session_setup_spnego(858) got principal=not_defined_in_RFC4178@please_ignore [2009/03/25 10:31:25, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,166) [2009/03/25 10:31:25, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,166) wrote 166 [2009/03/25 10:31:25, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 519 [2009/03/25 10:31:25, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:25, 5] lib/util.c:show_msg(655) size=519 smb_com=0x73 smb_rcls=22 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51205 smb_tid=0 smb_pid=26268 smb_uid=8194 smb_mid=2 smt_wct=4 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 519 (0x207) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 288 (0x120) smb_bcc=476 [2009/03/25 10:31:25, 10] lib/util.c:dump_data(2233) [000] A1 82 01 1C 30 82 01 18 A0 03 0A 01 01 A1 0C 06 ?...0... ?....?.. [010] 0A 2B 06 01 04 01 82 37 02 02 0A A2 82 01 01 04 .+.....7 ........ [020] 81 FE 4E 54 4C 4D 53 53 50 00 02 00 00 00 06 00 .?NTLMSS P....... [030] 06 00 38 00 00 00 15 82 89 62 FD 80 41 80 EA 34 ..8..... .b?.A. [040] 56 7D 00 00 00 00 00 00 00 00 C0 00 C0 00 3E 00 V}...... ..?.?.>. [050] 00 00 06 00 71 17 00 00 00 0F 4B 00 44 00 41 00 ....q... ..K.D.A. [060] 02 00 06 00 4B 00 44 00 41 00 01 00 18 00 55 00 ....K.D. A.....U. [070] 4B 00 47 00 57 00 2D 00 44 00 43 00 2D 00 56 00 K.G.W.-. D.C.-.V. [080] 50 00 30 00 32 00 04 00 22 00 6B 00 64 00 61 00 P.0.2... ".k.d.a. [090] 2E 00 6B 00 6F 00 6E 00 67 00 73 00 62 00 65 00 ..k.o.n. g.s.b.e. [0A0] 72 00 67 00 2E 00 63 00 6F 00 6D 00 03 00 3C 00 r.g...c. o.m...<. [0B0] 55 00 4B 00 47 00 57 00 2D 00 44 00 43 00 2D 00 U.K.G.W. -.D.C.-. [0C0] 56 00 50 00 30 00 32 00 2E 00 6B 00 64 00 61 00 V.P.0.2. ..k.d.a. [0D0] 2E 00 6B 00 6F 00 6E 00 67 00 73 00 62 00 65 00 ..k.o.n. g.s.b.e. [0E0] 72 00 67 00 2E 00 63 00 6F 00 6D 00 05 00 20 00 r.g...c. o.m... . [0F0] 6B 00 67 00 2E 00 6B 00 6F 00 6E 00 67 00 73 00 k.g...k. o.n.g.s. [100] 62 00 65 00 72 00 67 00 2E 00 63 00 6F 00 6D 00 b.e.r.g. ..c.o.m. [110] 07 00 08 00 08 FF 79 76 2C AD C9 01 00 00 00 00 .....?yv ,.?..... [120] 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 .W.i.n.d .o.w.s. [130] 00 53 00 65 00 72 00 76 00 65 00 72 00 20 00 28 .S.e.r.v .e.r. .( [140] 00 52 00 29 00 20 00 32 00 30 00 30 00 38 00 20 .R.). .2 .0.0.8. [150] 00 45 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 .E.n.t.e .r.p.r.i [160] 00 73 00 65 00 20 00 36 00 30 00 30 00 31 00 20 .s.e. .6 .0.0.1. [170] 00 53 00 65 00 72 00 76 00 69 00 63 00 65 00 20 .S.e.r.v .i.c.e. [180] 00 50 00 61 00 63 00 6B 00 20 00 31 00 00 00 57 .P.a.c.k . .1...W [190] 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 53 .i.n.d.o .w.s. .S [1A0] 00 65 00 72 00 76 00 65 00 72 00 20 00 28 00 52 .e.r.v.e .r. .(.R [1B0] 00 29 00 20 00 32 00 30 00 30 00 38 00 20 00 45 .). .2.0 .0.8. .E [1C0] 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 00 73 .n.t.e.r .p.r.i.s [1D0] 00 65 00 20 00 36 00 2E 00 30 00 00 .e. .6.. .0.. [2009/03/25 10:31:25, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:25, 5] lib/util.c:show_msg(655) size=519 smb_com=0x73 smb_rcls=22 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51205 smb_tid=0 smb_pid=26268 smb_uid=8194 smb_mid=2 smt_wct=4 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 519 (0x207) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 288 (0x120) smb_bcc=476 [2009/03/25 10:31:25, 10] lib/util.c:dump_data(2233) [000] A1 82 01 1C 30 82 01 18 A0 03 0A 01 01 A1 0C 06 ?...0... ?....?.. [010] 0A 2B 06 01 04 01 82 37 02 02 0A A2 82 01 01 04 .+.....7 ........ [020] 81 FE 4E 54 4C 4D 53 53 50 00 02 00 00 00 06 00 .?NTLMSS P....... [030] 06 00 38 00 00 00 15 82 89 62 FD 80 41 80 EA 34 ..8..... .b?.A. [040] 56 7D 00 00 00 00 00 00 00 00 C0 00 C0 00 3E 00 V}...... ..?.?.>. [050] 00 00 06 00 71 17 00 00 00 0F 4B 00 44 00 41 00 ....q... ..K.D.A. [060] 02 00 06 00 4B 00 44 00 41 00 01 00 18 00 55 00 ....K.D. A.....U. [070] 4B 00 47 00 57 00 2D 00 44 00 43 00 2D 00 56 00 K.G.W.-. D.C.-.V. [080] 50 00 30 00 32 00 04 00 22 00 6B 00 64 00 61 00 P.0.2... ".k.d.a. [090] 2E 00 6B 00 6F 00 6E 00 67 00 73 00 62 00 65 00 ..k.o.n. g.s.b.e. [0A0] 72 00 67 00 2E 00 63 00 6F 00 6D 00 03 00 3C 00 r.g...c. o.m...<. [0B0] 55 00 4B 00 47 00 57 00 2D 00 44 00 43 00 2D 00 U.K.G.W. -.D.C.-. [0C0] 56 00 50 00 30 00 32 00 2E 00 6B 00 64 00 61 00 V.P.0.2. ..k.d.a. [0D0] 2E 00 6B 00 6F 00 6E 00 67 00 73 00 62 00 65 00 ..k.o.n. g.s.b.e. [0E0] 72 00 67 00 2E 00 63 00 6F 00 6D 00 05 00 20 00 r.g...c. o.m... . [0F0] 6B 00 67 00 2E 00 6B 00 6F 00 6E 00 67 00 73 00 k.g...k. o.n.g.s. [100] 62 00 65 00 72 00 67 00 2E 00 63 00 6F 00 6D 00 b.e.r.g. ..c.o.m. [110] 07 00 08 00 08 FF 79 76 2C AD C9 01 00 00 00 00 .....?yv ,.?..... [120] 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 .W.i.n.d .o.w.s. [130] 00 53 00 65 00 72 00 76 00 65 00 72 00 20 00 28 .S.e.r.v .e.r. .( [140] 00 52 00 29 00 20 00 32 00 30 00 30 00 38 00 20 .R.). .2 .0.0.8. [150] 00 45 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 .E.n.t.e .r.p.r.i [160] 00 73 00 65 00 20 00 36 00 30 00 30 00 31 00 20 .s.e. .6 .0.0.1. [170] 00 53 00 65 00 72 00 76 00 69 00 63 00 65 00 20 .S.e.r.v .i.c.e. [180] 00 50 00 61 00 63 00 6B 00 20 00 31 00 00 00 57 .P.a.c.k . .1...W [190] 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 53 .i.n.d.o .w.s. .S [1A0] 00 65 00 72 00 76 00 65 00 72 00 20 00 28 00 52 .e.r.v.e .r. .(.R [1B0] 00 29 00 20 00 32 00 30 00 30 00 38 00 20 00 45 .). .2.0 .0.8. .E [1C0] 00 6E 00 74 00 65 00 72 00 70 00 72 00 69 00 73 .n.t.e.r .p.r.i.s [1D0] 00 65 00 20 00 36 00 2E 00 30 00 00 .e. .6.. .0.. [2009/03/25 10:31:25, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1027) Got challenge flags: [2009/03/25 10:31:25, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x62898215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_CHAL_TARGET_INFO NTLMSSP_NEGOTIATE_VERSION NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2009/03/25 10:31:25, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1049) NTLMSSP: Set final flags: [2009/03/25 10:31:25, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2009/03/25 10:31:25, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337) NTLMSSP Sign/Seal - Initialising with flags: [2009/03/25 10:31:25, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2009/03/25 10:31:25, 6] libsmb/clientgen.c:write_socket(236) write_socket(4,480) [2009/03/25 10:31:25, 6] libsmb/clientgen.c:write_socket(239) write_socket(4,480) wrote 480 [2009/03/25 10:31:25, 10] lib/util_sock.c:read_smb_length_return_keepalive(1187) got smb length of 35 [2009/03/25 10:31:25, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:25, 5] lib/util.c:show_msg(655) size=35 smb_com=0x73 smb_rcls=109 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51205 smb_tid=0 smb_pid=26268 smb_uid=8194 smb_mid=3 smt_wct=0 smb_bcc=0 [2009/03/25 10:31:25, 5] lib/util.c:show_msg(645) [2009/03/25 10:31:25, 5] lib/util.c:show_msg(655) size=35 smb_com=0x73 smb_rcls=109 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51205 smb_tid=0 smb_pid=26268 smb_uid=8194 smb_mid=3 smt_wct=0 smb_bcc=0 [2009/03/25 10:31:25, 3] libsmb/cliconnect.c:cli_session_setup(1055) SPNEGO login failed: Logon failure [2009/03/25 10:31:25, 1] libsmb/cliconnect.c:cli_full_connection(1754) failed session setup with NT_STATUS_LOGON_FAILURE Could not connect to server AD_SERVER_01 The username or password was not correct. Connection failed: NT_STATUS_LOGON_FAILURE [2009/03/25 10:31:25, 2] utils/net.c:main(769) return code = 1 Thanks Tommy Fallsen