[Samba] valid-users still not work in 3.0.23a

Andreas Sachs andilist at gmx.de
Mon Jul 31 15:31:50 GMT 2006


> On Mon, 2006-07-31 at 16:58 +0200, Andreas Sachs wrote:
>> > On Sun, Jul 30, 2006 at 06:31:40PM +0200, Andreas Sachs wrote:
>> >> Hello,
>> >> i was using the debian version of samba 3.0.14a. Everything works
>> >> fine.
>> >> Then I upgraded to 3.0.23 because of Windows Visa support. After that
>> >> upgrade shares with "valid users" could not be accessed. So I waited
>> >> for
>> >> 3.0.23a and upgraded to this version. The problem still exists. The
>> >> following message is in the log: User andi not in 'valid users'.
> [...]
>> the problem only appears if the username is mapped with a username map.
>> Example:
>>
>> usernamemap:
>> <serveruser> = <clientuser>
>> ---------
>> smb.conf:
>> ...
>> valid users = <serveruser>
>> ...
>> ---------
>> smbclient -U <serveruser> ...
>> ->everything is ok
>>
>> smbclient -U <clientuser> ...
>> ->tree connect failed: NT_STATUS_ACCESS_DENIED
>>
>> in the serverlog:
>> User <serveruser> not in 'valid users'
>>
>> The server recognize the mapping, because the translated username is in
>> the log.
>>
>>
>> You asked me to post the smbclient log. Do you really want this log,
>> because the error message (User andi not in 'valid users') is from the
>> server log.

> Please send in a log level 10 of the smbd server.

Hello,
client user: Administrator
server user: root (mapped with username map)

valid users = root


Logfile:
[2006/07/31 17:25:24, 6] param/loadparm.c:lp_file_list_changed(3006)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Jul 31 17:24:23 2006
  
[2006/07/31 17:25:24, 4] smbd/map_username.c:map_username(111)
  Scanning username map /var/lib/samba/users.map
[2006/07/31 17:25:24, 10] smbd/password.c:user_in_list(465)
  user_in_list: checking user Administrator in list
[2006/07/31 17:25:24, 10] smbd/password.c:user_in_list(470)
  user_in_list: checking user |Administrator| against |admin|
[2006/07/31 17:25:24, 10] smbd/password.c:user_in_list(470)
  user_in_list: checking user |Administrator| against |administrator|
[2006/07/31 17:25:24, 3] smbd/map_username.c:map_username(155)
  Mapped user Administrator to root
[2006/07/31 17:25:24, 5] auth/auth_util.c:make_user_info_map(162)
  make_user_info_map: Mapping user [TUX-NET]\[Administrator] from workstation [LINUX]
[2006/07/31 17:25:24, 5] auth/auth_util.c:make_user_info(76)
  attempting to make a user_info for root (Administrator)
[2006/07/31 17:25:24, 5] auth/auth_util.c:make_user_info(86)
  making strings for root's user_info struct
[2006/07/31 17:25:24, 5] auth/auth_util.c:make_user_info(118)
  making blobs for root's user_info struct
[2006/07/31 17:25:24, 10] auth/auth_util.c:make_user_info(136)
  made an encrypted user_info for root (Administrator)
