CVS update: samba/source/rpc_client
Luke Leighton
lkcl at samba.anu.edu.au
Thu Jan 27 10:11:51 EST 2000
Date: Thursday January 27, 2000 @ 10:11
Author: lkcl
Update of /data/cvs/samba/source/rpc_client
In directory samba:/tmp/cvs-serv14977/rpc_client
Modified Files:
Tag: SAMBA_TNG
cli_samr.c
Log Message:
samr api conversion. this one's a little bit more significant.
1) modified nterr.h to #define NT_STATUS_xxxx (0xC0000000 | errcode)
2) made a SAM_USERINFO_CTR and made it dynamically allocated. elrond, help!
i realised that the user session key can be picked up from the POLICY_HND,
it doesn't need to come from the vuser struct! i'm so stupid!
i've been worrying about this for ages. i was thinking, how am i going to
make all the _samr_xxx() functions match up with the samr_xxx() functions
when i need to get state-info such as the user session key? well, it's
simple. instead of passing it as a function parameter to _samr_xxx(),
you store it as state-info associated with the POLICY_HND argument,
which references the cli_connection state info, which has the session key.
yesss :)
jean-francois, you may want to consider doing the same thing for the spoolss
code. i will probably do this for you [or put some stubs in].
<a href="mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://samba.org" > Samba Web site </a>
<a href="http://www.iss.net" > Internet Security Systems, Inc. </a>
<a href="http://mcp.com" > Macmillan Technical Publishing </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals
More information about the samba-cvs
mailing list