[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Solaris 8 Ldap Native Support



If you follow this link
http://www.cse.sc.edu/~jqu/work/systemadmin/LDAP.html, install by the
instruction.  I did this working fine for me on solaris 8.



                                                                                                                                    
                      "Walter Vendraminetto"                                                                                        
                      <lists@zonatex.net>              To:       <openldap-software@OpenLDAP.org>                                   
                      Sent by:                         cc:                                                                          
                      owner-openldap-software@O        Subject:  Solaris 8 Ldap Native Support                                      
                      penLDAP.org                                                                                                   
                                                                                                                                    
                                                                                                                                    
                      07/11/2002 12:03 PM                                                                                           
                                                                                                                                    
                                                                                                                                    





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 {

/**********************************************************