Hi,
This is more of a programming question, but as far as I know, it is
a DU only one - which brings two questions up here:
1) is there a list dedicated (like alpha-osf-managers) to DU programming
questions?
2) if not, here is my question:
Does anyone have an example for doing a callout for passwd program
in BSD and C2 modes? What I want to be able to do, is get the clear
text password that the person types in. I need this in order to insert
it as encrypted (either SHA or UNIX crypt) in Netscape ldap server. NS ldap
does not have a hook where I can front/back end passwd and just pass
the encrypted password over. I have to pass the clear text in order for
NS ldap to encrypted it.
I basically, want the user to only have to change the password in one place,
not have to go to another place to change the password again. Or, for that
matter with a front/back end program to have to type it in again there after
it passwes successfully through the system passwd command. The only way
I have around this problem right now is to shutdown the ldap ns server, export
the NS ldap file to a ldif file, run that through a program that updates/adds
the encrypted password from DU UNIX to the ldif file, then import the ldif
file back and start back up the NS ldap server. At this point, they are back
in sync with each other.
Thanks for any help,
Cheers,
Douglas
Received on Sun Nov 15 1998 - 13:08:11 NZDT