C$ Share - Please

Simo Sorce idra at samba.org
Wed Oct 10 14:28:06 GMT 2001


try to use WKSNAME/Administrator and use local machine administrator password.

On Wed, Oct 10, 2001 at 01:06:03PM -0400, Roman, James (J.D.) wrote:
> I used to have a problem with this because I forgot to escape the $. the BASH shell expects a variable name to follow a "$" sign.  The only way I can get it to work is like this:
> 
> smbmount //workstationname/c\$ /mnt/remote -o username=NTDomain\username
> 
> -----Original Message-----
> From: Ian Cooper [mailto:ian at WPI.EDU]
> Sent: Wednesday, October 10, 2001 10:46 AM
> To: Alejandro Soler
> Cc: Samba; samba-ntdom at lists.samba.org
> Subject: Re: C$ Share - Please
> 
> 
> This is just a guess (I'm mildly familiar with NT and W2000), but I think
> that to access the default C$ share, you need to be a member of the
> "Administrators" group unless you can change the permissions on that share
> on each machine.
> 
> On Wed, 10 Oct 2001, Alejandro Soler wrote:
> 
> > Hello:
> > This is my second mail to the list. I`m very desperate about this cuestion. I need to log in NT 4 (SP6) workstation remotly to C$ share. I`m a domain administrator and C$ share exists. My PDC is Samba 2.2.1a in RH 7.1 server with 2.4.9 Kernel.
> > When I try to do this my samba client give my this error:
> >
> > tree connect failed: ERRDOS - ERRnoaccess (Acces denied.)
> >
> > If i go to the workstation and put my user in the Administrator list i dont have any problem. But i have more than 100 NT workstations  ;-)
> >
> > This is the log in my PDC server, my administrador user is granted as domain admin user.
> >
> > Anybody could help me? Please
> >
> > Thanks
> >
> > [2001/10/10 10:23:09.096157, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4508 of length 95
> > [2001/10/10 10:23:09.096260, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBntcreateX (pid 29871)
> > [2001/10/10 10:23:09.096343, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/nttrans.c:nt_open_pipe(621)
> >   nt_open_pipe: Known pipe srvsvc opening.
> > [2001/10/10 10:23:09.097219, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4509 of length 152
> > [2001/10/10 10:23:09.097303, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBtrans (pid 29871)
> > [2001/10/10 10:23:09.097381, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:reply_trans(484)
> >   trans <\PIPE\> data=72 params=0 setup=2
> > [2001/10/10 10:23:09.097453, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:named_pipe(336)
> >   named pipe command on <> name
> > [2001/10/10 10:23:09.097519, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:api_fd_reply(298)
> >   Got API command 0x26 on pipe "srvsvc" (pnum 702e)api_pipe_bind_req: \PIPE\srvsvc -> \PIPE\ntsvcs
> > [2001/10/10 10:23:09.098352, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4510 of length 140
> > [2001/10/10 10:23:09.098433, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBtrans (pid 29871)
> > [2001/10/10 10:23:09.098507, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:reply_trans(484)
> >   trans <\PIPE\> data=60 params=0 setup=2
> > [2001/10/10 10:23:09.098575, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:named_pipe(336)
> >   named pipe command on <> name
> > [2001/10/10 10:23:09.098636, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:api_fd_reply(298)
> >   Got API command 0x26 on pipe "srvsvc" (pnum 702e)free_pipe_context: destroying talloc pool of size 0
> > [2001/10/10 10:23:09.098761, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe.c:api_pipe_request(1163)
> >   Doing \PIPE\srvsvc
> > [2001/10/10 10:23:09.098835, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe.c:api_rpcTNP(1195)
> >   api_rpcTNP: rpc command: SRV_NET_SRV_GET_INFO
> > [2001/10/10 10:23:09.098955, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
> >   free_pipe_context: destroying talloc pool of size 1148
> > [2001/10/10 10:23:09.099699, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4511 of length 46
> > [2001/10/10 10:23:09.099778, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBclose (pid 29871)
> > [2001/10/10 10:23:09.100533, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4512 of length 430
> > [2001/10/10 10:23:09.100615, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBtrans (pid 29871)
> > [2001/10/10 10:23:09.100691, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:reply_trans(484)
> >   trans <\PIPE\> data=350 params=0 setup=2
> > [2001/10/10 10:23:09.100759, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:named_pipe(336)
> >   named pipe command on <> name
> > [2001/10/10 10:23:09.100861, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:api_fd_reply(298)
> >   Got API command 0x26 on pipe "NETLOGON" (pnum 703a)free_pipe_context: destroying talloc pool of size 0
> > [2001/10/10 10:23:09.101005, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe.c:api_pipe_request(1163)
> >   Doing \PIPE\NETLOGON
> > [2001/10/10 10:23:09.101075, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe.c:api_rpcTNP(1195)
> >   api_rpcTNP: rpc command: NET_SAMLOGON
> > [2001/10/10 10:23:09.101878, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_netlog_nt.c:_net_sam_logon(544)
> >   SAM Logon (Network). Domain:[GENERAL].  User:[ADMINISTRADOR]
> > [2001/10/10 10:23:09.101976, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/sec_ctx.c:push_sec_ctx(284)
> >   push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
> > [2001/10/10 10:23:09.102107, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/sec_ctx.c:set_sec_ctx(316)
> >   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> > [2001/10/10 10:23:09.102742, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/sec_ctx.c:pop_sec_ctx(423)
> >   pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
> > [2001/10/10 10:23:09.102825, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/sec_ctx.c:push_sec_ctx(284)
> >   push_sec_ctx(99, 99) : sec_ctx_stack_ndx = 1
> > [2001/10/10 10:23:09.102893, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/sec_ctx.c:set_sec_ctx(316)
> >   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> > [2001/10/10 10:23:09.102984, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/sec_ctx.c:pop_sec_ctx(423)
> >   pop_sec_ctx (99, 99) - sec_ctx_stack_ndx = 0
> > [2001/10/10 10:23:09.103584, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_util.c:get_domain_user_groups(185)
> >   domain group access  513/7  granted
> > [2001/10/10 10:23:09.103903, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_util.c:get_domain_user_groups(192)
> >   domain admin group access  512/7  granted
> > [2001/10/10 10:23:09.104105, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
> >   free_pipe_context: destroying talloc pool of size 4830
> > [2001/10/10 10:23:09.104325, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4513 of length 95
> > [2001/10/10 10:23:09.104404, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBntcreateX (pid 29871)
> > [2001/10/10 10:23:09.104477, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/nttrans.c:nt_open_pipe(621)
> >   nt_open_pipe: Known pipe wkssvc opening.
> > [2001/10/10 10:23:09.106134, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4514 of length 152
> > [2001/10/10 10:23:09.106216, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBtrans (pid 29871)
> > [2001/10/10 10:23:09.106290, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:reply_trans(484)
> >   trans <\PIPE\> data=72 params=0 setup=2
> > [2001/10/10 10:23:09.106358, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:named_pipe(336)
> >   named pipe command on <> name
> > [2001/10/10 10:23:09.106419, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:api_fd_reply(298)
> >   Got API command 0x26 on pipe "wkssvc" (pnum 702f)api_pipe_bind_req: \PIPE\wkssvc -> \PIPE\ntsvcs
> > [2001/10/10 10:23:09.107280, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4515 of length 140
> > [2001/10/10 10:23:09.107360, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBtrans (pid 29871)
> > [2001/10/10 10:23:09.107432, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:reply_trans(484)
> >   trans <\PIPE\> data=60 params=0 setup=2
> > [2001/10/10 10:23:09.107499, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:named_pipe(336)
> >   named pipe command on <> name
> > [2001/10/10 10:23:09.107558, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/ipc.c:api_fd_reply(298)
> >   Got API command 0x26 on pipe "wkssvc" (pnum 702f)free_pipe_context: destroying talloc pool of size 0
> > [2001/10/10 10:23:09.107675, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe.c:api_pipe_request(1163)
> >   Doing \PIPE\wkssvc
> > [2001/10/10 10:23:09.107745, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe.c:api_rpcTNP(1195)
> >   api_rpcTNP: rpc command: WKS_Q_QUERY_INFO
> > [2001/10/10 10:23:09.107852, 3, pid=29871, effective(99, 99), real(0, 0)] rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
> >   free_pipe_context: destroying talloc pool of size 1092
> > [2001/10/10 10:23:09.108544, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:process_smb(837)
> >   Transaction 4516 of length 46
> > [2001/10/10 10:23:09.108622, 3, pid=29871, effective(99, 99), real(0, 0)] smbd/process.c:switch_message(650)
> >   switch message SMBclose (pid 29871)
> >
> >
> >
> > --
> > ---------------------------------------------------
> >      _/     _____/        Alejandro L. Soler
> >    _/ _/   _/          Administrador de Sistemas
> >  _/    _/   ____/        Martina di Trento S.A.
> >  _/_/_/_/       _/      Buenos Aires - Argentina
> > _/     _/ _____/     http://www.martinaditrento.com
> > ---------------------------------------------------
> > Linux Registered User: # 184478
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> 
> --
> Ian Cooper
> ian at wpi.edu
> 
> 

-- 
Simo Sorce       idra at samba.org
-------------------------------
Samba Team http://www.samba.org




More information about the samba-ntdom mailing list