[Pkg-samba-maint] Bug#547719: samba: Fails to join to an existing domain

Daniel Cason suporte.remo at gmail.com
Mon Sep 21 19:08:28 UTC 2009


Package: samba
Version: 2:3.2.5-4lenny6
Severity: important

After the upgrade to Lenny I can't join new GNU/Linux computers to the workgroup REMO, but with the Windows machines the procedure works fine.
I want to add a new machine named nautilus to the workgroup REMO, where EKMAN is the PDC and password server, using ldap.
The join command don't create and Ldap account to the new client and report the following error.
Before the upgrade to Lenny, I've joined others clients with this same procedure and worked fine.

nautilus:~# net rpc join -S EKMAN -U root -d3
[2009/09/21 15:55:44,  3] param/loadparm.c:lp_load_ex(8778)
  lp_load_ex: refreshing parameters
[2009/09/21 15:55:44,  3] param/loadparm.c:init_globals(4621)
  Initialising global parameters
[2009/09/21 15:55:44,  3] param/params.c:pm_process(569)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2009/09/21 15:55:44,  3] param/loadparm.c:do_section(7441)
  Processing section "[global]"
[2009/09/21 15:55:44,  2] lib/interface.c:add_interface(337)
  added interface eth0 ip=fe80::21e:bff:feed:97e%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
[2009/09/21 15:55:44,  2] lib/interface.c:add_interface(337)
  added interface eth0 ip=10.1.0.233 bcast=10.1.255.255 netmask=255.255.0.0
[2009/09/21 15:55:44,  3] libsmb/cliconnect.c:cli_start_connection(1632)
  Connecting to host=EKMAN
[2009/09/21 15:55:44,  3] lib/util_sock.c:open_socket_out(1400)
  Connecting to 10.1.0.241 at port 445
[2009/09/21 15:55:44,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine EKMAN pipe \lsarpc fnum 0x716d bind request returned ok.
[2009/09/21 15:55:44,  3] rpc_client/cli_pipe.c:rpc_pipe_bind(2086)
  rpc_pipe_bind: Remote machine EKMAN pipe \NETLOGON fnum 0x716e bind request returned ok.
[2009/09/21 15:55:44,  3] libsmb/trusts_util.c:just_change_the_password(52)
  just_change_the_password: unable to setup creds (NT_STATUS_ACCESS_DENIED)!
[2009/09/21 15:55:44,  1] utils/net_rpc.c:run_rpc_command(181)
  rpc command function failed! (NT_STATUS_ACCESS_DENIED)
Enter root's password:
[2009/09/21 15:55:46,  3] libsmb/cliconnect.c:cli_start_connection(1632)
  Connecting to host=EKMAN
[2009/09/21 15:55:46,  3] lib/util_sock.c:open_socket_out(1400)
  Connecting to 10.1.0.241 at port 445
[2nit_oplocks: initializing messages.
[2009/09/21 15:58:11,  3] smbd/oplock_linux.c:linux_init_kernel_oplocks(241)
  Linux kernel oplocks enabled
[2009/09/21 15:58:11,  3] lib/access.c:check_access(389)
  check_access: no hostnames in host allow/deny list.
[2009/09/21 15:58:11,  2] lib/access.c:check_access(406)
  Allowed connection from  (::ffff:10.1.0.233)
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 0 of length 194 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBnegprot (pid 15811) conn 0x0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN1.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LM1.2X002]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [DOS LANMAN2.1]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN2.1]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [Samba]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LANMAN 1.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LM 0.12]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_nt1(392)
  using SPNEGO
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(673)
  Selected protocol NT LANMAN 1.0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 1 of length 92 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 15811) conn 0x0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=13 flg2=0xc801
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1608)
  Domain=[]  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1624)
  sesssetupX:name=[]\[]@[__ffff_10.1.0.233]
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:check_guest_password(159)
  Got anonymous request
[2009/09/21 15:58:11,  2] lib/smbldap.c:smbldap_open_connection(796)
  smbldap_open_connection: connection opened
[2009/09/21 15:58:11,  3] lib/smbldap.c:smbldap_connect_system(1007)
  ldap_connect_system: successful connection to the LDAP server
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/password.c:register_existing_vuid(314)
  register_existing_vuid: User name: nobody     Real name: nobody
