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

source/librpc/idl/unixinfo.idl

index 48bc565..6929e86 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;
 
        /******************/