HP3000-L Archives

March 1998, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Tue, 24 Mar 1998 16:43:49 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Gavin wrote...
>So what you need is some privileged routine that quietly tests the
>passwords for validity.  There may be something like this in MPE, but I
>don't know about it.

While I have missed the beginning of this thread, I'd like to offer
Samba/iX for this purpose... Hey, that's what I always seem to do ;-)
but this time I suggest to pick a piece from the source code...

With the Samba/iX server I had exactly the task to verify a given
MPE/iX user and password (in fact my variant involves user.acct and
userpass,acctpass but this just adds some string manipulation).

There is an AIF routine that takes user and password info and returns
a kind of ok/not-ok status in response (the details escape me but can
easily be found by doing a grep for AIF in /usr/local/samba/source/*.c)
Notice that AIF means you'll need to create a PM program!

One minor gotcha... The 0.7c version of Samba/iX only compiles with
HP C/iX (ie c89) as it uses AIF, intrinsics and long pointers. Thanks
to the great GNU gcc examples of Mark Klein I was able to make the new
Samba 1.9.18p2/iX prototype compile with c89 as well as gcc, though.

Find both versions on the latest MPE Freeware Tape (as of iprof 98).

Lars.

By the way, I suspect my AIF approach will not work if a "3rd party"
security package is in use. If someone from VESOFT and/or Monterey(sp?)
would be willing to shed some light, we might be able to enhance Samba
to also work with those security packages installed... (hint hint)

ATOM RSS1 RSS2