Active
Project:
LDAP provisioning
Version:
6.x-1.0-beta1
Component:
Miscellaneous
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2009 at 05:32 UTC
Updated:
8 Jan 2010 at 05:39 UTC
hi,
The LDAP provisioning module is not able to send "Account manager notify email". where as other users who requested the account are getting mails!.
I want to know one thing.
where we can specify the "account manager notify email"?
to which email it is trying to send?. either the email in site information section of drupal or
from LDAP server admin email.
bit confused..
please clarify.
is there any complete documentation of this module?
Comments
Comment #1
miglius commentedAccount managers are the users with the 'create accounts' permission.
Comment #2
madhusudan commentedok..
but why still admin not getting mail. mailid of admin is correct (also tried changing admin mail ID).
and there is no mails in q.
and in mail log there is no entry of that.
but users are getting mails!.
Comment #3
madhusudan commentedcan anyone reply to this please .its urgent !!..
Comment #4
madhusudan commentedok..
got the problem.. in ldapprov.module file
// Mail the user managers about the new request.
$result = db_query("SELECT DISTINCT u.uid FROM {users} u INNER JOIN {users_roles} ur ON u.uid = ur.uid INNER JOIN {permission} p ON ur.rid = p.rid WHERE p.perm LIKE '%%%s%%'", LDAPPROV_PERMISSION);
first i dont know what word this query is looking for.. '%%%s%%' i was not able to find any string matching this expression!.
the above query is giving an empty set!!. so its not going into while loop
while ($row2 = db_fetch_object($result)) {
and also no log in drupal..
i found that there are no entries in users_roles database. because for my drupal there are only 3 users and only 1 is admin(username admin). so no roles defined.
but by default it has to send to admin also.. and thats not implemented i think.