LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem with samba on slackware 10.2, connecting to Win2k3, smbclient works, mount no (https://www.linuxquestions.org/questions/linux-networking-3/problem-with-samba-on-slackware-10-2-connecting-to-win2k3-smbclient-works-mount-no-394596/)

acabtp 12-19-2005 02:31 PM

problem with samba on slackware 10.2, connecting to Win2k3, smbclient works, mount no
 
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

linuxamateur-two-too 12-19-2005 06:17 PM

I can't find the obvious, so I try the ridicolous: Why not take away the "user= "-part and wait for a prompt.

Apparently there is some difference between RH and Slackware. I know little about modern MSW-filesystems, and I didn't know about the -o filsystemsymbol. Maybe neither Slackware.

acabtp 12-20-2005 12:19 AM

Quote:

Originally Posted by linuxamateur-two-too
I can't find the obvious, so I try the ridicolous: Why not take away the "user= "-part and wait for a prompt.

smbmount doesn't work like that... it will assume the username of whoever you're logged on as then

linuxamateur-two-too 12-21-2005 07:26 PM

Three people, almost the same problem. Try to cooperate at thread
http://www.
linuxquestions.org/questions/showthread.php?t=395182

( I divided the thread because of transfer problems)

I must apologize for the, too ridicoulous tip. But if I am the first fool you met, then you must be very happy


All times are GMT -5. The time now is 11:43 AM.