pierre at azolia.fr
Tue Oct 28 08:33:47 GMT 2008
I've installed Samba 3.0.28a on a debian based system. Samba is
configured as PDC with ldap as backend.
I'd like to write a pythonscript that allow me to list shares
available for a given user like smbtree (with the right credentials -
ie user not allowed to read a directory won't see the directory).
I've install python-samba but it seems there is no documentation with
it. (note I'd prefer do it with python-samba rather than with
exec(smbtree) or something like that)
Have you guys ever scripted python + samba ?
Have you any idea or even better code snippets ;-) ?
More information about the samba-technical