From: Kurt Zeilenga Date: Tue, 14 Dec 2010 21:39:08 +0000 (+0000) Subject: Very back ldapvc (verify credentials) client X-Git-Tag: MIGRATION_CVS2GIT~353 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5875113f4dda2f6fde50fcd7dcbd0c0de04a5963;p=openldap Very back ldapvc (verify credentials) client --- diff --git a/clients/tools/Makefile.in b/clients/tools/Makefile.in index 2b09e9c4ff..6c4f0c139a 100644 --- a/clients/tools/Makefile.in +++ b/clients/tools/Makefile.in @@ -14,10 +14,10 @@ ## . SRCS = ldapsearch.c ldapmodify.c ldapdelete.c ldapmodrdn.c \ - ldappasswd.c ldapwhoami.c ldapcompare.c \ + ldappasswd.c ldapwhoami.c ldapvc.c ldapcompare.c \ ldapexop.c ldapurl.c common.c OBJS = ldapsearch.o ldapmodify.o ldapdelete.o ldapmodrdn.o \ - ldappasswd.o ldapwhoami.o ldapcompare.o \ + ldappasswd.o ldapwhoami.o ldapvc.o ldapcompare.o \ ldapexop.o ldapurl.o common.o LDAP_INCDIR= ../../include @@ -32,7 +32,7 @@ XSRCS = ldsversion.c ldmversion.c lddversion.c ldrversion.c \ ldpversion.c ldwversion.c ldcversion.c ldeversion.c lduversion.c PROGRAMS = ldapsearch ldapmodify ldapdelete ldapmodrdn \ - ldappasswd ldapwhoami ldapcompare ldapexop ldapurl + ldappasswd ldapwhoami ldapvc ldapcompare ldapexop ldapurl ldapsearch: ldsversion.o @@ -53,6 +53,9 @@ ldappasswd: ldpversion.o ldapwhoami: ldwversion.o $(LTLINK) -o $@ ldapwhoami.o common.o ldwversion.o $(LIBS) +ldapvc: ldvversion.o + $(LTLINK) -o $@ ldapvc.o common.o ldvversion.o $(LIBS) + ldapcompare: ldcversion.o $(LTLINK) -o $@ ldapcompare.o common.o ldcversion.o $(LIBS) @@ -98,6 +101,12 @@ ldwversion.c: Makefile ldwversion.o: ldapwhoami.o common.o $(XLIBS) +ldvversion.c: Makefile + @-$(RM) $@ + $(MKVERSION) $(MKVOPTS) ldapvc > $@ + +ldvversion.o: ldapvc.o common.o $(XLIBS) + ldcversion.c: Makefile @-$(RM) $@ $(MKVERSION) $(MKVOPTS) ldapcompare > $@ diff --git a/clients/tools/common.h b/clients/tools/common.h index 257f520522..a668004adc 100644 --- a/clients/tools/common.h +++ b/clients/tools/common.h @@ -36,6 +36,7 @@ typedef enum tool_type_t { TOOL_WHOAMI = TOOL_EXOP | 0x100U, TOOL_PASSWD = TOOL_EXOP | 0x200U, + TOOL_VC = TOOL_EXOP | 0x400U, TOOL_WRITE = (TOOL_ADD|TOOL_DELETE|TOOL_MODIFY|TOOL_MODRDN), TOOL_READ = (TOOL_SEARCH|TOOL_COMPARE),