r25598: Add missing become_root/unbecome_root around calls of add_aliases.
authorMichael Adam <obnox@samba.org>
Wed, 10 Oct 2007 08:27:56 +0000 (08:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:31:17 +0000 (12:31 -0500)
commit57482469b32645250e92a7ffd003aeeb4a42235e
treef35829264a57754d1ee93508c63b51972fbcc482
parent07cbec10b1f7c43535c2dcedb627e0faefdf4b9a
r25598: Add missing become_root/unbecome_root around calls of add_aliases.
This triggered a "cannot access LDAP when not root"-bug with
"passdb backend = ldap" and "winbind nested groups = yes".

This *might* be a step towards fixing bug #4308, since the
failure was observerd when triggered by acl code.

Michael
(This used to be commit ba8c48244e140403b728d9a2ca297b40e8888964)
source3/auth/token_util.c