View previous topic :: View next topic |
Author |
Message |
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1599 Location: Adelaide/Australia
|
Posted: Mon Mar 28, 2011 9:14 am Post subject: Cant mount CIFS C$ (used to be able to) |
|
|
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 |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Tue Mar 29, 2011 8:27 am Post subject: |
|
|
have you tried:
|
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1599 Location: Adelaide/Australia
|
Posted: Tue Mar 29, 2011 10:14 am Post subject: |
|
|
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 |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Tue Mar 29, 2011 10:16 am Post subject: |
|
|
Are you able to mount it by hand? |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1599 Location: Adelaide/Australia
|
Posted: Tue Mar 29, 2011 10:31 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|