[2009/09/21 15:58:11,  3] smbd/password.c:register_existing_vuid(326)
  register_existing_vuid: UNIX uid 65534 is UNIX user nobody, and will be vuid 100
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 2 of length 78 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtconX (pid 15811) conn 0x0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] lib/access.c:check_access(389)
  check_access: no hostnames in host allow/deny list.
[2009/09/21 15:58:11,  2] lib/access.c:check_access(406)
  Allowed connection from  (::ffff:10.1.0.233)
[2009/09/21 15:58:11,  3] smbd/service.c:make_connection_snum(940)
  Connect path is '/tmp' for service [IPC$]
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(249)
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-4243562196-334083453-2556730684-501
  se_access_check: also S-1-22-2-65534
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/09/21 15:58:11,  3] smbd/vfs.c:vfs_init_default(96)
  Initialising default vfs hooks
[2009/09/21 15:58:11,  3] smbd/vfs.c:vfs_init_custom(130)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2009/09/21 15:58:11,  3] lib/util_sid.c:string_to_sid(228)
  string_to_sid: Sid root does not start with 'S-'.
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(249)
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-4243562196-334083453-2556730684-501
  se_access_check: also S-1-22-2-65534
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/service.c:make_connection_snum(1194)
  __ffff_10.1.0.233 (::ffff:10.1.0.233) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 15811)
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/reply.c:reply_tcon_and_X(727)
  tconX service=IPC$
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 3 of length 104 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBntcreateX (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/nttrans.c:nt_open_pipe(320)
  nt_open_pipe: Known pipe lsarpc opening.
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 4 of length 158 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=72 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_pipe_bind_req(1564)
  api_pipe_bind_req: \PIPE\lsarpc -> \PIPE\lsarpc
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:check_bind_req(991)
  check_bind_req for \PIPE\lsarpc
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 5 of length 146 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=60 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 70
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: LSA_OPENPOLICY
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(249)
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-4243562196-334083453-2556730684-501
  se_access_check: also S-1-22-2-65534
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 820
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 6 of length 132 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=46 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: LSA_QUERYINFOPOLICY
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 44
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 7 of length 130 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=44 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: LSA_CLOSE
[2009/09/21 15:58:11,  3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(206)
  Closed policy
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 8 of length 45 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBclose (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 9 of length 108 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBntcreateX (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/nttrans.c:nt_open_pipe(320)
  nt_open_pipe: Known pipe NETLOGON opening.
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 10 of length 158 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=72 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_pipe_bind_req(1564)
  api_pipe_bind_req: \PIPE\netlogon -> \PIPE\netlogon
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:check_bind_req(991)
  check_bind_req for \PIPE\NETLOGON
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 11 of length 180 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=94 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 72
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERREQCHALLENGE
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 12 of length 222 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=136 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERAUTHENTICATE2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:get_md4pw(306)
  get_md4pw: Workstation NAUTILUS$: no account in domain
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:_netr_ServerAuthenticate2(502)
  _netr_ServerAuthenticate2: failed to get machine password for account NAUTILUS$: NT_STATUS_ACCESS_DENIED
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 13 of length 180 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=94 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERREQCHALLENGE
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 14 of length 222 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=136 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERAUTHENTICATE2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:get_md4pw(306)
  get_md4pw: Workstation NAUTILUS$: no account in domain
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:_netr_ServerAuthenticate2(502)
  _netr_ServerAuthenticate2: failed to get machine password for account NAUTILUS$: NT_STATUS_ACCESS_DENIED
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 15 of length 45 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBclose (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 16 of length 39 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtdis (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/service.c:close_cnum(1405)
  __ffff_10.1.0.233 (::ffff:10.1.0.233) closed connection to service IPC$
[2009/09/21 15:58:11,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to IPC$
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/process.c:smbd_process(2035)
  receive_message_or_smb failed: NT_STATUS_END_OF_FILE, exiting
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to
[2009/09/21 15:58:11,  3] smbd/server.c:exit_server_common(949)
  Server exit (normal exit)
[2009/09/21 15:58:13,  3] smbd/oplock.c:init_oplocks(875)
  init_oplocks: initializing messages.
[2009/09/21 15:58:13,  3] smbd/oplock_linux.c:linux_init_kernel_oplocks(241)
  Linux kernel oplocks enabled
[2009/09/21 15:58:13,  3] lib/access.c:check_access(389)
  check_access: no hostnames in host allow/deny list.
[2009/09/21 15:58:13,  2] lib/access.c:check_access(406)
  Allowed connection from  (::ffff:10.1.0.233)
[2009/09/21 15:58:13,  3] smbd/process.c:process_smb(1549)
  Transaction 0 of length 194 (0 toread)
[2009/09/21 15:58:13,  3] smbd/process.c:switch_message(1361)
  switch message SMBnegprot (pid 15812) conn 0x0
[2009/09/21 15:58:13,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN1.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LM1.2X002]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [DOS LANMAN2.1]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN2.1]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [Samba]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LANMAN 1.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LM 0.12]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_nt1(392)
  using SPNEGO
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(673)
  Selected protocol NT LANMAN 1.0
[2009/09/21 15:58:13,  3] smbd/process.c:process_smb(1549)
  Transaction 1 of length 164 (0 toread)
[2009/09/21 15:58:13,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 15812) conn 0x0
[2009/09/21 15:58:13,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc801
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_spnego_negotiate(800)
  reply_spnego_negotiate: Got secblob of size 44
[2009/09/21 15:58:13,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2009/09/21 15:58:13,  3] smbd/process.c:process_smb(1549)
  Transaction 2 of length 258 (0 toread)
[2009/09/21 15:58:13,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 15812) conn 0x0
[2009/09/21 15:58:13,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc801
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2009/09/21 15:58:13,  3] libsmb/ntlmssp.c:ntlmssp_server_auth(745)
  Got user=[root] domain=[REMO] workstation=[NAUTILUS] len1=24 len2=24
009/09/21 15:55:46,  3] libsmb/cliconnect.c:cli_session_setup_spnego(804)
  Doing spnego session setup (blob length=58)
[2009/09/21 15:55:46,  3] libsmb/cliconnect.c:cli_session_setup_spnego(831)
  got OID=1 3 6 1 4 1 311 2 2 10
[2009/09/21 15:55:46,  3] libsmb/cliconnect.c:cli_session_setup_spnego(839)
  got principal=NONE
[2009/09/21 15:55:46,  3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1025)
  Got challenge flags:
[2009/09/21 15:55:46,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60898215
[2009/09/21 15:55:46,  3] libsmb/ntlmssp.c:ntlmssp_client_challenge(1047)
  NTLMSSP: Set final flags:
[2009/09/21 15:55:46,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2009/09/21 15:55:46,  3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337)
  NTLMSSP Sign/Seal - Initialising with flags:
[2009/09/21 15:55:46,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2009/09/21 15:55:46,  1] libsmb/cliconnect.c:cli_full_connection(1754)
  failed tcon_X with NT_STATUS_ACCESS_DENIED
Could not connect to server EKMAN
Connection failed: NT_STATUS_ACCESS_DENIED
[2009/09/21 15:55:46,  2] utils/net.c:main(1172)
  return code = 1

At server side, the log of nautilus shows:
# tail -f /var/log/samba/__ffff_10.1.0.233.log
[2009/09/21 15:58:11,  3] smbd/oplock.c:init_oplocks(875)
  init_oplocks: initializing messages.
[2009/09/21 15:58:11,  3] smbd/oplock_linux.c:linux_init_kernel_oplocks(241)
  Linux kernel oplocks enabled
[2009/09/21 15:58:11,  3] lib/access.c:check_access(389)
  check_access: no hostnames in host allow/deny list.
[2009/09/21 15:58:11,  2] lib/access.c:check_access(406)
  Allowed connection from  (::ffff:10.1.0.233)
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 0 of length 194 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBnegprot (pid 15811) conn 0x0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN1.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LM1.2X002]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [DOS LANMAN2.1]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN2.1]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [Samba]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LANMAN 1.0]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LM 0.12]
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_nt1(392)
  using SPNEGO
[2009/09/21 15:58:11,  3] smbd/negprot.c:reply_negprot(673)
  Selected protocol NT LANMAN 1.0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 1 of length 92 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 15811) conn 0x0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=13 flg2=0xc801
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1608)
  Domain=[]  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1624)
  sesssetupX:name=[]\[]@[__ffff_10.1.0.233]
