[python-ldap] Problem with sync_ldap_groups_to_svn_authz.py
Michael Ströder
michael at stroeder.com
Tue Jul 15 10:02:16 CEST 2014
David Zamora wrote:
> Basically I want to run a POC using this tool. I am working on a Windows
> Server 2008.
I've never used sync_ldap_groups_to_svn_authz.py myself.
> I just downloaded Python 2.7.8 version and Python LDAP-2.4.15
And you run the installer I presume.
> I opened the GUI console and tried to execute the script
> sync_ldap_groups_to_svn_authz.py.
On-topic on this list:
At first you can simple type
import ldap
in the Python interpreter to check whether python-ldap was installed correctly.
> The problem that I have is: This .py file is not located at any Lib folder.
> Actually I was looking for in the entire hard drive.
>
> I am wondering if the newest version change the name of the file, I want
> to execute soething like this:
>
> python sync_ldap_groups_to_svn_authz.py -d
> "CN=XX,OU=Generic-Account,OU=Resources,DC=AAA,DC=corp,DC=BBB,DC=com" -l "
> soething.corp.com" -b "DC=corp,DC=CCC,DC=com" -i "sAMAccountName" >
> svn_auth.txt
Rather off-topic on this list:
Under Windows you should type the full path of the Python interpreter followed
by the full path of the script.
Ciao, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2398 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20140715/c209fc9f/attachment.bin>
More information about the python-ldap
mailing list