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

Hugh O. Brock hbrock at redhat.com
Tue May 20 20:10:40 UTC 2008


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.

ACK

--Hugh




More information about the ovirt-devel mailing list