summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-15 18:50:09 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-16 07:24:01 +1000
commite18c0030e065a70f7291eb269112e9f04d5788dc (patch)
tree49cd3e29ae33497610f835b8f7fde3729bd9c23d /source4/dsdb/repl
parente2b6d171d427f9899be8a1bb6781fd09c0094385 (diff)
downloadsamba-e18c0030e065a70f7291eb269112e9f04d5788dc.tar.gz
samba-e18c0030e065a70f7291eb269112e9f04d5788dc.tar.bz2
samba-e18c0030e065a70f7291eb269112e9f04d5788dc.zip
s4-pyjoin: fill in the dns name in the python replication method
this is needed to get the repsFrom DNS entry right Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/drepl_secret.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_secret.c b/source4/dsdb/repl/drepl_secret.c
new file mode 100644
index 0000000000..8a405e794d
--- /dev/null
+++ b/source4/dsdb/repl/drepl_secret.c
@@ -0,0 +1,40 @@
+/*
+ Unix SMB/CIFS mplementation.
+
+ DSDB replication service - repl secret handling
+
+ Copyright (C) Andrew Tridgell 2010
+ Copyright (C) Andrew Bartlett 2010
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#include "includes.h"
+#include "ldb_module.h"
+#include "dsdb/samdb/samdb.h"
+#include "smbd/service.h"
+#include "dsdb/repl/drepl_service.h"
+#include "param/param.h"
+
+
+/**
+ * Called when the auth code wants us to try and replicate
+ * a users secrets
+ */
+void drepl_repl_secret(struct dreplsrv_service *service,
+ const char *user_dn)
+{
+ DEBUG(0,(__location__ ": got drepl_repl_secret with %s\n", user_dn));
+}