Bug 3140 - Build problem with openLdap and Samba
Build problem with openLdap and Samba
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.20a
PPC AIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-05 19:30 UTC by k j gerhart
Modified: 2006-05-16 15:42 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k j gerhart 2005-10-05 19:30:28 UTC
Using AIX 5.2 6m
OpenLdap 2.3.4

export LIBS= -lldap
and get errors of undefines in libldap but ldap seems to be working fine.  It 
has undefines for SSL items but openLdap does not use options for SSL. Has 
anyone been able to get openLdap and Samba working on AIX. Bull's freeware 
binaries don't have Ldap.  Will Samba work with IBM's Secure Directory? (IBM 
ldap).

I've found that if I make openldap static the Samba configure can never find 
the ldap libraries because of the SSL errors.

If openLdap needs openSSL libraries then the problem maybe that AIX can't 
build a shared version of openSSL. 

Like everyone else I'd like to replace my NT servers with Ldap and Samba 
running on AIX. Would be interested in maintaining AIX once I put this into 
production.

Thanks
Comment 1 William Jojo 2006-01-07 07:32:38 UTC
(In reply to comment #0)
> Using AIX 5.2 6m
> OpenLdap 2.3.4
> export LIBS= -lldap
> and get errors of undefines in libldap but ldap seems to be working fine.  It 
> has undefines for SSL items but openLdap does not use options for SSL. Has 
> anyone been able to get openLdap and Samba working on AIX. Bull's freeware 
> binaries don't have Ldap.  Will Samba work with IBM's Secure Directory? (IBM 
> ldap).
> I've found that if I make openldap static the Samba configure can never find 
> the ldap libraries because of the SSL errors.
> If openLdap needs openSSL libraries then the problem maybe that AIX can't 
> build a shared version of openSSL. 
> Like everyone else I'd like to replace my NT servers with Ldap and Samba 
> running on AIX. Would be interested in maintaining AIX once I put this into 
> production.
> Thanks

You are correct that OpenSSL cannot be built shared on AIX. Although there are several googles that say you can, I've had mixed results.

You can however do two possible things. I am now the binary maintainer for AIX. You can either get the binaries and use them, or if you still want to "take control" :-) you can look at the README in the binary area which contains the steps I used to build a static environment. If you want shared objects, I can email you the steps I use for our production boxes.

Cheers,

Bill
Comment 2 Gerald (Jerry) Carter 2006-04-20 08:03:36 UTC
severity should be determined by the developers and not the reporter.
Comment 3 Gerald (Jerry) Carter 2006-05-16 15:42:35 UTC
closing in response to Bill's comments.