summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-14 11:48:43 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-14 11:48:43 +0200
commit434e625e45a03889596999eb4301bb54128c31a9 (patch)
tree0d18efc76c6846fb77283f4054eb15fe9defc2d9 /source4/scripting/python
parent2bb20aa8a8ff1170fd4d2a349a421990b0d7c235 (diff)
downloadsamba-434e625e45a03889596999eb4301bb54128c31a9.tar.gz
samba-434e625e45a03889596999eb4301bb54128c31a9.tar.bz2
samba-434e625e45a03889596999eb4301bb54128c31a9.zip
Add in a way to get at the private_path() function from python
Andrew Bartlett (This used to be commit 416d2e3a5233f0c243e45857cfda5126c34ac265)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/misc.i5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/misc.i b/source4/scripting/python/misc.i
index e04e6a6906..6fa3bc93e3 100644
--- a/source4/scripting/python/misc.i
+++ b/source4/scripting/python/misc.i
@@ -78,3 +78,8 @@ bool dsdb_set_ntds_invocation_id(struct ldb_context *ldb, const char *guid)
return samdb_set_ntds_invocation_id(ldb, &invocation_id_in);
}
%}
+
+char *private_path(TALLOC_CTX* mem_ctx,
+ struct loadparm_context *lp_ctx,
+ const char *name);
+