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

miglius’s picture

Account managers are the users with the 'create accounts' permission.

madhusudan’s picture

ok..
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!.

madhusudan’s picture

Priority: Normal » Critical

can anyone reply to this please .its urgent !!..

madhusudan’s picture

ok..

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.