* ldap verification for passwords
@ 2000-10-10 20:08 Douglas B. Jones
0 siblings, 0 replies; only message in thread
From: Douglas B. Jones @ 2000-10-10 20:08 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
Is it possible to have password authentication be done via
ldap instead of the standard Tru64 (4.0f or 5.x) method
for BSD or C2 mode. Or, if the changing of a password would
also update ldap and maybe any other files, such as a dbm
file for apache authentication. Apache does have an ldap module,
but it is not very well supported and is for an earlier version
of apache, so I am a little worried about it.
Right now I am using a front/back end to the password command. Ie:
I have the user run my password command that then runs the system
one and then mine will change ldap and the dbm file(s) putting
the encrypted one in there is there is a change from the encrypted
string before calling the system password command. Sure would be
nice if there was simply a system call for changing the password.
Such as:
s = gettheapsswordfromtheuser();
ret = sys_password(s);
s would not be encrypted, but 'sys_password()' would encrypted
it according to the system standard and then add it to the appropriate
dbs. Of course, if you are doing a lot of ids at once, you might have:
sys_openpassword(); /* make ptmp or return error if ptmp exist */
for (i = 0; i < ntoset; i++) {
sys_password_upd(s[i]);
}
sys_closepassword(); /* this would close ptmp, mkpasswd, mv to /etc/passwd */
making 'sys_password()' just a wrapper for the open/upd/close calls....
Just an idea, but anyway my question is actually about ldap authentication
for the user login and password.
Thanks for any help,
Cheers,
Douglas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-10-10 20:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-10 20:08 ldap verification for passwords Douglas B. Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox