[Samba] Problems with 2003 Server and Samba 3.0.1

Michael Keightley Michael.Keightley at quadstone.com
Fri Jan 9 16:33:59 GMT 2004


On Fri, Jan 09, 2004 at 09:43:26AM -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Fri, 9 Jan 2004, Michael Keightley wrote:
> 
> > The Windows 2003 server can also not map a drive to any Samba 3.0.1
> > shares. Windows 2000 Server and Windows XP machines can browse to the
> > Samba 3.0.1 servers and map drives. These Samba servers were recently
> > upgraded from Samba 2.2.8a to Samba 3.0.1. There were no browsing or
> > mapping problems on Windows 2003 server when the samba servers were
> > running 2.2.8a. It doesn't seem to matter if the Windows 2003 server is
> > a member of the Samba 2.2.8a domain or not, the problem remains the
> > same.
> 
> I think this might be fixed in 3.0.2pre1, but could you send me a level 10 
> debug log off list so I can verify what your problem is?  Thanks.
> 
> >   security = server
> 
> hmmm...have you considered try security = domain ?  it could also be an 
> issue in your configuration with SMB signing.
> 
> >   password server = wallace.quadstone.com
> >   domain master = no


It is fixed in 3.0.2pre1.  Also changing to "security = domain" and running
"net join" in 3.0.1 fixed it.   I've attached the log file anyway for 
"security = server" with 3.0.1.
Do you recommend using "security = domain" rather than "security = server"? 

Michael

-- 
Michael Keightley <Michael.Keightley at quadstone.com>    Tel: +44 131 240 3137
Systems Manager, Quadstone Limited,                    Fax: +44 131 220 4492
16 Chester Street, Edinburgh EH3 7RA, Scotland         http://www.quadstone.com
-------------- next part --------------
[2004/01/09 16:06:57, 6] param/loadparm.c:lp_file_list_changed(2662)
  lp_file_list_changed()
  file /home/samba_groucho/lib/smb.conf -> /home/samba_groucho/lib/smb.conf  last mod_time: Fri Jan  9 16:00:53 2004
  
[2004/01/09 16:06:57, 3] smbd/oplock.c:init_oplocks(1226)
  open_oplock_ipc: opening loopback UDP socket.
[2004/01/09 16:06:57, 10] lib/util_sock.c:open_socket_in(671)
  bind succeeded on port 0
[2004/01/09 16:06:57, 3] smbd/oplock.c:init_oplocks(1257)
  open_oplock ipc: pid = 23622, global_oplock_port = 55074
[2004/01/09 16:06:57, 4] lib/time.c:get_serverzone(122)
  Serverzone is 0
[2004/01/09 16:06:57, 10] lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 133
[2004/01/09 16:06:57, 3] lib/access.c:check_access(313)
  check_access: no hostnames in host allow/deny list.
[2004/01/09 16:06:57, 2] lib/access.c:check_access(324)
  Allowed connection from  (192.168.193.91)
[2004/01/09 16:06:57, 6] smbd/process.c:process_smb(889)
  got message type 0x0 of len 0x85
[2004/01/09 16:06:57, 3] smbd/process.c:process_smb(890)
  Transaction 0 of length 137
[2004/01/09 16:06:57, 5] lib/util.c:show_msg(456)
[2004/01/09 16:06:57, 5] lib/util.c:show_msg(466)
  size=133
  smb_com=0x72
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51283
  smb_tid=0
  smb_pid=65279
  smb_uid=0
  smb_mid=0
  smt_wct=0
  smb_bcc=98
