diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-25 05:26:48 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-25 05:26:48 +0000 |
commit | 75bc1009438c2ff1696205ab0ee5667ec3ef3062 (patch) | |
tree | 20e1e500195f01a1caa38d7a84dec0155369c346 /source3/rpc_server | |
parent | ac4dd24140074a43f880c59e61770ef4e7c6523b (diff) | |
download | samba-75bc1009438c2ff1696205ab0ee5667ec3ef3062.tar.gz samba-75bc1009438c2ff1696205ab0ee5667ec3ef3062.tar.bz2 samba-75bc1009438c2ff1696205ab0ee5667ec3ef3062.zip |
cool! completed a samr* API that _would_ look like an msdn samr* api...
if microsoft bothered to publish it. actually, there are good reasons
for not publishing it: people might write programs for it, and then
those programs wouldn't work on nt5, for example...
(This used to be commit 8ce93b80d3b4e1c1e28aa1dde38cdef184eff3c1)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa_hnd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c index b32b3322b3..add040aa3d 100644 --- a/source3/rpc_server/srv_lsa_hnd.c +++ b/source3/rpc_server/srv_lsa_hnd.c @@ -411,8 +411,14 @@ BOOL get_policy_cli_state(const POLICY_HND *hnd, struct cli_state **cli, { DEBUG(3,("Getting cli state pnum=%x\n", p->pnum)); - (*cli ) = p->dev.cli->cli; - (*fnum) = p->dev.cli->fnum; + if (cli != NULL) + { + (*cli ) = p->dev.cli->cli; + } + if (fnum != NULL) + { + (*fnum) = p->dev.cli->fnum; + } return True; } |