s4-cldap: don't set the writable bit when we are a RODC
[nivanova/samba-autobuild/.git] / source4 / cldap_server / cldap_server.h
index 2eaf59401f50da47f59f36065c4c20b6b05eed20..fe7788f7738210f9e1f1f8e859dd2c71dda58194 100644 (file)
@@ -20,6 +20,7 @@
 */
 
 #include "libcli/cldap/cldap.h"
+#include "libcli/ldap/libcli_ldap.h"
 
 /*
   top level context structure for the cldap server
@@ -43,6 +44,7 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx,
                                          const char *src_address,
                                          uint32_t version,
                                          struct loadparm_context *lp_ctx,
-                                         struct netlogon_samlogon_response *netlogon);
+                                         struct netlogon_samlogon_response *netlogon,
+                                        bool fill_on_blank_request);
 
 #include "cldap_server/proto.h"