]> git.sur5r.net Git - openldap/commitdiff
ITS#6002 fix attrset unparse
authorHoward Chu <hyc@openldap.org>
Thu, 5 Mar 2009 23:44:18 +0000 (23:44 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 5 Mar 2009 23:44:18 +0000 (23:44 +0000)
servers/slapd/overlays/dynlist.c

index 736e641a471c3f48f248447da7d061eadca5763f..8e90185296e006ce264e23293aecc5dee631fae9 100644 (file)
@@ -1262,8 +1262,8 @@ dl_cfgen( ConfigArgs *c )
                                }
 
                                *ptr++ = ' ';
-                               ptr = lutil_strncopy( ptr, dli->dli_oc->soc_cname.bv_val,
-                                       dli->dli_oc->soc_cname.bv_len );
+                               ptr = lutil_strncopy( ptr, dli->dli_ad->ad_cname.bv_val,
+                                       dli->dli_ad->ad_cname.bv_len );
 
                                for ( dlm = dli->dli_dlm; dlm; dlm = dlm->dlm_next ) {
                                        ptr[ 0 ] = ' ';