[2004/01/09 16:06:57, 10] lib/util.c:dump_data(1830)
  [000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
  [010] 52 41 4D 20 31 2E 30 00  02 4C 41 4E 4D 41 4E 31  RAM 1.0. .LANMAN1
  [020] 2E 30 00 02 57 69 6E 64  6F 77 73 20 66 6F 72 20  .0..Wind ows for 
  [030] 57 6F 72 6B 67 72 6F 75  70 73 20 33 2E 31 61 00  Workgrou ps 3.1a.
  [040] 02 4C 4D 31 2E 32 58 30  30 32 00 02 4C 41 4E 4D  .LM1.2X0 02..LANM
  [050] 41 4E 32 2E 31 00 02 4E  54 20 4C 4D 20 30 2E 31  AN2.1..N T LM 0.1
  [060] 32 00                                             2. 
[2004/01/09 16:06:57, 3] smbd/process.c:switch_message(685)
  switch message SMBnegprot (pid 23622)
[2004/01/09 16:06:57, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/01/09 16:06:57, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2004/01/09 16:06:57, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2004/01/09 16:06:57, 5] smbd/uid.c:change_to_root_user(218)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [LANMAN1.0]
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [Windows for Workgroups 3.1a]
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [LM1.2X002]
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [LANMAN2.1]
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_negprot(455)
  Requested protocol [NT LM 0.12]
[2004/01/09 16:06:57, 10] lib/util.c:set_remote_arch(1805)
  set_remote_arch: Client arch is 'Win2K'
[2004/01/09 16:06:57, 6] param/loadparm.c:lp_file_list_changed(2662)
  lp_file_list_changed()
  file /home/samba_groucho/lib/smb.conf -> /home/samba_groucho/lib/smb.conf  last mod_time: Fri Jan  9 16:00:53 2004
  
[2004/01/09 16:06:57, 6] param/loadparm.c:lp_file_list_changed(2662)
  lp_file_list_changed()
  file /home/samba_groucho/lib/smb.conf -> /home/samba_groucho/lib/smb.conf  last mod_time: Fri Jan  9 16:00:53 2004
  
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_nt1(329)
  using SPNEGO
[2004/01/09 16:06:57, 3] smbd/negprot.c:reply_negprot(532)
  Selected protocol NT LM 0.12
[2004/01/09 16:06:57, 5] smbd/negprot.c:reply_negprot(538)
  negprot index=5
[2004/01/09 16:06:57, 5] lib/util.c:show_msg(456)
[2004/01/09 16:06:57, 5] lib/util.c:show_msg(466)
  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=65279
  smb_uid=0
  smb_mid=0
  smt_wct=17
  smb_vwv[ 0]=    5 (0x5)
  smb_vwv[ 1]=12807 (0x3207)
  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]=17920 (0x4600)
  smb_vwv[ 8]=   92 (0x5C)
  smb_vwv[ 9]=64512 (0xFC00)
  smb_vwv[10]=32995 (0x80E3)
  smb_vwv[11]=32896 (0x8080)
  smb_vwv[12]= 5030 (0x13A6)
  smb_vwv[13]=51867 (0xCA9B)
  smb_vwv[14]=50134 (0xC3D6)
  smb_vwv[15]=    1 (0x1)
  smb_vwv[16]=14848 (0x3A00)
  smb_bcc=58
[2004/01/09 16:06:57, 10] lib/util.c:dump_data(1830)
  [000] 67 72 6F 75 63 68 6F 00  00 00 00 00 00 00 00 00  groucho. ........
  [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
[2004/01/09 16:06:57, 6] lib/util_sock.c:write_socket(407)
  write_socket(17,131)
[2004/01/09 16:06:57, 6] lib/util_sock.c:write_socket(410)
  write_socket(17,131) wrote 131
[2004/01/09 16:06:57, 10] lib/util_sock.c:read_smb_length_return_keepalive(463)
  got smb length of 250
[2004/01/09 16:06:57, 6] smbd/process.c:process_smb(889)
  got message type 0x0 of len 0xfa
[2004/01/09 16:06:57, 3] smbd/process.c:process_smb(890)
  Transaction 1 of length 254
[2004/01/09 16:06:57, 5] lib/util.c:show_msg(456)
[2004/01/09 16:06:57, 5] lib/util.c:show_msg(466)
  size=250
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=0
  smb_pid=65279
  smb_uid=0
  smb_mid=64
  smt_wct=12
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=  250 (0xFA)
  smb_vwv[ 2]=16644 (0x4104)
  smb_vwv[ 3]=   50 (0x32)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]=    0 (0x0)
  smb_vwv[ 7]=   88 (0x58)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=    0 (0x0)
  smb_vwv[10]=  212 (0xD4)
  smb_vwv[11]=40960 (0xA000)
  smb_bcc=191
