Debian Codegraph @

ChangeLog-2012

raw
1 2012-12-30 arthur
2
3 * [r1891] tests/lookup_netgroup.c: code style fix
4 * [r1890] nslcd/cfg.c: remove deprecated use_sasl, reconnect_tries,
5 reconnect_maxsleeptime and tls_checkpeer options which have been
6 replaced some time ago
7 * [r1889] nslcd/cfg.c, nslcd/cfg.h, nslcd/myldap.c: remove
8 undocumented restart configuration option
9 * [r1888] nslcd/cfg.c, nslcd/cfg.h, nslcd/myldap.c, nslcd/pam.c,
10 tests/test_cfg.c, tests/test_myldap.c: reorganise and rename
11 configuration options to be in line with manual page
12 * [r1887] nslcd/alias.c, nslcd/cfg.c, nslcd/cfg.h, nslcd/common.h,
13 nslcd/ether.c, nslcd/group.c, nslcd/host.c, nslcd/myldap.c,
14 nslcd/netgroup.c, nslcd/network.c, nslcd/nslcd.c, nslcd/pam.c,
15 nslcd/passwd.c, nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c,
16 nslcd/shadow.c, tests/test_cfg.c, tests/test_myldap.c: remove the
17 ldc_ prefix from struct ldap_config fields
18 * [r1886] configure.ac: use the newer style AM_INIT_AUTOMAKE
19 * [r1885] pynslcd/Makefile.am: add dependency information to
20 regenerate constants.py
21 * [r1884] man/Makefile.am: make the way manual pages are selected
22 for installation more maintainable
23
24 2012-12-29 arthur
25
26 * [r1883] nslcd.h: remove unnecessary comment
27 * [r1882] .gitignore, tests, tests/Makefile.am,
28 tests/lookup_netgroup.c: implement a lookup_netgroup command for
29 systems that cannot use getent to list netgroups
30
31 2012-12-28 arthur
32
33 * [r1881] nslcd/service.c: another comment typo fix
34 * [r1880] nslcd/cfg.h: re-order enum values to use the same order
35 as elsewhere
36
37 2012-12-24 arthur
38
39 * [r1879] nslcd/common.h, pynslcd/alias.py, pynslcd/shadow.py: more
40 comment fixes
41 * [r1878] nslcd/pam.c: fix typo in comment
42
43 2012-12-23 arthur
44
45 * [r1877] nslcd/alias.c, nslcd/common.h, nslcd/ether.c,
46 nslcd/group.c, nslcd/host.c, nslcd/netgroup.c, nslcd/network.c,
47 nslcd/passwd.c, nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c,
48 nslcd/shadow.c: move the action argument to NSLCD_HANDLE to the
49 front
50 * [r1876] nss/aliases.c, nss/common.h, nss/ethers.c, nss/group.c,
51 nss/hosts.c, nss/networks.c, nss/passwd.c, nss/protocols.c,
52 nss/rpc.c, nss/services.c, nss/shadow.c: merge NSS_BYNAME and
53 NSS_BYINT32 into NSS_BYGEN and rename to NSS_GETONE
54 * [r1875] nss/netgroup.c: adapt Solaris netgroup lookup code
55 * [r1874] nslcd.h, nslcd/netgroup.c, nss/netgroup.c,
56 pynslcd/netgroup.py, tests/test_nsscmds.sh: update the netgroup
57 by name request to have one result entry per netgroup with
58 multiple rows within one result
59
60 2012-12-22 arthur
61
62 * [r1873] common/dict.c, common/dict.h, common/expr.c,
63 common/expr.h, common/nslcd-prot.c, common/nslcd-prot.h,
64 common/set.c, common/set.h, common/tio.c, common/tio.h,
65 compat/attrs.h, compat/daemon.c, compat/daemon.h, compat/ether.c,
66 compat/ether.h, compat/getopt_long.c, compat/getopt_long.h,
67 compat/getpeercred.c, compat/getpeercred.h, compat/ldap_compat.h,
68 compat/ldap_initialize.c, compat/ldap_passwd_s.c,
69 compat/nss_compat.h, compat/pam_compat.h,
70 compat/pam_get_authtok.c, compat/pam_prompt.c, compat/socket.h,
71 compat/strndup.c, compat/strndup.h, configure.ac, nslcd/alias.c,
72 nslcd/attmap.c, nslcd/attmap.h, nslcd/cfg.c, nslcd/cfg.h,
73 nslcd/common.c, nslcd/common.h, nslcd/config.c, nslcd/ether.c,
74 nslcd/group.c, nslcd/host.c, nslcd/log.c, nslcd/log.h,
75 nslcd/myldap.c, nslcd/myldap.h, nslcd/netgroup.c,
76 nslcd/network.c, nslcd/nslcd.c, nslcd/nsswitch.c, nslcd/pam.c,
77 nslcd/passwd.c, nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c,
78 nslcd/shadow.c, nss/aliases.c, nss/bsdnss.c, nss/common.c,
79 nss/common.h, nss/ethers.c, nss/group.c, nss/hosts.c,
80 nss/netgroup.c, nss/networks.c, nss/passwd.c, nss/protocols.c,
81 nss/prototypes.h, nss/rpc.c, nss/services.c, nss/shadow.c,
82 nss/solnss.c, nss/solnss.h, pam/common.h, pam/pam.c,
83 tests/common.h, tests/test_cfg.c, tests/test_common.c,
84 tests/test_dict.c, tests/test_expr.c, tests/test_getpeercred.c,
85 tests/test_myldap.c, tests/test_set.c, tests/test_tio.c: update C
86 coding style to a more commonly used style
87
88 2012-12-20 arthur
89
90 * [r1870] nslcd/passwd.c: don't process the passwd_byuid request at
91 all for uids < nss_min_uid
92 * [r1868] nslcd/myldap.c: fix logic error (use && instead of & for
93 logical and)
94
95 2012-12-16 arthur
96
97 * [r1867] nss/ethers.c, nss/group.c, nss/passwd.c: also no longer
98 use NSS_BYINT32() in Solaris (fixes r1864)
99 * [r1866] nslcd.h, nslcd/nslcd.c: make nslcd actions hexadecimal
100 values with some structure to make debugging easier
101 * [r1865] nslcd.h, nslcd/pam.c, pam/common.h, pam/pam.c: change PAM
102 protocol to be more consistent and simpler
103 * [r1864] common/nslcd-prot.h, nslcd.h, nslcd/common.c,
104 nslcd/ether.c, nslcd/group.c, nslcd/nslcd.c, nslcd/passwd.c,
105 nss/common.h, nss/ethers.c, nss/group.c, nss/networks.c,
106 nss/passwd.c, nss/services.c, pam/common.h, pam/pam.c,
107 pynslcd/group.py, pynslcd/passwd.py, pynslcd/tio.py: switch
108 protocol from host byte order to network byte order and switch
109 use of uid_t and gid_t in the protocol to int32
110
111 2012-12-15 arthur
112
113 * [r1863] .gitignore, configure.ac, pynslcd, pynslcd/Makefile.am,
114 pynslcd/config.py.in, pynslcd/constants.py.in,
115 pynslcd/pynslcd.py, pynslcd/tio.py: merge config.py into
116 constants.py and generate it from configure
117
118 2012-12-14 arthur
119
120 * [r1859] pynslcd/pynslcd.py: remove unneeded brackets
121 * [r1858] tests/test_tio.c: also test for correct value of errno on
122 timeout and make read and write timeout tests consistent
123 * [r1857] tests/test_tio.c: also output debugging info in
124 test_timeout_reader test
125
126 2012-12-08 arthur
127
128 * [r1848] common/tio.c: update microseconds when setting deadline,
129 not seconds (thanks Julien Cristau)
130
131 2012-12-06 arthur
132
133 * [r1846] common/tio.c, tests/test_tio.c: make test even more
134 verbose and set number of writes back at 10000 to avoid issues
135 with systems with large buffers
136
137 2012-11-30 arthur
138
139 * [r1845] tests/test_tio.c: rephrase test to more clearly explain
140 what we're testing and be a little more verbose
141
142 2012-11-25 arthur
143
144 * [r1842] nslcd/nsswitch.c: remove inline keyword (should have been
145 removed in r1840)
146 * [r1841] nslcd/nsswitch.c: if nsswitch.conf is missing a shadow
147 entry, fall back to checking the passwd mapping
148 * [r1840] nslcd/common.h, nslcd/nsswitch.c, nslcd/passwd.c: move
149 all nsswitch-parsing related functions to nsswitch.c
150 * [r1839] .gitignore: small fix for .gitignore
151
152 2012-11-22 arthur
153
154 * [r1838] nslcd/group.c, nslcd/passwd.c, nslcd/protocol.c,
155 nslcd/rpc.c, nslcd/service.c: ensure that values are logged as
156 unsigned numbers
157
158 2012-11-18 arthur
159
160 * [r1834] ChangeLog, NEWS, TODO, configure.ac, man/nslcd.8.xml,
161 man/nslcd.conf.5.xml, man/pam_ldap.8.xml, man/pynslcd.8.xml: get
162 files ready for 0.8.12 release
163 * [r1833] configure.ac, nss/passwd.c: properly initialise
164 passwd.pw_class on FreeBSD to empty string (was set to NULL due
165 to the memset which was introduced in r1767)
166
167 2012-11-17 arthur
168
169 * [r1832] pam/pam.c: use pam_modutil_getpwnam() instead of
170 getpwnam() in PAM module
171 * [r1831] man/nslcd.8.xml, man/pynslcd.8.xml: fix formatting and
172 improve consistency in manaual pages
173
174 2012-11-16 arthur
175
176 * [r1828] man/nslcd.8.xml, man/pynslcd.8.xml: remove dots from
177 short description in manual page
178 * [r1827] nslcd/config.c: fix comment in header
179
180 2012-11-13 arthur
181
182 * [r1824] man/nslcd.conf.5.xml, nslcd/cfg.c, nslcd/myldap.c,
183 pynslcd/cfg.py, pynslcd/pynslcd.py: to only set
184 LDAP_OPT_X_SASL_NOCANON if the sasl_canonicalize option is
185 explicitly set in the configuration file
186
187 2012-11-11 arthur
188
189 * [r1823] pam/pam.c: log the PAM error message along with the
190 message from nslcd if it is available
191 * [r1822] .gitignore: add a .gitignore file for those working with
192 git
193 * [r1821] common/nslcd-prot.c: set FD_CLOEXEC in NSS and PAM
194 modules to ensure that nslcd file descriptor is not leaked to
195 child processes
196 * [r1814] nslcd/myldap.c: log connection message before clearing
197 error indicators to not hide these log messages in most
198 configurations (fixes r1095)
199
200 2012-10-28 arthur
201
202 * [r1812] nss/Makefile.am, nss/common.h, nss/group.c, nss/hosts.c,
203 nss/networks.c, nss/passwd.c, nss/protocols.c, nss/rpc.c,
204 nss/services.c, nss/shadow.c, nss/solnss.h: refactor the
205 read_result() functions into a common macro and move all the
206 Solaris-specific definitions to solnss.h
207 * [r1811] nss/hosts.c: combine read_hostent_erronempty() and
208 read_hostent_nextonempty() into a read_hostent() with a retry
209 parameter
210 * [r1810] nss/group.c: fix typo (thanks Ted C. Cheng)
211
212 2012-10-26 arthur
213
214 * [r1809] nss/group.c: fix buffer size checking in group by member
215 NSS function on Solaris
216 * [r1808] nss/ethers.c, nss/group.c, nss/hosts.c, nss/netgroup.c,
217 nss/networks.c, nss/passwd.c, nss/protocols.c, nss/rpc.c,
218 nss/services.c, nss/shadow.c: introduce ent2str() functions for
219 each database (except ether and netgroup) and make buffer
220 handling consistent (for Solaris)
221
222 2012-10-21 arthur
223
224 * [r1807] configure.ac: remove duplicate checks from the configure
225 script
226 * [r1806] man: ignore generated pynslcd manual pages
227 * [r1805] nss/passwd.c: fix a problem on Solaris (fixes r1793)
228 * [r1804] man/Makefile.am, man/nslcd.8.xml, man/pynslcd.8.xml: make
229 a pynslcd manual page and install it if pynslcd is enabled (and
230 small fix in nslcd manual page)
231
232 2012-10-19 arthur
233
234 * [r1803] common/expr.c, tests/test_expr.c: allow attribute options
235 in attribute mapping expressions
236
237 2012-10-14 arthur
238
239 * [r1798] ChangeLog, NEWS, configure.ac, man/nslcd.8.xml,
240 man/nslcd.conf.5.xml, man/pam_ldap.8.xml: get files ready for
241 0.8.11 release
242 * [r1797] configure.ac: remove extra code that sets PACKAGE_URL
243 (which isn't used)
244 * [r1796] nss/netgroup.c: do not clear the netgroup struct because
245 it contains information for others as well (fixes r1767)
246 * [r1795] nslcd/nslcd.c: if nslcd creates the state directory, try
247 to set the right ownership
248
249 2012-10-13 arthur
250
251 * [r1794] nss/passwd.c: include missing definition (fixes r1793)
252 * [r1793] nss/passwd.c: do proper range checking and replace
253 READ_RESULT macro with read_result function (Solaris)
254 * [r1792] nss/hosts.c: return correct error for buffer too small
255 (Solaris)
256 * [r1791] HACKING, nss/ethers.c: in ether handling only write to
257 output values and return correct error for buffer too small
258 * [r1790] nss/common.h: on Solaris initialise the output values
259 * [r1789] nss/common.h: fix code indentation
260 * [r1787] tests/common.h: provide alternatives for assertion
261 failures on Solaris and FreeBSD
262 * [r1786] Makefile.am: pass CPPFLAGS and LDFLAGS to distcheck's
263 configure and put nslcd.conf under prefix
264 * [r1785] pynslcd/Makefile.am: use $(top_srcdir)/nslcd.h instead of
265 $< to avoid problems with FreeBSD's make
266 * [r1784] tests/test_tio.c: update tests to new tio interface
267 (fixes r1783)
268
269 2012-10-12 arthur
270
271 * [r1783] common/nslcd-prot.c, common/tio.c, common/tio.h,
272 nslcd/nslcd.c: use poll() instead of select() for checking file
273 descriptor activity to also correctly work if more than
274 FD_SETSIZE files are already open
275 * [r1781] common/tio.c: check if the file descriptor can be stored
276 in the select() file descriptor set
277 * [r1780] README: small clarifications to shadow properties
278
279 2012-09-16 arthur
280
281 * [r1771] nslcd/passwd.c: fix problem storing negative hit to
282 dn2uid cache (thanks scan-build)
283 * [r1770] nslcd/myldap.c: fix logic error when falling back to
284 getting ranged attribute values for possibly binary attributes
285 (thanks scan-build)
286 * [r1769] nslcd/myldap.c: swap values and buf assignment to avoid
287 compiler alignment warnings
288
289 2012-09-15 arthur
290
291 * [r1768] nslcd/passwd.c: only check nsswitch.conf for shadow
292 mapping on glibc (Solaris shadow map follows passwd's mapping and
293 FreeBSD doesn't have shadow at all)
294 * [r1767] nss/aliases.c, nss/ethers.c, nss/group.c, nss/hosts.c,
295 nss/netgroup.c, nss/networks.c, nss/passwd.c, nss/protocols.c,
296 nss/rpc.c, nss/services.c, nss/shadow.c: clear the *ent structs
297 before writing fields to avoid problems with extra fields (fixes
298 password field weirdness on Solaris 10)
299
300 2012-09-14 arthur
301
302 * [r1766] nss/hosts.c: fix host name lookups for Solaris (tested
303 with Solaris 10)
304 * [r1765] nss/ethers.c: use the standard constructor and destructor
305 eventhough be->fp isn't used
306 * [r1764] nss/ethers.c: fix ethernet lookups for Solaris (tested
307 with Solaris 10)
308 * [r1763] nslcd/alias.c, nslcd/ether.c, nslcd/group.c,
309 nslcd/host.c, nslcd/netgroup.c, nslcd/network.c, nslcd/passwd.c,
310 nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c, nslcd/shadow.c:
311 grow all search filter buffers to 4096 bytes (thanks flavio)
312 * [r1762] nslcd/pam.c: rename filter_buffer to filter for
313 consistency
314
315 2012-09-08 arthur
316
317 * [r1761] ChangeLog, ChangeLog-2011, Makefile.am: archive older
318 ChangeLog entries in year files
319
320 2012-09-03 arthur
321
322 * [r1749] nss/group.c: a few fixes in the Solaris group lookups
323 * [r1748] nss/common.h, nss/passwd.c: fix indenting of code
324 * [r1747] nss/ethers.c, nss/group.c, nss/hosts.c, nss/netgroup.c,
325 nss/networks.c, nss/passwd.c, nss/protocols.c, nss/rpc.c,
326 nss/services.c, nss/shadow.c: on Solaris store the errno value in
327 NSS_ARGS(args)->erange
328
329 2012-09-01 arthur
330
331 * [r1746] compat/pam_get_authtok.c: include a missing cast
332 * [r1745] nslcd/myldap.c: provide an alternative do_rebind() for
333 Netscape LDAP
334 * [r1744] nslcd/nslcd.c: include an explicit cast to int when
335 printing gid_t (fixes r1723)
336
337 2012-08-31 arthur
338
339 * [r1736] depcomp: mark file as executable
340 * [r1735] man/nslcd.conf.5.xml, nslcd/cfg.c, pynslcd/cfg.py: change
341 the default value of sasl_canonicalize to yes (thanks Marcus
342 Moeller)
343
344 2012-08-14 arthur
345
346 * [r1734] nslcd/myldap.c: remove variable definition that was
347 introduced in r1626 but should have been removed in r1714
348 * [r1733] man/nslcd.conf.5.xml, nslcd/cfg.c, nslcd/cfg.h,
349 nslcd/myldap.c, pynslcd/cfg.py, pynslcd/pynslcd.py: introduce a
350 sasl_canonicalize option that will now, by default, disable
351 reverse host name lookups in OpenLDAP
352
353 2012-07-23 arthur
354
355 * [r1731] nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c: ensure
356 that all places where stdint.h is included it is surrounded by
357 #ifdefs
358
359 2012-07-21 arthur
360
361 * [r1725] nslcd/common.h: only inlude stdint.h if we have it
362 * [r1724] nslcd/common.h: add missing includes to ensure all types
363 are defined in header
364
365 2012-07-20 arthur
366
367 * [r1723] configure.ac, nslcd/cfg.c, nslcd/cfg.h, nslcd/nslcd.c,
368 pynslcd/pynslcd.py: on startup have the gid option default to the
369 primary group of the specified user and load the user's
370 supplementary groups
371 * [r1722] Makefile.am, ldapns.ldif: add an LDIF version of the
372 ldapns.schema schema file
373
374 2012-07-15 arthur
375
376 * [r1721] pynslcd/pynslcd.py: avoid setting tls_randfile twice and
377 remove fixed FIXME (fixed in r1717)
378 * [r1720] pynslcd/pynslcd.py: set the pynslcd process name if
379 possible
380 * [r1719] pynslcd/cfg.py: support getting
381 pam_password_prohibit_message from configuration (but don't
382 handle it yet)
383 * [r1718] pynslcd/cfg.py, pynslcd/pam.py: rename internal
384 pam_authz_search to pam_authz_searches
385 * [r1717] pynslcd/pynslcd.py: properly set most LDAP options from
386 configuration
387
388 2012-07-11 arthur
389
390 * [r1716] pam/pam.c: also check pam_password_prohibit_message in
391 pam_sm_authenticate() because Solaris does authentication before
392 pam_sm_chauthtok() (thanks Ted Cheng)
393
394 2012-07-08 arthur
395
396 * [r1715] man/nslcd.conf.5.xml, nslcd.h, nslcd/Makefile.am,
397 nslcd/cfg.c, nslcd/cfg.h, nslcd/common.h, nslcd/config.c,
398 nslcd/nslcd.c, nslcd/pam.c, pam/pam.c: implement a
399 pam_password_prohibit_message nslcd.conf option to deny password
400 change introducing a NSLCD_ACTION_CONFIG_GET request thanks to
401 Ted Cheng
402 * [r1714] nslcd/myldap.c: remove duplicate getting of
403 LDAP_OPT_DIAGNOSTIC_MESSAGE (should have been part of r1639)
404
405 2012-07-07 arthur
406
407 * [r1713] AUTHORS, pynslcd/Makefile.am: ensure that cache.py is
408 installed (thanks Jon Severinsson)
409
410 2012-06-29 arthur
411
412 * [r1707] ChangeLog, NEWS, TODO, configure.ac, man/nslcd.8.xml,
413 man/nslcd.conf.5.xml, man/pam_ldap.8.xml: get files ready for
414 0.8.10 release
415 * [r1706] config.sub: update from latest automake
416
417 2012-06-17 arthur
418
419 * [r1705] HACKING: minor documentation touch-ups
420
421 2012-06-15 arthur
422
423 * [r1704] Makefile.am: install the default configuration file with
424 reduced permissions (further protection for CVE-2009-1073)
425 * [r1703] nslcd/pam.c: log successful password change in nslcd and
426 correctly terminate protocol on password change failure
427 * [r1702] pam/pam.c: fix problem with returning wrong error code
428 when changing password with wrong old password (thanks Anton
429 Helwart)
430
431 2012-05-25 arthur
432
433 * [r1701] README: reword section on bug reporting and add a
434 reference to the ignorecase option on the case sensitivity
435 section
436 * [r1700] HACKING: include list of required libraries and do not
437 put information on AUTHORS file on the patch requirements
438
439 2012-05-20 arthur
440
441 * [r1695] ChangeLog, NEWS, configure.ac, man/nslcd.8.xml,
442 man/nslcd.conf.5.xml, man/pam_ldap.8.xml: get files ready for
443 0.8.9 release
444 * [r1694] nslcd/cfg.c, nslcd/common.c, nslcd/group.c,
445 nslcd/passwd.c, nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c,
446 nslcd/shadow.c: implement extra range checking of all numeric
447 values
448
449 2012-05-18 arthur
450
451 * [r1693] configure.ac, nslcd/myldap.c, nslcd/nslcd.c,
452 nss/bsdnss.c: get rid of a few compiler warnings on FreeBSD
453
454 2012-05-11 arthur
455
456 * [r1690] compat/nss_compat.h, configure.ac: provide a
457 compatibility version of struct spwd for systems without it
458 * [r1688] compat/socket.h: fix fallback definition of SUN_LEN()
459 (fixes r1686)
460
461 2012-05-09 arthur
462
463 * [r1686] common/nslcd-prot.c, compat/Makefile.am,
464 compat/nss_compat.h, compat/socket.h, nslcd/nslcd.c: provide a
465 compatibility definition of SUN_LEN() for systems that lack it
466 * [r1685] nslcd/nslcd.c: remove duplicate debug from log message
467
468 2012-05-04 arthur
469
470 * [r1684] pynslcd/pam.py: implement PAM authorisation check using
471 pam_authz_search option
472 * [r1683] pynslcd/pam.py: ignore user-supplied DN for PAM requests
473 and don't send it back
474 * [r1682] pynslcd/Makefile.am, pynslcd/attmap.py, pynslcd/cfg.py,
475 pynslcd/expr.py: move expression handling to own module
476 * [r1681] pynslcd/common.py: ensure search also works without
477 attribute map
478 * [r1680] pynslcd/cfg.py: small code style improvements
479 * [r1679] man/nslcd.conf.5.xml, nslcd/cfg.c, nslcd/cfg.h,
480 nslcd/pam.c, pynslcd/cfg.py: allow the pam_authz_search option to
481 be specified multiple times
482 * [r1678] nslcd/nslcd.c: don't try to close _SC_OPEN_MAX file
483 descriptor
484
485 2012-05-02 arthur
486
487 * [r1677] compat/pam_compat.h, compat/pam_get_authtok.c: move all
488 PAM_AUTHTOK_RECOVERY_ERR compatibility definitions to
489 compat/pam_compat.h
490
491 2012-04-29 arthur
492
493 * [r1673] README: documentation touch-ups
494
495 2012-04-27 arthur
496
497 * [r1662] ChangeLog, NEWS, configure.ac, man/nslcd.8.xml,
498 man/nslcd.conf.5.xml, man/pam_ldap.8.xml: get files ready for
499 0.8.8 release
500 * [r1660] Makefile.am, ldapns.schema: add a schema file that some
501 people use for PAM
502
503 2012-04-26 arthur
504
505 * [r1659] common/tio.c, common/tio.h, nss/common.h: split the
506 functionality to read everything from the stream into a separate
507 function and don't assume we use non-blocking IO (fix r1637)
508 * [r1658] tests/test_pamcmds.expect: support alternative unknown
509 user response
510
511 2012-04-22 arthur
512
513 * [r1653] ChangeLog, NEWS, configure.ac, man/nslcd.8.xml,
514 man/nslcd.conf.5.xml, man/pam_ldap.8.xml: get files ready for
515 0.8.7 release
516
517 2012-04-09 arthur
518
519 * [r1649] compile, depcomp: update files from recent automake
520
521 2012-03-23 arthur
522
523 * [r1643] nslcd/pam.c: increase buffer for pam_authz_search as
524 suggested by Chris J Arges
525
526 2012-03-16 arthur
527
528 * [r1642] pynslcd/attmap.py: support the upper and lower functions
529 in attribute mapping expressions
530 * [r1641] pynslcd/attmap.py, pynslcd/common.py, pynslcd/pam.py:
531 refactor some of the attribute mapping code to introduce a
532 mapping instance that does the hard work and support the lower()
533 and upper() attribute mapping functions
534 * [r1640] pynslcd/pynslcd.py: implement a getpeercred() function
535 * [r1639] nslcd/myldap.c: always try to log the ldap error, the
536 diagnostic message and errno if available in a consistent format
537 * [r1638] nss/common.h: put both tio_skip() and tio_close() within
538 if (fixes r1637) and clarify documentation of one part of the
539 code
540
541 2012-03-14 arthur
542
543 * [r1637] common/tio.c, common/tio.h, nss/common.h: read any
544 remaining available data from the stream when closing the
545 connection in a normal way to prevent Broken pipe messages in
546 nslcd
547 * [r1636] common/tio.c: ensure that we don't try to read more than
548 SSIZE_MAX bytes
549
550 2012-03-13 arthur
551
552 * [r1635] AUTHORS, man/nslcd.conf.5.xml: document the fact that
553 each thread opens it's own connection (patch by Chris Hiestand)
554 * [r1634] AUTHORS, man/nslcd.conf.5.xml, nslcd/cfg.c, nslcd/cfg.h,
555 nslcd/common.h, nslcd/group.c, nslcd/netgroup.c, nslcd/passwd.c,
556 nslcd/protocol.c, nslcd/rpc.c, nslcd/service.c, nslcd/shadow.c:
557 make whether or not to do case-sensitive filtering configurable
558 (patch by Matthew L. Dailey)
559 * [r1633] compile, config.guess, config.sub, missing: update from
560 latest automake
561
562 2012-03-10 arthur
563
564 * [r1632] nslcd/cfg.c: when doing DNS queries for SRV records
565 recognise default ldap and ldaps ports
566 * [r1631] nslcd/common.h: add missing include for
567 _POSIX_HOST_NAME_MAX (thanks Mel Flynn)
568 * [r1628] nslcd/pam.c: fix log message for invalid pam_authz_search
569 as reported by Matt Rae
570
571 2012-03-05 arthur
572
573 * [r1627] nslcd/myldap.c: remove extra newline from log message
574 * [r1626] compat/ldap_compat.h, nslcd/myldap.c: provide more
575 detailed logging information for ldap_start_tls_s() failures
576 (based on a patch by Mel Flynn)
577
578 2012-02-29 arthur
579
580 * [r1625] nslcd/myldap.c: log the first 10 search results in debug
581 mode to make debugging easier (patch by Matthijs Kooijman)
582 * [r1624] README, nslcd/nslcd.c: update copyright years
583
584 2012-01-29 arthur
585
586 * [r1616] ChangeLog, NEWS, configure.ac, man/nslcd.8.xml,
587 man/nslcd.conf.5.xml, man/pam_ldap.8.xml: get files ready for
588 0.8.6 release
589 * [r1615] pynslcd/alias.py, pynslcd/cache.py, pynslcd/common.py,
590 pynslcd/ether.py, pynslcd/group.py, pynslcd/host.py,
591 pynslcd/netgroup.py, pynslcd/network.py, pynslcd/passwd.py,
592 pynslcd/protocol.py, pynslcd/rpc.py, pynslcd/service.py,
593 pynslcd/shadow.py: implement a naive offline cache
594 * [r1614] pynslcd/group.py: small simplification in group lookups
595 (member attributes are not requested anyway)
596 * [r1613] pynslcd/alias.py, pynslcd/common.py, pynslcd/ether.py,
597 pynslcd/group.py, pynslcd/host.py, pynslcd/netgroup.py,
598 pynslcd/network.py, pynslcd/passwd.py, pynslcd/protocol.py,
599 pynslcd/rpc.py, pynslcd/service.py, pynslcd/shadow.py: split the
600 result handling into a convert() and write() step
601
602 2012-01-20 arthur
603
604 * [r1611] nslcd/netgroup.c, pynslcd/pynslcd.py: formatting fixes
605 * [r1605] nslcd/nslcd.c: clarify error messages and fix typo in
606 comment
607 * [r1604] Makefile.am, debian: separate the Debian packaging from
608 main sources switching to non-native Debian package (using
609 svn-buildpackage)
610 * [r1603] pynslcd/Makefile.am: add missing Python modules to
611 tarball
612
613 2012-01-17 arthur
614
615 * [r1597] AUTHORS, nss/bsdnss.c: FreeBSD compilation fixes by Maxim
616 Vetrov
617 * [r1596] common/nslcd-prot.c, nslcd/nslcd.c: pass the correct size
618 of named socket address (fixes FreeBSD issue, fixes r1295)
619
620 2012-01-16 arthur
621
622 * [r1595] INSTALL, compile, depcomp, install-sh, py-compile: update
623 files from recent automake
624
625 2012-01-09 jhrozek
626
627 * [r1594] nslcd/common.c: Add a matching va_end() for va_start() in
628 mysnprintf()
629 * [r1593] nslcd/myldap.c: Warn if ldap_set_option() fails for
630 LDAP_OPT_ERROR_NUM
631 * [r1592] nslcd/nslcd.c: Warn if fd cannot be closed in is_locked()
632 * [r1591] nslcd/netgroup.c: Check NULL return in write_netgroup()
633 * [r1590] nslcd/pam.c: Do not leak memory if myldap_escape() fails
634 * [r1589] nslcd/pam.c: Return from update_username() if
635 myldap_get_values() returns invalid value
636
637 If myldap_get_values() failed for the attmap_passwd_uid,
638 nss-pam-ldapd
639 would dereference a NULL pointer.
640
641 2012-01-06 arthur
642
643 * [r1588] pynslcd/alias.py, pynslcd/cfg.py, pynslcd/common.py,
644 pynslcd/ether.py, pynslcd/group.py, pynslcd/host.py,
645 pynslcd/mypidfile.py, pynslcd/netgroup.py, pynslcd/network.py,
646 pynslcd/pam.py, pynslcd/passwd.py, pynslcd/protocol.py,
647 pynslcd/pynslcd.py, pynslcd/rpc.py: user the logging framework,
648 handle exceptions properly and some cleanups
649
650 2012-01-05 arthur
651
652 * [r1587] debian/po/zh_CN.po: updated Simplified Chinese (zh_CN)
653 translation of debconf templates by zym
654
655 2012-01-02 arthur
656
657 * [r1586] debian/po/nb.po: updated Norwegian Bokmål (nb)
658 translation of debconf templates by Bjørn Steensrud