Diff for /servers/slapd/root_dse.c between versions 1.1 and 1.3

version 1.1, 1999/04/19 16:21:53 version 1.3, 1999/04/20 10:17:14
Line 17 Line 17
 #include "slap.h"  #include "slap.h"
   
 void  void
 root_dse_info( Connection *conn, Operation *op )  root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
 {  {
         Entry           *e;          Entry           *e;
         char            buf[BUFSIZ];          char            buf[BUFSIZ];
Line 54  root_dse_info( Connection *conn, Operati Line 54  root_dse_info( Connection *conn, Operati
         /* altServer unsupported */          /* altServer unsupported */
         /* supportedExtension: no extensions supported */          /* supportedExtension: no extensions supported */
         /* supportedControl: no controls supported */          /* supportedControl: no controls supported */
           /* supportedSASLMechanism: not yet */
   
         for ( i=LDAP_VERSION_MIN; i<=LDAP_VERSION_MAX; i++ ) {          for ( i=LDAP_VERSION_MIN; i<=LDAP_VERSION_MAX; i++ ) {
                 sprintf(buf,"%d",i);                  sprintf(buf,"%d",i);
Line 62  root_dse_info( Connection *conn, Operati Line 63  root_dse_info( Connection *conn, Operati
                 attr_merge( e, "supportedLDAPVersion", vals );                  attr_merge( e, "supportedLDAPVersion", vals );
         }          }
                   
         send_search_entry( &backends[0], conn, op, e, NULL, 0 );          send_search_entry( &backends[0], conn, op, e, attrs, attrsonly );
         send_ldap_search_result( conn, op, LDAP_SUCCESS, NULL, NULL, 1 );          send_ldap_search_result( conn, op, LDAP_SUCCESS, NULL, NULL, 1 );
   
         entry_free( e );          entry_free( e );

Removed from v.1.1  
changed lines
  Added in v.1.3


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org