diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-30 15:37:11 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-02 13:37:07 +1000 |
commit | 71f2ebcae09a3581cb27966b44387a10ea89236d (patch) | |
tree | ec8c8eaad98866006d8ac722bf770c3807153232 /pidl | |
parent | eccb22c9fb21f6b439dd6ced03e946f84dccd455 (diff) | |
download | samba-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')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 |
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); |