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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:49:25 +0000 (12:49 +0100)
commit624285b05afc6c6d46a814e980e47bef9f3f6195
tree0d1285da97a0c7903df7944b38ffd19cb0909306
parentd23ad60678536ac0a039d1fc0a2dad09de1daba1
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
(cherry picked from commit 640dfa851a296a403e218096444b203da13ebf10)
source3/auth/auth_sam.c