Thursday 26 October 2006 10:49:04 am
Hello I'm trying to configure my site to authenticate with an AD on a W2k3 server. The site is on the domain controller itself. However, every time I try to log-in using one of the user accounts on the AD, i get this:
Fatal error: eZ publish did not finish its request The execution of eZ publish was abruptly ended, the debug output is present below.
I've configured the site.ini file to allow LDAP authentication if standard fails. Also, my ldap.ini files looks like this:
[LDAPSettings]
# Set LDAP version number
LDAPVersion=2
# Set to true if use LDAP server
LDAPEnabled=true
# LDAP host
LDAPServer=localhost
# Port nr for LDAP, default is 389
LDAPPort=389
# Specifies the base DN for the directory.
LDAPBaseDn=DC--cchtesting,DC--net
# If the server does not allow anonymous bind, specify the user name for the bind here.
LDAPBindUser= administrator
# 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
# 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 for the usergroup, i kept it at 12 (Guest Accounts). Is that correct? Also, i changed uid to SAMAccountName. I also have this line in the ezldapuser.php file in the kernel\classes\datatypes\ezuser folder: $r = ldap_bind( $ds,$auth_user,$auth_pass ); Can someone help? Let me know if you need more details.
Sagar Khushalani
http://www.sagarkhushalani.com
|