[2009/09/21 15:58:11,  3] smbd/sesssetup.c:check_guest_password(159)
  Got anonymous request
[2009/09/21 15:58:11,  2] lib/smbldap.c:smbldap_open_connection(796)
  smbldap_open_connection: connection opened
[2009/09/21 15:58:11,  3] lib/smbldap.c:smbldap_connect_system(1007)
  ldap_connect_system: successful connection to the LDAP server
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/password.c:register_existing_vuid(314)
  register_existing_vuid: User name: nobody     Real name: nobody
[2009/09/21 15:58:11,  3] smbd/password.c:register_existing_vuid(326)
  register_existing_vuid: UNIX uid 65534 is UNIX user nobody, and will be vuid 100
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 2 of length 78 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtconX (pid 15811) conn 0x0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] lib/access.c:check_access(389)
  check_access: no hostnames in host allow/deny list.
[2009/09/21 15:58:11,  2] lib/access.c:check_access(406)
  Allowed connection from  (::ffff:10.1.0.233)
[2009/09/21 15:58:11,  3] smbd/service.c:make_connection_snum(940)
  Connect path is '/tmp' for service [IPC$]
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(249)
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-4243562196-334083453-2556730684-501
  se_access_check: also S-1-22-2-65534
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/09/21 15:58:11,  3] smbd/vfs.c:vfs_init_default(96)
  Initialising default vfs hooks
