]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-dnssrv/init.c
ITS#2884 silence warning. We don't dereference this pointer, we just use
[openldap] / servers / slapd / back-dnssrv / init.c
index 9b4059f827c08fb6d738dd7d778aa81d6d3cd3e6..d84c9176d518e46978b56dce1275c7634986de2a 100644 (file)
@@ -1,8 +1,22 @@
 /* init.c - initialize ldap backend */
 /* $OpenLDAP$ */
-/*
- * Copyright 2000-2002 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 2000-2003 The OpenLDAP Foundation.
+ * Portions Copyright 2000-2003 Kurt D. Zeilenga.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
+ */
+/* ACKNOWLEDGEMENTS:
+ * This work was originally developed by Kurt D. Zeilenga for inclusion
+ * in OpenLDAP Software.
  */
 
 #include "portable.h"
@@ -16,7 +30,7 @@
 
 #ifdef SLAPD_DNSSRV_DYNAMIC
 
-int back_dnssrv_LTX_init_module(int argc, char *argv[])
+int init_module(int argc, char *argv[])
 {
     BackendInfo bi;
 
@@ -36,6 +50,7 @@ dnssrv_back_initialize(
 {
        static char *controls[] = {
                LDAP_CONTROL_MANAGEDSAIT,
+               LDAP_CONTROL_VALUESRETURNFILTER,
                NULL
        };
 
@@ -65,8 +80,6 @@ dnssrv_back_initialize(
        bi->bi_op_unbind = 0;
 
        bi->bi_extended = 0;
-       bi->bi_acl_group = 0;
-       bi->bi_acl_attribute = 0;
 
        bi->bi_connection_init = 0;
        bi->bi_connection_destroy = 0;