[2006/07/31 17:25:24, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user [TUX-NET]\[Administrator]@[LINUX] with the new password interface
[2006/07/31 17:25:24, 3] auth/auth.c:check_ntlm_password(224)
  check_ntlm_password:  mapped user is: [FIRE]\[root]@[LINUX]
[2006/07/31 17:25:24, 10] auth/auth.c:check_ntlm_password(233)
  check_ntlm_password: auth_context challenge created by NTLMSSP callback (NTLM2)
[2006/07/31 17:25:24, 10] auth/auth.c:check_ntlm_password(235)
  challenge is: 
[2006/07/31 17:25:24, 5] lib/util.c:dump_data(2215)
  [000] D6 46 26 A8 93 55 9F B2                           ÖF&¨.U.² 
[2006/07/31 17:25:24, 10] auth/auth.c:check_ntlm_password(261)
  check_ntlm_password: guest had nothing to say
[2006/07/31 17:25:24, 8] lib/util.c:is_myname(2036)
  is_myname("FIRE") returns 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_username(534)
  pdb_set_username: setting username root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_domain(557)
  pdb_set_domain: setting domain ASP4-3200, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_nt_username(580)
  pdb_set_nt_username: setting nt username , was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
  pdb_set_full_name: setting full name root, was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_homedir(696)
  pdb_set_homedir: setting home dir \\fire\root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(672)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_logon_script(626)
  pdb_set_logon_script: setting logon script , was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_profile_path(649)
  pdb_set_profile_path: setting profile path \\fire\root\profile, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_workstations(739)
  pdb_set_workstations: setting workstations , was 
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_user_sid(463)
  pdb_set_user_sid: setting user sid S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-1000 from rid 1000
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_open(809)
  tdbsam_open: Incrementing open reference count.  Ref count is now 2
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 1.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_group_sid(521)
  pdb_set_group_sid: setting group sid S-1-5-21-2740594767-1970978995-164803552-513
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-513 from rid 513
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_username(534)
  pdb_set_username: setting username root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_domain(557)
  pdb_set_domain: setting domain ASP4-3200, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_nt_username(580)
  pdb_set_nt_username: setting nt username , was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
  pdb_set_full_name: setting full name root, was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_homedir(696)
  pdb_set_homedir: setting home dir \\fire\root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(672)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_logon_script(626)
  pdb_set_logon_script: setting logon script , was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_profile_path(649)
  pdb_set_profile_path: setting profile path \\fire\root\profile, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_workstations(739)
  pdb_set_workstations: setting workstations , was 
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_user_sid(463)
  pdb_set_user_sid: setting user sid S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-1000 from rid 1000
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_group_sid(521)
  pdb_set_group_sid: setting group sid S-1-5-21-2740594767-1970978995-164803552-513
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-513 from rid 513
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 9] passdb/passdb.c:pdb_update_autolock_flag(1407)
  pdb_update_autolock_flag: Account root not autolocked, no check needed
[2006/07/31 17:25:24, 4] libsmb/ntlm_check.c:ntlm_password_check(326)
  ntlm_password_check: Checking NT MD4 password
[2006/07/31 17:25:24, 4] auth/auth_sam.c:sam_account_ok(138)
  sam_account_ok: Checking SMB password for user root
[2006/07/31 17:25:24, 5] auth/auth_sam.c:logon_hours_ok(120)
  logon_hours_ok: user root allowed to logon at this time (Mon Jul 31 15:25:24 2006
  )
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 10] lib/util_pw.c:getpwnam_alloc(76)
  Got root from pwnam_cache
[2006/07/31 17:25:24, 10] lib/system_smbd.c:sys_getgrouplist(125)
  sys_getgrouplist: user [root]
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(979)
  fetch sid from gid cache 0 -> S-1-22-2-0
[2006/07/31 17:25:24, 10] passdb/lookup_sid.c:gid_to_sid(1127)
  gid_to_sid: local 1003 -> S-1-22-2-1003
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:store_gid_sid_cache(1038)
  store_gid_sid_cache: gid 1003 in cache -> S-1-22-2-1003
[2006/07/31 17:25:24, 5] auth/auth_util.c:make_server_info_sam(603)
  make_server_info_sam: made server info for user root -> root
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] auth/auth.c:check_ntlm_password(270)
  check_ntlm_password: sam authentication for user [Administrator] succeeded
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(459)
  smb_pam_start: PAM: Init user: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(476)
  smb_pam_start: PAM: setting rhost to: 192.168.10.72
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(485)
  smb_pam_start: PAM: setting tty
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(493)
  smb_pam_start: PAM: Init passed for user: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_account(551)
  smb_pam_account: PAM: Account Management for User: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_account(570)
  smb_pam_account: PAM: Account OK for User: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_end(440)
  smb_pam_end: PAM: PAM_END OK.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 5] auth/auth.c:check_ntlm_password(296)
  check_ntlm_password:  PAM Account for user [root] succeeded
