[Samba] net password from OS/2 client

Olivier Eymere olivier_eymere at yahoo.com
Thu Jun 9 00:20:44 GMT 2005


> Jeremy Allison wrote:
>> Can you compile with -DDEBUG_PASSWORD and send in a debug level 100 for
>> an attempt to change the password for a dummy user.
>> 
>> Jeremy.
> 

I haven't heard anything for a week so I thought I would repost my question
and attach the debug level 100 log file.  I cut the log at the point when
the SetUserPassword message is received, sorry I know it is a lot to add to
the post but it seemed the most logical point to start from.  At the very
bottom is the point where smb_pwd_check_ntlmv1 doesn't authenticate
correctly where I would it expect it ti.

I am trying to get 'net password ...' to work from an OS/2 client to a Samba
3.1.15 server.  However, I get an Invalid Password error whenever I run net
password.  I am certain that I am providing the correct password.  With
DEBUG_PASSWORD on in the build and tracing set to 100 I ran 'net view
\\server' which authenticates correctly and I ran 'net password user
oldpass netpass' which does not.

Some important factors:
1.  The selected protocol is LANMAN2.1 with either test.  
2.  When running net password the SessionSetup andX request is done
anonymously (the username is blank in the request) but when running net
view the SessionSetup andX does include the username in the request.
3.  In smb_pwd_check_ntlmv1() the Part Password (P16) is the same in both
traces.

-Olivier

--- log file ---
[2005/06/01 13:04:12, 5] lib/util.c:show_msg(464)
  size=134
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=3
  smb_tid=1
  smb_pid=168
  smb_uid=100
  smb_mid=2356
  smt_wct=14
  smb_vwv[ 0]=   58 (0x3A)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    4 (0x4)
  smb_vwv[ 3]=    0 (0x0)
  smb_vwv[ 4]=    0 (0x0)
  smb_vwv[ 5]=    0 (0x0)
  smb_vwv[ 6]= 5000 (0x1388)
  smb_vwv[ 7]=    0 (0x0)
  smb_vwv[ 8]=    0 (0x0)
  smb_vwv[ 9]=   58 (0x3A)
  smb_vwv[10]=   76 (0x4C)
  smb_vwv[11]=    0 (0x0)
  smb_vwv[12]=    0 (0x0)
  smb_vwv[13]=    0 (0x0)
  smb_bcc=71
[2005/06/01 13:04:12, 10] lib/util.c:dump_data(2034)
  [000] 5C 50 49 50 45 5C 4C 41  4E 4D 41 4E 00 73 00 7A  \PIPE\LA NMAN.s.z
  [010] 62 31 36 62 31 36 57 57  00 00 74 65 73 74 75 73  b16b16WW ..testus
  [020] 65 72 00 2F CD 40 B6 8B  92 EF 62 FD F6 06 9E 35  er./. at .. ..b....5
  [030] 78 8D 05 F1 9E AA EA C7  B4 45 A5 81 99 25 49 F6  x....... .E...%I.
  [040] 34 25 9B 01 00 08 00                              4%..... 
[2005/06/01 13:04:12, 3] smbd/process.c:switch_message(893)
  switch message SMBtrans (pid 5495) conn 0x83c67b0
[2005/06/01 13:04:12, 0] smbd/process.c:smb_dump(847)
  created /tmp/SMBtrans.20.req len 138
[2005/06/01 13:04:12, 4] smbd/uid.c:change_to_user(194)
  change_to_user: Skipping user change - already user
[2005/06/01 13:04:12, 3] smbd/ipc.c:reply_trans(539)
  trans <\PIPE\LANMAN> data=0 params=58 setup=0
[2005/06/01 13:04:12, 5] smbd/ipc.c:reply_trans(560)
  calling named_pipe
[2005/06/01 13:04:12, 3] smbd/ipc.c:named_pipe(334)
  named pipe command on <LANMAN> name
[2005/06/01 13:04:12, 3] smbd/lanman.c:api_reply(3580)
  Got API command 115 of form <zb16b16WW> <>
(tdscnt=0,tpscnt=58,mdrcnt=0,mprcnt=4)
[2005/06/01 13:04:12, 3] smbd/lanman.c:api_reply(3584)
  Doing SetUserPassword
[2005/06/01 13:04:12, 3] smbd/lanman.c:api_SetUserPassword(2012)
  Set password for <testuser>
[2005/06/01 13:04:12, 5] auth/auth.c:make_auth_context_subsystem(480)
  Making default auth method list for standalone security=user, encrypt
