s3:auth:check_sam_security: improve calling and logging of pdb_update_sam_account
authorMichael Adam <obnox@samba.org>
Wed, 6 Jan 2010 12:53:10 +0000 (13:53 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 7 Jan 2010 10:07:57 +0000 (11:07 +0100)
commit7248873b48ac28c40809c949da0e7325ca63aef0
tree4e798ea5f3edb248723e90565534b0aaaba69275
parent5ad1b7e0c5aa7c8e0a0d55c2456e9d6354dc9bcc
s3:auth:check_sam_security: improve calling and logging of pdb_update_sam_account

Log what went wrongl, and also call pdb_update_sam_account inside
become_root/unbecome_root: do the logging outside.

Michael
source3/auth/auth_sam.c