Re: [Samba] Question about command line tools.

2009-09-20 Thread Adam Nielsen
> Then I'm using smbclient command to get shares from every ip. > I have one problem to solve. > How I can check if share needs password and user ? Can you use "smbclient -N" to log in anonymously and check for success? If it fails it means you'll need a password. Bear in mind that servers can

[Samba] Question about command line tools.

2009-09-20 Thread Tomasz Kobiela - Amazis.net
Hello. I have searched net for this information and I could find solution for my problems. I'm writing a perl script which searches local network for computers with windows shares. I have done this by executing nmblookup -M -- - From this command I get a list of computer (by ip) with MSBROWSE