PR #s 25271, 25273, 25445 security=domain does not work onSolaris

Tim Allen tallen at integritycompanies.com
Mon Sep 9 18:55:01 GMT 2002


I have run smbpasswd -NT_DOMAIN -r PDC -U Administrator 

It indicated success and the machine account shows up on the NT box.

log.smb:
[2002/09/06 16:31:35, 1] lib/debug.c:debug_message(245)
  INFO: Debug class all level = 101   (pid 3713 from pid 3713)
[2002/09/06 16:31:35, 2] param/loadparm.c:do_section(2902)
  Processing section "[NewBusiness]"
  doing parameter path = /var/NewBusiness
  doing parameter read only = No
[2002/09/06 16:31:35, 2] param/loadparm.c:do_section(2902)
  Processing section "[Statements]"
  doing parameter path = /var/Statements
  doing parameter read only = No
[2002/09/06 16:31:35, 4] param/loadparm.c:lp_load(3343)
  pm_process() returned Yes
[2002/09/06 16:31:35, 7] param/loadparm.c:lp_servicenumber(3440)
  lp_servicenumber: couldn't find homes
[2002/09/06 16:31:35, 3] param/loadparm.c:lp_add_ipc(1932)
  adding IPC service IPC$
[2002/09/06 16:31:35, 3] param/loadparm.c:lp_add_ipc(1932)
  adding IPC service ADMIN$
[2002/09/06 16:31:35, 7] param/loadparm.c:lp_servicenumber(3440)
  lp_servicenumber: couldn't find printers
[2002/09/06 16:31:35, 7] param/loadparm.c:lp_servicenumber(3440)
  lp_servicenumber: couldn't find printers
[2002/09/06 16:31:35, 6] param/loadparm.c:lp_file_list_changed(2203)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Fri Sep  6 16:30:51 2002
  
[2002/09/06 16:31:35, 2] lib/interface.c:add_interface(85)
  added interface ip=172.16.11.28 bcast=172.16.11.255
nmask=255.255.255.0
[2002/09/06 16:31:35, 5] lib/hash.c:hash_table_init(70)
  Hash size = 521.
[2002/09/06 16:31:35, 6] lib/charset.c:codepage_initialise(339)
  codepage_initialise: client code page = 850
[2002/09/06 16:31:35, 5] lib/charset.c:load_client_codepage(196)
  load_client_codepage: loading codepage 850.
  Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
  Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
  Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
  Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
  Adding chars 0x84 0x8e (l->u = True) (u->l = True)
  Adding chars 0x86 0x8f (l->u = True) (u->l = True)
  Adding chars 0x91 0x92 (l->u = True) (u->l = True)
  Adding chars 0x87 0x80 (l->u = True) (u->l = True)
  Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
  Adding chars 0x82 0x90 (l->u = True) (u->l = True)
  Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
  Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
  Adding chars 0x8d 0xde (l->u = True) (u->l = True)
  Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
  Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
  Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
  Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
  Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
  Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
  Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
  Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
  Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
  Adding chars 0x94 0x99 (l->u = True) (u->l = True)
  Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
  Adding chars 0x97 0xeb (l->u = True) (u->l = True)
  Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
  Adding chars 0x96 0xea (l->u = True) (u->l = True)
  Adding chars 0x81 0x9a (l->u = True) (u->l = True)
  Adding chars 0xec 0xed (l->u = True) (u->l = True)
  Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
  Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
[2002/09/06 16:31:35, 5] lib/util_unistr.c:load_unicode_map(532)
  load_unicode_map: loading unicode map for codepage 850.
[2002/09/06 16:31:35, 3] smbd/server.c:main(731)
  loaded services
[2002/09/06 16:31:35, 3] smbd/server.c:main(739)
  Becoming a daemon.
[2002/09/06 16:31:35, 8] lib/util.c:fcntl_lock(1267)
  fcntl_lock 5 34 0 1 2
[2002/09/06 16:31:35, 8] lib/util.c:fcntl_lock(1307)
  fcntl_lock: Lock call successful
