I also posted this over in Linux-Software, so sorry for the double, but I didn't know where this would be more appropriate. Moderators, feel free to delete the worse choice if this is a no-no.
Alright, this has been a bit of an arduous journey... i have a pair of linux servers (one RH 7.3, one Slackware 10.2). I will be taking the RH server offline soon, so I set out to archive it before doing so. After thinking about this, I decided it would be a good idea to set up the Slackware to back itself up nightly to our main file server (the Win2k3 box) as well.
I initially had some problems due to the signing of SMB packets/blocks/whatever by 2k3, but disabled that policy, and am able to get the RH server connected without a problem.
I am still having trouble with the Slackware box though. It is running samba 3.0.20.
Trying to connect to the server using smbclient works just fine (names have been changed to protect the innocent, heh):
Code:
root@unixserver:/mnt# smbclient //win2k3server/backups -U unixuser%unixpassword
Domain=[OURDOMAIN] OS=[Windows Server 2003 3790] Server=[Windows Server 2003 5.2]
smb: \> dir
. D 0 Mon Dec 19 13:52:00 2005
.. D 0 Mon Dec 19 13:52:00 2005
voss D 0 Mon Dec 19 14:17:55 2005
35770 blocks of size 8388608. 16436 blocks available
smb: \> cd voss
smb: \voss\> mkdir test
smb: \voss\> dir
. D 0 Mon Dec 19 14:39:04 2005
.. D 0 Mon Dec 19 14:39:04 2005
test D 0 Mon Dec 19 14:39:04 2005
35770 blocks of size 8388608. 16436 blocks available
smb: \voss\> rmdir test
smb: \voss\> exit
mounting the share appears to work just fine as well, however, trying to access the mounted share fails:
Code:
root@unixserver:/mnt# smbmount //win2k3server/backups /mnt/backup -o username=unixuser%unixpassword
root@unixserver:/mnt# ls /mnt/backup
ls: /mnt/backup: Permission denied
root@unixserver:/mnt#
in fact, i can't even see the folder where it is mounted inside of the /mnt folder any longer...
Code:
root@unixserver:/mnt# ls -la /mnt/
ls: /mnt/backup: Permission denied
total 24
drwxr-xr-x 7 root root 4096 2005-12-19 14:32 .
drwxr-xr-x 19 1000 users 4096 2005-12-14 01:19 ..
drwxr-xr-x 2 root root 4096 2002-03-16 02:34 cdrom
drwxr-xr-x 2 root root 4096 2002-03-16 02:34 floppy
drwxr-xr-x 2 root root 4096 2002-03-16 02:34 hd
I am connecting to the Windows server from the RH in the exact same way that I am trying to from the Slackware machine, and it works without a problem. There is nothing strange in the Windows server's event logs to indicate a problem either... a couple correct messages about a logon when mounting the share, and a valid message about a logoff when umounting it. No messages are logged when attempting to access the mounted folder, ie. nothing logged when my 'ls /mnt/backup' fails.
I am stumped, so someone, please, point out the obvious (hopefully) problem that I am overlooking.
Tom Beauchamp
Ultracomputing Consulting Services