Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't access mount point after mounting W2K3 Svr share
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
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Tue Dec 05, 2006 12:29 pm    Post subject: Can't access mount point after mounting W2K3 Svr share Reply with quote

I've successfully mounted a share from a Windows 2003 server as root but then am unable to even list the directory as root.
Code:
# mount -t smbfs //server/share /mnt/temp -o username="domain\administrator"
password:
# ll /mnt/
ls: temp: permission denied
total 40
drwx------  2 root root 4096 Feb 14  2006 floppy/
...


Why is it not even letting me list /mnt/. The dir should have been mounted with my credentials. I have tried uid=root and user=root in the option list without luck.

Anybody able to explain this behaviour?
_________________
The Human Equation:

value(geeks) > value(mundanes)
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Tue Dec 05, 2006 2:30 pm    Post subject: Reply with quote

Are you saying that if you unmount your /mnt/temp dir then you can successfully list /mnt/* ?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Tue Dec 05, 2006 2:43 pm    Post subject: Reply with quote

BTW, try using a '/' instead of a '\' in
Code:
username="domain\administrator"
Back to top
View user's profile Send private message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Tue Dec 05, 2006 3:41 pm    Post subject: Reply with quote

xoomix wrote:
Are you saying that if you unmount your /mnt/temp dir then you can successfully list /mnt/* ?

yes

toralf wrote:
BTW, try using a '/' instead of a '\' in
Code:
username="domain\administrator"

this does the same thing. The share mounts without error and appears in proc mounts as well but I still can't access the directory, even as root.
_________________
The Human Equation:

value(geeks) > value(mundanes)
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Tue Dec 05, 2006 3:43 pm    Post subject: Reply with quote

What does the output of 'mount' show you?
Back to top
View user's profile Send private message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Tue Dec 05, 2006 3:45 pm    Post subject: Reply with quote

it shows the share mounted at the mount point in /mnt
_________________
The Human Equation:

value(geeks) > value(mundanes)
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Tue Dec 05, 2006 3:46 pm    Post subject: Reply with quote

Ok, mine looks like this:

/dev/hda3 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hda1 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)


Can we see yours like that with all the permissions, allowable actions, etc. ?
Back to top
View user's profile Send private message
humbletech99
Veteran
Veteran


Joined: 26 May 2005
Posts: 1229
Location: London

PostPosted: Tue Dec 05, 2006 3:48 pm    Post subject: Reply with quote

ok
Code:
/dev/sda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/sda4 on /mnt/storage type ext3 (rw,noatime)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sda1 on /boot type ext3 (rw,noatime)
/dev/sdb1 on /mnt/raid type ext3 (rw,noexec,nosuid,nodev)
/dev/sdc1 on /mnt/huge1 type ext3 (rw,noexec,nosuid,nodev,noatime)
/dev/sdd1 on /mnt/huge2 type ext3 (rw,noexec,nosuid,nodev,noatime)
//server/pub on /mnt/server type smbfs (0)

_________________
The Human Equation:

value(geeks) > value(mundanes)
Back to top
View user's profile Send private message
3pm
n00b
n00b


Joined: 03 Nov 2004
Posts: 64

PostPosted: Mon Jan 15, 2007 10:00 am    Post subject: Reply with quote

Any sollution?
I have the same problem.

EDIT: rebooted win2003 and everythink works now.
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