The following fix to pdb_lda.c is needed to fix ldapsam_compat for
3.0.6/7. See mail from Ivano Cristofolini dated 15 Sept 2004.

@@ -1228,8 +1228,11 @@
static void append_attr(char ***attr_list, const char *new_attr)
{
int i;

+ if (new_attr == NULL)
+ return;
+
for (i=0; (*attr_list)[i] != NULL; i++)
;

(*attr_list) = Realloc((*attr_list), sizeof(**attr_list) *
(i+2));


Regards,
-Vince

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Vince Brimhall
vbrimhall@novell.com

Novell, Inc., The leading provider of Net Business Solutions
http://www.novell.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~