[2006/07/31 17:25:24, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [Administrator] -> [root] -> [root] succeeded
[2006/07/31 17:25:24, 5] auth/auth_util.c:free_user_info(1822)
  attempting to free (and zero) a user_info structure
[2006/07/31 17:25:24, 10] auth/auth_util.c:free_user_info(1826)
  structure was created for Administrator
[2006/07/31 17:25:24, 10] passdb/util_wellknown.c:lookup_wellknown_name(154)
  map_name_to_wellknown_sid: looking up root
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_username(534)
  pdb_set_username: setting username root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_domain(557)
  pdb_set_domain: setting domain ASP4-3200, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_nt_username(580)
  pdb_set_nt_username: setting nt username , was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
  pdb_set_full_name: setting full name root, was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_homedir(696)
  pdb_set_homedir: setting home dir \\fire\root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(672)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_logon_script(626)
  pdb_set_logon_script: setting logon script , was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_profile_path(649)
  pdb_set_profile_path: setting profile path \\fire\root\profile, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_workstations(739)
  pdb_set_workstations: setting workstations , was 
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_user_sid(463)
  pdb_set_user_sid: setting user sid S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-1000 from rid 1000
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_open(809)
  tdbsam_open: Incrementing open reference count.  Ref count is now 2
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 1.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_group_sid(521)
  pdb_set_group_sid: setting group sid S-1-5-21-2740594767-1970978995-164803552-513
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-513 from rid 513
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_username(534)
  pdb_set_username: setting username root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_domain(557)
  pdb_set_domain: setting domain ASP4-3200, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_nt_username(580)
  pdb_set_nt_username: setting nt username , was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
  pdb_set_full_name: setting full name root, was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_homedir(696)
  pdb_set_homedir: setting home dir \\fire\root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(672)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_logon_script(626)
  pdb_set_logon_script: setting logon script , was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_profile_path(649)
  pdb_set_profile_path: setting profile path \\fire\root\profile, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_workstations(739)
  pdb_set_workstations: setting workstations , was 
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_user_sid(463)
  pdb_set_user_sid: setting user sid S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-1000 from rid 1000
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_group_sid(521)
  pdb_set_group_sid: setting group sid S-1-5-21-2740594767-1970978995-164803552-513
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-513 from rid 513
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:fetch_uid_from_cache(927)
  fetch uid from cache 0 -> S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_username(534)
  pdb_set_username: setting username root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_domain(557)
  pdb_set_domain: setting domain ASP4-3200, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_nt_username(580)
  pdb_set_nt_username: setting nt username , was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
  pdb_set_full_name: setting full name root, was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_homedir(696)
  pdb_set_homedir: setting home dir \\fire\root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(672)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_logon_script(626)
  pdb_set_logon_script: setting logon script , was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_profile_path(649)
  pdb_set_profile_path: setting profile path \\fire\root\profile, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_workstations(739)
  pdb_set_workstations: setting workstations , was 
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_user_sid(463)
  pdb_set_user_sid: setting user sid S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-1000 from rid 1000
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_group_sid(521)
  pdb_set_group_sid: setting group sid S-1-5-21-2740594767-1970978995-164803552-513
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-513 from rid 513
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 1] auth/auth_util.c:create_token_from_username(1098)
  sid_to_gid(S-1-5-21-2740594767-1970978995-164803552-513) failed
  Fall back to unix user root
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(979)
  fetch sid from gid cache 0 -> S-1-22-2-0
[2006/07/31 17:25:24, 10] lib/system_smbd.c:sys_getgrouplist(125)
  sys_getgrouplist: user [root]
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(979)
  fetch sid from gid cache 0 -> S-1-22-2-0
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:fetch_sid_from_gid_cache(979)
  fetch sid from gid cache 1003 -> S-1-22-2-1003
[2006/07/31 17:25:24, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-22-1-0]
[2006/07/31 17:25:24, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-22-2-0]
[2006/07/31 17:25:24, 5] lib/privileges.c:get_privileges_for_sids(459)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set:
  SE_PRIV  0x0 0x0 0x0 0x0
