1
commit 7194d7d6320736c14f40d31c3738d40f3119ead5
2
Author: Kevin Coffman <kwc@citi.umich.edu>
3
Date: Sat Jul 8 10:01:40 2006 +1000
5
Use uid/gid of -1 to indicate the export's anonuid/anongid should be used
7
Kernel routine nfsd_setuser() in fs/nfsd/auth.c checks for the
8
value -1 and defaults the credential's fsuid/fsgid to the
9
correct anonuid/anongid values for the given export. We should
10
be passing this value (-1) down when a name mapping cannot be found.
11
Thanks to J. Bruce Fields <bfields@fieldses.org> for the reference.
13
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
14
Acked-by: J. Bruce Fields <bfields@fieldses.org>
16
commit b0604c623f7a98c6061dff19988722d3ae848bd7
17
Author: Kevin Coffman <kwc@citi.umich.edu>
18
Date: Sat Jul 8 09:58:03 2006 +1000
20
Change svcgssd_LDFLAGS to match gssd_LDFLAGS
22
commit 99414bd3eecf93f23c378d3bb3d45bc98f364abc
23
Author: Neil Brown <neilb@suse.de>
24
Date: Sat Jul 8 09:41:58 2006 +1000
26
Disable building/installing mount.nfs by default.
28
mount.nfs does not yet support 'user' option and some others.
29
To make it support this we need to make it setuid-root, and
30
some security isses need to be resolved before that can be done
33
commit b0c3cbfee702c019dab0a22557bbf38e24dfcee1
34
Author: Steve Dickson <steved@redhat.com>
35
Date: Sat Jul 8 09:35:02 2006 +1000
37
Call nfssvc_versbits before nfssvc_setfds
39
nfssvc_versbits() has to be called before nfssvc_setfds()
40
for the version processing to work correctly
42
commit 26fff911b21943f20e3937ae3f2d29a1572d2309
43
Author: Neil Brown <neilb@suse.de>
44
Date: Thu Jul 6 13:05:11 2006 +1000
46
Only use -rpath for Kerberos libs when actually needed.
48
Avoid usage of -rpath is generally safer, and is required by Debian policy.
50
commit 28a7603b719f8d35bf22fd3018b610b489fec78f
51
Author: Neil Brown <neilb@suse.de>
52
Date: Thu Jul 6 12:28:33 2006 +1000
54
Use 65534 instead of -2 in svcgssd_proc.c
56
as this is more consistant across achitectures.
58
commit 904de920ea4da3ad5604c417f0d784fcda83ed2a
59
Author: Shankar Anand <shanand@novell.com>
60
Date: Tue Jul 4 08:50:56 2006 -0600
62
This patch adds code to nfsstat to read /proc/net/rpc/nfsd for nfsv4 server statistics and print them.
64
Submitted by: Shankar Anand <shanand@novell.com>
66
commit 2179c112b9a386ca3d51d0e19390ddfadd745030
67
Author: Steinar H. Gunderson <sesse@debian.org>
68
Date: Wed Jul 5 15:55:45 2006 +1000
70
Fix typos in various man pages.
72
commit 3419e37500dfd19cb2c246260dbd2bc0ee4704d4
73
Author: Steinar H. Gunderson <sesse@debian.org>
74
Date: Wed Jul 5 15:51:30 2006 +1000
76
Use 65534 for anon uid/gid rather than -2
78
This is more consistant across platforms.
80
commit 65735eef8a9441901245f6047edafc50f2d97c97
81
Author: Greg Banks <gnb@chook.melbourne.sgi.com>
82
Date: Wed Jul 5 13:37:21 2006 +1000
84
Update rpcdebug to know about new 2.6 debug flags. Added
85
a manpage and installed rpcdebug (in sbindir).
87
commit 23b3a9d0284d78cb6bf96b8cd44e9a4662ff60ae
88
Author: Greg Banks <gnb@chook.melbourne.sgi.com>
89
Date: Wed Jul 5 12:22:45 2006 +1000
91
Ignore new generated files.
93
commit 89053f3f440b629911cb994a293d5be73bb79bf9
94
Author: Greg Banks <gnb@chook.melbourne.sgi.com>
95
Date: Wed Jul 5 12:20:20 2006 +1000
97
Add rquota.h to BUILT_SOURCES so rquotad builds on the first try.
99
commit 66f9d8251c92124e46a209c47e5c0f7d3a0c4e6e
100
Author: Neil Brown <neilb@suse.de>
101
Date: Wed Jul 5 11:06:09 2006 +1000
103
Generate rquota_xdr.c and rquota.h from rquota.x
105
rquota_svc.c is still by-hand as it contains alot of extras.
106
These should really be moved to rquota_server.c
108
commit 9f5b40b7a68fe0a2648565ecbd4b08bf60287130
109
Author: Neil Brown <neilb@suse.de>
110
Date: Wed Jul 5 10:41:03 2006 +1000
112
Remove some files that old, unused, unneeded.
114
deleted: support/export/keys.c
115
deleted: support/include/rpcdispatch.h
116
deleted: support/include/rpcsec.h
117
deleted: support/include/version.h
118
deleted: support/include/ypupdate.h
119
deleted: support/nfs/clients.c
120
deleted: support/nfs/keytab.c
121
deleted: support/nfs/ypupdate_xdr.c
122
deleted: support/rpc/include/Makefile.am
123
deleted: tools/rpcdebug/neat_idea.c
124
deleted: utils/mountd/mount_xdr.c
125
deleted: utils/rquotad/pathnames.h
127
commit fbb1602bbd34cbe89dd55ca6eaaa19432237db1d
128
Author: Neil Brown <neilb@suse.de>
129
Date: Wed Jul 5 10:30:51 2006 +1000
131
Avoid error creating an existing symlink
133
Just remove the link first.
135
commit 0bc710a5a2b695039613a917e009dba3552ab1cc
136
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
137
Date: Mon Jul 3 18:33:54 2006 -0400
139
Don't depend on Kerberos headers when checking librpcsecgss in configure
141
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
143
Older versions of MIT Kerberos are missing an OID definition, causing
144
the configure checks for librpcsecgss to fail. We shouldn't be depending
145
on their libraries during the configure.
147
commit 5bfa10c94c44f082dc211a5fb431e2202ea9bb35
148
Author: Greg Banks <gnb@melbourne.sgi.com>
149
Date: Tue Jul 4 18:33:56 2006 +1000
151
Eliminate warnings from code generated by rpcgen
153
- unused variable 'buf'
154
- emit a declaration for `buf' on demand.
155
- unused variable 'i'
156
- declare i immediately before use
157
- unused value from IXDR_PUT_
159
- type-punned pointer reference
160
- cast to (void*) first :-(
162
commit acae444246635ec2ca8990d53e685c9062d73091
163
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
164
Date: Mon Jul 3 18:34:43 2006 -0400
166
Handle mapping failure from get_ids.
168
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
170
Temporary patch to do default mapping if we get an error while trying to
171
map a gss principal to the appropriate uid/gid. This currently returns
172
hardcoded values. This may be correct, or we may need to try and figure
173
out the correct values to match the anonuid/anongid for the export.
175
commit 1f1b05a65ef3dc6597c7bc1e2a38f38ae95bf230
176
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
177
Date: Mon Jul 3 18:34:38 2006 -0400
179
Properly report errors in readline() function
181
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
183
Change message priorities for errors and debug messages.
185
commit ee664fd246d77010af13fb557407c612752a5ea8
186
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
187
Date: Mon Jul 3 18:34:33 2006 -0400
189
Change default buffer size increment for readline()
191
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
193
The readline routine expects much smaller messages than we are passing.
194
Change the default initial allocation and increment value from 128
195
to 2048. This saves many calls to realloc().
197
commit 3da69ce5c4fac5677e91aa20e60750ab8de2ab97
198
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
199
Date: Mon Jul 3 18:34:27 2006 -0400
201
Clean up the printerr() logging function.
203
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
205
Update the printerr() function to:
207
1) Determine whether we'll print the message before going to all the
208
work of formatting it.
209
2) Don't just toss away messages that are too long for the buffer.
210
Print what we can and give an indication of the truncation with
212
3) Use a single buffer rather than two.
213
4) Messages either go to syslog (with level ERR) or stderr. Don't
214
send some messages to syslog level DEBUG.
216
commit 0b2a5b574c7ffd99aa3226d36e1d261826405625
217
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
218
Date: Mon Jul 3 18:34:21 2006 -0400
220
Use setfsuid() rather than seteuid() while creating contexts
222
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
224
As suggested by Olaf Kirch <okir@suse.de>, use setfsuid() rather than
225
seteuid() when creating a gss context. This prevents users from using
226
credentials that do not belong to them, while also preventing them from
227
doing things like killing, renicing, or changing the priority of the
228
gssd process while it is processing the context creation.
230
commit 0f899e6d862994ffb437ae73e087c4a21ab59723
231
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
232
Date: Mon Jul 3 18:34:16 2006 -0400
234
Limit acquire_cred call to to Kerberos only
236
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
238
Specify that the acquire_cred call should only be concerned with returning
239
Kerberos credentials since this is Kerberos-only functionality.
241
commit 3829bb90e764cd72c0009cb32a8b39d0fab89d81
242
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
243
Date: Mon Jul 3 18:34:10 2006 -0400
245
Check that the gssapi library is usable early on.
247
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
249
Do a call to determine mechanisms supported by the gssapi library early.
250
This allows us to discover early in case the gssapi library is somehow
251
misconfigured. We can bail out early and give a meaningful message
252
rather than getting errors on each attempt at a context negotiation.
254
commit 119c3e9aafe84c0f7c2846c46ad5e6f5eeece0da
255
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
256
Date: Mon Jul 3 18:34:05 2006 -0400
258
Fix problems with 64-bit big-endian machines
260
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
262
Correct the definition of mech_used in the gss context to use gss_OID_desc.
263
This fixes problems on 64-bit machines when referencing the OID.
265
Also updates write_buffer function to use u_int rather than size_t when
268
commit c3f05548d7b3d586e7eebbdde9339617e88530f3
269
Author: kwc@citi.umich.edu <kwc@citi.umich.edu>
270
Date: Mon Jul 3 18:33:59 2006 -0400
272
Define CFLAGS for gss_clnt_send_err compile
274
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
276
Add CFLAGS to make sure we find and use the correct gssapi.h when
277
building gss_clnt_send_err
279
commit 4e9ed06f8f8a0cd9f34a6830c0ff14344a528042
280
Author: Greg Banks <gnb@melbourne.sgi.com>
281
Date: Mon Jul 3 15:59:54 2006 +1000
283
Use socklen_t some more to avoid warnings.
285
commit 6c40236820fda8960af891f41aa9d53f8bbe50a2
286
Author: Greg Banks <gnb@melbourne.sgi.com>
287
Date: Mon Jul 3 15:39:41 2006 +1000
289
Fix warning about pointer signedness differing.
291
commit 3bf702b1a914b3867117b74d519c55fa68f4dc28
292
Author: Greg Banks <gnb@melbourne.sgi.com>
293
Date: Mon Jul 3 15:17:34 2006 +1000
295
Include the right header to get xmalloc() declaration.
297
commit 940c7c304d4a43c00c27529cdddc7c87db6eef87
298
Merge: b90d201... a503848...
299
Author: Greg Banks <gnb@melbourne.sgi.com>
300
Date: Mon Jul 3 14:21:48 2006 +1000
302
Merge branch 'master' of git://linux-nfs.org/nfs-utils
304
commit b90d201551aaa712c011c3d5de900fad714a26a6
305
Author: Greg Banks <gnb@melbourne.sgi.com>
306
Date: Tue Jun 27 21:30:18 2006 +1000
308
Comment out unused variable.
310
commit 33beb42d3d2cd13a82ddbbdc4275d2a048030ae3
311
Author: Greg Banks <gnb@melbourne.sgi.com>
312
Date: Tue Jun 27 21:22:59 2006 +1000
314
Comment out the decades-old SCCS id strings from the original Sun
315
distribution. They cause compile warnings, there is no longer any
316
reason to try to build them into the binaries, and gcc seems to be
317
eliding some of them anyway.
319
commit 3172063ead6b99611d049a59938808a6358f48a4
320
Author: Greg Banks <gnb@melbourne.sgi.com>
321
Date: Tue Jun 27 20:55:07 2006 +1000
323
Detect if glibc provides socklen_t and use that instead
324
of int in those cases which generate compile warnings,
325
e.g. the last argument of recvfrom().
327
commit a09eeb36c2c45151b9bb89f5015da0c584799716
328
Author: Greg Banks <gnb@melbourne.sgi.com>
329
Date: Tue Jun 27 20:28:02 2006 +1000
331
Replace the deprecated sigblock() with more modern
332
signal functions to avoid compile warnings.
334
commit 93608a52655abf5ac23404c4b5cc05fe575a9c04
335
Author: Greg Banks <gnb@melbourne.sgi.com>
336
Date: Thu Jun 22 18:01:10 2006 +1000
338
Fix a number of the easier compile warnings: unused variables,
339
unused labels, constness, signedness.
341
commit a07343ee0da4f0974a23b673ae1b0d482c7426a1
342
Author: Greg Banks <gnb@melbourne.sgi.com>
343
Date: Thu Jun 22 17:31:24 2006 +1000
345
Detect presence of nfs4_set_debug() in libnfsidmap and
346
don't bother calling it if it's missing.
348
commit dcfcb677b39443b6392db3234fd50498bc158507
349
Author: Greg Banks <gnb@melbourne.sgi.com>
350
Date: Thu Jun 22 17:19:17 2006 +1000
352
Remove useless m4 quoting around args to PKG_CHECK_MODULES().
354
commit 24d303ffae686192bda0a5996e8590219dcc82e7
355
Author: Greg Banks <gnb@melbourne.sgi.com>
356
Date: Thu Jun 22 17:16:19 2006 +1000
358
Do m4 quoting of AC_MSG_ERROR() and AC_MSG_WARN() as
359
the autoconf people intended. This avoids errors in
362
commit 66a699d953727d3a992cc09ed5304b83d661a737
363
Author: Greg Banks <gnb@melbourne.sgi.com>
364
Date: Thu Jun 22 16:51:44 2006 +1000
366
Add a .gitignore file to suppress the files generated
367
during autogen, configure and build.
1
368
commit 49b164d978ee6266df7ba0bd335cb34337e7c381
2
369
Author: Steve Dickson <SteveD@redhat.com>
3
370
Date: Mon Jul 3 09:52:00 2006 +1000