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

Re: (ITS#3959) [enhancement] map undefined attributes from proxy as "proxied"



ando@sys-net.it wrote:

>A revised patch is in
>
>  
>
>>URL: <ftp://ftp.openldap.org/incoming/p.m.2005-08-22.proxied-attributes.2.patch> 
>>    
>>
The revised patch is yet incorrect; please disregard.  The typo is 
minimal, I'm attaching it here because I seem to be temporarily unable 
to upload it to ftp.openldap.org (this bit of diff was reversed in 
<p.m.2005-08-22.proxied-attributes.2.patch>).

<patch>
diff -u -r1.84 ad.c
--- servers/slapd/ad.c  22 Aug 2005 07:46:17 -0000      1.84
+++ servers/slapd/ad.c  22 Aug 2005 07:58:15 -0000
@@ -738,7 +751,7 @@
                ldap_pvt_str2upper( desc->ad_cname.bv_val );

                /* shouldn't we protect this for concurrency? */
-               desc->ad_type = slap_schema.si_at_undefined;
+               desc->ad_type = at;
                ldap_pvt_thread_mutex_lock( &ad_undef_mutex );
                desc->ad_next = desc->ad_type->sat_ad;
                desc->ad_type->sat_ad = desc;
</patch>



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497