I try to use Zend_Config_Ini to parse following option array into Zend
Configuration class, it fails to read
this line: 'host'=>'10.11.111.22'
[ldap]
ldap.option = array(
'host'=>'10.78.165.44', //server IP,
mandatory
'bind_dn'=>'cn=LDAPUser,OU=Users,DC=example,DC=com', //DN of the user
that may browse the ldap
'bind_pw'=>'xxxxxxx', //password
'user_oc'=>'user', //ObjectClass for
users
'base_dn'=>'DC=example,DC=com', //base DN for all
users
'user_dn'=>'OU=Users', //dn for users
'user_attr'=>'samAccountName', //the attribute
that contains the user login
//AD options
'use_domain_from_email'=>false, //username is an
email, split it to get the domain
'domain'=>'', //NT domain to
prepend to the username, this is used with the direct_ bind on AD
'use_direct_bind'=>false //force the auth
based only on binding by username and password provided by user
)
tfk wrote:
>
> On 8/23/07, Kexiao Liao <[EMAIL PROTECTED]> wrote:
>>
>>
>> Can we put comments in the Zend Configuration file(conf.ini) as showing
>> below?
>
> Yes!
>
> http://de3.php.net/manual/en/function.parse-ini-file.php
>
> Till
>
>
--
View this message in context:
http://www.nabble.com/comments-in-Zend-conf.ini-file-tf4319165s16154.html#a12300089
Sent from the Zend Framework mailing list archive at Nabble.com.