[Samba] Can't add new domain members to Samba PDC

Bob & Sabine von Knobloch von.knobloch at t-online.de
Tue Jan 18 11:30:07 GMT 2005


Dear Samba List,
I have been running a Samba PDC (Win 2000 & XP Clients) for about 1 year 
without problems. Now I find I cannot add new PCs to the domain, 
existing accounts are working fine.
It seems to be a rights issue, but I am not sure quite how to analyse it.
All attempts to add a computer account result in "unknown user or wrong 
password" (translated from German, may not be quite exact in English), 
although this user can and does login and use shares OK including those 
that have only "ntadmins" access rights.
I have,  always used this user account for this purpose and it worked in 
the past.

I am running Samba 3.0.10-1.fc2 on Fedora Core 2.

Your help would be appreciated.
Robert von Knobloch

Sample log (loglevel=10) from a single attempt to bring a new pc into 
the domain
(NetBIOS Names: Domain = KNOBLOCH, Computer = SCHLEPPTOP)
User = bob, member of group ntadmins:
Start schlepptop.log:
================================================
[2005/01/18 11:20:44, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/01/18 11:20:44, 5] auth/auth_util.c:free_server_info(1344)
  attempting to free (and zero) a server_info structure
[2005/01/18 11:20:44, 3] smbd/reply.c:reply_ulogoffX(1249)
  ulogoffX vuid=100
[2005/01/18 11:20:44, 5] lib/util.c:show_msg(486)
[2005/01/18 11:20:44, 5] lib/util.c:show_msg(496)
  size=39
  smb_com=0x74
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=65279
  smb_uid=100
  smb_mid=1728
  smt_wct=2
  smb_vwv[ 0]=  255 (0xFF)
  smb_vwv[ 1]=    0 (0x0)
  smb_bcc=0
[2005/01/18 11:20:44, 6] lib/util_sock.c:write_socket(449)
  write_socket(5,43)
[2005/01/18 11:20:44, 6] lib/util_sock.c:write_socket(452)
  write_socket(5,43) wrote 43
[2005/01/18 11:20:44, 10] 
lib/util_sock.c:read_smb_length_return_keepalive(505)
  got smb length of 35
[2005/01/18 11:20:44, 6] smbd/process.c:process_smb(1090)
  got message type 0x0 of len 0x23
[2005/01/18 11:20:44, 3] smbd/process.c:process_smb(1091)
  Transaction 29 of length 39
[2005/01/18 11:20:44, 5] lib/util.c:show_msg(486)
[2005/01/18 11:20:44, 5] lib/util.c:show_msg(496)
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=51207
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=1792
  smt_wct=0
  smb_bcc=0
[2005/01/18 11:20:44, 3] smbd/process.c:switch_message(886)
  switch message SMBtdis (pid 12191) conn 0x8919948
[2005/01/18 11:20:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/01/18 11:20:44, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/01/18 11:20:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/01/18 11:20:44, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/01/18 11:20:44, 3] smbd/service.c:close_cnum(836)
  schlepptop (192.168.1.177) closed connection to service IPC$
[2005/01/18 11:20:44, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to IPC$
[2005/01/18 11:20:44, 4] smbd/vfs.c:vfs_ChDir(654)
  vfs_ChDir to /
[2005/01/18 11:20:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/01/18 11:20:44, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/01/18 11:20:44, 5] lib/util.c:show_msg(486)
[2005/01/18 11:20:44, 5] lib/util.c:show_msg(496)
  size=35
  smb_com=0x71
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=51201
  smb_tid=1
  smb_pid=65279
  smb_uid=100
  smb_mid=1792
  smt_wct=0
  smb_bcc=0
[2005/01/18 11:20:44, 6] lib/util_sock.c:write_socket(449)
  write_socket(5,39)
[2005/01/18 11:20:44, 6] lib/util_sock.c:write_socket(452)
  write_socket(5,39) wrote 39
[2005/01/18 11:20:44, 10] lib/util_sock.c:read_socket_data(378)
  read_socket_data: recv of 4 returned 0. Error = Success
[2005/01/18 11:20:44, 10] lib/util_sock.c:receive_smb_raw(556)
  receive_smb_raw: length < 0!
[2005/01/18 11:20:44, 3] smbd/process.c:timeout_processing(1336)
  timeout_processing: End of file from client (client has disconnected).
[2005/01/18 11:20:44, 5] lib/gencache.c:gencache_shutdown(88)
  Closing cache file
[2005/01/18 11:20:44, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2005/01/18 11:20:44, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2005/01/18 11:20:44, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/01/18 11:20:44, 5] smbd/uid.c:change_to_root_user(296)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2005/01/18 11:20:44, 2] smbd/server.c:exit_server(571)
  Closing connections
[2005/01/18 11:20:44, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2005/01/18 11:20:44, 5] smbd/oplock.c:receive_local_message(107)
  receive_local_message: doing select with timeout of 1 ms
[2005/01/18 11:20:44, 3] smbd/server.c:exit_server(614)
  Server exit (normal exit)
================================================
End of log



More information about the samba mailing list