[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Solaris 8 Ldap Native Support
http://www.ypass.net/solaris8/openldap/
first search result when searching for "solaris openldap" on google.
I followed these instructions with 2.1.2 and it work fine, no patch
needed. I did not get Solaris 9 to work as yet but it might have been an
error on my part.
good luck.
--Kervin
>
> Hi,
> I can't attach solaris 8 to a OpenLDAP 2.0.23.
> I hope someone will help. Thanks in advance.
>
> - I installed Openldap 2.0.23 on solaris 8 (BerkeleyDB 3.2.9). It seems
> it works fine.
> - I chose not to install neither SASL nor TSL because the Network is
> considered secure"
> - I populated it with some test users (fictious users).
>
> I'd like to use the sun native support for authentication and i read
> that OpenLDAP needs to be patched.
> I found a patch by Igor B. which doesn't work (make fails).
> I found another patch I can't apply (patch fails claiming that it can't
> recognize the format).
>
> At the moment sun's ldapclient stops on "Can't find rootDN" due to the
> missing patch.
> Provided what stated above:
>
> 1) Where can I find a working patch?
> 2) Am I wrong trying to apply the patch with "patch < <patch_file>" ?
> 3) Does the OpenLDAP 2.1.3 avoid the patching (i.e. answers with the
> rootDN to ldapclient?)
>
> I spent enough time on the topic. I'm considering to use padl's
> modules.
>
> Any help is welcome.
> Walter
>
>
>
>
> /*****************************
> /******** Patch by IGOR
> /*****************************
> --- servers/slapd/result.c.orig Fri Sep 8 12:59:11 2000
> +++ servers/slapd/result.c Fri Sep 8 18:38:50 2000
> @@ -628,8 +628,10 @@
> /* all addrs request, skip operational attributes */
> if( is_at_operational( desc->ad_type ) )
> {
> - continue;
> - }
> + if (strcasecmp( e->e_dn, LDAP_ROOT_DSE )) {
> + continue;
> + }
> + }
>
> } else {
> /* specific addrs requested */
> @@ -700,7 +702,9 @@
> if ( attrs ðNULL ) {
> /* all addrs request, skip operational attributes */
> if( is_at_operational( desc->ad_type ) ) {
> - continue;
> + if (strcasecmp( e->e_dn, LDAP_ROOT_DSE )) {
> + continue;
> + }
> }
>
> } else {
>
> /****************************
> /******** Another Patch
> /****************************
> *** servers/slapd/result.c.orig Mon Dec 11 16:56:48 2000
> --- servers/slapd/result.c Mon Dec 11 16:58:24 2000
> ***************
> *** 628,634 ****
> /* all addrs request, skip operational attributes */
> if( is_at_operational( desc->ad_type ) )
> {
> ! continue;
> }
>
> } else {
> --- 628,636 ----
> /* all addrs request, skip operational attributes */
> if( is_at_operational( desc->ad_type ) )
> {
> ! if (strcasecmp( e->e_dn, LDAP_ROOT_DSE )) {
> ! continue;
> ! }
> }
>
> } else {
> ***************
> *** 700,706 ****
> if ( attrs ðNULL ) {
> /* all addrs request, skip operational attributes */
> if( is_at_operational( desc->ad_type ) ) {
> ! continue;
> }
>
> } else {
> --- 702,711 ----
> if ( attrs ðNULL ) {
> /* all addrs request, skip operational attributes */
> if( is_at_operational( desc->ad_type ) ) {
> ! /* Hack for solaris */
> ! if (strcasecmp( e->e_dn, LDAP_ROOT_DSE )) {
> ! continue;
> ! }
> }
>
> } else {
>
> /**********************************************************