LinuxQuestions.org
Visit Jeremy's Blog.
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 05-13-2003, 12:32 PM   #1
chemzar
LQ Newbie
 
Registered: May 2003
Location: Storrs, CT
Distribution: Slackware 9.0
Posts: 13

Rep: Reputation: 0
Anyway to make smbclient show full name of share?


I am working on a script to search over an IP range and find all the available shares on a Windows network. To thoroughly test the software, I wanted to have long final names (e.g. Fun Disk Share Disk Fun!) to see if my code could figure out the name of the share. However this is the output I get when I run

smbclient -L //chemzar -N

Code:
added interface ip=137.99.169.118 bcast=137.99.171.255 nmask=255.255.252.0
Got a positive name query response from 137.99.25.50 ( 137.99.169.118 )
Domain=[UCONN] OS=[Unix] Server=[Samba 2.2.8]

        Sharename      Type      Comment
        ---------      ----      -------
        My Downloads   Disk      Fun Stuff
        Fun Disk Stuf  Disk
        IPC$           IPC       IPC Service (Andys Computer in Linux)
        ADMIN$         Disk      IPC Service (Andys Computer in Linux)

        Server               Comment
        ---------            -------
        CHEMZAR              Andys Computer in Linux
        D2JJLC11             Mama

        Workgroup            Master
        ---------            -------
        UCONN                D2JJLC11
As you can see the folder has been truncated, which will cause problems with my script. Any suggestions on how to get around this problem (smbmount can mount the directory).

Thanks
 
  


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
smbclient [share] -k works, but nautilus still asks for credentials. mikeyt_333 Linux - Networking 1 09-08-2005 05:48 PM
Smbclient limited to show shares? Thakowbbery Linux - Networking 0 05-18-2005 08:48 AM
smbclient connects to a M$ share, smbmount fails douchev Linux - Networking 2 09-03-2004 02:26 AM
Nvidia G4 with TV-Out (TV won't show full screen) MasterC Linux - Hardware 7 08-02-2003 10:50 AM
smbclient to win2k3 share ew0kian Linux - Software 1 07-29-2003 07:21 PM

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

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