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
if (lp_winbind_nested_groups()) {
+ become_root();
+
/* Now add the aliases. First the one from our local SAM */
status = add_aliases(get_global_sam_sid(), result);
TALLOC_FREE(result);
return NULL;
}
+
+ unbecome_root();
}