version 1.31, 2000/05/15 19:22:57
|
version 1.32, 2000/05/16 14:22:52
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.29 2000/05/15 14:33:07 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.31 2000/05/15 19:22:57 kurt Exp $ */ |
/* root_dse.c - Provides the ROOT DSA-Specific Entry |
/* root_dse.c - Provides the ROOT DSA-Specific Entry |
* |
* |
* Copyright 1999-2000 The OpenLDAP Foundation. |
* Copyright 1999-2000 The OpenLDAP Foundation. |
Line 17
|
Line 17
|
|
|
#include "slap.h" |
#include "slap.h" |
|
|
void |
int |
root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly ) |
root_dse_info( Entry **entry, char **text ) |
{ |
{ |
char buf[BUFSIZ]; |
char buf[BUFSIZ]; |
Entry *e; |
Entry *e; |
Line 121 root_dse_info( Connection *conn, Operati
|
Line 121 root_dse_info( Connection *conn, Operati
|
attr_merge( e, ad_ref, default_referral ); |
attr_merge( e, ad_ref, default_referral ); |
} |
} |
|
|
send_search_entry( &backends[0], conn, op, |
*entry = e; |
e, attrs, attrsonly, NULL ); |
return LDAP_SUCCESS; |
|
|
send_search_result( conn, op, LDAP_SUCCESS, |
|
NULL, NULL, NULL, NULL, 1 ); |
|
|
|
entry_free( e ); |
|
} |
} |
|
|