Unable to manage samba share from Server Manager for Win9x

Jetchko Jekov jeka at flavia-bg.com
Fri Aug 22 17:14:51 GMT 2003


Hello

I have a problem managing samba share from Server Manager for Win 9x tool.
While tryed to manage share (Menu->Computer->Shared Directories) I receive a 
message : "The remote procedure call failed"

Same procedure works without problem with NT version of tool  from Win NT4 
Svr/Wks

my linux box is running Gentoo with last cvs snapshot of samba-3.0
file-server root # uname -a
Linux file-server 2.4.20-xfs-r3 #5 Tue Jul 22 17:54:48 EEST 2003 i686 Celeron 
(Coppermine) GenuineIntel GNU/Linux
file-server root # smbd -V
Version CVS 3.0.0rc2

I will attach my smb.conf i log of debug level 4 of failed request and 
ethereal dump too

And some other problem
I have NT users with caps as first letter
and windbind acts strange with nt group memebership:

file-server root # id maya
uid=10061(Maya) gid=10000(Domain Users) groups=10000(Domain Users)

file-server root # id Maya
uid=10061(Maya) gid=10000(Domain Users) groups=10000(Domain 
Users),10008(sector NEIM),10011(TIR)



 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ethereal.dmp
Type: application/octet-stream
Size: 6896 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030822/7d08f47f/ethereal.obj
-------------- next part --------------
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 217 of length 98
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE\SRVSVC> data=0 params=0 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <SRVSVC> name
[2003/08/22 19:57:40, 4] smbd/ipc.c:named_pipe(337)
  named pipe command from Win95 (wow!)
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=0
[2003/08/22 19:57:40, 1] smbd/ipc.c:api_fd_reply(284)
  api_fd_reply: INVALID PIPE HANDLE: 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_no_reply(246)
  Unsupported API fd command
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 218 of length 96
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBopenX (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 4] smbd/pipes.c:reply_open_pipe_and_X(61)
  Opening pipe \PIPE\srvsvc.
[2003/08/22 19:57:40, 3] smbd/pipes.c:reply_open_pipe_and_X(85)
  Known pipe srvsvc opening.
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(178)
  Open pipe requested srvsvc (pipes_open=0)
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:make_internal_rpc_pipe_p(279)
  Create pipe requested srvsvc
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:make_internal_rpc_pipe_p(372)
  Created internal pipe srvsvc (pipes_open=0)
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(258)
  Opened pipe srvsvc with handle 7794 (pipes_open=1)
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 219 of length 86
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE> data=0 params=2 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7794
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x1 on pipe "srvsvc" (pnum 7794)SetNamedPipeHandleState to code 100
[2003/08/22 19:57:40, 3] rpc_server/srv_pipe_hnd.c:set_rpc_pipe_hnd_state(1050)
  set_rpc_pipe_hnd_state: Setting pipe device state=100 on pipe (name=srvsvc)
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 220 of length 156
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE> data=72 params=0 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7794
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "srvsvc" (pnum 7794)api_pipe_bind_req: \PIPE\srvsvc -> \PIPE\ntsvcs
[2003/08/22 19:57:40, 3] rpc_server/srv_pipe.c:check_bind_req(727)
  check_bind_req for \PIPE\srvsvc
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 221 of length 168
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE> data=84 params=0 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7794
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "srvsvc" (pnum 7794)free_pipe_context: destroying talloc pool of size 0
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe.c:api_rpcTNP(1488)
  api_rpcTNP: srvsvc op 0x15 - api_rpcTNP: rpc command: SRV_NET_SRV_GET_INFO
