Overview

Packages

  • None
  • Sam

Classes

  • Sam
  • Sam_Driver_Amavisd_Sql
  • Sam_Driver_Base
  • Sam_Driver_Spamd_Base
  • Sam_Driver_Spamd_Ftp
  • Sam_Driver_Spamd_Ldap
  • Sam_Driver_Spamd_Sql
  • Sam_Exception
  • Sam_Factory_Driver
  • Sam_Form_Blacklist
  • Sam_Form_List
  • Sam_Form_Options
  • Sam_Form_Whitelist
  • Overview
  • Package
  • Class
  • Tree

Class Sam_Driver_Spamd_Ldap

Sam storage implementation for LDAP backend.

Requires SpamAssassin patch found at: http://bugzilla.spamassassin.org/show_bug.cgi?id=2205

Copyright 2003-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Sam_Driver_Base
Extended by Sam_Driver_Spamd_Base
Extended by Sam_Driver_Spamd_Ldap
Package: Sam
Author: Chris Bowlby cbowlby@tenthpowertech.com
Author: Max Kalika max@horde.org
Author: Neil Sequeira neil@ncsconsulting.com
Author: Jan Schneider jan@horde.org
Located at Driver/Spamd/Ldap.php
Methods summary
public
# __construct( string $user, array $params = array() )

Constructor.

Constructor.

Parameters

$user
A user name.
$params
<p>Class parameters: - ldap: (Horde_Ldap) An LDAP handle pointing to the directory server. - uid: (string) The user ID attribute name. - basedn: (string) The base DN. - attribute: (string) The storage attribute.</p>

Overrides

Sam_Driver_Base::__construct()
public
# retrieve( )

Retrieves user preferences from the backend.

Retrieves user preferences from the backend.

Throws

Sam_Exception
public
# store( boolean $defaults = false )

Stores user preferences in the backend.

Stores user preferences in the backend.

Parameters

$defaults
<p>Whether to store the global defaults instead of user options. Unused.</p>

Throws

Sam_Exception
Methods inherited from Sam_Driver_Base
booleanToOption(), getListOption(), getOption(), hasCapability(), optionToBoolean(), setListOption(), setOption(), setStackedOption()
API documentation generated by ApiGen