[ZendTo] Re: Version 3.56 released

Duncan, Brian M. brian.duncan at kattenlaw.com
Mon Jul 19 20:32:57 BST 2010


Hi Jules,

I don't know if I did something wrong but I cannot get local user
authentication to work..

This is what I did,  I downloaded the 3.56 RPM and updated on the 3.55.3
CentOS 64 bit VM.

I then updated the new preferences.php to reflect using MySQL and added
back in my specific config details, then re-ran the mysql command in the
readme:

mysql --user=zendto --password='password' zendto < zendto.MySQL

(using the correct password)

I added a user called brian:

[root at localhost bin]# ./adduser.php /opt/zendto/config/preferences.php
'brian' 'qv25v34' 'brian.duncan at kattenlaw.com' 'test' 'org'
Created user:
Username:     brian
Password:     (secret)
Email:        brian.duncan at kattenlaw.com
Real name:    test
Organization: org

listusers.php shows:

[root at localhost bin]# ./listusers.php /opt/zendto/config/preferences.php
brian   brian.duncan at kattenlaw.com      test    org
 
When I try to login through the site I get this:

Fatal error: Call to a member function DBReadLocalUser() on a non-object
in /opt/zendto/lib/NSSLocalAuthenticator.php on line 121


My preferences.php has:

  //
  // Settings for the Local SQL-based authenticator.
  //
  // See the commands in /opt/zendto/bin and the ChangeLog to use this.
  'authenticator' => 'Local',
  'authLocalAdmins' => array('admin1','admin2','admin3'),


The IMAP 'authenticator' is remarked out with //
 
Thanks for any pointers to what I might be doing wrong.

Brian



BRIAN M. DUNCAN 
Data Security Administrator
Katten Muchin Rosenman LLP
525 W. Monroe Street / Chicago, IL 60661-3693
p / (312) 577-8045 f / (312) 577-4490
brian.duncan at kattenlaw.com / www.kattenlaw.com
  
-----Original Message-----
From: zendto-bounces at zendto.com [mailto:zendto-bounces at zendto.com] On
Behalf Of Jules
Sent: Sunday, July 18, 2010 1:48 PM
To: ZendTo Users
Subject: [ZendTo] Version 3.56 released

Evening all!

I have added an SQL-based authenticator, so you can have a local list of
users. This is now set as the default in new installations.
There are also a few additions and corrections of other bits.
The ChangeLog entry for the new version explains where you need to look
to use it, and where to look if you are upgrading to it (there is a new
database table for the list of users).

Download from www.zendto.com as usual.

The Change Log entry for this release is:

- Fixed broken "main menu" link in template verify_sent.tpl.
- Email addresses read from AD are trimmed of whitespace.
- Regexp defining any valid email address is now set in preferences.php.
   NOTE: You need to update your preferences.php file when upgrading to
this!
- Added a new authenticator "Local". This uses an SQL database table
(stored
   in the ZendTo database) to contain a list of users and their details.
   In /opt/zendto/bin you will find a little set of scripts for
maintaining
   the list of users. Their names are self-explanatory.
   For usage help, just run them without any command-line parameters.
   NOTE: If you are upgrading to this release, then before using this
         you must add the table to the database using:
         SQLite - run the script
/opt/zendto/sbin/UPGRADE/addUserTable.php
         MySQL  - read /opt/zendto/sql/README.MySQL

Jules

--
Julian Field MEng CITP CEng
www.ZendTo.com

Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 Follow
me at twitter.com/JulesFM

_______________________________________________
ZendTo mailing list
ZendTo at zendto.com
http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

===========================================================
CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice Before the Internal Revenue
Service, any tax advice contained herein is not intended or written to be used and cannot be used
by a taxpayer for the purpose of avoiding tax penalties that may be imposed on the taxpayer.
===========================================================
CONFIDENTIALITY NOTICE:
This electronic mail message and any attached files contain information intended for the exclusive
use of the individual or entity to whom it is addressed and may contain information that is
proprietary, privileged, confidential and/or exempt from disclosure under applicable law.  If you
are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or 
distribution of this information may be subject to legal restriction or sanction.  Please notify
the sender, by electronic mail or telephone, of any unintended recipients and delete the original 
message without making any copies.
===========================================================
NOTIFICATION:  Katten Muchin Rosenman LLP is an Illinois limited liability partnership that has
elected to be governed by the Illinois Uniform Partnership Act (1997).
===========================================================



More information about the ZendTo mailing list