From 71f2ebcae09a3581cb27966b44387a10ea89236d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 Aug 2010 15:37:11 +1000 Subject: pidl: cope with dom_sid28 in python generator treated the same as dom_sid2 --- pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl/lib/Parse/Pidl') 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); -- cgit