[Ovirt-devel] LDAP fallback
Hugh O. Brock
hbrock at redhat.com
Tue May 20 14:44:11 UTC 2008
On Tue, May 20, 2008 at 10:12:56AM -0400, Darryl L. Pierce wrote:
> Hugh O. Brock wrote:
>> Darryl, I'm not sure, but there may be a bug in grant_admin_privileges
>> anyway. When I ran it it failed on "require 'app/models/account'",
>> which seems odd. I do have the latest activeldap package installed and
>> so on.
>
> From where do you run the script and do you have /usr/share/ovirt-wui on
> that machine? The active_record_env.rb is expecting the code to be located
> in /usr/share/ovirt-wui and, from there, loads dependencies.
I ran it from /usr/share/ovirt-wui/script/ . But, surely we shouldn't
be depending on the cwd being correct for the script to work?
> On a side note, I did see where a line in the script where the permission
> is being created was reverted to :user rather than :uid. I'm pushing the
> fixed version of that.
Sounds good, I'll look for the patch...
--H
More information about the ovirt-devel
mailing list