522 B
522 B
perl-Authen-Smb
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.