version 1.61.2.6, 2002/11/11 02:42:37
|
version 1.61.2.7, 2003/02/09 16:31:36
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.61.2.5 2002/08/29 02:10:44 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.74 2003/02/08 20:53:07 kurt Exp $ */ |
/* root_dse.c - Provides the ROOT DSA-Specific Entry |
/* root_dse.c - Provides the ROOT DSA-Specific Entry |
* |
* |
* Copyright 1999-2002 The OpenLDAP Foundation. |
* Copyright 1999-2003 The OpenLDAP Foundation. |
* All rights reserved. |
* All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms are permitted only |
* Redistribution and use in source and binary forms are permitted only |
Line 13
|
Line 13
|
#include "portable.h" |
#include "portable.h" |
|
|
#include <stdio.h> |
#include <stdio.h> |
|
|
#include <ac/string.h> |
#include <ac/string.h> |
|
|
#include "slap.h" |
#include "slap.h" |
|
#ifdef LDAP_SLAPI |
|
#include "slapi.h" |
|
#endif |
#include <ldif.h> |
#include <ldif.h> |
#include "lber_pvt.h" |
#include "lber_pvt.h" |
|
|
Line 134 root_dse_info(
|
Line 138 root_dse_info(
|
return LDAP_OTHER; |
return LDAP_OTHER; |
} |
} |
|
|
|
#ifdef LDAP_SLAPI |
|
/* netscape supportedExtension */ |
|
for ( i = 0; (bv = ns_get_supported_extop(i)) != NULL; i++ ) { |
|
vals[0] = *bv; |
|
attr_merge( e, ad_supportedExtension, vals ); |
|
} |
|
#endif /* LDAP_SLAPI */ |
|
|
/* supportedFeatures */ |
/* supportedFeatures */ |
if( attr_merge( e, ad_supportedFeatures, supportedFeatures ) ) |
if( attr_merge( e, ad_supportedFeatures, supportedFeatures ) ) |
return LDAP_OTHER; |
return LDAP_OTHER; |