git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eccb22c
)
pidl: cope with dom_sid28 in python generator
author
Andrew Tridgell
<tridge@samba.org>
Mon, 30 Aug 2010 05:37:11 +0000
(15:37 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 2 Sep 2010 03:37:07 +0000
(13:37 +1000)
treated the same as dom_sid2
pidl/lib/Parse/Pidl/Samba4/Python.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba4/Python.pm
b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 85ce2d64bae266f5698324e417d340e4501c1310..e9956d32d97eeb0d890591ecff7c29ef9487b52b 100644
(file)
--- a/
pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/
pidl/lib/Parse/Pidl/Samba4/Python.pm
@@
-769,7
+769,7
@@
sub use_type_variable($$)
my ($self, $orig_ctype) = @_;
# FIXME: Have a global lookup table for types that look different on the
# wire than they are named in C?
- if ($orig_ctype->{NAME} eq "dom_sid2") {
+ if ($orig_ctype->{NAME} eq "dom_sid2"
or $orig_ctype->{NAME} eq "dom_sid28"
) {
$orig_ctype->{NAME} = "dom_sid";
}
my $ctype = resolveType($orig_ctype);