--- etc/config.yml 2008/03/09 01:42:55 1 +++ etc/config.yml 2008/05/01 17:06:02 106 @@ -1,57 +1,54 @@ --- framework: AdminMode: 1 - ApplicationClass: CAdmin - ApplicationName: CAdmin + ApplicationClass: A3C + ApplicationName: A3C ApplicationUUID: E39DA2FA-ED79-11DC-83DE-637BB7FBCC3E ConfigFileVersion: 3 Database: AutoUpgrade: 1 CheckSchema: 1 - Database: cadmin - Driver: SQLite + Database: a3c + Driver: Pg Host: localhost - Password: '' + Password: 'a3c' RecordBaseClass: Jifty::DBI::Record::Cachable - User: '' - Version: 0.0.1 + User: 'a3c' + Version: 0.0.2 DevelMode: 1 L10N: PoDir: share/po LogLevel: INFO +# LogLevel: DEBUG Mailer: Sendmail MailerArgs: [] Plugins: - - - LetMe: {} - - - - SkeletonApp: {} - - - - REST: {} - - - - Halo: {} - - - - ErrorTemplates: {} - - - - OnlineDocs: {} - - - - CompressedCSSandJS: {} - - - - AdminUI: {} + - LetMe: {} + - SkeletonApp: {} + - REST: {} + - Halo: {} + - ErrorTemplates: {} + - OnlineDocs: {} + - CompressedCSSandJS: {} + - AdminUI: {} + - Debug: {} + - User: {} +# - Login: {} + - Authentication::Password: {} + - Authentication::Ldap: + LDAPhost: ldap.carnet.hr + LDAPbase: dc=carnet,dc=hr + LDAPName: cn # displayname, cn +# LDAPMail: mailLocalAddress # email used optionnal + LDAPuid: uid +# LDAPssl: 0 PubSub: Backend: Memcached Enable: ~ SkipAccessControl: 0 - TemplateClass: CAdmin::View + TemplateClass: A3C::View View: FallbackHandler: Jifty::View::Mason::Handler Handlers: @@ -72,3 +69,21 @@ ServeStaticFiles: 1 StaticRoot: share/web/static TemplateRoot: share/web/templates + +# values are overriden by site_config.yml +application: + LDAP: + server: 'ldap.example.com' + dn: 'cn=foo,dc=example,dc=com' + password: 'hax0r' + # LDAP search + base: 'dc=example,dc=com' + objectClass: +# person: inetOrgPerson +# organization: organization + person: hrEduPerson + organization: hrEduOrg + link: + person_filter: HrEduPersonHomeOrg + display_from: name + value_from: cn