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

Darryl L. Pierce dpierce at redhat.com
Tue May 20 19:59:35 UTC 2008


>>  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.

Spoke with Hugh about this and will be moving it into the ldap.yml file after
the demo.

-- 
Darryl L. Pierce <dpierce at redhat.com> - Phone: (919) 754-4383
Sr. Software Engineer -- Red Hat, Inc.
"In matters of style, swim with the current; 
In matters of principle, stand like a rock." - Thomas Jefferson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080520/63c09f5e/attachment.sig>


More information about the ovirt-devel mailing list