From 3b16c532f21202696d54ef87f8fa74d066812898 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 14 Jan 2008 05:16:51 +0100 Subject: pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC. (This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b) --- source4/foo.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/foo.py') diff --git a/source4/foo.py b/source4/foo.py index 0e2d35f080..21a422ce01 100644 --- a/source4/foo.py +++ b/source4/foo.py @@ -18,5 +18,10 @@ # from echo import rpcecho +from param import LoadParm -x = rpcecho("ncalrpc:") +lp = LoadParm() +lp.load("st/client/client.conf") + +x = rpcecho("ncalrpc:", lp) +print x.AddOne(41) -- cgit