[2006/07/31 17:25:24, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2006/07/31 17:25:24, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2006/07/31 17:25:24, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-22-2-1003]
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:fetch_gid_from_cache(999)
  fetch gid from cache 0 -> S-1-22-2-0
[2006/07/31 17:25:24, 10] auth/auth_util.c:create_local_token(997)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2006/07/31 17:25:24, 10] auth/auth_util.c:create_local_token(997)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2006/07/31 17:25:24, 10] auth/auth_util.c:create_local_token(997)
  Could not convert SID S-1-5-11 to gid, ignoring it
[2006/07/31 17:25:24, 3] passdb/lookup_sid.c:fetch_gid_from_cache(999)
  fetch gid from cache 1003 -> S-1-22-2-1003
[2006/07/31 17:25:24, 10] auth/auth_util.c:debug_nt_user_token(455)
  NT user token of user S-1-22-1-0
  contains 6 SIDs
  SID[  0]: S-1-22-1-0
  SID[  1]: S-1-22-2-0
  SID[  2]: S-1-1-0
  SID[  3]: S-1-5-2
  SID[  4]: S-1-5-11
  SID[  5]: S-1-22-2-1003
  SE_PRIV  0x0 0x0 0x0 0x0
[2006/07/31 17:25:24, 10] auth/auth_ntlmssp.c:auth_ntlmssp_check_password(133)
  Got NT session key of length 16
[2006/07/31 17:25:24, 10] auth/auth_ntlmssp.c:auth_ntlmssp_check_password(140)
  Got LM session key of length 16
[2006/07/31 17:25:24, 10] libsmb/ntlmssp.c:ntlmssp_server_auth(738)
  ntlmssp_server_auth: Created NTLM2 session key.
