LinuxQuestions.org
Visit Jeremy's Blog.
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 10-26-2005, 03:58 PM   #1
Adrnalnrsh
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Rep: Reputation: 0
smbmount connection to domain share.


I am trying to get a Fedora Core 4 server to connect to a share on a workstation under Windows 2000 domain ADS. (Workstation share is temporary as it will be connecting to another server joined to the domain in the near future).

I have tried the following;

smbmount //ipaddress/share /mountpoint -o username=username


With smbmount, I get prompted for a password and I enter the password.

I type in my password for my username (domain account) and I get the following error message.
"2679: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed"

Mind you everyone has full access to this share.

By the way, the Linux server is not joined to the domain.

Now, if I create a local account on the workstation with the share and use that username and password it mounts.

So the problem is what options do I need to pass in order to use a domain account for authenticating?
 
Old 10-26-2005, 06:47 PM   #2
solveit
Member
 
Registered: Jan 2005
Posts: 83

Rep: Reputation: 15
Try :

mount -t smbfs -o rw,username=$USR,password=$PASS,workgroup=$GRP //$SVR/$SHR $MNTPOINT
 
Old 10-26-2005, 06:51 PM   #3
Adrnalnrsh
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Just did, and got

1073: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
 
Old 10-26-2005, 07:27 PM   #4
solveit
Member
 
Registered: Jan 2005
Posts: 83

Rep: Reputation: 15
Try mounting again after disabling firewall as root :

# /etc/init.d/iptables stop
 
Old 10-26-2005, 08:05 PM   #5
Adrnalnrsh
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
No firewall running/installed. I can mount a share on my laptop that is not on the domain.
 
Old 10-27-2005, 11:18 AM   #6
Adrnalnrsh
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Got it figured out.

I used smbmount //ipaddress/sharename /mountpoint -o username=domain//username

Then I get prompted for the password, I type in my domain password and I get connected.

You can close this thread now.
 
  


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
Authentication Error when trying to smbmount a Windows Share Therlian Linux - Newbie 1 09-22-2005 07:22 AM
smbclient connects to a M$ share, smbmount fails douchev Linux - Networking 2 09-03-2004 02:26 AM
Cannot successfully mount windows 2k3 share with smbmount daveTshave Linux - Networking 0 08-31-2004 02:35 PM
Smbmount hangs when mounting Windows share Sastian Linux - Networking 5 06-15-2004 04:57 PM
mount windows share smbmount dc2447 Linux - Newbie 1 09-08-2002 09:20 PM

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

All times are GMT -5. The time now is 03:56 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