Gidday all - I'm having some very strange behaviour with smbmount.  What I
have been doing in the past is to mount a share from a windows 2003 server,
then do a du on each directory and store the output.
However something has changed and the smbmount no longer works.

----------------------------------------------
The smbmount command I've been using is
    /usr/bin/smbmount //aghs-server/student /mnt/aghs-server -o
username=asdf,password=qwerty
which works fine.

----------------------------------------------
However...
suspenders:/mnt# df /mnt/aghs-server 
df: `/mnt/aghs-server': Permission denied

suspenders:/mnt# ls -la
ls: aghs-server: Permission denied
total 8
drwxrwxrwx   3 root root 4096 Sep  2 10:05 .
drwxr-xr-x  32 root root 4096 Aug 31 12:58 ..

suspenders:/mnt# umount aghs-server 

suspenders:/mnt# ls -la
total 12
drwxrwxrwx   3 root root 4096 Sep  2 10:05 .
drwxr-xr-x  32 root root 4096 Aug 31 12:58 ..
drwxrwxrwx   2 root root 4096 Sep  2 10:05 aghs-server

----------------------------------------------
Now - the weirdest thing is... smbclient works.

suspenders:/mnt# smbclient //aghs-server/student --user=asdf
Password: qwerty
Domain=[AGHS] OS=[Windows Server 2003 3790] Server=[Windows Server 2003 5.2]
smb: \> ls
....
  YONGGYW                              D        0  Wed Jun 23 09:00:06 2004
  YONGLAGR                            DR        0  Thu May 27 13:56:22 2004
  ZEADLHARY                            D        0  Mon Aug  2 13:02:35 2004

                35063 blocks of size 524288. 1 blocks available


Does anyone have any ideas on what I'm doing wrong?

Reply via email to