Hi Roger,
Infact I am looking at getting list of shared folders on all windows machines in my network.
My application I am working on must show a list of windows machines and shared folders in them. when user selects the shared folder on a windows machine, it will ask for authentication and will mount that folder on my mac.
When I am running the command "smbtree", its giving following error:
Error connecting to x.x.x.x (Invalid argument)
cli_full_connection: failed to connect to x.x.x.x<20> (x.x.x.x)
Error connecting to x.x.x.x (Invalid argument)
cli_full_connection: failed to connect to 121-SLES64SP1-W<20> (x.x.x.x)
If you can provide some sample script to achive this, it will be much help full.
Thanks
|