unixinfo.idl: don't use utf8string anymore
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Feb 2008 18:47:23 +0000 (19:47 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Feb 2008 19:39:23 +0000 (20:39 +0100)
Note:

This changes the on wire format!!!

But it's a very bad idea to keep utf8string
as it's not valid NDR encoding and noone
would be able to write a compatible IDL
file using another compiler than pidl.

Maybe we should change the uuid,
but as this isn't really used yet
I keep the old one.

metze
(This used to be commit 5753d7fd8300d36558d3304418e1b0a300f56575)

source4/librpc/idl/unixinfo.idl

index 48bc565fff51212f686b386172c0a5fcb1ae9361..6929e86e61f26e2a7f17e1baf3ffb999d212e9e2 100644 (file)
@@ -42,8 +42,8 @@ import "security.idl";
 
        typedef struct {
                NTSTATUS status;
-               utf8string homedir;
-               utf8string shell;
+               [charset(UTF8),string] uint8 homedir[];
+               [charset(UTF8),string] uint8 shell[];
        } unixinfo_GetPWUidInfo;
 
        /******************/