passwords = yes
[2005/06/01 13:04:12, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match guest
[2005/06/01 13:04:12, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method guest has a valid init
[2005/06/01 13:04:12, 5] auth/auth.c:load_auth_module(384)
  load_auth_module: Attempting to find an auth method to match sam
[2005/06/01 13:04:12, 5] auth/auth.c:load_auth_module(409)
  load_auth_module: auth method sam has a valid init
[2005/06/01 13:04:12, 5] auth/auth.c:get_ntlm_challenge(95)
  auth_get_challenge: module guest did not want to specify a challenge
[2005/06/01 13:04:12, 5] auth/auth.c:get_ntlm_challenge(95)
  auth_get_challenge: module sam did not want to specify a challenge
[2005/06/01 13:04:12, 5] auth/auth.c:get_ntlm_challenge(135)
  auth_context challenge created by random
[2005/06/01 13:04:12, 5] auth/auth.c:get_ntlm_challenge(136)
  challenge is: 
[2005/06/01 13:04:12, 5] lib/util.c:dump_data(2034)
  [000] 3F E9 0C D4 32 81 1F 8A                           ?...2... 
[2005/06/01 13:04:12, 5] auth/auth_util.c:make_user_info_for_reply(397)
  make_user_info_for_reply: User passwords not in encrypted format.
[2005/06/01 13:04:12, 10] auth/auth_util.c:make_user_info_for_reply(403)
  Unencrypted password (len 17):
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] 2F CD 40 B6 8B 92 EF 62  FD F6 06 9E 35 78 8D 05  /. at ....b ....5x..
  [010] 00                                                . 
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(585)
  convert_string_allocate: Conversion error: Illegal multibyte
sequence(Í@¶‹’ïbýö ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Incomplete multibyte
sequence(¶‹’ïbýö ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Incomplete multibyte
sequence(‹’ïbýö ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Incomplete multibyte
sequence(’ïbýö ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(585)
  convert_string_allocate: Conversion error: Illegal multibyte
sequence(ïbýö ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Incomplete multibyte
sequence(ýö ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(585)
  convert_string_allocate: Conversion error: Illegal multibyte
sequence(ö ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Incomplete multibyte
sequence(ž5x )
[2005/06/01 13:04:12, 3] lib/charcnv.c:convert_string_allocate(576)
  convert_string_allocate: Conversion error: Incomplete multibyte
sequence( )
[2005/06/01 13:04:12, 100] libsmb/smbencrypt.c:SMBencrypt(46)
  SMBencrypt: lm#, challenge, response
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] 25 5B 13 DD 19 AF 27 2A  53 FF C6 6F B5 79 6F 1A  %[....'* S..o.yo.
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] 3F E9 0C D4 32 81 1F 8A                           ?...2... 
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] B4 A4 94 3D AA CC 74 33  E9 D7 F9 16 07 17 EB 3B  ...=..t3 .......;
  [010] C7 1D 8A 18 A3 F9 48 8F                           ......H. 
[2005/06/01 13:04:12, 5] auth/auth_util.c:make_user_info_map(219)
  make_user_info_map: Mapping user [BTV]\[testuser] from workstation [btv1]
[2005/06/01 13:04:12, 5] auth/auth_util.c:make_user_info(127)
  attempting to make a user_info for testuser (testuser)
[2005/06/01 13:04:12, 5] auth/auth_util.c:make_user_info(137)
  making strings for testuser's user_info struct
[2005/06/01 13:04:12, 5] auth/auth_util.c:make_user_info(179)
  making blobs for testuser's user_info struct
[2005/06/01 13:04:12, 10] auth/auth_util.c:make_user_info(195)
  made an unencrypted user_info for testuser (testuser)
[2005/06/01 13:04:12, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user
[BTV]\[testuser]@[btv1] with the new password interface
[2005/06/01 13:04:12, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [N375]\[testuser]@[btv1]
[2005/06/01 13:04:12, 10] auth/auth.c:check_ntlm_password(231)
  check_ntlm_password: auth_context challenge created by random
[2005/06/01 13:04:12, 10] auth/auth.c:check_ntlm_password(233)
  challenge is: 
[2005/06/01 13:04:12, 5] lib/util.c:dump_data(2034)
  [000] 3F E9 0C D4 32 81 1F 8A                           ?...2... 
[2005/06/01 13:04:12, 100] auth/auth.c:check_ntlm_password(238)
  user_info has passwords of length 24 and 0
[2005/06/01 13:04:12, 100] auth/auth.c:check_ntlm_password(239)
  lm:
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] B4 A4 94 3D AA CC 74 33  E9 D7 F9 16 07 17 EB 3B  ...=..t3 .......;
  [010] C7 1D 8A 18 A3 F9 48 8F                           ......H. 
[2005/06/01 13:04:12, 100] auth/auth.c:check_ntlm_password(241)
  nt:
[2005/06/01 13:04:12, 10] auth/auth.c:check_ntlm_password(259)
  check_ntlm_password: guest had nothing to say
[2005/06/01 13:04:12, 8] lib/util.c:is_myname(1855)
  is_myname("N375") returns 1
[2005/06/01 13:04:12, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(1002, 100) : sec_ctx_stack_ndx = 1
[2005/06/01 13:04:12, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2005/06/01 13:04:12, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/06/01 13:04:12, 5] auth/auth_util.c:debug_nt_user_token(480)
  NT user token: (NULL)
[2005/06/01 13:04:12, 5] auth/auth_util.c:debug_unix_user_token(501)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/06/01 13:04:12, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwnam(1318)
  getsampwnam (smbpasswd): search by name: testuser
[2005/06/01 13:04:12, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(184)
  startsmbfilepwent_internal: opening
file /usr/local/samba/private/smbpasswd
[2005/06/01 13:04:12, 100] passdb/pdb_smbpasswd.c:getsmbfilepwent(361)
  getsmbfilepwent: got line 
testuser:1002:12F05DA4BBBA885CAAD3B435B51404EE:0EB0D80CC012AAEFA9211E761CE782F7
[U          ]:LCT-429E0EC1:|
[2005/06/01 13:04:12, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user testuser, uid 1002
[2005/06/01 13:04:12, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(301)
  endsmbfilepwent_internal: closed password file.
[2005/06/01 13:04:12, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwnam(1340)
  getsampwnam (smbpasswd): found by name: testuser
[2005/06/01 13:04:12, 10] lib/util_pw.c:getpwnam_alloc(98)
  Got testuser from pwnam_cache
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_username(617)
  pdb_set_username: setting username testuser, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 12 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_fullname(698)
  pdb_set_full_name: setting full name Samba Trace Test, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 13 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_unix_homedir(833)
  pdb_set_unix_homedir: setting home dir /home/share, was NULL
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 22 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_domain(644)
  pdb_set_domain: setting domain N375, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 14 -> now DEFAULT
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_user_sid(544)
  pdb_set_user_sid: setting user sid
S-1-5-21-2546092374-43786321-679062343-3004
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 18 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73)
  pdb_set_user_sid_from_rid:
          setting user sid S-1-5-21-2546092374-43786321-679062343-3004 from
rid 3004
[2005/06/01 13:04:12, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/06/01 13:04:12, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2005/06/01 13:04:12, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/06/01 13:04:12, 5] auth/auth_util.c:debug_nt_user_token(480)
  NT user token: (NULL)
[2005/06/01 13:04:12, 5] auth/auth_util.c:debug_unix_user_token(501)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 26) -> 26
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 21) -> 21
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 16) -> 16
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 23) -> 23
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 21) -> 21
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 25) -> 25
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 24) -> 24
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 23) -> 23
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 23) -> 23
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 23) -> 23
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 27) -> 27
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 22) -> 22
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 26) -> 26
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 15) -> 15
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(ddff, 22) -> 22
[2005/06/01 13:04:12, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_group_sid(580)
  pdb_set_group_sid: setting group sid
S-1-5-21-2546092374-43786321-679062343-1201
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 19 -> now SET
[2005/06/01 13:04:12, 10]
passdb/pdb_compat.c:pdb_set_group_sid_from_rid(100)
  pdb_set_group_sid_from_rid:
          setting group sid S-1-5-21-2546092374-43786321-679062343-1201 from
rid 1201
[2005/06/01 13:04:12, 4] lib/substitute.c:automount_server(337)
  Home server: n375
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_profile_path(752)
  pdb_set_profile_path: setting profile path \\n375\testuser\profile, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 2 -> now DEFAULT
[2005/06/01 13:04:12, 4] lib/substitute.c:automount_server(337)
  Home server: n375
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_homedir(806)
  pdb_set_homedir: setting home dir \\n375\testuser, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 1 -> now DEFAULT
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(779)
  pdb_set_dir_drive: setting dir drive , was NULL
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 3 -> now DEFAULT
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_logon_script(725)
  pdb_set_logon_script: setting logon script , was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 4 -> now DEFAULT
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 20 -> now DEFAULT
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 33 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 32 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 20 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 21 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 9 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_get_init_flags(210)
  element 21: SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 3: DEFAULT
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 1: DEFAULT
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 4: DEFAULT
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220)
  element 2: DEFAULT
