~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/kdc/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2009-05-07 16:16:34 UTC
  • mfrom: (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090507161634-xqyk0s9na0le4flj
Tags: 1.7dfsg~beta1-4
When  decrypting the TGS response fails with the subkey, try with the
session key to work around Heimdal bug, Closes: #527353 

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
13
13
KDB5_LIB_DEPS=$(DL_LIB) $(THREAD_LINKOPTS)
14
14
PROG_RPATH=$(KRB5_LIBDIR)
15
 
FAKEKA=@FAKEKA@
16
15
DEFS=-DLIBDIR=\"$(KRB5_LIBDIR)\"
17
16
 
18
 
all:: krb5kdc rtest $(FAKEKA)
 
17
all:: krb5kdc rtest
19
18
 
20
19
# DEFINES = -DBACKWARD_COMPAT $(KRB4DEF)
21
20
 
22
 
LOCALINCLUDES = @KRB4_INCLUDES@ -I.
 
21
LOCALINCLUDES = -I.
23
22
SRCS= \
24
23
        kdc5_err.c \
25
24
        $(srcdir)/dispatch.c \
26
25
        $(srcdir)/do_as_req.c \
27
26
        $(srcdir)/do_tgs_req.c \
 
27
        $(srcdir)/fast_util.c \
28
28
        $(srcdir)/kdc_util.c \
29
29
        $(srcdir)/kdc_preauth.c \
30
30
        $(srcdir)/main.c \
32
32
        $(srcdir)/policy.c \
33
33
        $(srcdir)/extern.c \
34
34
        $(srcdir)/replay.c \
35
 
        $(srcdir)/kerberos_v4.c
 
35
        $(srcdir)/kdc_authdata.c
36
36
 
37
37
OBJS= \
38
38
        kdc5_err.o \
39
39
        dispatch.o \
40
40
        do_as_req.o \
41
41
        do_tgs_req.o \
 
42
        fast_util.o \
42
43
        kdc_util.o \
43
44
        kdc_preauth.o \
44
45
        main.o \
46
47
        policy.o \
47
48
        extern.o \
48
49
        replay.o \
49
 
        kerberos_v4.o
 
50
        kdc_authdata.o
50
51
 
51
52
RT_OBJS= rtest.o \
52
53
        kdc_util.o \
61
62
 
62
63
kdc5_err.o: kdc5_err.h
63
64
 
64
 
krb5kdc: $(OBJS) $(KADMSRV_DEPLIBS) $(KRB4COMPAT_DEPLIBS) $(APPUTILS_DEPLIB)
65
 
        $(CC_LINK) -o krb5kdc $(OBJS) $(KADMSRV_LIBS) $(KRB4COMPAT_LIBS) $(APPUTILS_LIB)
 
65
krb5kdc: $(OBJS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(APPUTILS_DEPLIB)
 
66
        $(CC_LINK) -o krb5kdc $(OBJS) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS) $(APPUTILS_LIB)
66
67
 
67
68
rtest: $(RT_OBJS) $(KDB5_DEPLIBS) $(KADM_COMM_DEPLIBS) $(KRB5_BASE_DEPLIBS)
68
69
        $(CC_LINK) -o rtest $(RT_OBJS) $(KDB5_LIBS) $(KADM_COMM_LIBS) $(KRB5_BASE_LIBS)
69
70
 
70
 
fakeka: fakeka.o $(KADMSRV_DEPLIBS) $(KRB4COMPAT_DEPLIBS) $(APPUTILS_DEPLIB)
71
 
        $(CC_LINK) -o fakeka fakeka.o $(KADMSRV_LIBS) $(KRB4COMPAT_LIBS) $(APPUTILS_LIB)
72
 
 
73
71
check-unix:: rtest
74
72
        KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf ; export KRB5_CONFIG ;\
75
73
        $(RUN_SETUP) $(VALGRIND) $(srcdir)/rtscript > test.out
79
77
install::
80
78
        $(INSTALL_PROGRAM) krb5kdc ${DESTDIR}$(SERVER_BINDIR)/krb5kdc
81
79
        $(INSTALL_DATA) $(srcdir)/krb5kdc.M ${DESTDIR}$(SERVER_MANDIR)/krb5kdc.8
82
 
        f=$(FAKEKA); \
83
 
        if test -n "$$f" ; then \
84
 
                $(INSTALL_PROGRAM) $$f ${DESTDIR}$(SERVER_BINDIR)/$$f; \
85
 
                $(INSTALL_DATA) $(srcdir)/fakeka.M ${DESTDIR}$(SERVER_MANDIR)/fakeka.8; \
86
 
        fi
87
80
 
88
81
clean::
89
82
        $(RM) kdc5_err.h kdc5_err.c krb5kdc rtest.o rtest
90
83
 
91
 
# +++ Dependency line eater +++
92
 
93
 
# Makefile dependencies follow.  This must be the last section in
94
 
# the Makefile.in file
95
 
#
96
 
$(OUTPRE)kdc5_err.$(OBJEXT): $(COM_ERR_DEPS) kdc5_err.c
97
 
$(OUTPRE)dispatch.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
98
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
99
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h \
100
 
  $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int-pkinit.h \
101
 
  $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
102
 
  $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
103
 
  $(SRCTOP)/include/kdb.h $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
104
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
105
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
106
 
  dispatch.c extern.h kdc_util.h
107
 
$(OUTPRE)do_as_req.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
108
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
109
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm.h \
110
 
  $(SRCTOP)/include/adm_proto.h $(SRCTOP)/include/k5-err.h \
111
 
  $(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
112
 
  $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
113
 
  $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
114
 
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
115
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
116
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
117
 
  do_as_req.c extern.h kdc_util.h policy.h
118
 
$(OUTPRE)do_tgs_req.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
119
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
120
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h \
121
 
  $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int-pkinit.h \
122
 
  $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
123
 
  $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
124
 
  $(SRCTOP)/include/kdb.h $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
125
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
126
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
127
 
  do_tgs_req.c extern.h kdc_util.h policy.h
128
 
$(OUTPRE)kdc_util.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
129
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
130
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm.h \
131
 
  $(SRCTOP)/include/adm_proto.h $(SRCTOP)/include/k5-err.h \
132
 
  $(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
133
 
  $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
134
 
  $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
135
 
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
136
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
137
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
138
 
  extern.h kdc_util.c kdc_util.h
139
 
$(OUTPRE)kdc_preauth.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
140
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
141
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h \
142
 
  $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int-pkinit.h \
143
 
  $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
144
 
  $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
145
 
  $(SRCTOP)/include/kdb.h $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
146
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
147
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
148
 
  extern.h kdc_preauth.c kdc_util.h
149
 
$(OUTPRE)main.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
150
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
151
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm.h \
152
 
  $(SRCTOP)/include/adm_proto.h $(SRCTOP)/include/k5-err.h \
153
 
  $(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
154
 
  $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
155
 
  $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
156
 
  $(SRCTOP)/include/kdb_kt.h $(SRCTOP)/include/kerberosIV/des.h \
157
 
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
158
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
159
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
160
 
  extern.h kdc5_err.h kdc_util.h main.c
161
 
$(OUTPRE)network.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
162
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
163
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h \
164
 
  $(SRCTOP)/include/cm.h $(SRCTOP)/include/fake-addrinfo.h \
165
 
  $(SRCTOP)/include/foreachaddr.h $(SRCTOP)/include/k5-err.h \
166
 
  $(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
167
 
  $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
168
 
  $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
169
 
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
170
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
171
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
172
 
  extern.h kdc5_err.h kdc_util.h network.c
173
 
$(OUTPRE)policy.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
174
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
175
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h \
176
 
  $(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
177
 
  $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
178
 
  $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
179
 
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
180
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
181
 
  $(SRCTOP)/include/socket-utils.h kdc_util.h policy.c
182
 
$(OUTPRE)extern.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
183
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
184
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h \
185
 
  $(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
186
 
  $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
187
 
  $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/krb5.h \
188
 
  $(SRCTOP)/include/krb5/locate_plugin.h $(SRCTOP)/include/krb5/preauth_plugin.h \
189
 
  $(SRCTOP)/include/port-sockets.h $(SRCTOP)/include/socket-utils.h \
190
 
  extern.c extern.h
191
 
$(OUTPRE)replay.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
192
 
  $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
193
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/k5-err.h \
194
 
  $(SRCTOP)/include/k5-int-pkinit.h $(SRCTOP)/include/k5-int.h \
195
 
  $(SRCTOP)/include/k5-platform.h $(SRCTOP)/include/k5-plugin.h \
196
 
  $(SRCTOP)/include/k5-thread.h $(SRCTOP)/include/kdb.h \
197
 
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
198
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
199
 
  $(SRCTOP)/include/socket-utils.h extern.h kdc_util.h \
200
 
  replay.c
201
 
$(OUTPRE)kerberos_v4.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \
202
 
  $(KRB_ERR_H_DEP) $(BUILDTOP)/include/krb5/krb5.h $(BUILDTOP)/include/osconf.h \
203
 
  $(BUILDTOP)/include/profile.h $(COM_ERR_DEPS) $(SRCTOP)/include/adm_proto.h \
204
 
  $(SRCTOP)/include/k5-err.h $(SRCTOP)/include/k5-int-pkinit.h \
205
 
  $(SRCTOP)/include/k5-int.h $(SRCTOP)/include/k5-platform.h \
206
 
  $(SRCTOP)/include/k5-plugin.h $(SRCTOP)/include/k5-thread.h \
207
 
  $(SRCTOP)/include/kdb.h $(SRCTOP)/include/kerberosIV/des.h \
208
 
  $(SRCTOP)/include/kerberosIV/klog.h $(SRCTOP)/include/kerberosIV/krb.h \
209
 
  $(SRCTOP)/include/kerberosIV/krb_db.h $(SRCTOP)/include/kerberosIV/prot.h \
210
 
  $(SRCTOP)/include/krb5.h $(SRCTOP)/include/krb5/locate_plugin.h \
211
 
  $(SRCTOP)/include/krb5/preauth_plugin.h $(SRCTOP)/include/port-sockets.h \
212
 
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/syslog.h \
213
 
  extern.h kdc_util.h kerberos_v4.c