]> git.sur5r.net Git - openldap/commitdiff
Very back ldapvc (verify credentials) client
authorKurt Zeilenga <kurt@openldap.org>
Tue, 14 Dec 2010 21:39:08 +0000 (21:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 14 Dec 2010 21:39:08 +0000 (21:39 +0000)
clients/tools/Makefile.in
clients/tools/common.h

index 2b09e9c4ff93de928849021f6042ac5650243ca7..6c4f0c139a611addbe18b06363e08e339598a0ed 100644 (file)
 ## <http://www.OpenLDAP.org/license.html>.
 
 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 > $@
index 257f520522b9e83b006d3bfabf37837d9fe53cfe..a668004adc032367f3f4ffbe79e3fad14d2136aa 100644 (file)
@@ -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),