[2002/09/06 16:31:35, 5] smbd/connection.c:claim_connection(157)
  claiming  100000
[2002/09/06 16:31:35, 3] lib/util_sock.c:open_socket_in(839)
  bind succeeded on port 139
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 0
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 24576
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 24576
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2002/09/06 16:31:35, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2002/09/06 16:31:35, 2] smbd/server.c:open_sockets(201)
  waiting for a connection
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 24820
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 8
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 24820
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2002/09/06 16:31:43, 6] param/loadparm.c:lp_file_list_changed(2203)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Fri Sep  6 16:30:51 2002
  
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-5-32 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-5-32-546 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-1 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-1-0 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-3 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-3-0 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-3-1 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-5 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-0-0 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-5-11 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-5-2 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID S-1-5-7 ok
[2002/09/06 16:31:43, 7] lib/util_sid.c:string_to_sid(418)
  string_to_sid: converted SID
S-1-5-21-808605907-2624589692-2914657282
   ok
[2002/09/06 16:31:43, 3] smbd/oplock.c:init_oplocks(1239)
  open_oplock_ipc: opening loopback UDP socket.
[2002/09/06 16:31:43, 3] lib/util_sock.c:open_socket_in(839)
  bind succeeded on port 0
[2002/09/06 16:31:43, 3] smbd/oplock.c:init_oplocks(1269)
  open_oplock ipc: pid = 3717, global_oplock_port = 57565
[2002/09/06 16:31:43, 4] lib/time.c:TimeInit(122)
  Serverzone is 14400
[2002/09/06 16:31:43, 10]
lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 68
[2002/09/06 16:31:43, 10] lib/access.c:check_access(291)
  check_access: allow = , deny = 
[2002/09/06 16:31:43, 6] smbd/process.c:process_smb(859)
  got message type 0x81 of len 0x44
[2002/09/06 16:31:43, 3] smbd/process.c:process_smb(860)
  Transaction 0 of length 72
