summaryrefslogtreecommitdiff
path: root/source4/libcli/security/security.i
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-19 00:06:14 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-19 00:06:14 +0200
commitdb0abee678f7b079b32d08334682fcee442e206b (patch)
treed168cc6be50028944d315551bb58cb5e3b4018ca /source4/libcli/security/security.i
parent21897a0539e31c81bb7105fc5da7829a7d58f41e (diff)
parentba5fe7122586d8b382bf78f1e1cb5dbe4293c27b (diff)
downloadsamba-db0abee678f7b079b32d08334682fcee442e206b.tar.gz
samba-db0abee678f7b079b32d08334682fcee442e206b.tar.bz2
samba-db0abee678f7b079b32d08334682fcee442e206b.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
Diffstat (limited to 'source4/libcli/security/security.i')
-rw-r--r--source4/libcli/security/security.i8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/libcli/security/security.i b/source4/libcli/security/security.i
index 1d964cc3d5..6ba106bb5f 100644
--- a/source4/libcli/security/security.i
+++ b/source4/libcli/security/security.i
@@ -27,8 +27,8 @@ typedef struct security_token security_token;
typedef struct security_descriptor security_descriptor;
%}
-%import "../../lib/talloc/talloc.i"
-%import "../util/errors.i"
+%import "../lib/talloc/talloc.i"
+%include "../util/errors.i"
%import "stdint.i"
enum sec_privilege {
@@ -117,6 +117,10 @@ typedef struct dom_sid {
#endif
bool equal(const struct dom_sid *other);
}
+%pythoncode {
+ def __repr__(self):
+ return "Sid(%r)" % str(self)
+}
} dom_sid;
%feature("docstring") random_sid "random_sid() -> sid\n" \