Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-26-2013, 05:19 AM   #1
Senior Member
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
Cool list smb shares

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

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

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

any ideas?

Old 09-26-2013, 05:40 AM   #2
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
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, 10:40 PM   #3
Doug G
Registered: Jul 2013
Posts: 749

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.


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 09:33 AM
Can't connect to smb shares with 12.2 Lenard Spencer Slackware 2 12-31-2008 06:23 PM
Can't View List of Shares in Nautilus, but can browse shares directly macgyver007 Linux - Networking 3 12-11-2008 04:13 PM
SMB shares to OS X MadTurki Linux - Networking 6 12-02-2003 06:59 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration