cli_lsa_open_policy() info_class parameter

Gerald (Jerry) Carter jerry at samba.org
Mon Aug 1 18:24:04 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Nicholls wrote:
| Chris Nicholls wrote:
|
|> Hi,
|>
|> I'm not sure what the distinction between 3 and 5 are
|> for for this function. They both do the same thing, so it
|> seems to me that not all servers support info_class=5.
...
| Oops.. i meant cli_lsa_query_info_policy().. and I also
| managed to misspell my name.. i think i need more
| sleep or something :)

0x3 returns the domain SID and 0x5 returns the machines
local SID.  See the code in rpc_server/srv_lsa_nt.c:_lsa_query_info().






cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC7mjEIR7qMdg1EfYRAsaiAJ9ZdJYkxNVLL0ZTrrPn3KrkrcDoOQCcDEAq
MSiKe/b8k6OUmuB1l5Zi9rs=
=p7S6
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list