Convert Active Directory schema to XML or JSON
As I mentioned yesterday, Christoph is currently developing the Active Directory Integration WordPress plugin. Today we were talking about the write back of WordPress profile settings to Active Directory. I mentioned it would be helpful to have an abstract definition of available Active Directory attributes which can be dynamically integrated into WordPress.
Suggest that you can select wished Active Directory attributes in WordPress from a list and Active Directory Integration will automatically generate the designated input fields or disable the field if write back is not allowed (e.g. for login time). All information are already existent in Active Directory namely stored in Active Directory Schema Configuration.
Because I had to take a break from preparing my next math exam I fired up Notepad++ and did a quick hack in PHP. The converter transforms a given LDIF input file into XML or JSON which then can be used as template for systems using Active Directory attributes.