debian man page for authen::smb

Query: authen::smb

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Smb(3pm)						User Contributed Perl Documentation						  Smb(3pm)

NAME
Authen::Smb - Perl extension to authenticate against an SMB server
SYNOPSIS
use Authen::Smb; my $authResult = Authen::Smb::authen('myUser', 'myPassword', 'myPDC', 'myBDC', 'myNTDomain'); if ( $authResult == Authen::Smb::NO_ERROR ) { print "User successfully authenticated. "; } else { print "User not authenticated with error level $authResult "; }
DESCRIPTION
Authen::Smb allows you to authenticate a user against an NT domain. You can specify both a primary and a backup server to use for authentication. The NT names of the machines should be used for specifying servers. An authentication request will return one of four values: NTV_NO_ERROR(0) NTV_SERVER_ERROR(1) NTV_PROTOCOL_ERROR(2) NTV_LOGON_ERROR(3) NTV_NO_ERROR is the only return value possible for a successful authentication. All other return values indicate failure, of one sort or another. EXPORT_OK constants NTV_LOGON_ERROR NTV_NO_ERROR NTV_PROTOCOL_ERROR NTV_SERVER_ERROR
AUTHOR
Patrick Michael Kane, modus@pr.es.to Based on the smbval library from the samba package
SEE ALSO
perl(1). perl v5.14.2 1999-06-07 Smb(3pm)
Related Man Pages
authen::simple::cdbi(3pm) - debian
authen::simple::ftp(3pm) - debian
authen::simple::kerberos(3pm) - debian
authen::simple::smb(3pm) - debian
authen::smb(3pm) - debian
Similar Topics in the Unix Linux Community
samba user.map file
Factors in a Security Printing & Imaging Based Anti-Counterfeiting Ecosystem
Configuring Unix(FreeSBD) to authenticate to TACACS
Configuring Unix(FreeSBD) to authenticate to TACACS
Smb.conf config help