[2004/01/09 16:06:57, 10] lib/util.c:dump_data(1830)
  [000] 60 56 06 06 2B 06 01 05  05 02 A0 4C 30 4A A0 0E  `V..+... ...L0J..
  [010] 30 0C 06 0A 2B 06 01 04  01 82 37 02 02 0A A2 38  0...+... ..7....8
  [020] 04 36 4E 54 4C 4D 53 53  50 00 01 00 00 00 97 B2  .6NTLMSS P.......
  [030] 08 E2 09 00 09 00 2D 00  00 00 05 00 05 00 28 00  ......-. ......(.
  [040] 00 00 05 02 CE 0E 00 00  00 0F 4C 55 4E 47 41 51  ........ ..LUNGAQ
  [050] 55 41 44 53 54 4F 4E 45  00 57 00 69 00 6E 00 64  UADSTONE .W.i.n.d
  [060] 00 6F 00 77 00 73 00 20  00 53 00 65 00 72 00 76  .o.w.s.  .S.e.r.v
  [070] 00 65 00 72 00 20 00 32  00 30 00 30 00 33 00 20  .e.r. .2 .0.0.3. 
  [080] 00 33 00 37 00 39 00 30  00 00 00 00 00 57 00 69  .3.7.9.0 .....W.i
  [090] 00 6E 00 64 00 6F 00 77  00 73 00 20 00 53 00 65  .n.d.o.w .s. .S.e
  [0A0] 00 72 00 76 00 65 00 72  00 20 00 32 00 30 00 30  .r.v.e.r . .2.0.0
  [0B0] 00 33 00 20 00 35 00 2E  00 32 00 00 00 00 00     .3. .5.. .2.....
[2004/01/09 16:06:57, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 23622)
[2004/01/09 16:06:57, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/01/09 16:06:57, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2004/01/09 16:06:57, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2004/01/09 16:06:57, 5] smbd/uid.c:change_to_root_user(218)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/01/09 16:06:57, 3] smbd/sesssetup.c:reply_sesssetup_and_X(591)
  wct=12 flg2=0xc807
[2004/01/09 16:06:57, 2] smbd/sesssetup.c:setup_new_vc_session(544)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2004/01/09 16:06:57, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(471)
  Doing spnego session setup
[2004/01/09 16:06:57, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(502)
  NativeOS=[Windows Server 2003 3790] NativeLanMan=[] PrimaryDomain=[Windows Server 2003 5.2]
[2004/01/09 16:06:57, 10] lib/util.c:set_remote_arch(1805)
  set_remote_arch: Client arch is 'Win2K3'
[2004/01/09 16:06:57, 3] smbd/sesssetup.c:reply_spnego_negotiate(380)
  Got OID 1 3 6 1 4 1 311 2 2 10
[2004/01/09 16:06:57, 3] smbd/sesssetup.c:reply_spnego_negotiate(383)
  Got secblob of size 54
[2004/01/09 16:06:57, 5] auth/auth.c:make_auth_context_subsystem(471)
  Making default auth method list for security=server
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend rhosts
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'rhosts'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend hostsequiv
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'hostsequiv'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend sam
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'sam'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend sam_ignoredomain
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'sam_ignoredomain'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend unix
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'unix'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend winbind
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'winbind'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend smbserver
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'smbserver'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend trustdomain
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'trustdomain'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend ntdomain
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'ntdomain'
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(45)
  Attempting to register auth backend guest
[2004/01/09 16:06:57, 5] auth/auth.c:smb_register_auth(57)
  Successfully added auth method 'guest'
[2004/01/09 16:06:57, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match guest
[2004/01/09 16:06:57, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method guest has a valid init
[2004/01/09 16:06:57, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match sam
[2004/01/09 16:06:57, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method sam has a valid init
[2004/01/09 16:06:57, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match smbserver
[2004/01/09 16:06:57, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method smbserver has a valid init
[2004/01/09 16:06:57, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0xe208b297
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_NEGOTIATE_OEM
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_LM_KEY
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED
    NTLMSSP_NEGOTIATE_WORKSTATION_