[Ovirt-devel] [PATCH] Fixed the prefix for Account to match FreeIPA.

Hugh O. Brock hbrock at redhat.com
Wed May 21 03:38:25 UTC 2008


On Tue, May 20, 2008 at 04:32:41PM -0400, Simo Sorce wrote:
> On Tue, 2008-05-20 at 16:10 -0400, Hugh O. Brock wrote:
> > On Tue, May 20, 2008 at 03:21:04PM -0400, Darryl L. Pierce wrote:
> > > ---
> > >  wui/src/app/models/account.rb |    2 +-
> > >  1 files changed, 1 insertions(+), 1 deletions(-)
> > > 
> > > diff --git a/wui/src/app/models/account.rb b/wui/src/app/models/account.rb
> > > index e3a1a54..59bb160 100644
> > > --- a/wui/src/app/models/account.rb
> > > +++ b/wui/src/app/models/account.rb
> > > @@ -20,7 +20,7 @@
> > >  # +Account+ represents a single user's account from the LDAP server.
> > >  #
> > >  class Account < ActiveLdap::Base
> > > -  ldap_mapping :dn_attribute => 'cn', :prefix => 'ou=Users', :scope => :one
> > > +  ldap_mapping :dn_attribute => 'cn', :prefix => 'cn=users,cn=account', :scope => :one
> > >  
> > >    @@users = nil
> > >  
> > 
> > Good start until we are actually ready to pull this stuff via SRV records.
> 
> This stuff can't be found via SRV records.
> 
Yes, sorry to be unclear. Darryl will be submitting a new patch in
short order to make the base configurable (in ldap.yml). Later we will
be able to pull the dns name of the ldap server via srv records, but
the base will always need to be configurable... just not between now
and tomorrow.

Thanks,
--Hugh




More information about the ovirt-devel mailing list