/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1999-2006 The OpenLDAP Foundation.
+ * Copyright 1999-2009 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
}
for ( j = 0; be->be_suffix[j].bv_val != NULL; j++ ) {
if( attr_merge_one( e, ad_namingContexts,
- &be->be_suffix[j],
- &be->be_nsuffix[0] ) )
+ &be->be_suffix[j], NULL ) )
{
goto fail;
}
LDAP *ld = NULL;
LDAPMessage *res = NULL, *entry;
int rc, i;
- struct berval cred = BER_BVC( "" ),
- bv_val,
+ struct berval bv_val,
**values = NULL;
char *attrs[ 2 ] = { NULL, NULL };