Wednesday 20 February 2008 5:06:05 pm
Hello, I am implementing Ez Publish 4.0 at our University as Intranet and once in production as Official site, I find problems to enable authentication LDAP running on Windows Server 2003, EzPublish is running on Linux (CentOS 5.0) I tried editing these files: Settings/override/ldap.ini.append.php And Settings/ldap.ini Which file must be edited? What is the function that performs EzPublish LDAP Auth: Authenticate user against LDAP or import username/password and stored in the database and then the user uses the same password Active Directory. LDAP is running because we have other applications running on Linux and Authenticating against LDAP/ActiveDirectory This is my setting:
--------------------------------------------
#?ini charset="iso-8859-1"?
# eZ Publish configuration file for connection and authentication of users via LDAP
#
[LDAPSettings]
# Set LDAP version number
LDAPVersion=2
# Set to true if use LDAP server
LDAPEnabled=true
# LDAP host
LDAPServer=172.16.0.1
# Port nr for LDAP, default is 389
LDAPPort=389
# Specifies the base DN for the directory.
LDAPBaseDn=DC--delta,DC--utn
# If the server does not allow anonymous bind, specify the user name for the bind here.
LDAPBindUser= alumno
# If the server does not allow anonymous bind, specify the password for the bind here.
LDAPBindPassword= **********
# Could be sub, one, base.
LDAPSearchScope=sub
# Use the equla sign to replace "=" when specify LDAPBaseDn or LDAPSearchFilters
LDAPEqualSign=--
# Add extra search requirment. Uncomment it if you don't need it.
# Example LDAPSearchFilters[]=objectClass--inetOrgPerson
LDAPSearchFilters[]
# LDAP attribute for login. Normally, uid
#LDAPLoginAttribute=SAMAccountName LDAPLoginAttribute=uid
# Could be id or name
LDAPUserGroupType=id
# Default place to store LDAP users. Could be content object id or group name for LDAP user group,
# depends on LDAPUserGroupType.
LDAPUserGroup[]=12
# LDAP attribute type for user group. Could be name or id
LDAPUserGroupAttributeType=name
# LDAP attribute for user group. For example, employeetype. If specified, LDAP users
# will be saved under the same group as in LDAP server.
LDAPUserGroupAttribute=employeetype
# LDAP attribute for First name. Normally, givenname
LDAPFirstNameAttribute=givenname
# LDAP attribute for Last name. Normally, sn
LDAPLastNameAttribute=sn
# LDAP attribute for email. Normally, mail
LDAPEmailAttribute=mail
# LDAP encoding is utf-8 or not
Utf8Encoding=false
# if 'enabled' you can move LDAP users to a different group and they will not
# be automatically moved back (to the group they are configured to be placed in)
# when the user logs in again.
KeepGroupAssignment=disabled -------------------------------------------- There is a way to test whether this working? We must modify / Configure something else? you can send any example Thank you in advance, any help will be welcome
Cristian.
UTN Facultad Regional Delta Campana, Bs. As. Argentina
UTN Facultad Regional Delta
Campana, Bs.As.-Argentina
http://www.frd.utn.edu.ar
|