[Koha] koha error
mihafan
mihafan at gmail.com
Sun Nov 7 00:07:55 NZDT 2010
I modify the file koha-conf.xml from
/home/koha/koha-dev/etc/koha-conf-xml to allow Active Directory users
log in Koha
<config>
.......
......
......
<useldapserver>1</useldapserver>
<ldapserver id="ldapserver">
<hostname>192.168.29.169</hostname>
<base>dc=kohatest,dc=com</base> <!-- kohatest is a domain which i
create in active directory -->
<user>cn=kohuser,dc=test,dc=com</user> <!-- DN, if not
anonymous -->
<pass>kohuser</pass> <!-- password, if not anonymous -->
<replicate>1</replicate> <!-- add new users from LDAP to Koha
database -->
<update>1</update> <!-- update existing users in Koha database -->
<auth_by_bind>1</auth_by_bind> <!-- set to 1 to authenticate by
binding instead of password comparuseison, e.g., to use Active
Directory -->
<principal_name>kohuser at kohatest.com</principal_name>
<!-- optional, for
auth_by_bind: a printf format to make userPrincipalName from koha
userid -->
<mapping> <!-- match koha SQL field names to your
LDAP record field names -->
<firstname is="givenname" ></firstname>
<surname is="sn" ></surname>
<address is="postaladdress" ></address>
<userid is="uid" ></userid>
<password is="userpassword" ></password>
<email is="mail" ></email>
<categorycode is="employeetype" >PT</categorycode>
</mapping>
</ldapserver>
</config>
when inserted in the browser address error occurs
Software error:
/home/koha/koha-dev/etc/koha-conf.xml:217: parser error : Opening and
ending tag mismatch: pass line 203 and ldapserver
</ldapserver>
^
/home/koha/koha-dev/etc/koha-conf.xml:222: parser error : Comment not terminated
^
/home/koha/koha-dev/etc/koha-conf.xml:222: parser error : Premature
end of data in tag pass line 203
^
/home/koha/koha-dev/etc/koha-conf.xml:222: parser error : Premature
end of data in tag ldapsever line 199
^
/home/koha/koha-dev/etc/koha-conf.xml:222: parser error : Premature
end of data in tag config line 179
^
/home/koha/koha-dev/etc/koha-conf.xml:222: parser error : Premature
end of data in tag yazgfs line 2
^ at /usr/lib/perl5/XML/LibXML/SAX/Parser.pm line 38
BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 28.
Compilation failed in require at /home/koha/kohaclone/opac/opac-main.pl line 22.
BEGIN failed--compilation aborted at
/home/koha/kohaclone/opac/opac-main.pl line 22.
More information about the Koha
mailing list