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 01-10-2004, 05:08 PM   #1
talkinggoat
Member
 
Registered: Sep 2003
Location: lafayette, la
Distribution: RHL 6.2, FC 3, Ubuntu 14.04, Ubuntu 16.04
Posts: 112

Rep: Reputation: 15
accessin windows shares from linux (smbclient)


i have been tring to access windows shares from the linux box with limited success using the command smbclient. sometimes it will log in and function as it should, but, most of the time it won't. it gives me the error session setup failed: nt code (some cryptic code) like i said, though, sometimes it will let me log in. is this a problem with the windows box, or the linux box? what is going on here?
 
Old 01-10-2004, 11:28 PM   #2
blakerwry
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.1, knoppix
Posts: 22

Rep: Reputation: 15
I have found the best thing to do is mount the share using the "smbmount"(win9x machine) or the "mount -t smbfs ..." (winNT) commands.

It might take a bit of playing around to get it to work correctly, but once you find the right command you can simply script it and run the script to connect/disconnect.
 
  


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
Smbclient copy from Linux to windows depam Linux - Software 4 01-02-2010 04:01 PM
accessin NTFS partition in red hat linux 9 d0tc0mguy Linux - Newbie 1 05-23-2005 08:53 AM
Smbclient limited to show shares? Thakowbbery Linux - Networking 0 05-18-2005 08:48 AM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM

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

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