Kai Schröder wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> While creating a new user with GUI I get following error message:
>
> ERRORNO: (111)
> ERRSTR: (Connection refused)
>
> - ----------------------------------------------------------------------
> - ----------
>
> Warning: Unable to find file identifier 0 in
> snippet:///hklc_adminsite_sysadmin/lib/cyrus_functions on line 96
>
> Warning: Unable to find file identifier 0 in
> snippet:///hklc_adminsite_sysadmin/lib/cyrus_functions on line 141
>
> Any idea to fix this ?
>
> Greetings,
I think the code used to say
if (function_exists('hklc_create_email')
hklc_create_email($object->name,$newfiledata[sitegroupid]);
It didnt have a check to see if you had 'the cyradm' program.
- The principle here is that the code is built in to make email accounts
when you create midgard users. - It can be disabled by renaming the
hklc_adminsite_sysadmin snippetdir to something else
or fixing this code
Snippet: / hklc_adminsite_host / argv0 / new / new
568: //// Create email a/c if has system admin module
569: // hard code ??
570: mgd_include_snippet(
'/hklc_adminsite_sysadmin/lib/emailaccount_functions');
571: if (function_exists('hklc_create_email') &&
572: (file_exists("/usr/bin/cyradm") ||
573: file_exists("/usr/local/bin/cyradm"))
574: )
575: { hklc_create_email($object->name,$newfiledata[sitegroupid]);
576: }
577: ////
>
>
>
>
> Kai Schröder
> Internet Application Developer
>
> atVision online gmbh
> Chausseestraße 19
> FRG - 10115 Berlin
>
> Tel: +49 (0)30 288 86 - 186
> Fax: +49 (0)30 288 86 - 188
> eMail: [EMAIL PROTECTED]
> www: http://www.atvision.de
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>
> iQA/AwUBOqi8ydJLn8zKm5h2EQLMgACg3aFy+XtuJgxeLDwTD123sctCuY0Aniga
> qT+WKThyb1WUQ4eUmniR3ctl
> =KGqD
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Part 1.3
>
> Content-Type:
>
> text/plain
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]