[Date Prev][Date Next] [Chronological] [Thread] [Top]

LDAPSearch, Modify, etc need a getpass() on NT (ITS#72)



Full_Name: Ian Brabham
Version: 1.1.4 -Devel
OS: Win32 (NT/95/98)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (130.194.41.14)


Dear LDAP'ers,

The LDAPDelete, LDAPModify, LDAPModrdn, LDAPSearch have been 
modified to accept -W option now and subsequently have calls 
to "char *getpass(char *)" included.  In the standard Win32 
environment this routine is not available.

To complete the build I ripped off the mygetpasswd() routine from 
.../ldap/client/ud/util.c to make a getpass.c and included it in 
the libutil project along with getopt.c, etc.  It might be a good 
idea to use this everywhere as some getpass() implementation break 
with long passwords sometimes used in the LDAP world.

Also there appears to be some confusion as to the correct names 
various libraries should have in various projects.  I have unified 
these across all projects based on names "ol*32.lib" which seems 
to be your upcoming standard.

I will try to conform to any guidlines you have and can ship you 
a full set of updated *.dsp and *.dsw project files with the updates 
if you like.

Also what happened to LDAP32.DLL from the project?

Ian