Exemplo n.º 1
0
 static LdapPagedResultsControl()
 {
     // This is where we register the control responses
     {
         // Register the Paged Results Response class, which is returned by the server
         // in response to a Paged Results Request - same OID
         try
         {
             LdapControl.register(responseOID, System.Type.GetType("Novell.Directory.Ldap.Controls.LdapPagedResultsResponse"));
         }
         catch (System.Exception e)
         {
             System.Console.Error.WriteLine("Could not register response control for LdapPagedResultsControl");
             System.Console.Error.WriteLine("Error message: " + e.Message);
         }
     }
 }
Exemplo n.º 2
0
 static LdapVirtualListControl()
 {
     /*
      * This is where we register the control responses
      */
     {
         /* Register the VLV Sort Control class which is returned by the server
          * in response to a VLV Sort Request
          */
         try
         {
             LdapControl.register(responseOID, System.Type.GetType("Novell.Directory.Ldap.Controls.LdapVirtualListResponse"));
         }
         catch (System.Exception e)
         {
         }
     }
 }
Exemplo n.º 3
0
 static LdapSortControl()
 {
     /*
      * This is where we register the control responses
      */
     {
         /*
          * Register the Server Sort Control class which is returned by the
          * server in response to a Sort Request
          */
         try
         {
             LdapControl.register(responseOID, Type.GetType("Novell.Directory.Ldap.Controls.LdapSortResponse"));
         }
         catch (Exception)
         {
         }
     }
 }
Exemplo n.º 4
0
        static LdapPersistSearchControl()
        {
            s_encoder = new LBEREncoder();

            /*
             * This is where we register the control response
             */
            {
                /* Register the Entry Change control class which is returned by the
                 * server in response to a persistent search request
                 */
                try
                {
                    // Register LdapEntryChangeControl
                    LdapControl.register(responseOID, System.Type.GetType("Novell.Directory.Ldap.Controls.LdapEntryChangeControl"));
                }
                catch (System.Exception e)
                {
                }
            }
        }
Exemplo n.º 5
0
 static LdapVirtualListControl()
 {
     /*
      * This is where we register the control responses
      */
     {
         /*
          * Register the VLV Sort Control class which is returned by the server
          * in response to a VLV Sort Request
          */
         try
         {
             LdapControl.register(responseOID, System.Type.GetType("Novell.Directory.Ldap.Controls.LdapVirtualListResponse"));
         }
         catch (System.Exception e)
         {
             System.Console.Error.WriteLine("Could not register response control for LdapVirtualListControl");
             System.Console.Error.WriteLine("Error message: " + e.Message);
         }
     }
 }