Add missing become_root/unbecome_root around calls of add_aliases.
authorobnox <obnox@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Wed, 10 Oct 2007 08:27:56 +0000 (08:27 +0000)
committerobnox <obnox@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Wed, 10 Oct 2007 08:27:56 +0000 (08:27 +0000)
commit1f289f9da32cc41adc90edda1ea5577b1b22f5bd
tree5d1a984624ee677f2cd54ec7b74186bd81ba71f1
parent127b65a795868b53389d7ae2151af67443457c6c
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

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25598 0c0555d6-39d7-0310-84fc-f1cc0bd64818
source/auth/token_util.c