[2005/06/01 13:04:12, 10] lib/account_pol.c:account_policy_get(202)
  account_policy_get: password history:0
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_pack(477)
  tdb_pack(dddddddBBBBBBBBBBBBddBBBwwdBwwd, 0) -> 215
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_pack(477)
  tdb_pack(dddddddBBBBBBBBBBBBddBBBwwdBwwd, 215) -> 215
[2005/06/01 13:04:12, 18] tdb/tdbutil.c:tdb_unpack(582)
  tdb_unpack(dddddddBBBBBBBBBBBBddBBBwwdBwwd, 215) -> 215
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 5 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 6 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 7 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 8 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 9 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 10 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 21 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_username(617)
  pdb_set_username: setting username testuser, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 12 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_domain(644)
  pdb_set_domain: setting domain N375, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 14 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_nt_username(671)
  pdb_set_nt_username: setting nt username , was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 15 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_fullname(698)
  pdb_set_full_name: setting full name Samba Trace Test, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 13 -> now SET
[2005/06/01 13:04:12, 4] lib/substitute.c:automount_server(337)
  Home server: n375
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_homedir(806)
  pdb_set_homedir: setting home dir \\n375\testuser, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 1 -> now DEFAULT
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(779)
  pdb_set_dir_drive: setting dir drive , was NULL
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 3 -> now DEFAULT
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_logon_script(725)
  pdb_set_logon_script: setting logon script , was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 4 -> now DEFAULT
