mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Very back ldapvc (verify credentials) client
This commit is contained in:
parent
4ce4e4768a
commit
5875113f4d
@ -14,10 +14,10 @@
|
||||
## <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 > $@
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user