Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-11-2005, 09:25 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17
Rep:
|
smbmount session setup failed: ERRDOS
Hi, i still can't seem to master this smbmount stuff.
tried to mount a share that i have previously successfully unmounted but with no luck, here is my output
[root@box nathan]# smbmount \\\\192.168.0.100\\d$ /mnt/share/ -o username=administrator
Password:
8946: session setup failed: ERRDOS - ERRinvgroup (Invalid workgroup (try the -W option))
SMB connection failed
[root@box nathan]#
i have tried with the workgroup option, thing is i am not on a workgroup. i am on a domain, but it still does not seem to work, any help is appreciated, thanks.
|
|
|
12-12-2005, 08:55 AM
|
#2
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
mount -t smbfs -o username=administrator,pasword=<your-pass> //192.168.0.100/d$ /mnt/share
It will work.
|
|
|
12-13-2005, 12:51 PM
|
#3
|
LQ Newbie
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17
Original Poster
Rep:
|
thanks for your help, but that gave the same error.
[root@box nathan]# mount -t smbfs -o username=administrator,pasword //192.168.0.100/d$ /mnt/share
Password:
12948: session setup failed: ERRDOS - ERRinvgroup (Invalid workgroup (try the -W option))
SMB connection failed
[root@box nathan]#
i am really stuck, would restarting the box help?(its been up for 30 days+) or preferably, restarting a service or something.
thanks.
|
|
|
12-13-2005, 01:19 PM
|
#4
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
Remove that $ sign in share name & try.
[root@box nathan]# mount -t smbfs -o username=administrator,pasword //192.168.0.100/d /mnt/share
Does you share name have that $ sign?
|
|
|
12-13-2005, 05:08 PM
|
#5
|
LQ Newbie
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17
Original Poster
Rep:
|
i have removed the $ but still no luck.
The share is a windows one, trying to map my whole d drive which is shared via the system administrator as 'd$'
this has really got me stumped. is there anything i can try restarting ?
|
|
|
12-14-2005, 03:38 AM
|
#6
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
I did that on my part & yeah on first time i got the same error.
Do it the way mentioned below.
On windows you are actually sharing your whole D drive.
First of all remove the sharing of D drive & click ok-apply & close this options window. Then again share it & before closing this window, click on the permissions tab. If you are able to see the permissions & then you'll be able to share it over linux.
I was able to share it later with the same command. Infact in the second time it wont show you the $ sign with D on sharing it.
As if right now if you'll click on permissions tab (right click on D drive & go to properties & then click on sharing tab) you'll be get an error of like, this option on only available for some administrative purposes.
Run the command mentioned above after all this.
|
|
|
12-14-2005, 03:51 AM
|
#7
|
LQ Newbie
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17
Original Poster
Rep:
|
Again, thanks for your prompt help on this problem.
i made a new share and gave it the correct permissions and checked it, but still no luck. i will just have to go without this for the time being!
|
|
|
12-14-2005, 03:58 AM
|
#8
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
But its working on my part. Infact i got the same error for the first time.
You didnt have to create any new share. You just have to Share your D drive & check for permissions tab. Also check as it wont show you the $ sign if everything goes properly.
&
Run
mount -t smbfs -o username=administrator,pasword=<your-admin-pass> //192.168.0.100/d /mnt/share
|
|
|
12-14-2005, 05:00 AM
|
#9
|
LQ Newbie
Registered: Sep 2003
Location: Wellington, New Zealand
Distribution: Fedora Core 3
Posts: 17
Original Poster
Rep:
|
Ok, i tried this same command on another box, ran this command which worked fine:
[root@box nathan]# smbmount \\\\192.168.0.105\\d$ /mnt/share1/ -o username=administrator
got prompted and it connected and then i could ls-la as normal!
The only difference between the two computers is that one is on a domain, the other is not (the one that just worked).
I have tried with the workgroup option, but with no luck.
when i try another machine on the same domain i get a different error:
[root@box mnt]# mount -t smbfs -o username=administrator,pasword //192.168.0.107/e /mnt/share2/
cli_negprot: SMB signing is mandatory and we have disabled it.
13508: protocol negotiation failed
SMB connection failed
i am not 100% sure, but i dont think its syntax... i have disabled the firewall but that doesnt work either, this definately used to work before today without any permissions changes.
BTW:default drive shares cannot change permissions, it defaults to admin as an administrative share. i hope that makes sense.
thanks
|
|
|
12-14-2005, 05:21 AM
|
#10
|
Member
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777
Rep:
|
In case if you are running samba at your *nix box & domain at windows box, then you may have to to join Windows domain first & then you can browse it with smbclient or mount it over to *nix box with your existing mount -t smbfs command.
BTW...
Quote:
Originally Posted by www.windowsnetworking.com
The system automatically creates hidden "administrative shares" for its logical drives C:, D:, and so forth which it names C$, D$ and so forth. It also creates the admin$ hidden share for to the \winnt folder. These shares are designed for remote access support by domain administrators. By default, if you delete these admin shares, they will be recreated when you reboot. To disable permanently so they will not be recreated on the next reboot, use the following Windows NT registry hack:
Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters
Name: AutoShareServer for servers
Name: AutoShareWks for workstations
Type: REG_DWORD
Value: 0
|
Microsoft published this knowledge base article on this @ http://support.microsoft.com/kb/q156365/
Last edited by amitsharma_26; 12-14-2005 at 05:24 AM.
|
|
|
All times are GMT -5. The time now is 08:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|