LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2005, 02:31 PM   #1
acabtp
LQ Newbie
 
Registered: Mar 2005
Location: Hoboken, NJ
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
Unhappy 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
 
Old 12-19-2005, 06:17 PM   #2
linuxamateur-two-too
LQ Newbie
 
Registered: Nov 2005
Location: Basel Suisse
Posts: 18

Rep: Reputation: 0
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.
 
Old 12-20-2005, 12:19 AM   #3
acabtp
LQ Newbie
 
Registered: Mar 2005
Location: Hoboken, NJ
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs down

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
 
Old 12-21-2005, 07:26 PM   #4
linuxamateur-two-too
LQ Newbie
 
Registered: Nov 2005
Location: Basel Suisse
Posts: 18

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with samba on slackware 10.2, connecting to Win2k3, smbclient works, mount no acabtp Linux - Software 2 12-23-2005 10:00 AM
NTLM via smbclient works, but doesn't in KDE. mikeyt_333 Linux - General 0 11-01-2005 07:32 PM
Connecting with Samba to Win2k3 Roaming Profile UltimatePower Linux - Networking 1 08-04-2004 02:33 PM
Samba and Win2k3 mr666white Linux - Networking 4 07-18-2004 04:13 PM
smbclient to win2k3 share ew0kian Linux - Software 1 07-29-2003 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration