Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant mount CIFS C$ (used to be able to)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1599
Location: Adelaide/Australia

PostPosted: Mon Mar 28, 2011 9:14 am    Post subject: Cant mount CIFS C$ (used to be able to) Reply with quote

In recent times I found I cannot mount a windows XP Pro C$ (admin) share, where I used to be able to.
I can mount an explicitly created share, by name off the same machine.

The following /etc/fstab entry does not work (but used to)
Code:
//the-pc/C\044      /mnt/the-pc/c   cifs    defaults,user,rw,file_mode=0770,dir_mode=0770,iocharset=iso8859-1,credentials=/etc/samba/private/auth.the-pc.lyall,noauto,gid=smb,noserverino    0 0

The following entry works (assuming a share is enabled)
Code:
//the-pc/the-C         /mnt/the-pc/c   cifs    defaults,user,rw,file_mode=0770,dir_mode=0770,iocharset=iso8859-1,credentials=/etc/samba/private/auth.the-pc.lyall,noauto,gid=smb,noserverino    0 0

The contents of the auth file is as follows :-
Code:
username=Support
password=<snip>
domain=the-pc


I am using kernel
Code:
# uname -a
Linux lyalls-pc 2.6.35-gentoo-r12 #6 SMP PREEMPT Tue Mar 1 22:33:23 CST 2011 i686 Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz GenuineIntel GNU/Linux

_________________
...Lyall
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Mar 29, 2011 8:27 am    Post subject: Reply with quote

have you tried:

Code:
//pc/c\$
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1599
Location: Adelaide/Australia

PostPosted: Tue Mar 29, 2011 10:14 am    Post subject: Reply with quote

Yup, sure have.

I tried $, \$, \040 (which used to work), \\$, black magic, everything I could think of, I resorted to creating a named share, although I would prefer to be able to mount the admin share.
_________________
...Lyall
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Mar 29, 2011 10:16 am    Post subject: Reply with quote

Are you able to mount it by hand?
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1599
Location: Adelaide/Australia

PostPosted: Tue Mar 29, 2011 10:31 am    Post subject: Reply with quote

At the command line, the following does not work
Code:

# umount /mnt/the-pc/c ; mount -t cifs -o defaults,user,rw,file_mode=0770,dir_mode=0770,iocharset=iso8859-1,credentials=/etc/samba/private/auth.the-pc.lyall,noauto,gid=smb,noserverino           //the-pc/C\044 /mnt/the-pc/c


The following does work
Code:

# umount /mnt/the-pc/c ; mount -t cifs -o defaults,user,rw,file_mode=0770,dir_mode=0770,iocharset=iso8859-1,credentials=/etc/samba/private/auth.the-pc.lyall,noauto,gid=smb,noserverino           //the-pc/C\$ /mnt/the-pc/c


However, neither works (\$ nor \044) works in the /etc/fstab.
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum