LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2013, 06:19 AM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,104

Rep: Reputation: 181Reputation: 181
Cool list smb shares


hi guys, i entered this command to list smb shares.

root@serverx:/var/backup# smbclient -L serverx -Uusername -I 192.168.1.16
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

i'm sure i entered a correct root password, but still logon failure.

any ideas?

thanks.
 
Old 09-26-2013, 06:40 AM   #2
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 664

Rep: Reputation: 80
why does a root password is needed here ?

-Uusername then password of username should be provided, the one which you gave while you add the user username.
 
Old 09-26-2013, 11:40 PM   #3
Doug G
Member
 
Registered: Jul 2013
Posts: 598

Rep: Reputation: Disabled
You need to provide the windows user/password not the linux password if you're trying to view shares from a windows computer. In any case, you need to use a set of credentials accepted by the target computer, not your own machine.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] SMB Shares dont work when SMB is run as a service! CentOS 6 finnsloss Linux - Networking 1 10-14-2011 10:33 AM
Can't connect to smb shares with 12.2 Lenard Spencer Slackware 2 12-31-2008 07:23 PM
Can't View List of Shares in Nautilus, but can browse shares directly macgyver007 Linux - Networking 3 12-11-2008 05:13 PM
SMB shares to OS X MadTurki Linux - Networking 6 12-02-2003 07:59 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 05:25 PM


All times are GMT -5. The time now is 03:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration