Hello... Sorry for the late answer... I was sick (and
not at work...)
Back to the problem...
>> - Tried to login
to the site with the standard “admin” user
>> defined during the creation of the site (Error message without any
detail)
>Which error message?
It's simply written:
"CPS
a rencontré une erreur
Veuillez
nous excuser pour la gêne occasionnée."
Nothing
is written in the sections "error type" or "error value"
>> - Tried to login
to the site with one of the users defined in
>> the Users OU of active directory (Standard wrong user or password
>> message). Also tested with the user “cps” defined at step
2
>Go to the ZMI in portal_directories/members_ldap/manage_main and using the
>"Search" tab try to see if you can reach you directory server.
When
I go to the ZMI I can find portal_directories/members_ldap/ but there is no
manage_main section there. However I tried a search of any user in it and a CPS
page opens with the same error as described before.
"CPS
a rencontré une erreur
Veuillez
nous excuser pour la gêne occasionnée."
Nothing
is written in the sections "error type" or "error value"
>> In the installation procedure it is written that : “you'll need
to give
>> each member the Member role for her CPS login to succeed.”
But due to
>> the fact that I havn’t found any way to give this role that
doesn’t work
>> too :-(
>Go to the Roles directory and give the Member role to you users.
Everywhere
I could do this I recieve the same error as before :
"CPS
a rencontré une erreur
Veuillez
nous excuser pour la gêne occasionnée."
Nothing
is written in the sections "error type" or "error value"
>> Thank you for your help and best regards
>You should also include the related info from log/event.log when you try to
log in.
Here
is the log of the login attempt with local "admin"
+ + + + +
++ + + + + ++ + + + + ++ + + + + ++ + + + + ++ + + + + +
2006-06-14T09:44:41
ERROR getUserWithAuthentication Got ConfigurationError(Directory
'members_ldap': Invalid credentials) while authenticating admin
------
2006-06-14T09:44:41 ERROR Zope.SiteErrorLog http://localhost/DSR/logged_in
Traceback (most recent call last):
File "C:\Program
Files\CPS3.4.0-3\Zope\lib\python\ZPublisher\Publish.py", line 113, in
publish
request, bind=1)
File "C:\Program
Files\CPS3.4.0-3\Zope\lib\python\ZPublisher\mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "C:\Program Files\CPS3.4.0-3\Zope\lib\python\ZPublisher\Publish.py",
line 40, in call_object
result=apply(object,args) # Type s<cr> to step into
published object.
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CMFCore\FSPythonScript.py", line 108, in
__call__
return Script.__call__(self, *args, **kw)
File "C:\Program
Files\CPS3.4.0-3\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 311,
in __call__
return self._bindAndExec(args, kw, None)
File "C:\Program
Files\CPS3.4.0-3\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 348,
in _bindAndExec
return self._exec(bound_data, args, kw)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CMFCore\FSPythonScript.py", line 164, in
_exec
result = f(*args, **kw)
File "Script (Python)", line 72, in logged_in
File "C:\Program Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py",
line 349, in hasEntry
self.checkViewEntryAllowed(id)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py", line 305,
in checkViewEntryAllowed
if not self.isViewEntryAllowed(id=id, entry=entry):
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py", line 254,
in isViewEntryAllowed
id=id, entry=entry)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py", line 193,
in isEntryAclAllowed
entry = self._getEntry(id)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py", line 418,
in _getEntry
dm = self._getDataModel(id, check_acls=0, **kw)
File "C:\Program Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py",
line 884, in _getDataModel
dm._fetch()
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSSchemas\DataModel.py", line 263, in
_fetch
data.update(adapter.getData())
File "C:\Program Files\CPS3.4.0-3\Data\Products\CPSDirectory\MetaDirectory.py",
line 643, in getData
password=self._password)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\MetaDirectory.py", line 595,
in _getEntryFromBacking
b_entry = b_dir._getEntry(b_id, fields_ids=b_fids)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py", line 418,
in _getEntry
dm = self._getDataModel(id, check_acls=0, **kw)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\BaseDirectory.py", line 884,
in _getDataModel
dm._fetch()
File "C:\Program Files\CPS3.4.0-3\Data\Products\CPSSchemas\DataModel.py",
line 263, in _fetch
data.update(adapter.getData())
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\StackingDirectory.py", line
421, in getData
password=self._password)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\StackingDirectory.py", line
322, in _getEntryFromBacking
entries = b_dir._searchEntries(return_fields=['*'],
File "C:\Program Files\CPS3.4.0-3\Data\Products\CPSDirectory\LDAPBackingDirectory.py",
line 308, in _searchEntries
res = self._searchEntriesFiltered(filter, attrs)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\LDAPBackingDirectory.py", line
566, in _searchEntriesFiltered
filter, attrs)
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\LDAPBackingDirectory.py", line
786, in searchLDAP
conn = self.connectLDAP()
File "C:\Program
Files\CPS3.4.0-3\Data\Products\CPSDirectory\LDAPBackingDirectory.py", line
736, in connectLDAP
raise ConfigurationError("Directory '%s': Invalid
credentials"
ConfigurationError: Directory 'members_ldap': Invalid credentials
+ + + + + ++ + + + + ++ + + + + ++ + + + + ++ + + + + ++ + + + + +
Here
is the log of the login attempt with a user from
AD "cpsuser1"
+
+ + + + ++ + + + + ++ + + + + ++ + + + + ++ + + + + ++ + + + + +
2006-06-14T09:48:16
ERROR getUserWithAuthentication Got ConfigurationError(Directory
'members_ldap': Invalid credentials) while authenticating cpsuser1
+
+ + + + ++ + + + + ++ + + + + ++ + + + + ++ + + + + ++ + + + + +
I
hope this can help you to understand... It's probably something stupid that I
missed out but I really don't know what
Thanks again
Umar