[2006/07/31 17:25:24, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(338)
  NTLMSSP Sign/Seal - Initialising with flags:
[2006/07/31 17:25:24, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
  Got NTLMSSP neg_flags=0x60080215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
[2006/07/31 17:25:24, 10] smbd/password.c:register_vuid(186)
  register_vuid: allocated vuid = 101
[2006/07/31 17:25:24, 10] lib/util_pw.c:getpwnam_alloc(76)
  Got root from pwnam_cache
[2006/07/31 17:25:24, 10] smbd/password.c:register_vuid(277)
  register_vuid: (0,0) root Administrator ASP4-3200 guest=0
[2006/07/31 17:25:24, 3] smbd/password.c:register_vuid(280)
  User name: root	Real name: root
[2006/07/31 17:25:24, 3] smbd/password.c:register_vuid(301)
  UNIX uid 0 is UNIX user root, and will be vuid 101
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(459)
  smb_pam_start: PAM: Init user: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(476)
  smb_pam_start: PAM: setting rhost to: 192.168.10.72
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(485)
  smb_pam_start: PAM: setting tty
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(493)
  smb_pam_start: PAM: Init passed for user: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_internal_pam_session(630)
  smb_internal_pam_session: PAM: tty set to: smb/2066/101
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_end(440)
  smb_pam_end: PAM: PAM_END OK.
[2006/07/31 17:25:24, 3] smbd/password.c:register_vuid(341)
  Using static (or previously created) service for user 'root'; path = '/'
[2006/07/31 17:25:24, 6] param/loadparm.c:lp_file_list_changed(3006)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Jul 31 17:24:23 2006
  
[2006/07/31 17:25:24, 5] lib/util.c:show_msg(478)
[2006/07/31 17:25:24, 5] lib/util.c:show_msg(488)
  size=138
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=7280
  smb_uid=101
  smb_mid=3
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    9 (0x9)
  smb_bcc=95
[2006/07/31 17:25:24, 10] lib/util.c:dump_data(2215)
  [000] A1 07 30 05 A0 03 0A 01  00 55 00 6E 00 69 00 78  ¡.0. ... .U.n.i.x
  [010] 00 00 00 53 00 61 00 6D  00 62 00 61 00 20 00 33  ...S.a.m .b.a. .3
  [020] 00 2E 00 30 00 2E 00 32  00 33 00 61 00 2D 00 53  ...0...2 .3.a.-.S
  [030] 00 65 00 72 00 4E 00 65  00 74 00 2D 00 44 00 65  .e.r.N.e .t.-.D.e
  [040] 00 62 00 69 00 61 00 6E  00 00 00 57 00 4F 00 52  .b.i.a.n ...W.O.R
  [050] 00 4B 00 47 00 52 00 4F  00 55 00 50 00 00 00     .K.G.R.O .U.P...
[2006/07/31 17:25:24, 10] smbd/process.c:setup_select_timeout(1284)
  change_notify_timeout: 60
[2006/07/31 17:25:24, 10] lib/util_sock.c:read_smb_length_return_keepalive(623)
  got smb length of 84
[2006/07/31 17:25:24, 6] smbd/process.c:process_smb(1109)
  got message type 0x0 of len 0x54
[2006/07/31 17:25:24, 3] smbd/process.c:process_smb(1110)
  Transaction 3 of length 88
[2006/07/31 17:25:24, 5] lib/util.c:show_msg(478)
[2006/07/31 17:25:24, 5] lib/util.c:show_msg(488)
  size=84
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=8
  smb_flg2=51201
  smb_tid=0
  smb_pid=7280
  smb_uid=101
  smb_mid=4
  smt_wct=4
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_vwv[ 2]=    0 (0x0)
  smb_vwv[ 3]=    1 (0x1)
  smb_bcc=41
[2006/07/31 17:25:24, 10] lib/util.c:dump_data(2215)
  [000] 00 5C 00 5C 00 46 00 49  00 52 00 45 00 5C 00 44  .\.\.F.I .R.E.\.D
  [010] 00 4F 00 4B 00 55 00 4D  00 45 00 4E 00 54 00 45  .O.K.U.M .E.N.T.E
  [020] 00 00 00 3F 3F 3F 3F 3F  00                       ...????? .
[2006/07/31 17:25:24, 3] smbd/process.c:switch_message(914)
  switch message SMBtconX (pid 2066) conn 0x0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 5] smbd/uid.c:change_to_root_user(275)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2006/07/31 17:25:24, 4] smbd/reply.c:reply_tcon_and_X(668)
  Client requested device type [?????] for share [DOKUMENTE]
[2006/07/31 17:25:24, 5] smbd/service.c:make_connection(1116)
  making a connection to 'normal' service dokumente
[2006/07/31 17:25:24, 3] lib/util_sid.c:string_to_sid(223)
  string_to_sid: Sid root does not start with 'S-'.
[2006/07/31 17:25:24, 10] passdb/util_wellknown.c:lookup_wellknown_name(154)
  map_name_to_wellknown_sid: looking up root
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_username(534)
  pdb_set_username: setting username root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_domain(557)
  pdb_set_domain: setting domain ASP4-3200, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_nt_username(580)
  pdb_set_nt_username: setting nt username , was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
  pdb_set_full_name: setting full name root, was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_homedir(696)
  pdb_set_homedir: setting home dir \\fire\root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(672)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_logon_script(626)
  pdb_set_logon_script: setting logon script , was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_profile_path(649)
  pdb_set_profile_path: setting profile path \\fire\root\profile, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_workstations(739)
  pdb_set_workstations: setting workstations , was 
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_user_sid(463)
  pdb_set_user_sid: setting user sid S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-1000 from rid 1000
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_open(809)
  tdbsam_open: Incrementing open reference count.  Ref count is now 2
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 1.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_group_sid(521)
  pdb_set_group_sid: setting group sid S-1-5-21-2740594767-1970978995-164803552-513
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-513 from rid 513
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_username(534)
  pdb_set_username: setting username root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_domain(557)
  pdb_set_domain: setting domain ASP4-3200, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_nt_username(580)
  pdb_set_nt_username: setting nt username , was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_fullname(603)
  pdb_set_full_name: setting full name root, was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_homedir(696)
  pdb_set_homedir: setting home dir \\fire\root, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(672)
  pdb_set_dir_drive: setting dir drive , was NULL
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_logon_script(626)
  pdb_set_logon_script: setting logon script , was 
