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 07-31-2005, 07:38 PM   #1
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Rep: Reputation: 30
Network Authorization


Alright I will get to point, right now I have my Linux machine connected to my home LAN. There are a total of three machines on the network. Computer A is my Fedora Core 3 Linux Box, Computer B is my Windows Server 2003 and finally Computer C is Windows 2000. I have been able connect to both of the Windows machines from the Linux machine and vice versa. This has been accomplished by pinging of couse and all of the following common network protocals. At any rate I am unable to mount the network drive. The command in which I have issued is as follows

smbmount //192.168.2.132 /mnt/Server2003 smbfs username=Linux,password=****

I have the user name Linux registered on both machines with a correct password and yet I recieve the following error

14728: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
[root@linux developer]#

Yet I can access the computers with the same password just without mounting them. If you can please clarify this issue for me I would appreciate it. Thanks again.
 
Old 07-31-2005, 10:36 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I think you'd need to specify a specific share as well as the -o flag for options, like:
Code:
smbmount //192.168.2.132/SHARENAME /mnt/Server2003 smbfs -o username=Linux,password=****
 
Old 08-01-2005, 04:43 AM   #3
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

just in case, did you create a smbuser as well... samba doesn't use the Linux users but has its own users, so that you need to do smtg like smbadduser username (or smbuseradd I just don't remember)

you can also have a look at the smbclient command (smbclient -L 192.168.2.132) which will list the shares on a machine...
 
Old 08-01-2005, 09:21 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
fr_laz: he's connecting (I believe) to a Windows 2003 box.
 
Old 08-01-2005, 12:12 PM   #5
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Original Poster
Rep: Reputation: 30
I did not make an SMB because of my previous experiance I had to need for one. That is my mistake rather concerning the share. I always include the share. Should I add an SMB user or is that not needed? Thanks again.
 
Old 08-01-2005, 12:21 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Did you add the -o in there? That is required for the options.
 
Old 08-04-2005, 01:28 AM   #7
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Original Poster
Rep: Reputation: 30
Would I need the -o for the smbfs arguement? Yet I am still unable to log into the windows machine still. I can see it still on the network just unable to mount. Thanks.
 
Old 08-04-2005, 09:12 AM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Actually, you shouldn't need that 'smbfs' in there at all. You'd need -t smbfs with 'mount', but 'smbmount' already knows you want to mount an smb file system.
 
Old 08-04-2005, 03:54 PM   #9
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Original Poster
Rep: Reputation: 30
yeah that is what I was thinking, Does it make sense that I can get access to the machine without mounting the harddrive wtih the user name and password yet unable to mount with the same user name?
 
Old 08-04-2005, 08:50 PM   #10
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
That makes no sense.

Try
Code:
mount -t smbfs -o username=THEUSERNAME,password=THEPASSWORD //server/share /mnt/point
 
Old 08-05-2005, 01:35 PM   #11
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Original Poster
Rep: Reputation: 30
Yeah that is what I was thinking. To be able to access and not mount with the same username and password. I am at work right now so I am unable to do that right now but I will post my results when I get home. Thanks again for your help.
 
  


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
help in user authorization Rex_chaos Programming 2 10-04-2004 03:03 PM
Apache authorization Sherpa Linux - Software 4 04-25-2004 10:38 AM
authorization varunk123456 Linux - Newbie 2 03-31-2004 02:44 PM
Authorization Failed Poskus Fedora 1 02-23-2004 08:08 AM
authorization screw up xjphil Linux - Newbie 12 08-31-2003 05:38 PM

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

All times are GMT -5. The time now is 02:34 AM.

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