Sponsored Content
Operating Systems Solaris "smbclient" command not working Post 302261314 by soliberus on Monday 24th of November 2008 10:44:16 AM
Old 11-24-2008
"smbclient" command not working

I've installed Samba on my Solaris 10 (SPARC) server

# pkginfo |grep samba
system SUNWsmbac samba - A Windows SMB/CIFS fileserver for UNIX (client)
system SUNWsmbar samba - A Windows SMB/CIFS fileserver for UNIX (Root)
system SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)
system samba CIFS File and Print server


When I run the smbclient to list the shares, I get the following error message:

# /opt/samba/bin/smbclient -L localhost -N
ld.so.1: smbclient: fatal: libreadline.so.5: open failed: No such file or directory
Killed


ld.so.1 and libreadline.so.5 do exist on the server

# find / -name ld.so.1 -print
/usr/lib/ld.so.1
/usr/lib/sparcv9/ld.so.1
/etc/lib/ld.so.1
/lib/sparcv9/ld.so.1
/lib/ld.so.1

# find / -name libreadline.so.5 -print
/usr/local/lib/libreadline.so.5

Does anyone know how to resolve this?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Listing only directories in the current working directory using the "ls" command

Hello All, I am trying to list only directories in my current directory using the command "ls -d". But the output only contains the default directory "." and doesn't list the rest of the directories in the working directory. Can anyone explain why this is happening (2 Replies)
Discussion started by: igandu
2 Replies

2. UNIX for Advanced & Expert Users

Running command "md5" on remote host not working.

My question is very strange. I can run ls command on remote host using ssh successfully. but when i try to run /sbin/md5 command on remote host. it doesnt run and get back to me on command prompt. md5 command is exist on remote host. This is what i tried which ran successfully. Query -... (1 Reply)
Discussion started by: ynilesh
1 Replies

3. Shell Programming and Scripting

sub option of awk command not working with "\" character.

Hi all, I would like to replace some string in a text file by some string which would contains special characters like "/","\". I.e. I have a text file with the statement contactperson somewhere in it. Now I want to replace it by something else which includes special characters like "/","\" ... (1 Reply)
Discussion started by: shareef
1 Replies

4. Shell Programming and Scripting

"sed" command is not working in shell script

Hi All, I am not much strong in shell scripting... I am using sed command in my script to find and replace a string....... This is how script looks : ############# #!/usr/bin/ksh CONFIG_FILE=iom_test.txt FIND=`echo "NIS_FTP_SERVER1=123.456.iom.com"` REPLACE=`echo... (2 Replies)
Discussion started by: askumarece
2 Replies

5. UNIX for Advanced & Expert Users

command for recently modified files - "find" command not working

I have three files a.txt , b.txt , c.txt in a directory called my_dir1 .These files were created before two or three months . I have a tar file called my_tar1.tar which contains three files a.txt , b.txt , d.txt . Somebody untarred the my_tar1.tar into my_dir1 directory. So existing two files were... (1 Reply)
Discussion started by: joe.mani
1 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Filesystems, Disks and Memory

"parted" command not working in Fedora9

I ran the foll. command: parted /dev/sdb (parted) p mkpart primary 1GB 1.5GB The parted command (when I print the details) outputs something like below: 1 2048MB ....... what I want to bring in your notice that only 1 row came showing the complete size of the disk (detachable device)... (1 Reply)
Discussion started by: ravisingh
1 Replies

8. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

9. Shell Programming and Scripting

Using sed command to replace "|" with ^ for all *.dat files in a folder not working

I am trying to use the below sed command to replace all "|" to ^, in a folder had 50 dat files. when i tried with 1 file it worked but when i tried with wild card, is not working. sed -i 's/"|"/\^/g' *.dat Is this the proper way to use sed command thank you very much for help. (3 Replies)
Discussion started by: cplusplus1
3 Replies
SAMBA(7)							    Miscellanea 							  SAMBA(7)

