Xavier COUDIN
2007-Jun-21 10:45 UTC
[Samba] client cannot join correctly enough to samba-server
hello bonjour, I am facing the following problem Je suis confront? au probl?me suivant configuration 1 server Wk23 as domain-server 1 server samba 3.0.24 client XP-PRO Samba server is supposed to be only file-server (and http server), just as member of the domain, because w2k3 is the domain-server sentence "net rpc join -U xcoudin%mypassword" worked correctly, samba-machine answered that it successfuly joined the domain. And I can observe that the samba-computer is automatically added in the list of computers of the domain in Active-Directory of W2k3 server. The user "xcoudin" exists - in the linux-system - in samba smbpasswd file - as beeing one of the administrators of the w2k3 server In all of theese 3 cases, they use the same password. I am facing the following problems - from XP client, I can connect to the samba-server, I can write a file into the fully-opend directory (physically located in /tmp)but...I can not remove this file - I can not connect at all to the home-directory (identification does not open access to the directory) - i can browse into another directory, can not write into it (I would like to...) -- Xavier COUDIN <xavier.coudin@ac-nantes.fr> Administrateur R?seau Lyc?e Duplessis-Mornay 49408 SAUMUR Cedex tel. 02 41 53 05 30 poste 4232 fax. 02 41 53 05 21
Xavier COUDIN
2007-Jun-21 12:45 UTC
[Samba] client cannot join correctly enough to samba-server
If this could give some idea to someone to help me, here isa typycal message from the log file [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 503 Primary group is 503 and contains 3 supplementary groups Group[ 0]: 503 Group[ 1]: 0 Group[ 2]: 499 [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_user(268) change_to_user uid=(503,503) gid=(0,503) [2007/06/21 14:32:39, 0] smbd/service.c:make_connection_snum(920) '/home/xcoudin' does not exist or permission denied when connecting to [xcoudin] Error was Permission non accord??e [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 3] smbd/connection.c:yield_connection(69) Yielding connection to xcoudin [2007/06/21 14:32:39, 3] smbd/error.c:error_packet(146) error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_BAD_NETWORK_NAME [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) size=35 smb_com=0x75 smb_rcls=204 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=65279 smb_uid=133 smb_mid=26946 smt_wct=0 smb_bcc=0 [2007/06/21 14:32:39, 6] smbd/process.c:process_smb(1109) got message type 0x0 of len 0x27 [2007/06/21 14:32:39, 3] smbd/process.c:process_smb(1110) Transaction 450 of length 43 [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) size=39 smb_com=0x74 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=0 smb_pid=65279 smb_uid=131 smb_mid=27010 smt_wct=2 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_bcc=0 [2007/06/21 14:32:39, 3] smbd/process.c:switch_message(914) switch message SMBulogoffX (pid 32056) conn 0x0 [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 3] smbd/reply.c:reply_ulogoffX(1618) ulogoffX vuid=131 [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) 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=131 smb_mid=27010 smt_wct=2 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_bcc=0 [2007/06/21 14:32:39, 6] smbd/process.c:process_smb(1109) got message type 0x0 of len 0x23 [2007/06/21 14:32:39, 3] smbd/process.c:process_smb(1110) Transaction 451 of length 39 [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) 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=131 smb_mid=27074 smt_wct=0 smb_bcc=0 [2007/06/21 14:32:39, 3] smbd/process.c:switch_message(914) switch message SMBtdis (pid 32056) conn 0x9352bc8 [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 3] smbd/service.c:close_cnum(1150) multicrea (172.17.100.52) closed connection to service IPC$ [2007/06/21 14:32:39, 3] smbd/connection.c:yield_connection(69) Yielding connection to IPC$ [2007/06/21 14:32:39, 4] smbd/vfs.c:vfs_ChDir(741) vfs_ChDir to / [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) 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=131 smb_mid=27074 smt_wct=0 smb_bcc=0 [2007/06/21 14:32:39, 6] smbd/process.c:process_smb(1109) got message type 0x0 of len 0x27 [2007/06/21 14:32:39, 3] smbd/process.c:process_smb(1110) Transaction 452 of length 43 [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) size=39 smb_com=0x74 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=0 smb_pid=65279 smb_uid=133 smb_mid=27138 smt_wct=2 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_bcc=0 [2007/06/21 14:32:39, 3] smbd/process.c:switch_message(914) switch message SMBulogoffX (pid 32056) conn 0x0 [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 3] smbd/reply.c:reply_ulogoffX(1618) ulogoffX vuid=133 [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) 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=133 smb_mid=27138 smt_wct=2 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_bcc=0 [2007/06/21 14:32:39, 6] smbd/process.c:process_smb(1109) got message type 0x0 of len 0x23 [2007/06/21 14:32:39, 3] smbd/process.c:process_smb(1110) Transaction 453 of length 39 [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=2 smb_pid=65279 smb_uid=133 smb_mid=27202 smt_wct=0 smb_bcc=0 [2007/06/21 14:32:39, 3] smbd/process.c:switch_message(914) switch message SMBtdis (pid 32056) conn 0x939ba60 [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 4] smbd/vfs.c:vfs_ChDir(741) vfs_ChDir to /tmp [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 3] smbd/service.c:close_cnum(1150) multicrea (172.17.100.52) closed connection to service IPC$ [2007/06/21 14:32:39, 3] smbd/connection.c:yield_connection(69) Yielding connection to IPC$ [2007/06/21 14:32:39, 4] smbd/vfs.c:vfs_ChDir(741) vfs_ChDir to / [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(507) [2007/06/21 14:32:39, 5] lib/util.c:show_msg(517) size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=2 smb_pid=65279 smb_uid=133 smb_mid=27202 smt_wct=0 smb_bcc=0 [2007/06/21 14:32:39, 3] smbd/process.c:timeout_processing(1359) timeout_processing: End of file from client (client has disconnected). [2007/06/21 14:32:39, 5] lib/gencache.c:gencache_shutdown(94) Closing cache file [2007/06/21 14:32:39, 5] libsmb/namecache.c:namecache_shutdown(79) namecache_shutdown: netbios namecache closed successfully. [2007/06/21 14:32:39, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_nt_user_token(448) NT user token: (NULL) [2007/06/21 14:32:39, 5] auth/auth_util.c:debug_unix_user_token(474) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2007/06/21 14:32:39, 5] smbd/uid.c:change_to_root_user(283) change_to_root_user: now uid=(0,0) gid=(0,0) [2007/06/21 14:32:39, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2007/06/21 14:32:39, 3] smbd/server.c:exit_server_common(675) Server exit (normal exit) -- Xavier COUDIN <xavier.coudin@ac-nantes.fr> Administrateur R?seau Lyc?e Duplessis-Mornay 49408 SAUMUR Cedex tel. 02 41 53 05 30 poste 4232 fax. 02 41 53 05 21