[2002/09/06 16:31:43, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=EJBDEV           name2=LOUPC175       
[2002/09/06 16:31:43, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=ejbdev remote=loupc175
[2002/09/06 16:31:43, 6] param/loadparm.c:lp_file_list_changed(2203)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Fri Sep  6 16:30:51 2002
  
[2002/09/06 16:31:43, 5] smbd/connection.c:claim_connection(157)
  claiming  100000
[2002/09/06 16:31:43, 5] smbd/reply.c:reply_special(153)
  init msg_type=0x81 msg_flags=0x0
[2002/09/06 16:31:43, 6] lib/util_sock.c:write_socket(560)
  write_socket(11,4)
[2002/09/06 16:31:43, 6] lib/util_sock.c:write_socket(563)
  write_socket(11,4) wrote 4
[2002/09/06 16:31:43, 10]
lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 133
[2002/09/06 16:31:43, 6] smbd/process.c:process_smb(859)
  got message type 0x0 of len 0x85
[2002/09/06 16:31:43, 3] smbd/process.c:process_smb(860)
  Transaction 1 of length 137
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(273)
  size=133
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51283
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=65279
  smb_uid=0
  smb_mid=0
  smt_wct=0
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(296)
  smb_bcc=98
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1435)
  [000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK
PROG
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [010] 52 41 4D 20 31 2E 30 00  02 4C 41 4E 4D 41 4E 31  RAM 1.0.
.LANMAN1
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [020] 2E 30 00 02 57 69 6E 64  6F 77 73 20 66 6F 72 20  .0..Wind ows
for 
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [030] 57 6F 72 6B 67 72 6F 75  70 73 20 33 2E 31 61 00  Workgrou ps
3.1a.
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [040] 02 4C 4D 31 2E 32 58 30  30 32 00 02 4C 41 4E 4D  .LM1.2X0
02..LANM
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [050] 41 4E 32 2E 31 00 02 4E  54 20 4C 4D 20 30 2E 31  AN2.1..N T LM
0.1
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [060] 32 00                                             2. 
[2002/09/06 16:31:43, 3] smbd/process.c:switch_message(667)
  switch message SMBnegprot (pid 3717)
[2002/09/06 16:31:43, 0] smbd/process.c:smb_dump(620)
  created /tmp/SMBnegprot.1.req len 137
[2002/09/06 16:31:43, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/06 16:31:43, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/09/06 16:31:43, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2002/09/06 16:31:43, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [LANMAN1.0]
[2002/09/06 16:31:43, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [Windows for Workgroups 3.1a]
[2002/09/06 16:31:43, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [LM1.2X002]
[2002/09/06 16:31:43, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [LANMAN2.1]
[2002/09/06 16:31:43, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [NT LM 0.12]
[2002/09/06 16:31:43, 6] param/loadparm.c:lp_file_list_changed(2203)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Fri Sep  6 16:30:51 2002
  
[2002/09/06 16:31:43, 6] param/loadparm.c:lp_file_list_changed(2203)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Fri Sep  6 16:30:51 2002
  
[2002/09/06 16:31:43, 3] smbd/negprot.c:reply_negprot(433)
  Selected protocol NT LM 0.12
[2002/09/06 16:31:43, 5] smbd/negprot.c:reply_negprot(440)
  negprot index=5
[2002/09/06 16:31:43, 0] smbd/process.c:smb_dump(620)
  created /tmp/SMBnegprot.1.resp len 89
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(273)
  size=85
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=65279
  smb_uid=0
  smb_mid=0
  smt_wct=17
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[0]=5 (0x5)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[1]=12803 (0x3203)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[2]=256 (0x100)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[3]=65280 (0xFF00)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[4]=255 (0xFF)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[5]=0 (0x0)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[6]=256 (0x100)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[7]=34048 (0x8500)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[8]=14 (0xE)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[9]=47360 (0xB900)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[10]=3 (0x3)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[11]=32768 (0x8000)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[12]=30049 (0x7561)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[13]=58473 (0xE469)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[14]=49749 (0xC255)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[15]=61441 (0xF001)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[16]=2048 (0x800)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(296)
  smb_bcc=16
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1435)
  [000] 64 F0 32 4D 2F 60 B6 D8  41 52 4D 5F 4C 4F 55 00  d.2M/`..
ARM_LOU.
[2002/09/06 16:31:43, 6] lib/util_sock.c:write_socket(560)
  write_socket(11,89)
[2002/09/06 16:31:43, 6] lib/util_sock.c:write_socket(563)
  write_socket(11,89) wrote 89
[2002/09/06 16:31:43, 10]
lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 192
[2002/09/06 16:31:43, 6] smbd/process.c:process_smb(859)
  got message type 0x0 of len 0xc0
[2002/09/06 16:31:43, 3] smbd/process.c:process_smb(860)
  Transaction 2 of length 196
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(273)
  size=192
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=2055
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=65279
  smb_uid=0
  smb_mid=64
  smt_wct=13
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[0]=117 (0x75)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[1]=160 (0xA0)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[2]=65535 (0xFFFF)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[3]=50 (0x32)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[4]=0 (0x0)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[5]=3717 (0xE85)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[6]=0 (0x0)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[7]=24 (0x18)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[8]=24 (0x18)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[9]=0 (0x0)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[10]=0 (0x0)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[11]=212 (0xD4)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(290)
  smb_vwv[12]=0 (0x0)
[2002/09/06 16:31:43, 5] lib/util.c:show_msg(296)
  smb_bcc=99
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1435)
  [000] 00 D8 B1 77 87 AE 08 44  E8 2B 7A A6 42 F1 94 C2  ...w...D
.+z.B...
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [010] 0C 65 5A 8B 96 D4 92 4D  1B 1A 4C 0A 55 3C 87 49  .eZ....M
..L.U<.I
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [020] E0 5B 5F D0 44 B0 D2 07  69 AF D5 06 72 9B 7A 93  .[_.D...
i...r.z.
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [030] 74 61 6C 6C 65 6E 00 41  52 4D 5F 4C 4F 55 00 57  tallen.A
RM_LOU.W
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [040] 69 6E 64 6F 77 73 20 32  30 30 30 20 32 31 39 35  indows 2 000
2195
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [050] 00 57 69 6E 64 6F 77 73  20 32 30 30 30 20 35 2E  .Windows 
2000 5.
[2002/09/06 16:31:43, 10] lib/util.c:dump_data(1443)
  [060] 30 00 00                                          0.. 
[2002/09/06 16:31:43, 3] smbd/process.c:switch_message(667)
  switch message SMBsesssetupX (pid 3717)
[2002/09/06 16:31:43, 0] smbd/process.c:smb_dump(620)
  created /tmp/SMBsesssetupX.1.req len 196
[2002/09/06 16:31:43, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/06 16:31:43, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2002/09/06 16:31:43, 3] smbd/reply.c:reply_sesssetup_and_X(855)
  Domain=[ARM_LOU]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows
2000 5.0]
[2002/09/06 16:31:43, 3] smbd/reply.c:reply_sesssetup_and_X(866)
  sesssetupX:name=[tallen]
[2002/09/06 16:31:43, 6] param/loadparm.c:lp_file_list_changed(2203)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf 
last mod_time: Fri Sep  6 16:30:51 2002
  
[2002/09/06 16:31:43, 3] libsmb/namequery.c:resolve_lmhosts(749)
  resolve_lmhosts: Attempting lmhosts lookup for name ARM_LOU<0x1b>
[2002/09/06 16:31:43, 4] libsmb/namequery.c:startlmhosts(457)
  startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts.
Error was No such file or directory
[2002/09/06 16:31:43, 3] libsmb/namequery.c:resolve_wins(691)
  resolve_wins: Attempting wins lookup for name ARM_LOU<0x1b>
[2002/09/06 16:31:43, 8] lib/wins_srv.c:wins_srv_count(249)
  wins_srv_count: WINS status: 0 servers.
[2002/09/06 16:31:43, 3] libsmb/namequery.c:resolve_wins(702)
  resolve_wins: WINS server resolution selected and no WINS servers
listed.
[2002/09/06 16:31:43, 3] libsmb/namequery.c:name_resolve_bcast(641)
  name_resolve_bcast: Attempting broadcast lookup for name
ARM_LOU<0x1b>
[2002/09/06 16:31:43, 3] lib/util_sock.c:open_socket_in(839)
  bind succeeded on port 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 4
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 32
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option TCP_NODELAY.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 8192
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 8192
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2002/09/06 16:31:43, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2002/09/06 16:31:43, 5] libsmb/nmblib.c:send_udp(762)
  Sending a packet of len 50 to (172.16.11.255) on port 137
[2002/09/06 16:31:43, 10] lib/util_sock.c:read_udp_socket(192)
  read_udp_socket: lastip 172.16.11.21 lastport 137 read: 62
[2002/09/06 16:31:43, 10] libsmb/nmblib.c:parse_nmb(474)
  parse_nmb: packet id = 14670
[2002/09/06 16:31:43, 5] libsmb/nmblib.c:read_packet(740)
  Received a packet of len 62 from (172.16.11.21) port 137
[2002/09/06 16:31:43, 4] libsmb/nmblib.c:debug_nmb_packet(109)
  nmb packet from 172.16.11.21(137) header: id=14670 opcode=Query(0)
response=Yes
      header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No
auth=Yes
      header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
      answers: nmb_name=ARM_LOU<1b> rr_type=32 rr_class=1 ttl=300000
      answers   0 char `.....   hex 6000AC100B15
[2002/09/06 16:31:43, 2] libsmb/namequery.c:name_query(417)
  Got a positive name query response from 172.16.11.21 ( 172.16.11.21
)
[2002/09/06 16:31:44, 3] lib/util_sock.c:open_socket_in(839)
  bind succeeded on port 0
[2002/09/06 16:31:44, 5] libsmb/nmblib.c:send_udp(762)
  Sending a packet of len 50 to (172.16.11.21) on port 137
[2002/09/06 16:31:44, 10] lib/util_sock.c:read_udp_socket(192)
  read_udp_socket: lastip 172.16.11.21 lastport 137 read: 337
[2002/09/06 16:31:44, 10] libsmb/nmblib.c:parse_nmb(474)
  parse_nmb: packet id = 25263
[2002/09/06 16:31:44, 5] libsmb/nmblib.c:read_packet(740)
  Received a packet of len 337 from (172.16.11.21) port 137
[2002/09/06 16:31:44, 4] libsmb/nmblib.c:debug_nmb_packet(109)
  nmb packet from 172.16.11.21(137) header: id=25263 opcode=Query(0)
response=Yes
      header: flags: bcast=No rec_avail=No rec_des=No trunc=No
auth=Yes
      header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
      answers: nmb_name=*<00> rr_type=33 rr_class=1 ttl=0
      answers   0 char .ARMNT1            hex
0C41524D4E5431202020202020202020
      answers  10 char .D.ARMNT1          hex
00440041524D4E543120202020202020
      answers  20 char    D.ARM_LOU       hex
202020440041524D5F4C4F5520202020
      answers  30 char     ...ARM_LOU     hex
2020202000C40041524D5F4C4F552020
      answers  40 char       ...ARM_LOU   hex
2020202020201CCC0041524D5F4C4F55
      answers  50 char         .D.ARM_L   hex
20202020202020201B440041524D5F4C
      answers  60 char OU        ...INe   hex
4F5520202020202020201EC400494E65
      answers  70 char t~Services  ...A   hex
747E536572766963657320201CC40041
      answers  80 char RM_LOU        .D   hex
524D5F4C4F5520202020202020201D44
      answers  90 char .IS~ARMNT1......   hex
0049537E41524D4E5431000000000000
      answers  a0 char .D...__MSBROWSE_   hex
00440001025F5F4D5342524F5753455F
      answers  b0 char _....MLI_GROUP_B   hex
5F0201C4004D4C495F47524F55505F42
      answers  c0 char RAD B..MLIAB665C   hex
5241442042C4004D4C49414236363543
      answers  d0 char 81BRADBD.....l..   hex
3831425241444244000002A5096CEF00
      answers  e0 char ................   hex
00000000000000000000000000000000
      answers  f0 char ................   hex
00000000000000000000000000000000
      answers 100 char .......   hex 00000000000000
[2002/09/06 16:31:44, 3] libsmb/namequery.c:resolve_lmhosts(749)
  resolve_lmhosts: Attempting lmhosts lookup for name ARMNT1<0x20>
[2002/09/06 16:31:44, 4] libsmb/namequery.c:startlmhosts(457)
  startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts.
Error was No such file or directory
[2002/09/06 16:31:44, 3] libsmb/namequery.c:resolve_hosts(789)
  resolve_hosts: Attempting host lookup for name ARMNT1<0x20>
[2002/09/06 16:31:44, 3] lib/util_sock.c:open_socket_out(871)
  Connecting to 172.16.11.21 at port 139
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_KEEPALIVE = 0
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_REUSEADDR = 0
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_BROADCAST = 0
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option TCP_NODELAY = 1
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_LOWDELAY = 0
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option IPTOS_THROUGHPUT = 0
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_SNDBUF = 16384
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(111)
  socket option SO_RCVBUF = 24820
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDLOWAT.
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVLOWAT.
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_SNDTIMEO.
[2002/09/06 16:31:44, 5] lib/util_sock.c:print_socket_options(109)
  Could not test socket option SO_RCVTIMEO.
[2002/09/06 16:31:44, 6] lib/util_sock.c:write_socket(560)
  write_socket(22,76)
[2002/09/06 16:31:44, 6] lib/util_sock.c:write_socket(563)
  write_socket(22,76) wrote 76
[2002/09/06 16:31:44, 5] libsmb/cliconnect.c:cli_session_request(500)
  Sent session request
[2002/09/06 16:31:44, 10]
lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 0
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(273)
  size=0
  smb_com=0x0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=0
  smb_flg2=0
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=0
  smb_uid=0
  smb_mid=0
  smt_wct=0
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(296)
  smb_bcc=0
[2002/09/06 16:31:44, 6] lib/util_sock.c:write_socket(560)
  write_socket(22,168)
[2002/09/06 16:31:44, 6] lib/util_sock.c:write_socket(563)
  write_socket(22,168) wrote 168
[2002/09/06 16:31:44, 10]
lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 93
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(273)
  size=93
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=3717
  smb_uid=0
  smb_mid=1
  smt_wct=17
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(290)
  smb_vwv[0]=7 (0x7)
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(290)
  smb_vwv[1]=12803 (0x3203)
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(290)
  smb_vwv[2]=256 (0x100)
[2002/09/06 16:31:44, 5] lib/util.c:show_msg(290)
  smb_vwv[3]=1024 (0x400)
[2002/09/06 16:31:44

>>> Javid Abdul-AJAVID1 <AJAVID1 at motorola.com> 09/09 2:30 PM >>>
yes, i agree with Eric,
I havent had any issues as long as unix accunt exist in nis domain,
and
samba is memeber server in nt domain
my setup, solaris6, samba 2 0 7 and  2 2 5, clients w2k

-----Original Message-----
From: Eric Boehm [mailto:boehm at nortelnetworks.com] 
Sent: Monday, September 09, 2002 12:24 PM
To: samba-technical at lists.samba.org 
Cc: Tim Allen; David.Collier-Brown at sun.com 
Subject: Re: PR #s 25271, 25273, 25445 security=domain does not work
onSolaris


On Mon, Sep 09, 2002 at 11:36:51AM -0400, David Collier-Brown wrote:
>>>>> "David" == David Collier-Brown <davecb at canada.sun.com> writes:
>>>>> "Tim" == Tim Allen <tallen at integritycompanies.com> writes:

    Tim> I have posted to this group in the past and been told that
    Tim> the behavior I'm seeing is not correct. My main file server
    Tim> (Samba/Linux) does not behave this way (similar smb.conf).

    Tim> And the symptom was: I have posted to the user groups and
    Tim> think I have found a bug. Our RHL6.2 box running samba 2.0.6
    Tim> is a member of our NT domain. An NT user (say jbloggs) cannot
    Tim> browse the unix/samba box unless there is a corresponding
    Tim> unix user (jbloggs) on the unix box; this is the expected
    Tim> (and correct??!) behavior. We have added samba 2.2.2 to one
    Tim> of our Sun boxes (Solaris 8) and now we appear to have to add
    Tim> users to the "smbusers" file in addition to (or instead of)
    Tim> just having a corresponding unix user. I will supply further
    Tim> information (smb.conf, log files, whatever) as requested.

    David> 	You normally need a Unix user, but if you wish to use
    David> the NT form of encrypted passwords, you also have to have
    David> an entry for the user in the smbpasswd file.  As
    David> security=domain requires encrypted passwords, I'm afraid
    David> you're stuck with it!


Are you sure about this? I've been running 2.0.7 for a couple of years
with security = domain and I don't need to create an smbusers
file. The only time I run into problems is if the Windows user does
not have a UNIX account. As long as the userid exists in the Windows
domain and NIS domain, it works fine (with encrypted passwords).

I am also running 2.2.5 with the same configuration.

It might be worthwhile to see Tim's smb.conf or a level 3 or level 5
log of a failed access.

Here's the relevant portion of mine

	workgroup	       = AMERICASE
	security	       = domain
	password server        = ZRTPD01T ZRTPD0P0 NRTPDE11
	#     
	wins server	       = 47.156.160.179
	encrypt passwords      = yes 

-- 
Eric M. Boehm                  /"\  ASCII Ribbon Campaign
boehm at nortelnetworks.com       \ /  No HTML or RTF in mail
                                X   No proprietary word-processing
Respect Open Standards         / \  files in mail



More information about the samba-technical mailing list