[389-users] Perl/python script to sync with AD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Prashanth Sundaram wrote:
> Dear All,
>
> I finally got the 389-ds working with PAM-PTA and everything looks 
> fine so far. I am investigating on scripting the AD sync using 
> perl/python/ldapscripts(shell). Anybody has any advice on the choice. 
> I see perl?s Net:LDAP is pretty comprehensive with easy to use 
> functions, but just in case if your opinion differs. I have a Perl 
> script which partially does the job and wouldn't mind sharing if you 
> want to take a peep.
>
> requirements:
>
>    1. Sync one-way from AD --> LDAP with only posix attributes.
>    2. Disable/delete accounts in ldap if disabled/deleted in AD.
>    3. Sync Groups and its members.
>
Sounds very nice. I'm sure the 389 community would be interested. Is the 
code available on the web somewhere? What is the license?

I have a python-ldap module which implements support for the AD DirSync 
control (which is what 389 winsync uses to get changes from AD). It is 
available here - http://github.com/richm/scripts - dirsyncctrl.py

If you need a place to keep track of your code, I recommend github.
>
>   1.
>
>
>
> PS: I am a newbie with scripting.
>
> Thanks,
> Prashanth
>
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20091106/0c7754be/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux