I'm trying to build Samba against the libldap/libsasl from the SDK of the Sun
directory server 5.2 under Solaris 8. Due to the fact that there are two
functions missing in the libldap from Sun, it is not possible to get LDAP
support for the 5.2 directory server. The missing functions are:
ldap_domain2hostlist and ldap_initialize
I will attach the config.log so that you can see what happens. How can we solve
Created attachment 500 [details]
I am pretty sure that Samba only supports OpenLDAP at the moment.
Jerry, is this correct?
Marking this as an enhancement.
Thomas, I thought you were going to work on getting this up
and running ? If so, then I guess that this report is to help
you track progress?
I opened this bug ID, because I'm not able to solve this problem. I solved the
problem with libsasl (see bug ID 1331) but now I need help.
When running configure the tests for ldap_domain2hostlist and ldap_initialize
fail and therefor no LDAP support is available. I think configure has to be
modified in this was, that in this specific case it will generate the needed
definitions for the two functions, but I don't know if this is the rigth solution.
In your opinion, what might be a solution for this problem?
I did some examination about ldap_domain2hostlist and ldap_initialize.
ldap_domain2hostlist is used in libsmb/namequery.c and utils/net_lookup.c
ldap_initialize is used in lib/smbldap.c and libads/ldap.c
question: would it be possible to replace this two functions in the files
mentioned above and delete the tests form them in configure? If yes, I think
this would be a good way to solve the problem. If not, how can we provide this
When I look at the sources of libldap from openldap, ldap_initialize is defined
in open.c and ldap_domain2hostlist is defined in dnssrv.c
Would it be possible to replace the function-calls for the two functions in
samba with the sourcecode from openldap?
Or do you have another solution for this problem?
not planning on support Sun's libs.