s4-dsdb: create a static system_session context
[ira/wip.git] / source4 / auth / auth.h
index 8a0f12efd8aae39077d2ccdc51e16b70d340c91c..49cf161241400045f24a8fcdf8bc22b680d2ac0d 100644 (file)
@@ -236,7 +236,7 @@ NTSTATUS authsam_account_ok(TALLOC_CTX *mem_ctx,
                            const char *name_for_logs,
                            bool allow_domain_trust,
                            bool password_change);
-struct auth_session_info *system_session(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx);
+struct auth_session_info *system_session(struct loadparm_context *lp_ctx);
 NTSTATUS authsam_make_server_info(TALLOC_CTX *mem_ctx, struct ldb_context *sam_ctx,
                                           const char *netbios_name,
                                           const char *domain_name,