[2009/09/21 15:58:11,  3] smbd/vfs.c:vfs_init_custom(130)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2009/09/21 15:58:11,  3] lib/util_sid.c:string_to_sid(228)
  string_to_sid: Sid root does not start with 'S-'.
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(249)
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-4243562196-334083453-2556730684-501
  se_access_check: also S-1-22-2-65534
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/service.c:make_connection_snum(1194)
  __ffff_10.1.0.233 (::ffff:10.1.0.233) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 15811)
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/reply.c:reply_tcon_and_X(727)
  tconX service=IPC$
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 3 of length 104 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBntcreateX (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/nttrans.c:nt_open_pipe(320)
  nt_open_pipe: Known pipe lsarpc opening.
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 4 of length 158 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=72 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_pipe_bind_req(1564)
  api_pipe_bind_req: \PIPE\lsarpc -> \PIPE\lsarpc
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:check_bind_req(991)
  check_bind_req for \PIPE\lsarpc
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 5 of length 146 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=60 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 70
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: LSA_OPENPOLICY
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(249)
[2009/09/21 15:58:11,  3] lib/util_seaccess.c:se_access_check(252)
  se_access_check: user sid is S-1-5-21-4243562196-334083453-2556730684-501
  se_access_check: also S-1-22-2-65534
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-32-546
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 820
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 6 of length 132 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=46 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: LSA_QUERYINFOPOLICY
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 44
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 7 of length 130 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=44 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "lsarpc" (pnum 7100)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: LSA_CLOSE
[2009/09/21 15:58:11,  3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(206)
  Closed policy
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 8 of length 45 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBclose (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 9 of length 108 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBntcreateX (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/nttrans.c:nt_open_pipe(320)
  nt_open_pipe: Known pipe NETLOGON opening.
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 10 of length 158 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=72 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_pipe_bind_req(1564)
  api_pipe_bind_req: \PIPE\netlogon -> \PIPE\netlogon
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:check_bind_req(991)
  check_bind_req for \PIPE\NETLOGON
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 11 of length 180 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=94 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 72
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERREQCHALLENGE
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 12 of length 222 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=136 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERAUTHENTICATE2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:get_md4pw(306)
  get_md4pw: Workstation NAUTILUS$: no account in domain
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:_netr_ServerAuthenticate2(502)
  _netr_ServerAuthenticate2: failed to get machine password for account NAUTILUS$: NT_STATUS_ACCESS_DENIED
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 13 of length 180 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=94 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERREQCHALLENGE
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 14 of length 222 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtrans (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/ipc.c:handle_trans(436)
  trans <\PIPE\> data=136 params=0 setup=2
[2009/09/21 15:58:11,  3] smbd/ipc.c:named_pipe(387)
  named pipe command on <> name
[2009/09/21 15:58:11,  3] smbd/ipc.c:api_fd_reply(345)
  Got API command 0x26 on pipe "NETLOGON" (pnum 7101)
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe.c:api_rpcTNP(2304)
  api_rpcTNP: rpc command: NETR_SERVERAUTHENTICATE2
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:push_sec_ctx(224)
  push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/uid.c:push_conn_ctx(357)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
  pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:get_md4pw(306)
  get_md4pw: Workstation NAUTILUS$: no account in domain
[2009/09/21 15:58:11,  0] rpc_server/srv_netlog_nt.c:_netr_ServerAuthenticate2(502)
  _netr_ServerAuthenticate2: failed to get machine password for account NAUTILUS$: NT_STATUS_ACCESS_DENIED
[2009/09/21 15:58:11,  3] rpc_server/srv_pipe_hnd.c:free_pipe_context(519)
  free_pipe_context: destroying talloc pool of size 0
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 15 of length 45 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBclose (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/process.c:process_smb(1549)
  Transaction 16 of length 39 (0 toread)
[2009/09/21 15:58:11,  3] smbd/process.c:switch_message(1361)
  switch message SMBtdis (pid 15811) conn 0x9250360
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/service.c:close_cnum(1405)
  __ffff_10.1.0.233 (::ffff:10.1.0.233) closed connection to service IPC$
[2009/09/21 15:58:11,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to IPC$
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/process.c:smbd_process(2035)
  receive_message_or_smb failed: NT_STATUS_END_OF_FILE, exiting
[2009/09/21 15:58:11,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:11,  3] smbd/connection.c:yield_connection(31)
  Yielding connection to
[2009/09/21 15:58:11,  3] smbd/server.c:exit_server_common(949)
  Server exit (normal exit)
[2009/09/21 15:58:13,  3] smbd/oplock.c:init_oplocks(875)
  init_oplocks: initializing messages.
[2009/09/21 15:58:13,  3] smbd/oplock_linux.c:linux_init_kernel_oplocks(241)
  Linux kernel oplocks enabled
[2009/09/21 15:58:13,  3] lib/access.c:check_access(389)
  check_access: no hostnames in host allow/deny list.
[2009/09/21 15:58:13,  2] lib/access.c:check_access(406)
  Allowed connection from  (::ffff:10.1.0.233)
[2009/09/21 15:58:13,  3] smbd/process.c:process_smb(1549)
  Transaction 0 of length 194 (0 toread)
[2009/09/21 15:58:13,  3] smbd/process.c:switch_message(1361)
  switch message SMBnegprot (pid 15812) conn 0x0
[2009/09/21 15:58:13,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN1.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LM1.2X002]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [DOS LANMAN2.1]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [LANMAN2.1]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [Samba]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LANMAN 1.0]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(568)
  Requested protocol [NT LM 0.12]
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_nt1(392)
  using SPNEGO
[2009/09/21 15:58:13,  3] smbd/negprot.c:reply_negprot(673)
  Selected protocol NT LANMAN 1.0
[2009/09/21 15:58:13,  3] smbd/process.c:process_smb(1549)
  Transaction 1 of length 164 (0 toread)
[2009/09/21 15:58:13,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 15812) conn 0x0
[2009/09/21 15:58:13,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc801
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_spnego_negotiate(800)
  reply_spnego_negotiate: Got secblob of size 44
[2009/09/21 15:58:13,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
  Got NTLMSSP neg_flags=0x60088215
[2009/09/21 15:58:13,  3] smbd/process.c:process_smb(1549)
  Transaction 2 of length 258 (0 toread)
[2009/09/21 15:58:13,  3] smbd/process.c:switch_message(1361)
  switch message SMBsesssetupX (pid 15812) conn 0x0
[2009/09/21 15:58:13,  3] smbd/sec_ctx.c:set_sec_ctx(324)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X(1409)
  wct=12 flg2=0xc801
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1173)
  Doing spnego session setup
[2009/09/21 15:58:13,  3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(1208)
  NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2009/09/21 15:58:13,  3] libsmb/ntlmssp.c:ntlmssp_server_auth(745)
  Got user=[root] domain=[REMO] workstation=[NAUTILUS] len1=24 len2=24


Server /etc/samba/smb.conf:
[global]
    Server String = REMO PDC
    NetBios Name = EKMAN
    workgroup = REMO
    OS Level = 90
    Preferred Master = Yes
    Domain Master = Yes
    Local Master = Yes
    Security = User
    Domain Logons = Yes
    Logon Drive = H:
    Logon Path = \\%L\profiles\%U
    Logon Home = \\%L\%U\.win_profile
    Wins Support = Yes
    Wins Server = 
    Hosts Allow = 10.1.0.0/16 192.168.163.0/24 192.168.139.0/24
    Hosts Deny  = 0.0.0.0/0
    Interfaces = 10.1.0.241 127.0.0.1

    Passdb Backend = ldapsam:ldap://127.0.0.1
    Obey Pam Restrictions = No
    Ldap admin dn = cn=admin,dc=domain,dc=net
    Ldap Suffix = dc=domain,dc=net
    Ldap Group Suffix = ou=Groups
    Ldap User Suffix = ou=Users
    Ldap Machine Suffix = ou=Computers
    Ldap Idmap Suffix = ou=Users
    Ldap Passwd Sync = No
    Unix Password Sync = Yes
    Invalid Users = root 
        
    Passwd Program = /usr/sbin/smbldap-passwd -u %u
    Add User Script = /usr/sbin/smbldap-useradd -m '%u'
    Ldap Delete dn = Yes
    Delete User Script = /usr/sbin/smbldap-userdel '%u'
    Add Machine Script = /usr/sbin/smbldap-useradd -w '%u' -d /dev/null -c 'Computer' -s /bin/false
    Add Group Script = /usr/sbin/smbldap-groupadd -p '%g'
    Delete Group Script = /usr/sbin/smbldap-groupdel '%g'
    Add User To Group Script = /usr/sbin/smbldap-groupmod -m '%u' '%g'
    Delete User From Group Script = /usr/sbin/smbldap-groupmod -x '%u' '%g'
    Set Primary Group Script = /usr/sbin/smbldap-usermod -g '%g' '%u'
    
    syslog = 0
    log file = /var/log/samba/%m.log
    log level = 1 auth:1 passdb:1 winbind:1
    max log size = 0
    
    Name Resolve Order = lmhosts host bcast wins
    DNS Proxy = No
    Ldap SSL = no
    Panic Action = /usr/share/samba/panic-action %d

    Load Printers = Yes
    Printing = cups
    Printcap Name = cups

Client /etc/samba/smb.conf:
[global]
    server string = REMO Domain Member
    netbios name  = NAUTILUS
    workgroup = REMO
    security  = domain

    preferred master = no
    domain master = no
    local master = no

    encrypt passwords = true
    password server = 10.1.0.241
    wins support = no
    wins server = 10.1.0.241

    hosts allow = 10.1.0.0/16
    hosts deny  = 0.0.0.0/0

    syslog = 0
    log file = /var/log/samba/%m.log
    log level = 1 auth:1 passdb:1 winbind:1
    max log size = 0
    panic action = /usr/share/samba/panic-action %d




-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pt_BR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser         3.110                    add and remove users and groups
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  libacl1         2.2.47-2                 Access control list shared library
ii  libattr1        1:2.4.43-2               Extended attribute shared library
ii  libc6           2.7-18                   GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libcups2        1.3.8-1+lenny6           Common UNIX Printing System(tm) - 
ii  libgnutls26     2.4.2-6+lenny1           the GNU TLS library - runtime libr
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1                 OpenLDAP libraries
ii  libpam-modules  1.0.1-5+lenny1           Pluggable Authentication Modules f
ii  libpam-runtime  1.0.1-5+lenny1           Runtime support for the PAM librar
ii  libpam0g        1.0.1-5+lenny1           Pluggable Authentication Modules l
ii  libpopt0        1.14-4                   lib for parsing cmdline parameters
ii  libtalloc1      1.2.0~git20080616-1      hierarchical pool based memory all
ii  libwbclient0    2:3.2.5-4lenny6          client library for interfacing wit
ii  logrotate       3.7.1-5                  Log rotation utility
ii  lsb-base        3.2-20                   Linux Standard Base 3.2 init scrip
ii  procps          1:3.2.7-11               /proc file system utilities
ii  samba-common    2:3.2.5-4lenny6          Samba common files used by both th
ii  update-inetd    4.31                     inetd configuration file updater
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
ii  smbldap-tools               0.9.4-1      Scripts to manage Unix and Samba a

-- debconf information excluded





More information about the Pkg-samba-maint mailing list