[2006/07/31 17:25:24, 4] lib/substitute.c:automount_server(407)
  Home server: fire
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_profile_path(649)
  pdb_set_profile_path: setting profile path \\fire\root\profile, was 
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_workstations(739)
  pdb_set_workstations: setting workstations , was 
[2006/07/31 17:25:24, 10] lib/account_pol.c:account_policy_get(337)
  account_policy_get: name: password history, val: 0
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_user_sid(463)
  pdb_set_user_sid: setting user sid S-1-5-21-2740594767-1970978995-164803552-1000
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-1000 from rid 1000
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1478)
  lookup_global_sam_rid: looking up RID 513.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 4] passdb/pdb_tdb.c:tdbsam_open(858)
  tdbsam_open: successfully opened /var/lib/samba/passdb.tdb
[2006/07/31 17:25:24, 5] passdb/pdb_tdb.c:tdbsam_getsampwrid(1103)
  pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201.
   Error: Record does not exist
[2006/07/31 17:25:24, 8] passdb/pdb_tdb.c:tdbsam_close(871)
  tdbsam_close: Reference count is now 0.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/31 17:25:24, 5] passdb/pdb_interface.c:lookup_global_sam_rid(1540)
  Can't find a unix id for an unmapped group
[2006/07/31 17:25:24, 10] passdb/pdb_get_set.c:pdb_set_group_sid(521)
  pdb_set_group_sid: setting group sid S-1-5-21-2740594767-1970978995-164803552-513
[2006/07/31 17:25:24, 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-2740594767-1970978995-164803552-513 from rid 513
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 10] smbd/share_access.c:user_ok_token(208)
  User root not in 'valid users'
[2006/07/31 17:25:24, 2] smbd/service.c:make_connection_snum(571)
  user 'root' (from session setup) not permitted to access this share (dokumente)
[2006/07/31 17:25:24, 3] smbd/error.c:error_packet(146)
  error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED
[2006/07/31 17:25:24, 5] lib/util.c:show_msg(478)
[2006/07/31 17:25:24, 5] lib/util.c:show_msg(488)
  size=35
  smb_com=0x75
  smb_rcls=34
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=7280
  smb_uid=101
  smb_mid=4
  smt_wct=0
  smb_bcc=0
[2006/07/31 17:25:24, 10] smbd/process.c:setup_select_timeout(1284)
  change_notify_timeout: 60
[2006/07/31 17:25:24, 10] lib/util_sock.c:read_data(525)
  read_data: read of 4 returned 0. Error = Erfolg
[2006/07/31 17:25:24, 10] lib/util_sock.c:receive_smb_raw(672)
  receive_smb_raw: length < 0!
[2006/07/31 17:25:24, 3] smbd/process.c:timeout_processing(1359)
  timeout_processing: End of file from client (client has disconnected).
[2006/07/31 17:25:24, 5] lib/gencache.c:gencache_shutdown(90)
  Closing cache file
[2006/07/31 17:25:24, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2006/07/31 17:25:24, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/07/31 17:25:24, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2006/07/31 17:25:24, 5] smbd/uid.c:change_to_root_user(275)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(459)
  smb_pam_start: PAM: Init user: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(476)
  smb_pam_start: PAM: setting rhost to: 192.168.10.72
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(485)
  smb_pam_start: PAM: setting tty
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_start(493)
  smb_pam_start: PAM: Init passed for user: root
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_internal_pam_session(630)
  smb_internal_pam_session: PAM: tty set to: smb/2066/101
[2006/07/31 17:25:24, 4] auth/pampass.c:smb_pam_end(440)
  smb_pam_end: PAM: PAM_END OK.
[2006/07/31 17:25:24, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2006/07/31 17:25:24, 3] smbd/server.c:exit_server_common(675)
  Server exit (normal exit)


Andreas


More information about the samba mailing list