summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc/kcc_connection.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-22 11:15:56 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-23 07:17:56 +0000
commitc166b44b4756c2e038ebbbe27898aff0a5c954da (patch)
treec47c4fa4a6dee62477ed73f94fc007357f76285c /source4/dsdb/kcc/kcc_connection.c
parentb6f149eec38a69aea2efec307c559e08721a26ca (diff)
downloadsamba-c166b44b4756c2e038ebbbe27898aff0a5c954da.tar.gz
samba-c166b44b4756c2e038ebbbe27898aff0a5c954da.tar.bz2
samba-c166b44b4756c2e038ebbbe27898aff0a5c954da.zip
s4-kcc: pass the service context into the kcc connection code
this will be used for the RODC changes needed for the kcc
Diffstat (limited to 'source4/dsdb/kcc/kcc_connection.c')
-rw-r--r--source4/dsdb/kcc/kcc_connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/kcc/kcc_connection.c b/source4/dsdb/kcc/kcc_connection.c
index 76b07b653b..48c63255a1 100644
--- a/source4/dsdb/kcc/kcc_connection.c
+++ b/source4/dsdb/kcc/kcc_connection.c
@@ -25,8 +25,8 @@
#include "auth/auth.h"
#include "smbd/service.h"
#include "lib/messaging/irpc.h"
-#include "dsdb/kcc/kcc_connection.h"
#include "dsdb/kcc/kcc_service.h"
+#include "dsdb/kcc/kcc_connection.h"
#include "lib/ldb/include/ldb_errors.h"
#include "../lib/util/dlinklist.h"
#include "librpc/gen_ndr/ndr_misc.h"
@@ -177,7 +177,7 @@ struct kcc_connection_list *kccsrv_find_connections(struct kccsrv_service *s,
const char *attrs[] = { "objectGUID", "fromServer", NULL };
struct kcc_connection_list *list;
- kcctpl_test(s->samdb);
+ kcctpl_test(s);
base_dn = samdb_ntds_settings_dn(s->samdb);
if (!base_dn) {