[2003/08/22 19:57:40, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 1672
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 222 of length 45
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7794
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(1081)
  closed pipe name srvsvc pnum=7794 (pipes_open=0)
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 223 of length 98
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE\SRVSVC> data=0 params=0 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <SRVSVC> name
[2003/08/22 19:57:40, 4] smbd/ipc.c:named_pipe(337)
  named pipe command from Win95 (wow!)
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=0
[2003/08/22 19:57:40, 1] smbd/ipc.c:api_fd_reply(284)
  api_fd_reply: INVALID PIPE HANDLE: 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_no_reply(246)
  Unsupported API fd command
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 224 of length 96
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBopenX (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 4] smbd/pipes.c:reply_open_pipe_and_X(61)
  Opening pipe \PIPE\srvsvc.
[2003/08/22 19:57:40, 3] smbd/pipes.c:reply_open_pipe_and_X(85)
  Known pipe srvsvc opening.
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(178)
  Open pipe requested srvsvc (pipes_open=0)
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:make_internal_rpc_pipe_p(279)
  Create pipe requested srvsvc
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:make_internal_rpc_pipe_p(372)
  Created internal pipe srvsvc (pipes_open=0)
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(258)
  Opened pipe srvsvc with handle 7795 (pipes_open=1)
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 225 of length 86
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE> data=0 params=2 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7795
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x1 on pipe "srvsvc" (pnum 7795)SetNamedPipeHandleState to code 100
[2003/08/22 19:57:40, 3] rpc_server/srv_pipe_hnd.c:set_rpc_pipe_hnd_state(1050)
  set_rpc_pipe_hnd_state: Setting pipe device state=100 on pipe (name=srvsvc)
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 226 of length 156
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE> data=72 params=0 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7795
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "srvsvc" (pnum 7795)api_pipe_bind_req: \PIPE\srvsvc -> \PIPE\ntsvcs
[2003/08/22 19:57:40, 3] rpc_server/srv_pipe.c:check_bind_req(727)
  check_bind_req for \PIPE\srvsvc
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 227 of length 196
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE> data=112 params=0 setup=2
[2003/08/22 19:57:40, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7795
[2003/08/22 19:57:40, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "srvsvc" (pnum 7795)free_pipe_context: destroying talloc pool of size 0
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe.c:api_rpcTNP(1488)
  api_rpcTNP: srvsvc op 0xf - api_rpcTNP: rpc command: SRV_NET_SHARE_ENUM_ALL
[2003/08/22 19:57:40, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 12916
[2003/08/22 19:57:40, 3] smbd/error.c:error_packet(129)
  error packet at smbd/ipc.c(99) cmd=37 (SMBtrans) eclass=3 ecode=31
[2003/08/22 19:57:40, 3] smbd/process.c:process_smb(890)
  Transaction 228 of length 45
[2003/08/22 19:57:40, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 27813)
[2003/08/22 19:57:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 10000) - sec_ctx_stack_ndx = 0
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1151)
  search for pipe pnum=7795
[2003/08/22 19:57:40, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(1081)
  closed pipe name srvsvc pnum=7795 (pipes_open=0)
-------------- next part --------------
# Samba config file created using SWAT
# from 192.168.3.4 (192.168.3.4)
# Date: 2003/08/22 18:17:42

# Global parameters
[global]
	unix charset = cp1251
	display charset = cp1251
	workgroup = FLAVIA_NAV
	interfaces = 192.168.3.194/24
	bind interfaces only = Yes
	security = DOMAIN
	password server = ntserver
	passdb backend = tdbsam
	username map = /etc/samba/smbusers
	client lanman auth = No
	client plaintext auth = No
	log level = 1
	syslog = 0
	log file = /var/log/samba/log.%m
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY
	domain master = No
	wins server = 192.168.3.1
	ldap ssl = no
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	template homedir = /samba/homes/%U
	winbind separator = /
	winbind use default domain = Yes
	admin users = jeka
	printing = cups
	mangled names = No

[groups]
	path = /samba/groups
	admin users = 
	read only = No
	hide unreadable = Yes

[My Documents]
	comment = %U's Personal Documents
	path = /samba/homes/%U/.mydocs
	read only = No

[Root Folder]
	comment = Administrative sharing
	path = /samba
	valid users = jeka
	read only = No
	hide unreadable = Yes

[home]
	comment = %U's Personal Directory
	path = /samba/homes/%U
	admin users = 
	read only = No
	hide special files = Yes
	vfs objects = recycle
	recycle:repository = .recycle
	recycle:versions = Yes
	recycle:touch = Yes


More information about the samba-technical mailing list