[Wylug-help] smbclient/smbmount to WinXP admin$ and c$

Don Magee don at leedsweb.dyndns.org
Mon Jun 13 16:30:30 BST 2005




Gary Stainburn wrote:
> On Friday 10 June 2005 8:12 pm, <jlyht at wylie.me.uk>(Alan J. Wylie) 
> wrote:
> 
>>On Fri, 10 Jun 2005 14:23:48 +0100, Gary Stainburn 
> 
> <gary.stainburn at ringways.co.uk> said:
> 
>>>Hi folks I used to back up Win9x boxes to Linux by connecting to
>>>each box using smbclient on \\boxname\admin$ and then smbmounting
>>>\\boxname\c$ before then taring the relevent directories.
>>
>>Firstly - you're lucky that the "$" is at the end of the word - as a
>>rule, anything on a shell command line with a $ in it needs quoting
>>with ''.
>>
>>
>>>I've tried a number of times to do the same with Win XP boxes, but
>>>always get rejected - see below.  Anyone know how I can do this
>>>these days?
>>>
>>># smbclient -U administrator //larc9/ADMIN$ ******
>>
>>What's the ****** ? A password? Try
>>
>>smbclient '//larc9/ADMIN$' -U'administrator%******'
> 
> 
> Hi Alan
> 
> I know about $. When I run it in my scripts, it's already a env 
> variable. 
> 
> The ******** was the password, because I didn't want the real password 
> to appear in the email.
> 
> The problem appears to be a WinXP issue in that C$ isn't really a share 
> and therefore doesn't provide true access.  This also seems to be a 
> problem for BackupPC user judging by their mailing list archive, as it 
> uses a similar system.


I just name the share C and it works fine with smbmount. But any name 
will do.

ie

smbmount //PLUGIN/C /nfs/smb -o  password=<admin password>



Regards


Don Magee





More information about the Wylug-help mailing list