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

Simo Sorce ssorce at redhat.com
Tue May 20 19:38:57 UTC 2008


On Tue, 2008-05-20 at 15:21 -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


This would be very IPA specific. You should make this bit configurable.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the ovirt-devel mailing list