[Samba] 3.0.11 - configure can't see ldap.h

Mike samba at phivegills.com
Mon Feb 7 23:44:27 GMT 2005

Gerald (Jerry) Carter wrote:

> Mike.  Did you actually run make install in the
> openldap/ directory?
> Look at your script:
>     CPPFLAGS="-I/usr/src/openldap-2.2.23/"
> why would *.h files be there ?
> And then you tell the build script to look in
> /usr/local/openldap/.
> I'm confused at your setup here.
> Make sure you run make install in the openldap source tree.  That will
> install the headers and libs in /usr/local/{include,lib}
> Your compiler will normally pick that up by default but if
> not then set DIRPATH="/usr/local" in the script I sent you.

I'm sorry.  I'm making mistakes because I don't understand the build 
process that well or the overall picture with Samba3 and Win2K3 AD.  I 
did all this easily with Samba2 in an NT4 environment.  It's been 
frustrating to me how much more it seems has to be done to do the same 
thing as smb2/nt4.  Reading the Samba docs is like picking bits of 
information off several pages to put the pieces together.  While I know 
what "I" want to do, the doc's speak too generally for me.

I didn't know OpenLDAP had to be built and installed.  I thought Samba 
only needed to support it and thus needed a few files from it.  And I'm 
sure admitting that will make me look wonderful.  I just want a Samba 
client to a Win2K3 domain that auth's users from accounts on the Win2K3 
server.  And for the life of me I can't find a tut anywhere to help 
guide me.  It seems like a popular config.

As my luck would have it, OpenLDAP won't configure now.

configure: error: BDB/HDB: BerkeleyDB version incompatible

I will just keep going through the docs I guess and try to get a better 
handle on what I need.  I appreciated the time you've spent trying to 
help me.



More information about the samba mailing list