unixinfo.idl
Stefan (metze) Metzmacher
metze at samba.org
Thu May 19 12:58:35 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Volker Lendecke schrieb:
> On Wed, May 18, 2005 at 05:46:31PM +0200, Stefan (metze) Metzmacher wrote:
>
>
>>I think it should ok to ask by everyone but only allocate new id's when the
>>NTTOKEN of the session user/workstation has the privilege.
>
>
> Yes, might be true. In the meantime I've done some programming. This is mainly
> to have some auto-generated stuff in Samba4 to make sure I get the Samba3
> marshalling correct.
>
> Volker
>
>
> ------------------------------------------------------------------------
>
> Index: param/loadparm.c
> ===================================================================
> --- param/loadparm.c (revision 6885)
> +++ param/loadparm.c (working copy)
> @@ -937,7 +937,7 @@
> do_parameter("ntvfs handler", "unixuid default");
> do_parameter("max connections", "-1");
>
> - do_parameter("dcerpc endpoint servers", "epmapper srvsvc wkssvc rpcecho samr netlogon lsarpc spoolss drsuapi winreg dssetup");
> + do_parameter("dcerpc endpoint servers", "epmapper srvsvc wkssvc rpcecho samr netlogon lsarpc spoolss drsuapi winreg dssetup unixinfo");
> do_parameter("server services", "smb rpc nbt cldap");
> do_parameter("auth methods", "anonymous sam_ignoredomain");
> do_parameter("smb passwd file", dyn_SMB_PASSWD_FILE);
...
> +
> + len = push_utf8_talloc(mem_ctx, &homedir, pwd->pw_dir);
> + if ((len < 0) || (homedir == NULL)) {
> + DEBUG(10, ("Could not convert homedir: %s\n",
> + pwd->pw_dir));
> + r->out.infos[i].status = NT_STATUS_NO_MEMORY;
> + continue;
> + }
> +
> + len = push_utf8_talloc(mem_ctx, &shell, pwd->pw_shell);
I think we don't need the push_utf8_talloc() here,
the translation to utf8 is done in the marshalling code
if you want apply it, but maybe don't add it to the default 'dcerpc endpoint servers'
- --
metze
Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCjI15m70gjA5TCD8RAjW6AKCtlAduSF8BYl9xWA8b1wp146yBtwCgmBn5
q7qNsBephp9JFNB7bw3u/eY=
=eO48
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list