[Samba] mounting win2003 server shares fails

Culver, Chuck chuck at sussex.tec.nj.us
Fri Oct 22 16:13:48 GMT 2004


I emailed about this before but didn't get any response.  I am desperate.

I can mount the share of any computer in the domain.  XP (even with sp2), 2000, etc... everything works no problem.

When I try to mount a share on a win2003 server, the command completes successfully, but when I try to view the folder, it is not showing.

I have tried several variations of commands:

mount -t smbfs -o username=administrator,password=xx //apps/sti /home/chuck/smb4k/apps/sti

mount -t smbfs -o username=administrator,password=xx,uid=chuck,gid=chuck //apps/sti /home/chuck/smb4k/apps/sti

mount -t smbfs -o username=administrator,password=xx,uid=chuck,gid=chuck,fmask=777,dmask=777 //apps/sti /home/chuck/smb4k/apps/sti

This is what I get.. as both ROOT and the user CHUCK, no matter what command I use:

[root at datacenter smb4k]# ls -la
total 12
drwxrwxrwx   3 chuck chuck 4096 Oct 22 11:42 ./
drwxr-xr-x  24 chuck chuck 4096 Oct 22 11:56 ../
drwxrwxrwx   3 chuck chuck 4096 Oct 22 11:42 apps/
[root at datacenter smb4k]# cd apps
[root at datacenter apps]# ls -la
ls: sti: Permission denied
total 8
drwxrwxrwx  3 chuck chuck 4096 Oct 22 11:42 ./
drwxrwxrwx  3 chuck chuck 4096 Oct 22 11:42 ../



If I UMOUNT the share, I can see the folder again:

[root at datacenter apps]# umount sti
[root at datacenter apps]# ls -la
total 12
drwxrwxrwx  3 chuck chuck 4096 Oct 22 11:42 ./
drwxrwxrwx  3 chuck chuck 4096 Oct 22 11:42 ../
drwxrwxrwx  2 chuck chuck 4096 Oct 22 11:42 sti/

But of course, the folder is empty now because it is no longer mounted.  If I mount it again, the folder STI disappears again.

Again, this only happens with shares on our 2003 servers.  All other machines in our domain are mountable without problems.

Mandrake 10.1
samba-common-3.0.7-2mdk
samba-client-3.0.7-2mdk
kernel-2.6.8.1.10mdk-1-1mdk


THANKS!
-Chuck


More information about the samba mailing list