Add become_root/unbecome_root around one call of getsampwsid()
authorMichael Adam <obnox@samba.org>
Fri, 12 Oct 2007 11:20:07 +0000 (13:20 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 12 Oct 2007 11:20:07 +0000 (13:20 +0200)
commitea33a1c22f834f985766347c8505935b59a808d8
treea9c6f3093b0db059f1ce7cac653dcf2a7af3f08d
parent862a7e6cb1628cdfd3b062cacc3014e90bdf0efa
Add become_root/unbecome_root around one call of getsampwsid()
in create_token_from_username(). This caused set_nt_acl to
partially fail in certain circumstances.

This is expected to bring an improvement to bug #4308.

Michael
(This used to be commit e68671b59500d7e1b645c80ee264c49893f8df84)
source3/auth/auth_util.c