compile python-ldap on macosx

Joe Little jlittle at
Sat Oct 26 20:20:19 CEST 2002

its an openldap to Netinfo bridge, done by Luke Howard ( In 
other words.. its as clean as you can get. Its compliant and works 
fine. I'm already using it as such in one case. Anybody can modify the 
schema to be what not and it won't break anything, since by default the 
system uses Netinfo and not LDAP and some steps are required to 
activate the LDAP bridge.

Software update won't modify the slapd.conf to my knowledge. That is 
generated one time with a mkslapdconf command from the netinfo sources 
(during activation). Its similar to what a .deb or .rpm would do with 
the default slapd.conf -- not change it unless its not there.

On Saturday, October 26, 2002, at 07:48 AM, Jens Vagelpohl wrote:

> looking at the configuration files under /etc/openldap i suppose this 
> "built-in" ldap server is designed to serve NetInfo data through LDAP. 
> not sure what that is supposed to be good for on a normal OS X > install.
> i'd be weary to try and use that server to serve out other stuff as 
> well. i'm not sure Software Update would recognize changes and not 
> just replace the files the next time there is an updated ldap bundle.
> jens
> On Saturday, Oct 26, 2002, at 03:22 US/Eastern, Michael Engelhart 
> wrote:
>> Hello Juergen,
>> I just recently installed python-ldap on a stock Mac OS 10.2 
>> powerbook using the stock python 2.2 distribution that is installed.
>> first  - in do change the first 2 lines to:
>> library_dirs = /usr/lib
>> include_dirs = /usr/include
>> I believe you'll get that same gcc error message but after you run 
>> python build, do a:
>> sudo python install
>> and it should install the libraries fine.
>> I am new  to OpenLDAP so I'm having lots of trouble modifying entries 
>> and will be posting here soon but want to make sure my OpenLDAP 
>> configuration is setup correctly before I do that.
>> BTW, for those who were asking, OpenLDAP v 2.1.0 is what is installed 
>> by default on Mac OS X v 10.2   There may have been some minor 
>> changes in the latest System update but it's at least 2.1.x
>> Cheers
>> Mike
>> On Friday, October 25, 2002, at 07:38  AM, J. Scholtes wrote:
>>> Hi.
>>> I'm new to the list. In the list-archive I didn't find much about 
>>> macosx, so here is my post.
>>> I'm trying to set up ZOPE with the LDAPuserFolder on a macosx-system 
>>> and therefor I need python-ldap. But I#m not able to compile it on 
>>> MacOsX 10.2
>>> Is anyone on the List who did it successfull ?
>>> thanks
>>> Juergen Scholtes

More information about the python-ldap mailing list