|
|
|
|
|
|
Re: Problems With Automatic User Import [message #23667 is a reply to message #23637] |
Fri, 25 March 2005 19:33 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
When a new user is added to eGW, it should call the hooks from all aplications that need to do something for this even. This of course should include the FUDforum's user creation hook.
The forum's hooks can be found inside fudforum/setup/inc directory.
FUDforum Core Developer
|
|
|
|
Re: Problems With Automatic User Import [message #26108 is a reply to message #23776] |
Tue, 05 July 2005 09:01 |
yuvallb
Messages: 2 Registered: July 2005
Karma: 0
|
Junior Member |
|
|
I had the EXACT same problem,
my solutions was:
edit phpgwapi/inc/class.accounts_sql.inc.php
and phpgwapi/inc/class.accounts_ldap.inc.php
and add the line:
$GLOBALS['phpgw']->applications->read_installed_apps();
before:
$GLOBALS['phpgw']->hooks->process($GLOBALS['hook_values']+array(...
The problem was that when an ldap user is logging in the first time to egroupware,
the new account procces does not get the list of applications before calling the addaccount hook.
the hook then will do nothing (he sees no apps installed...)
hope this helps!!
[Updated on: Tue, 05 July 2005 09:58] Report message to a moderator
|
|
|
Re: Problems With Automatic User Import [message #26114 is a reply to message #26108] |
Tue, 05 July 2005 13:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Wow thanks for that bit of information, could you please notify the eGW ldap developers about this. It sounds like there is a bug in the hook callback code.
FUDforum Core Developer
|
|
|
|
|