Darryl L. Pierce
2008-May-20 19:21 UTC
[Ovirt-devel] [PATCH] Fixed the prefix for Account to match FreeIPA.
--- 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 -- 1.5.4.1
Simo Sorce
2008-May-20 19:38 UTC
[Ovirt-devel] [PATCH] Fixed the prefix for Account to match FreeIPA.
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 = nilThis would be very IPA specific. You should make this bit configurable. Simo. -- Simo Sorce * Red Hat, Inc * New York
Hugh O. Brock
2008-May-20 20:10 UTC
[Ovirt-devel] [PATCH] Fixed the prefix for Account to match FreeIPA.
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