[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Auth/ -> smb.php (sommaire)

(pas de description)

Poids: 106 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Auth_smb:: (2 méthodes):
  Auth_smb()
  _authenticate()


Classe: Auth_smb  - X-Ref

The Auth_smb class provides an SMB implementation of the Horde
authentication system.

This module requires the smbauth extension for PHP:
http://www.tekrat.com/smbauth/

At the time of this writing, the extension, and thus this module, only
supported authentication against a domain, and pdc and bdc must be non-null
and not equal to each other. In other words, to use this module you must
have a domain with at least one PDC and one BDC.

Required parameters:<pre>
'hostspec'  IP, DNS Name, or NetBios Name of the SMB server to
authenticate with.
'domain'    The domain name to authenticate with.</pre>

Optional parameters:<pre>
'group'     Group name that the user must be a member of. Will be
ignored if the value passed is a zero length string.</pre>


$Horde: framework/Auth/Auth/smb.php,v 1.20.10.8 2006/01/01 21:28:07 jan Exp $

Copyright 1999-2006 Jon Parise <jon@horde.org>
Copyright 2002-2006 Marcus I. Ryan <marcus@riboflavin.net>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Auth_smb($params = array()   X-Ref
Constructs a new SMB authentication object.

param: array $params  A hash containing connection parameters.

_authenticate($userId, $credentials)   X-Ref
Find out if the given set of login credentials are valid.

param: string $userId      The userId to check.
param: array $credentials  An array of login credentials.
return: boolean  True on success or a PEAR_Error object on failure.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7