Chetan Kothari wrote:
>I would be modifying the schema in the Sun One Directory Server (version 5.2). We do this using the Netscape LDAP client APIs in C. However, we are considering using python for some portions of the application and need to modify the schema from python.
>
>
Then you can use LDAP modify operations with add, using attribute types
"attributeTypes" and "objectClasses" and the RFC 2252 syntax for the
values. For reference, see the schema files supplied with the server,
or just do an ldapsearch of cn=schema.
>Thanks....
>
>regards,
>Chetan
>
>-----Original Message-----
>From: Richard Megginson [mailto:ric...@gm...]
>Sent: Thursday, September 08, 2005 3:10 PM
>To: Chetan Kothari
>Cc: pyt...@li...
>Subject: Re: Sample python scripts to modify the schema in the Directory
>Server
>
>
>Chetan Kothari wrote:
>
>
>
>>>Hi,
>>>
>>>I have just started using the python-ldap module. I was wondering if there are any sample script or existing programs that would allow me to modify the schema (add objectclasses and attributes) to the schema in the Directory Server.
>>>My application needs to extend the schema as some of the entries need to use attributes not defined in the standard schema.
>>>
>>>I am assuming that I can do this by using the "modify_s" routine. But is there any other module or program that does this?
>>>
>>>
>>>
>>>
>Modifying schema over LDAP is very server dependent. What LDAP servers
>would you be using?
>
>
>
>>>regards,
>>>Chetan Kothari
>>>Packeteer Inc.
>>>Member of Technical Staff
>>>
>>>
>>>
>>>
>>>
>>-------------------------------------------------------
>>SF.Net email is Sponsored by the Better Software Conference & EXPO
>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>>_______________________________________________
>>Python-LDAP-dev mailing list
>>Pyt...@li...
>>https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
>>
>>
>>
>>
>>
>>
>
>
>
>
|