[SAMBA 4 / NETLOGON] Modify type of SAM contexts
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Wed, 22 Jul 2009 18:15:58 +0000 (20:15 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 Jul 2009 23:58:20 +0000 (09:58 +1000)
commit7bad4b48c82fed4263c2bfe97a4d00b47913604a
treebb6f5249999c99098f94284f2878628486a34af7
parent2cc4a43d0e204acebb9b23fd0abbdb8e7e876128
[SAMBA 4 / NETLOGON] Modify type of SAM contexts

In the SAMBA 4 DCE/RPC NETLOGON server the SAM context references have generally
the type "void *". But we know that those context objects are based on the "struct
ldb_context" type. We've always to cast for using a SAM/LDB call.
This I didn't find very appealing and so I assigned the right (detailed) type to each "sam_ctx".
Therefore, the casts could disappear.

Also this change is only cosmetic.
source4/rpc_server/netlogon/dcerpc_netlogon.c