Till: I don't remember how rpcclient is used, sorry. I haven't been able to get it to work without requiring a password.
However, smbclient gives truncated share names. Something more like this is interesting:
http://rc.quest.com/viewvc/samba/vendor/stable/source/python/examples/spoolss/enumprinters.py?revision=13&view=markup&pathrev=13
Is is an example of the experimental Samba Python bindings.
Till: I don't remember how rpcclient is used, sorry. I haven't been able to get it to work without requiring a password.
However, smbclient gives truncated share names. Something more like this is interesting:
http:// rc.quest. com/viewvc/ samba/vendor/ stable/ source/ python/ examples/ spoolss/ enumprinters. py?revision= 13&view= markup& pathrev= 13
Is is an example of the experimental Samba Python bindings.