--- /dev/null
+ChangeLog for "Lightweight Contact Manager", http://verplant.org/licom/
+
+2005-04-30, Version 0.2, Florian Forster <octo@verplant.org>
+ * The ability to delete entries has been added.
+ * Telephone numbers now may contain spaces and dashes, as common in
+ LDAP.
+ * Email messages now include an SSL URI if applicable.
+
+2005-04-27, Version 0.1, Florian Forster <octo@verplant.org>
+ * Initial release
+
- Perl (Version 5.6 or later)
+Other things you need:
+- Understanding of Apache and LDAP
+ OR
+- Someone who knows
+ OR
+- Curiosity, manuals, time and coffee
+
+
Installation:
Please read these instructions, they include non-obvious hints.
$mail ||= '';
my $message;
- my $password = $person->password ();
+ my $password = $person->get ('password');
if (!$password)
{
$password = pwgen ();
- $person->password ($password);
+ $person->set ('password', $password);
}
$message = qq(The password for the record "$cn" is "$password".);
my $person_name = $person->name ();
my ($person_mail) = $person->get ('mail');
my $person_gn = $person->firstname ();
- my $password = $person->password ();
+ my $password = $person->get ('password');
my $host = $ENV{'HTTP_HOST'};
- my $url = 'http://' . $host . $MySelf;
+ my $url = (defined ($ENV{'HTTPS'}) ? 'https://' : 'http://') . $host . $MySelf;
open ($smh, "| /usr/sbin/sendmail -t -f $owner_mail") or die ("open pipe to sendmail: $!");
print $smh <<EOM;
print $smh <<EOM;
If this entry is outdated or incomplete, please take a minute and correct it.
- Address: $url
+ Address: $url
Username: $person_name
Password: $password
-Thank you very much :) Regards,
+Thank you very much :)
+
+Regards,
$UserCN
+--
+This message was automatically generated by LiCoM,
+http://verplant.org/licom/
EOM
close ($smh);
<body>
EOF
+
if ($UserID)
{
my $search = param ('search') || '';