[2005/06/01 13:04:12, 4] lib/substitute.c:automount_server(337)
  Home server: n375
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_profile_path(752)
  pdb_set_profile_path: setting profile path \\n375\testuser\profile, was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529)
  element 2 -> now DEFAULT
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 23 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_workstations(885)
  pdb_set_workstations: setting workstations , was 
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 24 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 26 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 32 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 33 -> now SET
[2005/06/01 13:04:12, 10] lib/account_pol.c:account_policy_get(202)
  account_policy_get: password history:0
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 34 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_user_sid(544)
  pdb_set_user_sid: setting user sid
S-1-5-21-2546092374-43786321-679062343-3004
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 18 -> now SET
[2005/06/01 13:04:12, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73)
  pdb_set_user_sid_from_rid:
          setting user sid S-1-5-21-2546092374-43786321-679062343-3004 from
rid 3004
[2005/06/01 13:04:12, 10] passdb/pdb_get_set.c:pdb_set_group_sid(580)
  pdb_set_group_sid: setting group sid
S-1-5-21-2546092374-43786321-679062343-1201
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 19 -> now SET
[2005/06/01 13:04:12, 10]
passdb/pdb_compat.c:pdb_set_group_sid_from_rid(100)
  pdb_set_group_sid_from_rid:
          setting group sid S-1-5-21-2546092374-43786321-679062343-1201 from
rid 1201
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 16 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 29 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 30 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 31 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 20 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 17 -> now SET
[2005/06/01 13:04:12, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517)
  element 27 -> now SET
[2005/06/01 13:04:12, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (1002, 100) - sec_ctx_stack_ndx = 0
[2005/06/01 13:04:12, 9] passdb/passdb.c:pdb_update_autolock_flag(2350)
  pdb_update_autolock_flag: Account testuser not autolocked, no check needed
[2005/06/01 13:04:12, 4] libsmb/ntlm_check.c:ntlm_password_check(373)
  ntlm_password_check: Checking LM password
[2005/06/01 13:04:12, 100] libsmb/ntlm_check.c:smb_pwd_check_ntlmv1(67)
  Part password (P16) was |
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] 12 F0 5D A4 BB BA 88 5C  AA D3 B4 35 B5 14 04 EE  ..]....\ ...5....
  Password from client was |
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] B4 A4 94 3D AA CC 74 33  E9 D7 F9 16 07 17 EB 3B  ...=..t3 .......;
  [010] C7 1D 8A 18 A3 F9 48 8F                           ......H. 
  Given challenge was |
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] 3F E9 0C D4 32 81 1F 8A                           ?...2... 
  Value from encryption was |
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)
  [000] 8B 4F 63 30 BA 93 AF 91  99 6A 73 28 83 FF E5 FC  .Oc0.... .js(....
  [010] 9C 46 E4 9C 77 30 73 AE                           .F..w0s. 
[2005/06/01 13:04:12, 4] libsmb/ntlm_check.c:ntlm_password_check(399)
  ntlm_password_check: Checking LMv2 password with domain BTV
[2005/06/01 13:04:12, 100] libsmb/smbencrypt.c:ntv2_owf_gen(198)
  ntv2_owf_gen: user, domain, owfkey, kr
[2005/06/01 13:04:12, 100] lib/util.c:dump_data(2034)



More information about the samba mailing list