- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: smbclient-error "find: bad option -maxdepth" o...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 12:02 AM
тАО05-14-2004 12:02 AM
I've installed HP:s CIFSclient on a HP-UX 11i node from where I put files to a NT-share with the smbclient command and it works fine on that node. Now I do the same thing on two other HP-UX-nodes and I get the error "find: bad option -maxdepth" then I try to use smbclient exactly in the same way and with the same files on these node. Has anyone an ide? I am stuck.
Kindly, Lena Stahl
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 01:09 AM
тАО05-14-2004 01:09 AM
Re: smbclient-error "find: bad option -maxdepth" on HP-UX
I haven't seen that error before! Are you running the same version of the client on all 3 nodes?
It would also be useful if you could post the exact commands you used & their responses.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 02:10 AM
тАО05-14-2004 02:10 AM
Re: smbclient-error "find: bad option -maxdepth" on HP-UX
You are right. I have different versions of the smbclient binary, even if I have installed them from the same depot. One of them must have come from some other installation (OS-patch install 11i dec 2003?). On the node it works the binary is: "485057Oct 10 2000 /opt/samba/bin/smbclient" and on the other it is: "499712 Jun 21 2001 /opt/samba/bin/smbclient". So the newer one does not seem to work. I try to find out what has happend on our nodes... :-)
Lena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 02:57 AM
тАО05-14-2004 02:57 AM
SolutionRunning swlist -l fileset | grep -i cifs will show you the CIFS server and client versions, so it's worth running that on each node. I'm not sure, but I'd imagine that smbclient is actually part of the CIFS server software (the CIFS client is used if you use cifsmount or mount -F cifs, whereas smbclient is more like an ftp style interface.)
If you suspect that the newer version of smbclient has a problem and you have a valid HP software contract then I'd suggest that you log a software call to get this investigated.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2004 07:46 AM
тАО05-14-2004 07:46 AM
Re: smbclient-error "find: bad option -maxdepth" on HP-UX
You seems to be right again! The smbclient belongs to the CIFS-Server and not to the CIFS-client and I have different versions of the CIFS-Server. The one I get to work is v A.01.04 and the one that does not work is A.01.07. What happens is (I put x:s instead of read stuff in this description):
/home/lena# /opt/samba/bin/smbclient \\\\xxxx\\xxxxx$ xxxx -U xxxx -c "prompt;mput *.txt"
added interface ip=151.156.192.36 bcast=151.156.192.255 nmask=255.255.255.0
added interface ip=192.168.192.36 bcast=192.168.192.255 nmask=255.255.255.0
Domain=[EUR] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
prompting is now off
find: bad option -maxdepth
ekoz:/home/lena#
For me it seems that the find command is using the option maxdepth and that's not supported, or?
Lena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 10:54 PM
тАО05-16-2004 10:54 PM
Re: smbclient-error "find: bad option -maxdepth" on HP-UX
Well, both versions of the CIFS server that you are running are quite old! The latest version is A.01.11 which is available from http://software.hp.com
It's quite likely that this problem has been fixed in the newer version. Even if it hasn't, I'd suggest you'd upgrade for 2 main reasons:
1) version prior to A.01.09.04 (I think) have security bulletins on them for security related issues.
2) if a fix to the smbclient is provided, it will be released with the latest version rather than an old version.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 12:43 AM
тАО05-17-2004 12:43 AM
Re: smbclient-error "find: bad option -maxdepth" on HP-UX
And many thanks for your help. I have downloaded and installed CIFS-Server v A.01.11 and it's smbclient works fine now. I am pleased. :-))
Thanks, Lena