summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-30 15:37:11 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-02 13:37:07 +1000
commit71f2ebcae09a3581cb27966b44387a10ea89236d (patch)
treeec8c8eaad98866006d8ac722bf770c3807153232 /pidl/lib/Parse/Pidl
parenteccb22c9fb21f6b439dd6ced03e946f84dccd455 (diff)
downloadsamba-71f2ebcae09a3581cb27966b44387a10ea89236d.tar.gz
samba-71f2ebcae09a3581cb27966b44387a10ea89236d.tar.bz2
samba-71f2ebcae09a3581cb27966b44387a10ea89236d.zip
pidl: cope with dom_sid28 in python generator
treated the same as dom_sid2
Diffstat (limited to 'pidl/lib/Parse/Pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 85ce2d64ba..e9956d32d9 100644
--- 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);