NAME
samba - A Windows SMB/CIFS fileserver for UNIX SYNOPSIS
samba DESCRIPTION
The Samba software suite is a collection of programs that implements the Server Message Block (commonly abbreviated as SMB) protocol for UNIX systems. This protocol is sometimes also referred to as the Common Internet File System (CIFS). For a more thorough description, see http://www.ubiqx.org/cifs/. Samba also implements the NetBIOS protocol in nmbd. smbd(8) The smbd daemon provides the file and print services to SMB clients, such as Windows 95/98, Windows NT, Windows for Workgroups or LanManager. The configuration file for this daemon is described in smb.conf(5) nmbd(8) The nmbd daemon provides NetBIOS nameservice and browsing support. The configuration file for this daemon is described in smb.conf(5) smbclient(1) The smbclient program implements a simple ftp-like client. This is useful for accessing SMB shares on other compatible servers (such as Windows NT), and can also be used to allow a UNIX box to print to a printer attached to any SMB server (such as a PC running Windows NT). testparm(1) The testparm utility is a simple syntax checker for Samba's smb.conf(5) configuration file. testprns(1) The testprns utility supports testing printer names defined in your printcap file used by Samba. smbstatus(1) The smbstatus tool provides access to information about the current connections to smbd. nmblookup(1) The nmblookup tools allows NetBIOS name queries to be made from a UNIX host. smbpasswd(8) The smbpasswd command is a tool for changing LanMan and Windows NT password hashes on Samba and Windows NT servers. smbcacls(1) The smbcacls command is a tool to set ACL's on remote CIFS servers. smbsh(1) The smbsh command is a program that allows you to run a unix shell with with an overloaded VFS. smbtree(1) The smbtree command is a text-based network neighborhood tool. smbtar(1) The smbtar can make backups of data on CIFS/SMB servers. smbspool(8) smbspool is a helper utility for printing on printers connected to CIFS servers. smbcontrol(1) smbcontrol is a utility that can change the behaviour of running samba daemons. rpcclient(1) rpcclient is a utility that can be used to execute RPC commands on remote CIFS servers. pdbedit(8) The pdbedit command can be used to maintain the local user database on a samba server. findsmb(1) The findsmb command can be used to find SMB servers on the local network. net(8) The net command is supposed to work similar to the DOS/Windows NET.EXE command. swat(8) swat is a web-based interface to configuring smb.conf. winbindd(8) winbindd is a daemon that is used for integrating authentication and the user database into unix. wbinfo(1) wbinfo is a utility that retrieves and stores information related to winbind. profiles(1) profiles is a command-line utility that can be used to replace all occurences of a certain SID with another SID. log2pcap(1) log2pcap is a utility for generating pcap trace files from Samba log files. vfstest(1) vfstest is a utility that can be used to test vfs modules. ntlm_auth(1) ntlm_auth is a helper-utility for external programs wanting to do NTLM-authentication. smbmount(8), smbumount(8), smbmnt(8) smbmount,smbumount and smbmnt are commands that can be used to mount CIFS/SMB shares on Linux. smbcquotas(1) smbcquotas is a tool that can set remote QUOTA's on server with NTFS 5. COMPONENTS
The Samba suite is made up of several components. Each component is described in a separate manual page. It is strongly recommended that you read the documentation that comes with Samba and the manual pages of those components that you use. If the manual pages and documents aren't clear enough then please visit http://devel.samba.org for information on how to file a bug report or submit a patch. If you require help, visit the Samba webpage at http://www.samba.org/ and explore the many option available to you. AVAILABILITY
The Samba software suite is licensed under the GNU Public License(GPL). A copy of that license should have come with the package in the file COPYING. You are encouraged to distribute copies of the Samba suite, but please obey the terms of this license. The latest version of the Samba suite can be obtained via anonymous ftp from samba.org in the directory pub/samba/. It is also available on several mirror sites worldwide. You may also find useful information about Samba on the newsgroup comp.protocol.smb and the Samba mailing list. Details on how to join the mailing list are given in the README file that comes with Samba. If you have access to a WWW viewer (such as Mozilla or Konqueror) then you will also find lots of useful information, including back issues of the Samba mailing list, at http://lists.samba.org. VERSION
This man page is correct for version 3 of the Samba suite. CONTRIBUTIONS
If you wish to contribute to the Samba project, then I suggest you join the Samba mailing list at http://lists.samba.org. If you have patches to submit, visit http://devel.samba.org/ for information on how to do it properly. We prefer patches in diff -u format. CONTRIBUTORS
Contributors to the project are now too numerous to mention here but all deserve the thanks of all Samba users. To see a full list, look at the change-log in the source package for the pre-CVS changes and at http://cvs.samba.org/ for the contributors to Samba post-CVS. CVS is the Open Source source code control system used by the Samba Team to develop Samba. The project would have been unmanageable without it. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. Samba 3.5 06/18/2010 SAMBA(7)
All times are GMT -4. The time now is 08:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy