Dec 232017
Novell login access routines for Pascal.
File LOGPAS.ZIP from The Programmer’s Corner in
Category Pascal Source Code
Novell login access routines for Pascal.
File Name File Size Zip Size Zip Type
ALOGIN.DOC 3568 1341 deflated
ALOGIN.TP5 6192 2511 deflated
ALOGIN.TP6 6240 2520 deflated
LOGINTST.EXE 9728 5883 deflated
LOGINTST.PAS 1025 465 deflated

Download File LOGPAS.ZIP Here

Contents of the ALOGIN.DOC file


Units for Turbo Pascal to use
NetWare APIs with Password Encryption

Keyed Login Object Modules
Last Update: 09/11/92

This software is provided as is and carries no warranty
whatsoever. Novell disclaims and excludes any and all implied
warranties of merchantability, title and fitness for a particular
purpose. Novell does not warrant that the software will satisfy
your requirements or that the software is without defect or error
or that operation of the software will be uninterrupted. You are
using the software at your risk. The software is not a product
of Novell, Inc. or any of its subsidiaries.

This document describes the functions contained in the ALOGIN.TPx files.
These functions allow you to perform a keyed login to a NetWare v2.x
or v3.x file server as well as change or verify a bindery object's


Naming Convention:

x stands for the Turbo Pascal version (v5.0 or v6.0).
According to the Pascal version that you use
rename ALOGIN.TP5 or TP6 to ALOGIN.TPU

You can access the functions after including ALOGIN in the
"Uses" statement of your application.


These functions all assume that you are attached, and the preferred
connection is set to the server that you want to login to or change the
password on. You must perform these APIs before calling the functions in
this object, or they will not work.

There are three functions included in each object module:

PasLoginToFileServer (ObjName, ObjType, ObjPassword)
PasVerifyBinderyObjectPassword (ObjName, ObjType, ObjPassword)
PasChangeBinderyObjectPassword (ObjName, ObjType, ObjOldPass, ObjNewPass)

ObjName - The Object's Name
ObjType - The Object's Type i.e. 1 for USER, ...
ObjPassword - The Object's Password.
ObjOldPass - The Object's old Password.
ObjNewPass - The Object's new Password.

Maximum password length is 128;
Maximum object name length is 48;

Passwords may contain all chars between $1C and $FF;
User names and passwords are case sensitive


All functions return a status code. Return codes are in
integer format:
- the high Byte will be 0, the low Byte reflects the error
- 0 is successful
- for the interpretation of other return codes check the
"NetWare System Calls" and the "NetWare C Interface"

Sample Program:

LOGINTST.PAS is a sample program that uses encrypted
passwords. See the source code for details.

Interface part of ALOGIN.PAS:

unit alogin;


Str48 = String[48];
Str128 = String[128];

FUNCTION PasLoginToFileServer(objectName: Str48; objectType: Word;
password: Str128): Integer;
FUNCTION PasVerifyBinderyObjectPassword(objectName: Str48;
objectType: Word; password: Str128): Integer;
FUNCTION PasChangeBinderyObjectPassword(objectName: Str48;
objectType: Word; oldPassword, newPassword: Str128): Integer;


 December 23, 2017  Add comments

Leave a Reply