Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > connecting to an NT share with smbclient

connecting to an NT share with smbclient
Thread Tools
hotani
Senior User
Join Date: Sep 2000
Location: Denver, CO, USA
Status: Offline
Reply With Quote
Mar 7, 2003, 04:29 PM
 
I need to connect to an NT share, and am trying to use smbclient with the following format:

smbclient //server/share -U myusername

It prompts me for the password, then comes back with:
session setup failed: NT_STATUS_LOGON_FAILURE

Am I missing something? I can log onto this share fine from the gui (don't even say it! I need to access it through the command line for a perl script function so the gui connection is useless to me since it is dependent on someone being logged in).
// hōtani
MDD G4 dual 867
     
hotani  (op)
Senior User
Join Date: Sep 2000
Location: Denver, CO, USA
Status: Offline
Reply With Quote
Mar 8, 2003, 02:33 AM
 
fixed. This required an additional switch:
-W workgroup

That worked fine; where 'workgroup' is the windows networking workgroup name.
// hōtani
MDD G4 dual 867
     
   
Thread Tools
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 02:40 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,