Codebase list cyrus-sasl2 / debian/2.1.23.dfsg1-8
Imported Debian patch 2.1.23.dfsg1-8 Roberto C. Sanchez authored 13 years ago Ondřej Surý committed 12 years ago
117 changed file(s) with 12196 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 This package uses dpatch to manage all modifications to the upstream
1 source. Changes are stored in the source package as diffs in
2 debian/patches and applied during the build.
3
4 See /usr/share/doc/dpatch/README.source.gz for a detailed explanation.
0 General things to do:
1
2 * Move to a more current version of libdb. TEST!
3 * Become more strict in handling base64 data:
4 - Stop applying 0015_saslutil_decode64_fix.dpatch.
5 - Watch as packages break.
6 - Help fix broken packages.
7 * Improve documentation.
8
9 Post-etch:
10
11 * Remove libsasl2-gssapi-mit transitional package.
12 * Remove libsasl2-modules-gssapi-heimdal transitional package.
0 cyrus-sasl2 (2.1.23.dfsg1-8) unstable; urgency=low
1
2 * Eliminate getsubopt conflict when building with glibc 2.2, thanks to
3 Colin Watson for the patch (Closes: #588528)
4 * Convert package from using dpatch to using quilt
5 * debian/sasl2-bin.saslauthd.init: Properly handle $(OPTIONS) missing from
6 defaults file (Closes: #515534)
7 * Bump Standards-Version to 3.9.1 (no changes)
8 * cyrus-sasl2-dbg: Demote dependency on cyrus-sasl2-{mit,heimdal}-dbg to
9 a recommendation (Closes: #607558)
10 * Enable hardening features (Closes: #542725)
11 * Fix FTBFS, add $(SASL_DB_LIB) as dependency to libsasldb, and use it.
12 Thanks to Matthias Klose for the patch (Closes: #609237)
13 * Drop gratuitous dependency on krb5support (Closes: #528238)
14 * Ship docs on testing with sasl-sample-{client,server} (Closes: #516542)
15 * Allow getting saslauthd status with '/etc/init.d/saslauthd status'.
16 Thanks to Raoul Bhatia for the patch (Closes: #589181)
17 * Fix documentation on saslauthd runtime directory perms (Closes: #528554)
18 * Add Danish translation, thanks to Joe Dalton. (Closes: #585553)
19 * Change to machine readable copyright file (Closes: 470948)
20 * Improve documentation on location of socket directory based on whether
21 Postfix runs inside or outside a chroot, thanks to Walter Rohrer for the
22 suggestion. (Closes: #528553)
23 * Start shipping gen-auth (Closes: #459624)
24 * Switch to dpkg-source 3.0 (quilt) format.
25 * Drop Conflicts/Replaces for pre-Lenny and pre-Sarge versions of packages
26
27 -- Roberto C. Sanchez <roberto@connexer.com> Wed, 16 Mar 2011 22:42:49 -0400
28
29 cyrus-sasl2 (2.1.23.dfsg1-7) unstable; urgency=low
30
31 [ Luca Capello ]
32 * Fix for (Closes: #601977), the idea coming from Gaudenz Steinlin
33 <gaudenz@debian.org>:
34 + debian/control:
35 - cyrus-sasl2-dbg Depends: on one of the two GSSAPI dbg packages.
36 - new cyrus-sasl2-mit-dbg package which Conflicts: with
37 cyrus-sasl2-heimdal-dbg.
38 - cyrus-sasl2-heimdal-dbg now Conflicts: with cyrus-sasl2-mit-dbg.
39 + debian/cyrus-sasl2-heimdal-dbg.preinst:
40 - remove, useless.
41 + debian/cyrus-sasl2-heimdal-dbg.postrm:
42 - remove, useless.
43 + debian/cyrus-sasl2-mit-dbg.dirs:
44 - create /usr/lib/debug/usr/lib/sasl2/.
45 + debian/rules:
46 - mv MIT libgssapiv2.so.2.0.23 into cyrus-sasl2-mit-dbg.
47
48 [ Roberto C. Sanchez ]
49 * Thanks to Luca Capello for providing the patch.
50
51 -- Roberto C. Sanchez <roberto@connexer.com> Sat, 18 Dec 2010 11:14:59 -0500
52
53 cyrus-sasl2 (2.1.23.dfsg1-6) unstable; urgency=low
54
55 * Acknowledge NMU (thanks to Ben Hutchings)
56 * Merge cyrus-sasl2 and cyrus-sasl2-heimdal source packages (Closes: #568358)
57 + Build against new heimdal-multidev (Closes: #591147)
58 * Properly detect presence of Heimdal (Closes: #590912); thanks tremendously
59 to Russ Allbery for the patch
60
61 -- Roberto C. Sanchez <roberto@connexer.com> Thu, 19 Aug 2010 20:45:57 -0400
62
63 cyrus-sasl2 (2.1.23.dfsg1-5.1) unstable; urgency=low
64
65 * Non-maintainer upload.
66 * Remove incorrect conflict between cyrus-sasl2-dbg and
67 cyrus-sasl2-heimdal-dbg (Closes: #590759); the conflicting file
68 is now diverted by the latter
69
70 -- Ben Hutchings <ben@decadent.org.uk> Thu, 29 Jul 2010 03:34:07 +0100
71
72 cyrus-sasl2 (2.1.23.dfsg1-5) unstable; urgency=low
73
74 * Finish switch to db4.8 by changing db4.7-util dependency to db4.8-util
75 (Closes: #562895)
76
77 -- Roberto C. Sanchez <roberto@connexer.com> Mon, 28 Dec 2009 18:12:26 -0500
78
79 cyrus-sasl2 (2.1.23.dfsg1-4) unstable; urgency=low
80
81 [ Fabian Fagerholm ]
82 * debian/control, debian/sasl2-bin.postinst,
83 debian/patches/0017_db4.8.dpatch: Bump libdb version to 4.8.
84 (Closes: #556609)
85 * debian/rules, debian/sasl2-bin.postinst, debian/sasl2-bin.saslauthd.init:
86 No longer explicitly run stop init script on shutdown and reboot.
87 (Closes: #560748)
88 * debian/sasl2-bin.postinst: Don't attempt sasldb upgrade if the database
89 file does not exist. (Closes: #521852)
90 * debian/sasl2-bin.saslauthd.init: Fix return code comparisons.
91 (Closes: #525424)
92 * debian/control: Change upstream home page, this seems to be the active
93 page and the old one contains less useful information.
94
95 -- Fabian Fagerholm <fabbe@debian.org> Mon, 28 Dec 2009 13:37:20 +0200
96
97 cyrus-sasl2 (2.1.23.dfsg1-3) unstable; urgency=low
98
99 * Acknowledge NMU (Thanks to Christian Perrier)
100 * Change package priority important -> standard, because of override
101 disparity email
102
103 -- Roberto C. Sanchez <roberto@connexer.com> Sat, 07 Nov 2009 09:31:23 -0500
104
105 cyrus-sasl2 (2.1.23.dfsg1-2.1) unstable; urgency=low
106
107 * Non-maintainer upload.
108 * Fix pending l10n issues. Debconf translations:
109 - French (Odile Bénassy). Closes: #518593
110
111 -- Christian Perrier <bubulle@debian.org> Sat, 07 Nov 2009 08:04:09 +0100
112
113 cyrus-sasl2 (2.1.23.dfsg1-2) unstable; urgency=high
114
115 [ Fabian Fagerholm ]
116 * debian/control: Change Vcs-* fields to point to trunk.
117 * debian/rules: Remove build-indep-stamp and build-arch-stamp when cleaning
118 up (from Ubuntu) (Closes: #516538).
119 * debian/patches/0014_avoid_pic_overwrite.dpatch: Also apply to
120 lib/Makefile.am. Thanks to Amadeu A. Barbosa Jr. (Closes: #502910)
121
122 [ Roberto C. Sanchez ]
123 * Acknowledge NMU (thanks to Andreas Barth)
124 * Document the sync mechanism between cyrus-sasl2 and cyrus-sasl2-heimdal.
125 Urgency 'high' since current package is uninstallable.
126 * Bump Standards-Version to 3.8.3 (no changes)
127
128 -- Roberto C. Sanchez <roberto@connexer.com> Wed, 07 Oct 2009 21:45:57 -0400
129
130 cyrus-sasl2 (2.1.23.dfsg1-1.1) unstable; urgency=medium
131
132 * Build-Depend also on mysqlclient-dev. Closes: #542904
133 * Conflict cyrus-sasl2-heimdal-dbg as both packages provide the file
134 /usr/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.23 Closes: #530781
135
136 -- Andreas Barth <aba@not.so.argh.org> Sat, 29 Aug 2009 11:47:55 +0200
137
138 cyrus-sasl2 (2.1.23.dfsg1-1) unstable; urgency=high
139
140 * New upstream release
141 - Security fix for CVE-2009-0688 (Closes: #528749).
142 - debian/patches/0020_saslauthd_manpage.dpatch: Remove, integrated
143 upstream.
144 - debian/rules: Change chrpath invocation to match new version number of
145 libsql.so.
146
147 -- Fabian Fagerholm <fabbe@debian.org> Sun, 24 May 2009 20:56:01 +0300
148
149 cyrus-sasl2 (2.1.22.dfsg1-26) UNRELEASED; urgency=low
150
151 * NOT RELEASED
152 * debian/control: Set section to debug to match override.
153
154 -- Fabian Fagerholm <fabbe@debian.org> Sun, 10 May 2009 09:55:01 +0300
155
156 cyrus-sasl2 (2.1.22.dfsg1-25) unstable; urgency=high
157
158 * debian/patches/0017_db4.7.dpatch: Update db4.6 patch to db4.7.
159 (Closes: #523007)
160
161 -- Fabian Fagerholm <fabbe@debian.org> Sun, 10 May 2009 08:51:30 +0300
162
163 cyrus-sasl2 (2.1.22.dfsg1-24) unstable; urgency=high
164
165 [ Fabian Fagerholm ]
166 * debian/patches/0021_no_mutex_changes_after_init.dpatch: Added patch to
167 disallow mutex function changes once sasl_client_init and/or
168 sasl_server_init have been called. Hand-picked and applied from upstream
169 CVS revision 1.117, thanks to Eric Leblond. (Closes: #499770)
170 * debian/control: Add ${misc:Depends} to applicable binary packages.
171 * debian/rules, debian/libsasl2-modules, debian/libsasl2-modules-otp,
172 debian/sasl2-bin: Add overrides for possible-gpl-code-linked-with-openssl
173 lintian error.
174 * debian/source.lintian-overrides: Add override for ancient-libtool lintian
175 warning.
176 * debian/sasl2-bin.postinst: Use set -e.
177 * debian/patches/0022_gcc4.4_preprocessor_syntax.dpatch: Added patch to use
178 test condition for #elif preprocessor directive. Required by GCC 4.4.
179 Thanks to Martin Michlmayr. (Closes: #505042)
180 * debian/cyrus-sasl2-dbg.dirs, debian/cyrus-sasl2-dbg.lintian-overrides,
181 debian/rules: Add override because our -dbg package is not standardly
182 named.
183 * debian/control: Bump libdb version to 4.7. (Closes: #523007)
184 * debian/sasl2-bin.postinst: Update to reflect libdb version change.
185 Not strictly necessary since there were no database format changes
186 betweek 4.6 and 4.7, but in the interest of completeness...
187
188 -- Fabian Fagerholm <fabbe@debian.org> Sat, 09 May 2009 22:56:52 +0300
189
190 cyrus-sasl2 (2.1.22.dfsg1-23) unstable; urgency=low
191
192 * Add README.source to comply with Standards-Version 3.8.0
193 * Fix watch file to use dversionmangle instead of uversionmangle
194
195 -- Roberto C. Sanchez <roberto@connexer.com> Mon, 01 Sep 2008 11:05:12 -0400
196
197 cyrus-sasl2 (2.1.22.dfsg1-22) unstable; urgency=low
198
199 [ Roberto C. Sanchez ]
200 * Added Slovak translation, thanks to Ivan Masár (Closes: #489268)
201
202 [ Fabian Fagerholm ]
203 * Added Japanese translation, thanks to Hideki Yamane. (Closes: #493004)
204 * Bump standards-version.
205
206 -- Fabian Fagerholm <fabbe@debian.org> Sat, 02 Aug 2008 15:57:11 +0300
207
208 cyrus-sasl2 (2.1.22.dfsg1-21) unstable; urgency=high
209
210 [ Fabian Fagerholm ]
211 * Add Basque translation, thanks to Piarres Beobide. (Closes: #481541)
212 * Install README.Debian into libsasl2-2 package. (Closes: #485289)
213
214 [ Roberto C. Sanchez ]
215 * Remove bashism from debian/rules. (Closes: #484374)
216 * Add Homepage field to debian/control.
217
218 -- Fabian Fagerholm <fabbe@debian.org> Mon, 09 Jun 2008 21:27:23 +0300
219
220 cyrus-sasl2 (2.1.22.dfsg1-20) unstable; urgency=high
221
222 [ Fabian Fagerholm ]
223 * debian/sasl2-bin.saslauthd.default, debian/sasl2-bin.README.Debian:
224 Include warnings about running saslauthd with the -d option.
225 (Closes: #474311)
226 * debian/control: Adjust priorities to be consistent and policy-compliant.
227 (Closes: #471534)
228 * debian/rules: Remove generated man pages in clean target. (Partial sync
229 with Ubuntu.)
230 * debian/sasl2-bin.saslauthd.init: Remove bashism in init script.
231 (Closes: #480613) Urgency set to high because of lenny release goal to
232 make dash the default /bin/sh.
233
234 -- Fabian Fagerholm <fabbe@debian.org> Tue, 13 May 2008 22:28:11 +0300
235
236 cyrus-sasl2 (2.1.22.dfsg1-19) unstable; urgency=low
237
238 [ Fabian Fagerholm ]
239 * debian/patches/00options, debian/patches/00list: Don't apply symbol
240 versioning patch when building under ppc64. (Closes: #327479)
241 * debian/control: Lower priority of -modules-gssapi-mit package to extra,
242 because it conflicts with the -modules-gssapi-heimdal package. (Policy
243 section 2.5.)
244 * debian/patches/0015_saslutil_decode64_fix.dpatch, debian/patches/00list:
245 Don't allow trailing CR/LF/CRLF in base64 data. (Closes: #431191)
246 * debian/control: Don't build-depend on -1 revisions.
247 * debian/cyrus-sasl2-doc.doc-base: Adjust section.
248
249 [ Roberto C. Sanchez ]
250 * debian/repack.sh: Automate repackaging of DFSG-compliant tarball
251
252 -- Fabian Fagerholm <fabbe@debian.org> Tue, 18 Mar 2008 20:04:21 +0200
253
254 cyrus-sasl2 (2.1.22.dfsg1-18) unstable; urgency=high
255
256 [ Fabian Fagerholm ]
257 * debian/control: We conform to 3.7.3.0 of the Debian policy.
258 * debian/control: Change Vcs-Browser to point to human-readable interface.
259 * debian/patches/0018_auth_rimap_quotes.dpatch: Upstream fix for potential
260 DoS attack through infinite loop. (Closes: #465561)
261 * debian/patches/0019_ldap_deprecated.dpatch: Signal the use of deprecated
262 LDAP functions to avoid implicit pointer conversion. (Closes: #463330)
263 * debian/sasl2-bin.saslauthd.init: Eliminate bashism and use consistent
264 comparison operators throughout. (Closes: #465355)
265 * debian/sasl2-bin.postinst: Call db_stop to avoid hangs when starting
266 saslauthd. (Closes: #459762)
267 * debian/sasl2-bin.config: Don't call db_reset -- if the user has already
268 seen the backup question, we don't ask again. (Closes: #464103)
269 * debian/patches/0020_saslauthd_manpage.dpatch: Correct typos in saslauthd
270 man page. Thanks to Thijs Kinkhorst. (Closes: #463016)
271 * Add Dutch translation. (Closes: #465665)
272 * debian/sasl2-bin.saslauthd.init: Remove S runlevel from Default-Stop.
273
274 [ Roberto C. Sanchez ]
275 * Add Swedish translation (Closes: #460496)
276
277 -- Fabian Fagerholm <fabbe@debian.org> Mon, 18 Feb 2008 15:37:12 +0200
278
279 cyrus-sasl2 (2.1.22.dfsg1-17) unstable; urgency=low
280
281 [ Roberto C. Sanchez ]
282 * debian/control: Add Vcs-Browser and Vcs-Svn tags.
283 * Add Patrick Koetter's saslfinger utility to the package.
284 * debian/cyrus-sasl2-doc.doc-base: add file
285
286 [ Fabian Fagerholm ]
287 * debian/control, debian/patches/0017_db4.6.dpatch,
288 debian/sasl2-bin.postinst: Build against libdb4.6. Thanks to Martin Pitt
289 for the suggestion and patch. (Closes: #458861)
290 * debian/rules: Install saslfinger directly since we have better control
291 to do it in the build scripts.
292 * debian/sasl2-bin.lintian-overrides: Remove unneeded overrides.
293
294 -- Fabian Fagerholm <fabbe@debian.org> Mon, 07 Jan 2008 18:20:50 +0200
295
296 cyrus-sasl2 (2.1.22.dfsg1-16) unstable; urgency=low
297
298 * Debconf templates and debian/control reviewed by the debian-l10n-
299 english team as part of the Smith review project.
300 (Closes: #444377, #447176)
301 * [Debconf translation updates]
302 * Portuguese. (Closes: #445045)
303 * Vietnamese. (Closes: #445130)
304 * Galician. (Closes: #445199)
305 * Tamil. (Closes: #445251)
306 * German. (Closes: #442889, #445559)
307 * Finnish. (Closes: #445847)
308 * Brazilian Portuguese. (Closes: #446144)
309 * Italian. (Closes: #446157)
310 * Russian. (Closes: #446655)
311 * Czech. (Closes: #446787)
312 * French. (Closes: #447118)
313 * Spanish.
314 * debian/control: versioned depends update automatically
315
316 -- Roberto C. Sanchez <roberto@connexer.com> Sat, 20 Oct 2007 13:15:28 -0400
317
318 cyrus-sasl2 (2.1.22.dfsg1-15) unstable; urgency=low
319
320 [ Fabian Fagerholm ]
321 * debian/sasl2-bin.saslauthd.init: allow running with NAME variable unset.
322 (Closes: #436440, #436726)
323 * debian/sasl2-bin.saslauthd.default: better in-file documentation.
324 * debian/sasl2-bin.README.Debian: document what happens if you don't set
325 the NAME variable.
326
327 [ Roberto C. Sanchez ]
328 * debian/po/es.po: add
329 * debian/po/fr.po: add, thanks to Vincent Bernat (Closes: #433371)
330 * debian/po/pt.po: add, thanks to Américo Monteiro (Closes: #436556)
331 * debian/po/de.po: add, thanks to Helge Kreutzmann (Closes: #438719)
332 * debian/po/pt_BR.po: add, thanks to Jefferson Alexandre (Closes: #439132)
333 * debian/rules: Cleanup lintian warnings
334
335 -- Roberto C. Sanchez <roberto@connexer.com> Fri, 7 Sep 2007 22:30:01 -0400
336
337 cyrus-sasl2 (2.1.22.dfsg1-14) unstable; urgency=low
338
339 [ Fabian Fagerholm ]
340 * debian/control, debian/sasl2-bin.templates, debian/sasl2-bin.postinst,
341 debian/po/templates.pot, debian/sasl2-bin.config: Build against libdb4.4.
342 Upgrade the database format of /etc/sasldb2 on package upgrade. There is
343 no support for automatic downgrade. (Closes: #354413, #421940)
344 * debian/sasl2-bin.postinst: when creating an empty sasldb file, check for
345 existence, not that it is a regular file.
346 * debian/po/templates.pot: update translations template.
347
348 -- Fabian Fagerholm <fabbe@debian.org> Mon, 6 Aug 2007 09:16:21 +0300
349
350 cyrus-sasl2 (2.1.22.dfsg1-13) unstable; urgency=low
351
352 [ Fabian Fagerholm ]
353 * debian/control, debian/sasl2-bin.templates, debian/po: make Debconf
354 templates translatable. (Closes: #428048)
355 * debian/rules, debian/control, debian/sasl-sample-client.sgml,
356 debian/sasl-sample-server.sgml: Introduce man pages for
357 sasl-sample-client and sasl-sample-server.
358 * debian/rules: Allow the package to be built twice. The upstream build
359 system cannot properly clean the source tree after a build, but this
360 at least allows another build to be performed even though the tree is
361 not exactly the same (some generated files are left, but they would be
362 regenerated anyway). (Closes: #424169)
363
364 -- Fabian Fagerholm <fabbe@debian.org> Fri, 13 Jul 2007 11:54:56 +0300
365
366 cyrus-sasl2 (2.1.22.dfsg1-12) unstable; urgency=low
367
368 [ Fabian Fagerholm ]
369 * debian/sasl2-bin.README.Debian: Small improvement to multi-init docs.
370 * debian/control, debian/README.Debian: Change the wording regarding the
371 need to install the modules packages, since they are not needed on all
372 systems but are needed especially on servers that provide SASL
373 authentication.
374 * debian/control, debian/sasl2-bin.templates, debian/sasl2-bin.postinst,
375 debian/rules, debian/sasl2-bin.postrm: Introduce Debconf prompt to ask
376 for permission to remove /etc/sasldb2 on package purge, with fallback
377 to not remove it when Debconf is not present. (Closes: #333416)
378 * debian/sasl2-bin.postinst: Before creating the statoverride for the run
379 directory, create it -- but only if the statoverride wasn't present
380 already. The init script will recreate the directory if it's not there.
381
382 -- Fabian Fagerholm <fabbe@debian.org> Fri, 8 Jun 2007 12:57:11 +0300
383
384 cyrus-sasl2 (2.1.22.dfsg1-11) unstable; urgency=low
385
386 [ Fabian Fagerholm ]
387 * debian/sasl2-bin.saslauthd.init: Complete rewrite to allow managing
388 multiple saslauthd instances with a single init script. (Closes: #320377)
389 * debian/sasl2-bin.saslauthd.default: Adjust main default file to new
390 init script requirements.
391 * debian/sasl2-bin.README.Debian: Document the new init script setup for
392 sysadmins.
393
394 -- Fabian Fagerholm <fabbe@debian.org> Thu, 7 Jun 2007 13:37:51 +0300
395
396 cyrus-sasl2 (2.1.22.dfsg1-10) unstable; urgency=high
397
398 [ Fabian Fagerholm ]
399 * debian/control: lower priority of libsasl2-modules to optional.
400 * debian/control: make libsasl2-modules suggest either the MIT or Heimdal
401 GSSAPI module.
402 * debian/control: change ${Source-Version} into ${binary:Version} to
403 ensure that we are up to date with current practise and are binNMU-safe.
404
405 [ Roberto C. Sanchez ]
406 * Urgency set to high to synchronize migration with cyrus-sasl2-heimdal.
407
408 -- Roberto C. Sanchez <roberto@connexer.com> Thu, 10 May 2007 20:03:45 -0400
409
410 cyrus-sasl2 (2.1.22.dfsg1-9) unstable; urgency=low
411
412 [ Fabian Fagerholm ]
413 * debian/rules: allow turning off SQL, LDAP and GSSAPI at build time,
414 to ease bootstrapping new architectures (Closes: #404268).
415 * debian/control: lower priority of libsasl2 to optional (Closes: #416561).
416 * debian/control: remove transitional packages, conflict with Heimdal
417 GSSAPI package.
418 * debian/control: build-conflict with heimdal-dev.
419
420 -- Fabian Fagerholm <fabbe@debian.org> Fri, 20 Apr 2007 19:30:20 +0300
421
422 cyrus-sasl2 (2.1.22.dfsg1-8) unstable; urgency=high
423
424 [ Fabian Fagerholm ]
425 * debian/control, libsasl2-2: update Conflicts on Postfix, need a more
426 recent version still for everything to work.
427 * debian/control: add libsasl2-gssapi-mit transitional package.
428 * debian/control, libsasl2-2: add versioned Conflicts: libsasl2-gssapi-mit
429 and libsasl2-krb4-mit. This means Kerberos 4 is no longer supported.
430 * debian/control, libsasl2-modules-gssapi-mit: add versioned Conflicts: and
431 Replaces: libsasl2-gssapi-mit, remove Provides: libsasl2-gssapi-mit.
432 * debian/TODO: remember to remove the transitional packages post-etch.
433
434 -- Fabian Fagerholm <fabbe@debian.org> Wed, 13 Dec 2006 23:22:02 +0200
435
436 cyrus-sasl2 (2.1.22.dfsg1-7) unstable; urgency=high
437
438 [ Fabian Fagerholm ]
439 * debian/sasl2-bin.postinst: create default statoverride entries for the
440 saslauthd run directory and sasldb file, and create an empty sasldb file
441 unless one already exists. (Closes: #401348)
442 * debian/TODO: update.
443
444 -- Fabian Fagerholm <fabbe@debian.org> Fri, 8 Dec 2006 10:21:15 +0200
445
446 cyrus-sasl2 (2.1.22.dfsg1-6) unstable; urgency=medium
447
448 [ Fabian Fagerholm ]
449 * debian/control: add Provides: libsasl2-gssapi-mit, as suggested by
450 Sam Hartman.
451 * debian/patches/0015_saslutil_decode64_fix.dpatch: add check to succeed
452 when input string is CR or LF terminated, as well. (Closes: #400955)
453 * debian/sasl2-bin.saslauthd.init: if THREADS is not set, don't include
454 the -n option, and let saslauthd fall back to the compiled-in default.
455 (Closes: #401716)
456
457 -- Fabian Fagerholm <fabbe@debian.org> Tue, 5 Dec 2006 22:55:01 +0200
458
459 cyrus-sasl2 (2.1.22.dfsg1-5) unstable; urgency=low
460
461 [ Fabian Fagerholm ]
462 * debian/control: libsasl2-2 conflicts with postfix (<< 2.3.4-2) because
463 earlier versions of postfix use the old method of setting the plugin
464 configuration path. (Closes: #400772)
465 * debian/control: drop libsasl2-2-dev and use libsasl2-dev only.
466 * debian/patches/0015_saslutil_decode64_fix.dpatch: make sasl_decode64
467 ignore trailing CRLF in the input data. (Closes: #400955)
468
469 -- Fabian Fagerholm <fabbe@debian.org> Fri, 1 Dec 2006 22:41:02 +0200
470
471 cyrus-sasl2 (2.1.22.dfsg1-4) unstable; urgency=low
472
473 [ Fabian Fagerholm ]
474 * debian/rules, etc.: Build sample-{client,server} and ship them with
475 Debianized names (prefix sasl-) in sasl2-bin. (Closes: #305357)
476
477 -- Fabian Fagerholm <fabbe@debian.org> Tue, 21 Nov 2006 07:51:18 +0200
478
479 cyrus-sasl2 (2.1.22.dfsg1-3) unstable; urgency=low
480
481 [ Fabian Fagerholm ]
482 * debian/control, debian/rules: Add cyrus-sasl2-dbg package and make
483 dh_strip put debugging symbols in it. (Closes: #240767)
484 * debian/sasl2-bin.saslauthd.init: Allow configurable run directory and
485 pid file. (Closes: #201826)
486 * debian/sasl2-bin.README.Debian: Short documentation on how to integrate
487 saslauthd with Postfix.
488
489 -- Fabian Fagerholm <fabbe@debian.org> Fri, 17 Nov 2006 09:04:03 +0200
490
491 cyrus-sasl2 (2.1.22.dfsg1-2) unstable; urgency=low
492
493 [ Fabian Fagerholm ]
494 * debian/sasl2-bin.saslauthd.init: Fix case when MECH_OPTIONS is empty.
495 (Closes: #397818)
496 * debian/sasl2-bin.saslauthd.default: Include an example for postfix users.
497 * debian/rules: Preserve CFLAGS variable as suggested by Andreas Metzler.
498
499 [ Roberto C. Sanchez ]
500 * debian/rules: added '--sysconfdir=/etc' option for configure
501 (Closes: #398137)
502
503 -- Fabian Fagerholm <fabbe@debian.org> Mon, 13 Nov 2006 08:46:05 +0200
504
505 cyrus-sasl2 (2.1.22.dfsg1-1) unstable; urgency=low
506
507 [ Fabian Fagerholm ]
508 * debian/control: Adjust priority of packages to be more in line with
509 policy and overrides.
510 * debian/sasl2-bin.saslauthd.default: saslauthd can *not* use more than one
511 authentication mechanism at a time. (Closes: #329716, #274182, #368189)
512 * Repackage upstream tarball to remove non-DFSG-free IETF docs that were
513 accidentally reintroduced for some reason. (Closes: #365183)
514 * Remove non-DFSG-free IETF docs from trunk, so it corresponds to the
515 repackaged tarball.
516 * debian/patches/0012_xopen_crypt_prototype.dpatch: Avoid segfault on
517 architectures where the size of a pointer is greater than the size of an
518 integer. Dann Frazier reported and supplied the patch. (Closes: #397549)
519 * debian/patches/0013_fix_hurd_build.dpatch: This patch had gotten lost,
520 it fixes building on hurd-i386. (Closes: #397714)
521 * debian/patches/0014_avoid_pic_overwrite: Don't overwrite PIC version of
522 libsasldb.a with non-PIC version. This causes linking to fail when
523 making shared objects on certain platforms such as amd64 and hppa.
524 (Closes: #397603, #397605)
525 * debian/rules: Move "-Wl,-z,defs" from CFLAGS to LDFLAGS to avoid a lot
526 of irrelevant linker messages. Andreas Metzler spotted this.
527
528 -- Fabian Fagerholm <fabbe@debian.org> Thu, 9 Nov 2006 14:12:40 +0200
529
530 cyrus-sasl2 (2.1.22-1) unstable; urgency=low
531
532 [ Fabian Fagerholm ]
533 * debian/sasl2-bin.saslauthd.default: put back the descriptive comment
534 about sasldb for saslauthd.
535 * Upload to unstable (famous last words ;-).
536
537 -- Fabian Fagerholm <fabbe@debian.org> Tue, 7 Nov 2006 13:43:14 +0200
538
539 cyrus-sasl2 (2.1.22-0~pre05) experimental; urgency=low
540
541 [ Fabian Fagerholm ]
542 * debian/control: improve description of -doc package.
543 * debian/control: add -modules-ldap package to -modules Suggests.
544 * debian/control: build-depend on older libdb to ease upgrade.
545 * debian/sasl2-bin.saslauthd.init: fix typo on line 31.
546 * debian/sasl2-bin.saslauthd.init: if daemon is already running or already
547 stopped, reflect this fact in the start or stop message, respectively.
548 * debian/sasl2-bin.saslauthd.init: quote the user-supplied variable on
549 line 51 to avoid errors when it contains a space-separated list.
550 * debian/rules: socket directory is /var/run/saslauthd, fix typo.
551 * debian/sasl2-bin.saslauthd.default: -T option doesn't work, remove.
552 * debian/rules: enable sasldb support in saslauthd.
553 * debian/rules: add test target (currently just builds the test suite).
554 * debian/rules: clean up unneccessary file copying.
555 * debian/patches/0009_sasldb_al.dpatch: fix building saslauthd with
556 sasldb support.
557 * debian/patches/0010_maintainer_mode.dpatch: use AM_MAINTAINER_MODE.
558 * debian/patches/0011_saslauthd_ac_prog_libtool.dpatch: use AC_PROG_LIBTOOL
559 in saslauthd's configure.in.
560
561 -- Fabian Fagerholm <fabbe@debian.org> Wed, 1 Nov 2006 23:55:50 +0200
562
563 cyrus-sasl2 (2.1.22-0~pre04) experimental; urgency=low
564
565 [ Fabian Fagerholm ]
566 * debian/rules: use /dev/urandom instead of /dev/random.
567 * debian/README.Debian: document change to /dev/urandom.
568 * Rename the package according to Steve Langasek's advice (based on a
569 patch from Andreas Metzler).
570
571 -- Fabian Fagerholm <fabbe@debian.org> Mon, 30 Oct 2006 18:48:42 +0200
572
573 cyrus-sasl2 (2.1.22-0~pre03) experimental; urgency=low
574
575 [ Roberto C. Sanchez ]
576 * Acknowledge previous NMU (Closes: #275431)
577
578 [ Fabian Fagerholm ]
579 * debian/cyrus-sasl-2.1-bin.saslauthd.init: exit 0 when saslauthd binary
580 is missing (policy 9.3.2) and exit 0 when START != yes.
581 * debian/rules: enable --with-ldap and --enable-ldapdb.
582 * debian/control: create an LDAP modules package.
583 * debian/libsasl2-2-modules-ldap.{dirs,install}: install libldapdb.* into
584 LDAP modules package.
585
586 [ Andreas Metzler ]
587 * debian/control: Change lsb-base from Build-Depends to Depends for
588 cyrus-sasl-2.1-bin.
589
590 -- Fabian Fagerholm <fabbe@debian.org> Mon, 23 Oct 2006 17:27:18 +0300
591
592 cyrus-sasl2 (2.1.22-0~pre02) experimental; urgency=low
593
594 [ Roberto C. Sanchez ]
595 * debian/control: versioned conflict on libsasl2-modules allows
596 installation of pre-release packages.
597
598 [ Fabian Fagerholm ]
599 * debian/rules: install dbconverter-2 as sasldbconverter2.
600 * debian/rules: include man page for sasldbconverter2.
601 * debian/changelog: clean up, rebuild for experimental.
602
603 -- Fabian Fagerholm <fabbe@debian.org> Fri, 20 Oct 2006 08:29:19 +0300
604
605 cyrus-sasl2 (2.1.22-0~pre01) experimental; urgency=low
606
607 * Acknowledged previous NMUs (Closes: #274087, #344686, #362511, #245818)
608 (Closes: #276637, #285605, #332703, #336485, #345880, #357527, #379846)
609 (Closes: #248333, #315177, #324288, #361937, #242184, #256808, #202836)
610 (Closes: #262339, #265751, #275498, #276849)
611
612 [ Fabian Fagerholm ]
613 * Adopted package (Closes: #368370)
614 * Fixed static linking against libsasl2 (Closes: #282775)
615 * debian/rules: Exit with an error if any of the auto* commands fail
616 (Closes: #321760)
617 * New upstream version (Closes: #316404)
618 - Fixed crash with DIGEST-MD5 (Closes: #286285, #314724)
619 - Built with courier authdaemon support (Closes: #328879)
620 - sql plugin respects log_level settings (Closes: #296449)
621 * debian/watch: Included a watch file (Closes: #205589)
622 * debian/control, debian/rules: Switched from Heimdal to MIT Kerberos
623 (Closes: #257306, #310438)
624 * Repackaged upstream source to remove non-free docs (Closes: #365183)
625 * debian/README.Debian: Document why libsasl2-modules is recommended
626 (Closes: #302280, #365287)
627 * debian/rules: Strip rpath from binaries and shared libraries when build
628 inserts one.
629
630 [ Roberto C. Sanchez ]
631 * Added myself to Uploaders field
632 * debian/control: Added missing Build-Depends on groff-base
633 * debian/control: Changed build dependency from db4.2 to db4.4
634 (Closes: #354413)
635 * debian/rules: Made it so README.configure-options is actually populated
636 * debian/rules: Prevent bogus ldconfig calls in postinst and postrm
637 * debian/testsaslauthd.8: Added manual page for testsaslauthd(8)
638 * debian/cyrus-sasl-2.1-bin.saslauthd.init: Improved socket and pidfile
639 location flexibility (Closes: #254298, #300710, #287313)
640 * debian/control: Changed libsasl2-2-modules-sql to depend on
641 libsasl2-2-modules (Closes: #392571)
642 * debian/rules: /etc/sasl at start of config search path (Closes: #211156)
643 * Split OTP plugin into its own package (Closes: #251735)
644 * debian/control: Made libsasl2-2-modules suggest
645 libsasl2-2-modules-{sql,otp,gssapi-heimdal} (Closes: #348685)
646 * debian/cyrus-sasl-2.1-bin.saslauthd.init: Useful errors (Closes: #257181)
647 * debian/control: Added NTLM to description (Closes: #274402)
648 * Added necessary config.h and Makefile to build samples (Closes: #190658)
649
650 -- Fabian Fagerholm <fabbe@debian.org> Thu, 19 Oct 2006 23:26:02 +0300
651
652 cyrus-sasl2 (2.1.19.dfsg1-0.5) unstable; urgency=low
653
654 * Non-maintainer upload during BSP.
655 * Changed init script for option -m in saslauthd.
656 (Thanks Elmar Hoffmann for your Help)
657 Closes: #364395.
658
659 -- Michael Steinfurth <michael.steinfurth@fh-stralsund.de> Sun, 17 Sep 2006 12:20:44 +0200
660
661 cyrus-sasl2 (2.1.19.dfsg1-0.4) unstable; urgency=high
662
663 * Non-maintainer upload
664 * Reverted to libdb4.2-dev.
665
666 -- Peter Eisentraut <petere@debian.org> Sat, 16 Sep 2006 00:19:18 +0200
667
668 cyrus-sasl2 (2.1.19.dfsg1-0.3) unstable; urgency=high
669
670 * Use libkrb5-dev instead of heimdal-dev. Closes: #379846.
671 * Use libdb4.3-dev instead of libdb4.2-dev. Closes: #336485.
672
673 -- Peter Eisentraut <petere@debian.org> Fri, 15 Sep 2006 18:30:19 +0200
674
675 cyrus-sasl2 (2.1.19.dfsg1-0.2) unstable; urgency=high
676
677 * Non-maintainer upload
678 * Applied upstream patch to fix remote denial of service
679 [debian/patches/27_CVE-2006-1721.diff]
680 Closes: #361937.
681
682 -- dann frazier <dannf@debian.org> Tue, 25 Apr 2006 09:39:43 -0600
683
684 cyrus-sasl2 (2.1.19.dfsg1-0.1) unstable; urgency=low
685
686 * Non-maintainer upload.
687 * Remove dlcompat-20010505 subdirectory from source package as it
688 contains non-DFSG-free source. Required regeneration of the orig.tar.gz.
689 Closes: #357527.
690
691 -- dann frazier <dannf@debian.org> Tue, 4 Apr 2006 16:38:20 -0600
692
693 cyrus-sasl2 (2.1.19-1.9) unstable; urgency=low
694
695 * Non-maintainer upload.
696 * debian/patches/26_fix_hurd_build.diff: Fix FTBFS on hurd-i386.
697 Closes: #324288.
698
699 -- Michael Banck <mbanck@debian.org> Fri, 20 Jan 2006 15:45:30 +0100
700
701 cyrus-sasl2 (2.1.19-1.8) unstable; urgency=medium
702
703 * Non-maintainer upload.
704 * Medium-urgency upload for RC bugfixes.
705 * Rebuild against current heimdal packages, dropping the build-dependency
706 on the obsolete and soon-to-be-removed krb4 package; also drop the
707 (misnamed) libsasl2-modules-kerberos-heimdal package as a result.
708 Closes: #345737, 345880.
709 * Drop mention of KERBEROS_V4 in the libsasl2 package description.
710 * Build against libmysqlclient15 instead of the obsolete libmysqlclient10
711 for libsasl2-modules-sql.
712 * debian/patches/25_postgresql_pg_config.diff:
713 Use pg-config --includedir in configure.in, so that cyrus-sasl2 continues
714 to build when the postgresql include path changes as the postgresql
715 maintainers are planning to do; and adjust the include path in
716 plugins/sql.c accordingly. Closes: #315177.
717
718 -- Steve Langasek <vorlon@debian.org> Sat, 7 Jan 2006 04:18:58 -0800
719
720 cyrus-sasl2 (2.1.19-1.7) unstable; urgency=low
721
722 * Non-maintainer upload.
723 * fix FTBFS in plugins/ntlm.c with patch 24. Closes: #332703
724
725 -- Andreas Barth <aba@not.so.argh.org> Sat, 5 Nov 2005 20:07:50 +0100
726
727 cyrus-sasl2 (2.1.19-1.6) unstable; urgency=medium
728
729 * Non-maintainer upload.
730 * Medium-urgency upload for RC bugfixes.
731 * Drop the extern declaration of a static variable global_callbacks,
732 allowing the package to build with gcc-4.0 (closes: #285605).
733 * Build-Depend on libpq-dev instead of on postgresql-dev, as the
734 latter package name is obsolete. (Ref: #315177)
735
736 -- Steve Langasek <vorlon@debian.org> Wed, 24 Aug 2005 17:41:57 -0700
737
738 cyrus-sasl2 (2.1.19-1.5) unstable; urgency=emergency
739
740 * NMU
741 * Clean-up 2.1.19-1.4 NMU:
742 + Since we were using an upstream CVS patch, add another patch
743 fixing it instead of changing the (bad) upstream CVS patch;
744 Sent this new patch upstream
745 + Set *path to NULL, not to 0
746 * Add Build-Conflicts: autoconf2.13, automake1.4
747 * We want something easy to merge/further fix in sarge, so this cleanup
748 is a good idea
749
750 -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 16 Oct 2004 17:50:19 -0300
751
752 cyrus-sasl2 (2.1.19-1.4) unstable; urgency=low
753
754 * NMU
755 * fix the security fix: Initialize *path with 0.
756 Closes: #276637.
757
758 -- Andreas Barth <aba@debian.org> Fri, 15 Oct 2004 20:26:41 +0200
759
760 cyrus-sasl2 (2.1.19-1.3) unstable; urgency=high
761
762 * NMU
763 * Fix minor issue with -1.2 in patch 15, to squash a compiler
764 warning (just in case it becomes more than a warning in some arch):
765 add missing "int" to extern declaration
766
767 -- Henrique de Moraes Holschuh <hmh@debian.org> Fri, 8 Oct 2004 13:06:28 -0300
768
769 cyrus-sasl2 (2.1.19-1.2) unstable; urgency=high
770
771 * NMU, since I am not sure Dima is back yet
772 * SECURITY FIX: SASL_PATH environment variable must not be honoured on
773 setuid environments, otherwise we have a local privilege escalation
774 exploit (CVE: CAN-2004-0884), related advisories: RHSA-2004:546-02;
775 GLSA 200410-05
776 * upstream CVS: lib/common.c: don't honor SASL_PATH in setuid
777 environment. from Gentoo (CVE CAN-2004-0884); (closes: #275431)
778 * upstream CVS: plugins/kerberos4.c: document weirdness with openssl DES
779 * upstream CVS: plugins/cram.c,plugins/anonymous.c,plugins/login.c,
780 plugins/plain.c,plugins/sasldb.c: Fixed several 64 bit portability
781 warnings
782 * Forward port sasl_set_alloc locking patch from SASL 1.5, to avoid
783 problems with the braindead idea of globals SASL has, and with libraries
784 that think they can get around mucking with them (hello openldap!)
785 (closes: #274087)
786
787 -- Henrique de Moraes Holschuh <hmh@debian.org> Fri, 8 Oct 2004 11:15:39 -0300
788
789 cyrus-sasl2 (2.1.19-1.1) unstable; urgency=medium
790
791 * NMU with permission from the maintainer
792 * Release Manager:
793 SASL 2.1.18 (currently in sarge) is very unusable. Please accept
794 this upload for sarge. The main reasons justifying this are:
795 * Security fixes from upstream: at least one buffer overflow
796 was plugged in 2.1.19, and the code was made more secure, which may
797 have plugged other latent security bugs.
798 * Essential feature: 2.1.18 has a very bad regression in that saslauthd
799 cannot support realms embedded inside the username as previous
800 versions did. However, that regression is exactly how it should be
801 behaving since day one, never mind that too many setups are hopeless
802 with the realm information out-of-band. 2.1.19 adds a "-r" option to
803 saslauthd which restores the former behaviour. Both behaviours are
804 needed, depending on the SASL mechs being used (one sends the realm
805 out-of-band, the other in-band). Users have complained loudly about
806 this issue, not only in Debian, but in the SASL and Cyrus IMAP
807 mailinglists as well. For way too many people and setups, "-r" is
808 essential
809 * Essential bug fixes: Digest-MD5 and GSSAPI are quite broken in
810 2.1.18, and extensive fixes were applied on them in 2.1.19. In fact,
811 2.1.18 GSSAPI does _not_ work completely right against Heimdall and
812 MIT kerberos.
813 * ABI version issue: the 2.1.19-1 Debian package was uploaded to
814 _unstable_ before the freeze. Maybe because of that, the maintainer
815 did upgrade the shlibs dependency to 2.1.19 (I have confirmed that to be
816 required for SASL modules, so it appears to be really required).
817 Packages built in _unstable_ since them are being held back due to
818 this issue. The best fix for packages that use libsasl2 *is* getting
819 this new version into sarge, due to all other fixes.
820 * Bugs closed in 2.1.19-1, but not ackwnoleged before:
821 * Fix FTBFS in hppa, due to broken libtool usage, thanks to Steve Langasek
822 for the patch (closes: #245818)
823 * 2.1.19 supports saslauthd "-r" option (closes: #248333, #256808)
824 * Changes in this NMU:
825 * upstream CVS: plugins/digestmd5.c: Fix handling of client realm callback
826 * upstream CVS: plugins/gssapi.c: Memory management cleanup
827 * upstream CVS: configure.in, plugins/gssapi.c: Wrap all GSS calls
828 in mutexes when required by the implementation (closes: #202836)
829 THIS PATCH PROBABLY SHOULD BE SET TO DISABLED BY DEFAULT WHEN MIT
830 KERBEROS 1.3.5 ENTERS UNSTABLE
831 (see https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2255)
832 * Libtool is refreshed at every build, so this upload closes: #262339
833 * debian/control: build-depend on debhelper (>= 4)
834 * debian/control: build-depend on libtool (>= 1.5.6) instead of (>=
835 1.5.2-1)
836 * Fix initscript to return status 0 if stop called when daemon is
837 already stopped (closes: #242184)
838
839 -- Henrique de Moraes Holschuh <hmh@debian.org> Sat, 14 Aug 2004 13:04:38 -0300
840
841 cyrus-sasl2 (2.1.19-1) unstable; urgency=medium
842
843 * New upstream version (Closes: #259503, #259658)
844 * Acknowledge the last NMU (closes: #254818)
845 * Build against libdb4.2 (closes: #253894)
846 * Fixed the path to saslauthd.conf in the saslauthd
847 man page (Closes: #254454)
848
849 -- Dima Barsky <dima@debian.org> Sun, 4 Jul 2004 20:38:53 +0100
850
851 cyrus-sasl2 (2.1.18-4.1) unstable; urgency=low
852
853 * NMU.
854 * Fix FTBFS, non-PIC in shared lib (closes: #254818).
855
856 -- Matthias Klose <doko@debian.org> Fri, 21 May 2004 08:02:44 +0200
857
858 cyrus-sasl2 (2.1.18-4) unstable; urgency=medium
859
860 * Added the build dependency on libtool
861
862 -- Dima Barsky <dima@debian.org> Mon, 19 Apr 2004 13:46:23 +0100
863
864 cyrus-sasl2 (2.1.18-3) unstable; urgency=medium
865
866 * Update config.{sub,guess} at the build time
867 * Added conflict with old MIT kerberos packages (Closes: #240714)
868
869 -- Dima Barsky <dima@debian.org> Sun, 18 Apr 2004 18:02:48 +0100
870
871 cyrus-sasl2 (2.1.18-2) unstable; urgency=low
872
873 * Renamed libsasl2-modules-mysql to libsasl2-modules-sql
874 * Reduced some packages' priority to optional, only the core remain important.
875 * Enabled KRB4 (should've done it in 2.1.18-1).
876
877 -- Dima Barsky <dima@debian.org> Sun, 21 Mar 2004 01:07:40 +0000
878
879 cyrus-sasl2 (2.1.18-1) unstable; urgency=low
880
881 * New upstream release (Closes: #232086)
882 * Revised Build-Depends list (Closes: #212615)
883 * Fixed typo in debian/control, thanks to hmh@debian.org (Closes: #213521)
884 * Fixed mutex handling (Closes: #223253)
885 * Use single -a for several mechanisms in /etc/init.d/saslauthd
886 (Closes: #202354)
887 * Fixed sasltestsuite (Closes: #217538)
888
889 -- Dima Barsky <dima@debian.org> Sat, 13 Mar 2004 16:16:26 +0000
890
891 cyrus-sasl2 (2.1.15-6) unstable; urgency=low
892
893 * Acknowledging the last two NMUs (Closes: #213510, #212945, #212318, #211958)
894 * Added -fno-strict-aliasing flag (Closes: #215862)
895
896 -- Dima Barsky <dima@debian.org> Sun, 26 Oct 2003 01:26:53 +0100
897
898 cyrus-sasl2 (2.1.15-5.2) unstable; urgency=low
899
900 * NMU
901 * Eeek, kill acinclude.m4 (what the FUCK is it doing there anyway?!)
902 so as to correctly update the libtool environment (Closes: #213510)
903 * While at it fix some stuff in the control file:
904 + Section: libs for libsasl2-* since SASL runtime environment is NOT
905 a devel suite
906 * Document rather bluntly the extreme need for sasl modules for this
907 lib to actually work in README.Debian
908
909 -- Henrique de Moraes Holschuh <hmh@debian.org> Tue, 30 Sep 2003 21:14:56 -0300
910
911 cyrus-sasl2 (2.1.15-5.1) unstable; urgency=low
912
913 * NMU
914 * Rebuild, to get correct heimdal dependencies. Also add comerr-dev to
915 build-dependency list (Closes: #212945)
916 * Build-depend on libtool1.4 (Closes: #212318)
917
918 -- Henrique de Moraes Holschuh <hmh@debian.org> Tue, 30 Sep 2003 13:56:28 -0300
919
920 cyrus-sasl2 (2.1.15-5) unstable; urgency=low
921
922 * Set priority to "important" (Closes: #202876)
923 * Run aclocal,autoconf,automake, and autoheader in saslauthd
924 directory as well as the top one (Closes: #203096)
925 * Registered a conflict between *-heimdal packages and *-mit ones
926 (Closes: #202838)
927 * Grabbed doc/components.html from the SASL CVS (Closes: #202642)
928 -- Dima Barsky <dima@debian.org> Thu, 31 Jul 2003 21:17:09 +0100
929
930 cyrus-sasl2 (2.1.15-4) unstable; urgency=low
931
932 * Removed build dependency on libopenafs-dev, it was only required for
933 SASL1. SASL2 can take the DES library from libssl-dev (Closes: #202569).
934
935 -- Dima Barsky <dima@debian.org> Wed, 23 Jul 2003 12:50:59 +0100
936
937 cyrus-sasl2 (2.1.15-3) unstable; urgency=low
938
939 * Added build dependency on groff-base
940
941 -- Dima Barsky <dima@debian.org> Mon, 21 Jul 2003 12:39:50 +0100
942
943 cyrus-sasl2 (2.1.15-2) unstable; urgency=low
944
945 * Added build dependency on dbs and libopenafs-dev
946
947 -- Dima Barsky <dima@debian.org> Mon, 21 Jul 2003 11:43:38 +0100
948
949 cyrus-sasl2 (2.1.15-1) unstable; urgency=low
950
951 * New upstream release
952 * Added LDAP_SASLAUTHD doc file to sasl2-bin (Closes: #201893)
953 * Added build dependency on automake1.4 and autoconf2.13
954
955 -- Dima Barsky <dima@debian.org> Tue, 15 Jul 2003 21:39:08 +0100
956
957 cyrus-sasl2 (2.1.14-1) unstable; urgency=low
958
959 * New upstream release
960 * Changed the build system to dbs.
961 * THe GSSAPI segfault has been fixed upstream (Closes: #192502)
962 * Fixed a typo in the sasl2-bin description (Closes: #197070, #193958)
963 * Made a separate package for the MYSQL plugin (Closes: #188716, #166702, #190673)
964 * Moved libsasldb plugin into the libsasl2 package.
965
966 -- Dima Barsky <dima@debian.org> Mon, 14 Jul 2003 07:04:47 +0100
967
968 cyrus-sasl2 (2.1.12-1) unstable; urgency=low
969
970 * New upstream release
971 * Changed variable 'c' in testsuite.c:2871 from char to int
972 (Closes: #177426)
973 * Recompiled with the latest heimdal libraries (Closes: #179810)
974 * Removed RFC documents from libsasl2 (Closes: #178987)
975
976 -- Dima Barsky <dima@debian.org> Sat, 15 Mar 2003 22:29:25 +0000
977
978 cyrus-sasl2 (2.1.10-1) unstable; urgency=low
979
980 * New upstream release (Closes: #172453)
981 * Included sasldbconverter2 (Closes: #170740)
982 * Removed duplicate "--with-ldap" from debian/rules (Closes: #167858)
983 * Added "--sysconfdir=/etc" to debian/rules (Closes: #167855)
984 * Changed libsasl2 -> libsasl2-modules dependency from Suggests to
985 Recommends (Closes: #171938)
986 * Added "--enable-alwaystrue" to debian/rules (Closes: #170495)
987 * Included testsaslauthd (Closes: #167876)
988 * Included sasltestsuite (Closes: #166538)
989
990 -- Dima Barsky <dima@debian.org> Mon, 23 Dec 2002 16:07:31 +0000
991
992 cyrus-sasl2 (2.1.9-5) unstable; urgency=low
993
994 * Updated libtool files inside saslauthd/config/ (Closes: #166810)
995 * Enabled NTLM module
996 * Enabled LDAP support for saslauthd
997
998 -- Dima Barsky <dima@debian.org> Mon, 28 Oct 2002 21:12:56 +0000
999
1000 cyrus-sasl2 (2.1.9-4) unstable; urgency=low
1001
1002 * Enabled DO_DLOPEN unconditionally in configure.in
1003
1004 -- Dima Barsky <dima@debian.org> Mon, 28 Oct 2002 00:20:55 +0000
1005
1006 cyrus-sasl2 (2.1.9-3) unstable; urgency=low
1007
1008 * Added AM_MAINTAINER_MODE to configure.in
1009
1010 -- Dima Barsky <dima@debian.org> Sat, 26 Oct 2002 01:46:13 +0100
1011
1012 cyrus-sasl2 (2.1.9-2) unstable; urgency=low
1013
1014 * Added dbconverter-2 as /usr/sbin/sasldbconverter-2
1015 * Added build dependency on zlib1g-dev
1016
1017 -- Dima Barsky <dima@debian.org> Fri, 25 Oct 2002 22:28:30 +0100
1018
1019 cyrus-sasl2 (2.1.9-1) unstable; urgency=low
1020
1021 * New upstream release
1022 * shlibs now refers to the current version (Closes: #163845)
1023 * sasl2-bin now uses dpkg-statoverride to manage permissions of
1024 /var/run/saslauthd and /etc/sasldb2 (Closes: #163042, #164393)
1025
1026 -- Dima Barsky <dima@debian.org> Mon, 21 Oct 2002 22:01:01 +0100
1027
1028 cyrus-sasl2 (2.1.7-3) unstable; urgency=low
1029
1030 * Added shlibs file (Closes: #162927)
1031
1032 -- Dima Barsky <dima@debian.org> Tue, 1 Oct 2002 17:44:36 +0100
1033
1034 cyrus-sasl2 (2.1.7-2) unstable; urgency=low
1035
1036 * Build with versioned symbols
1037 * Another split: KERBEROS mechanism is now in a separate module (Closes: #154153)
1038 * README.Debian has been updated a while ago, we can
1039 close bug 146543 now. (Closes: #146543)
1040
1041 -- Dima Barsky <dima@debian.org> Mon, 30 Sep 2002 17:23:12 +0100
1042
1043 cyrus-sasl2 (2.1.7-1) unstable; urgency=low
1044
1045 * New upstream version (Closes: #156286, #158296)
1046 * Enabled ldap and mysql (Closes: #155025, #154965)
1047 * /etc/sasldb2 and /var/run/saslauthd now belong to the group "sasl"
1048 and are group-readable (Closes: #151798)
1049
1050 -- Dima Barsky <dima@debian.org> Thu, 25 Sep 2002 15:51:12 +0100
1051
1052 cyrus-sasl2 (2.1.6-1) unstable; urgency=low
1053
1054 * New upstream version
1055 * Make sure autoheader is not invoked at the build stage (Closes: #153127)
1056
1057 -- Dima Barsky <dima@debian.org> Wed, 17 Jul 2002 12:19:29 +0100
1058
1059 cyrus-sasl2 (2.1.5-7) unstable; urgency=low
1060
1061 * Separated heimdal-dependent plugins into the
1062 libsasl2-modules-gssapi-heimdal package
1063 * Updated libtool to the latest version (Closes: #146229)
1064 * Changed permissions on /var/run/saslauthd to 711 (Closes: #151796)
1065
1066 -- Dima Barsky <dima@debian.org> Thu, 4 Jul 2002 09:24:42 +0100
1067
1068 cyrus-sasl2 (2.1.5-6) unstable; urgency=low
1069
1070 * Removed build dependency on automake
1071
1072 -- Dima Barsky <dima@debian.org> Wed, 3 Jul 2002 09:51:47 +0100
1073
1074 cyrus-sasl2 (2.1.5-5) unstable; urgency=low
1075
1076 * Added a few packages to the Build-Depends list
1077
1078 -- Dima Barsky <dima@debian.org> Tue, 2 Jul 2002 16:22:57 +0100
1079
1080 cyrus-sasl2 (2.1.5-4) unstable; urgency=low
1081
1082 * Enabled DES, KERBEROS, and GSSAPI
1083 * Merged all modules into the package libsasl2-modules
1084
1085 -- Dima Barsky <dima@debian.org> Tue, 2 Jul 2002 13:10:10 +0100
1086
1087 cyrus-sasl2 (2.1.5-3) unstable; urgency=low
1088
1089 * Enabled sasldb in saslauthd (Closes: 146791)
1090
1091 -- Dima Barsky <dima@debian.org> Tue, 2 Jul 2002 11:50:03 +0100
1092
1093 cyrus-sasl2 (2.1.5-2) unstable; urgency=low
1094
1095 * Preserve /usr/lib/sasl2/*.la (Closes: #151567)
1096
1097 -- Dima Barsky <dima@debian.org> Mon, 1 Jul 2002 19:24:21 +0100
1098
1099 cyrus-sasl2 (2.1.5-1) unstable; urgency=low
1100
1101 * New upstream version (Closes: #133458, #148693, #131792, #150957)
1102 * Added explicit rule for building libsasl2.a (Closes: #144200)
1103 * Added a warning about /dev/random to README.Debian (Closes: #146982)
1104 * /var/run/saslauthd/mux is now world-readable (Closes: #147484)
1105 * Modified sasl2-bin.default to make it clear that MECHANISMS is a
1106 space separated lists, so it should be quoted if there is more
1107 than one item in it (Closes: #146790)
1108
1109 -- Dima Barsky <dima@debian.org> Sun, 30 Jun 2002 01:19:16 +0100
1110
1111 cyrus-sasl2 (2.1.2-2) unstable; urgency=low
1112
1113 * Fixed saslauthd man page (Closes: #131791)
1114
1115 -- Dima Barsky <dima@debian.org> Wed, 27 Mar 2002 15:27:39 +0000
1116
1117 cyrus-sasl2 (2.1.2-1) unstable; urgency=low
1118
1119 * New upstream version
1120 * Changed --without-gssapi to --disable-gssapi
1121 * Closes: #131792
1122
1123 -- Dima Barsky <dima@debian.org> Tue, 26 Mar 2002 22:29:12 +0000
1124
1125 cyrus-sasl2 (2.1.1-0.2) unstable; urgency=low
1126
1127 * Fix a naming problem with the init script.
1128 * Fix problems with the init script itself.
1129
1130 -- Michael Alan Dorman <mdorman@debian.org> Sun, 17 Mar 2002 15:44:45 -0500
1131
1132 cyrus-sasl2 (2.1.1-0.1) unstable; urgency=low
1133
1134 * New upstream version
1135 * Total rewrite of debian/rules, fold everything into nice, standard debhelper usage
1136 * Functionality to auto-start saslauthd, which configury through /etc/default/saslauthd
1137
1138 -- Michael Alan Dorman <mdorman@debian.org> Sun, 17 Mar 2002 15:09:55 -0500
1139
1140 cyrus-sasl2 (2.1.0-2) unstable; urgency=low
1141
1142 * Added build dependency on libopie-dev
1143
1144 -- Dima Barsky <dima@debian.org> Sun, 27 Jan 2002 20:07:15 +0000
1145
1146 cyrus-sasl2 (2.1.0-1) unstable; urgency=low
1147
1148 * Initial release of cyrus-sasl2
1149
1150 -- Dima Barsky <dima@debian.org> Sun, 20 Jan 2002 14:36:45 +0000
0 Source: cyrus-sasl2
1 Section: libs
2 Priority: standard
3 Maintainer: Debian Cyrus SASL Team <pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org>
4 Uploaders: Fabian Fagerholm <fabbe@debian.org>, Roberto C. Sanchez <roberto@connexer.com>
5 Standards-Version: 3.9.1
6 Build-Depends: debhelper (>= 5.0.0), quilt (>= 0.40), autotools-dev, automake1.9, autoconf, libtool, libdb4.8-dev, libpam0g-dev (>= 0.76-22), libssl-dev (>= 0.9.7e-3), libmysqlclient-dev | libmysqlclient15-dev (>= 5.0.20), libopie-dev (>= 2.32-10), libpq-dev (>= 8.1.3-4), heimdal-multidev, krb5-multidev, libsqlite0-dev (>= 2.8.16), libldap2-dev (>= 2.1.30-8), chrpath, groff-base, debconf (>= 0.5) | debconf-2.0, po-debconf, docbook-to-man, hardening-wrapper
7 Build-Conflicts: heimdal-dev
8 Vcs-Browser: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/
9 Vcs-Svn: svn://svn.debian.org/svn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/
10 Homepage: http://cyrusimap.web.cmu.edu/
11
12 Package: sasl2-bin
13 Section: utils
14 Priority: optional
15 Architecture: any
16 Depends: libsasl2-2 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6), db4.8-util, debconf (>= 1.4.69) | cdebconf (>= 0.39)
17 Description: Cyrus SASL - administration programs for SASL users database
18 This is the Cyrus SASL API implementation, version 2.1. See package
19 libsasl2-2 and RFC 2222 for more information.
20 .
21 This package contains administration programs for the SASL users
22 database and common binary files for plugin modules.
23
24 Package: cyrus-sasl2-doc
25 Section: doc
26 Priority: optional
27 Architecture: all
28 Depends: ${misc:Depends}
29 Description: Cyrus SASL - documentation
30 This is the Cyrus SASL API implementation, version 2.1. See package
31 libsasl2-2 and RFC 2222 for more information.
32 .
33 This package contains documentation for system administrators.
34
35 Package: libsasl2-2
36 Architecture: any
37 Depends: ${shlibs:Depends}, ${misc:Depends}
38 Recommends: libsasl2-modules (= ${binary:Version})
39 Replaces: libsasl2
40 Description: Cyrus SASL - authentication abstraction library
41 This is the Cyrus SASL API implementation, version 2.1.
42 .
43 SASL is the Simple Authentication and Security Layer, a method for
44 adding authentication support to connection-based protocols. To use
45 SASL, a protocol includes a command for identifying and
46 authenticating a user to a server and for optionally negotiating
47 protection of subsequent protocol interactions. If its use is
48 negotiated, a security layer is inserted between the protocol and the
49 connection. See RFC 2222 for more information.
50 .
51 Any of: ANONYMOUS, CRAM-MD5, DIGEST-MD5, GSSAPI (MIT or Heimdal
52 Kerberos 5), NTLM, OTP, PLAIN, or LOGIN can be used. If you intend to
53 use this package on a server that provides SASL authentication, then
54 you must install some of the libsasl2-modules* packages.
55
56 Package: libsasl2-modules
57 Priority: optional
58 Architecture: any
59 Depends: libsasl2-2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
60 Suggests: libsasl2-modules-otp, libsasl2-modules-ldap, libsasl2-modules-sql, libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
61 Description: Cyrus SASL - pluggable authentication modules
62 This is the Cyrus SASL API implementation, version 2.1. See package
63 libsasl2-2 and RFC 2222 for more information.
64 .
65 This package provides the following SASL modules: LOGIN, PLAIN, ANONYMOUS,
66 NTLM, CRAM-MD5, and DIGEST-MD5 (with DES support).
67
68 Package: libsasl2-modules-ldap
69 Priority: extra
70 Architecture: any
71 Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
72 Description: Cyrus SASL - pluggable authentication modules (LDAP)
73 This is the Cyrus SASL API implementation, version 2.1. See package
74 libsasl2-2 and RFC 2222 for more information.
75 .
76 This package provides the LDAP plugin, which supports OpenLDAP.
77
78 Package: libsasl2-modules-otp
79 Priority: extra
80 Architecture: any
81 Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
82 Description: Cyrus SASL - pluggable authentication modules (OTP)
83 This is the Cyrus SASL API implementation, version 2.1. See package
84 libsasl2-2 and RFC 2222 for more information.
85 .
86 This package provides the OTP plugin, which supports one time passwords.
87
88 Package: libsasl2-modules-sql
89 Priority: extra
90 Architecture: any
91 Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
92 Description: Cyrus SASL - pluggable authentication modules (SQL)
93 This is the Cyrus SASL API implementation, version 2.1. See package
94 libsasl2-2 and RFC 2222 for more information.
95 .
96 This package provides the SQL plugin, which supports MySQL, PostgreSQL
97 and SQLite.
98
99 Package: libsasl2-modules-gssapi-mit
100 Priority: extra
101 Architecture: any
102 Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
103 Conflicts: libsasl2-modules-gssapi-heimdal
104 Description: Cyrus SASL - pluggable authentication modules (GSSAPI)
105 This is the Cyrus SASL API implementation, version 2.1. See package
106 libsasl2-2 and RFC 2222 for more information.
107 .
108 This package provides the GSSAPI plugin, compiled with the MIT
109 Kerberos 5 library.
110
111 Package: libsasl2-dev
112 Section: libdevel
113 Architecture: any
114 Priority: optional
115 Depends: libsasl2-modules (= ${binary:Version}), libc6-dev, ${misc:Depends}
116 Description: Cyrus SASL - development files for authentication abstraction library
117 This is the Cyrus SASL API implementation, version 2. See package
118 libsasl2-2 and RFC 2222 for more information.
119 .
120 This package includes development files for compiling programs with SASL
121 support. It is needed for development purposes only.
122
123 Package: libsasl2-modules-gssapi-heimdal
124 Architecture: any
125 Priority: extra
126 Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
127 Conflicts: libsasl2-modules-gssapi-mit
128 Description: Pluggable Authentication Modules for SASL (GSSAPI)
129 This is the Cyrus SASL API implementation, version 2.1. See package
130 libsasl2-2 and RFC 2222 for more information.
131 .
132 This package provides the GSSAPI plugin, compiled with the Heimdal
133 Kerberos 5 library.
134
135 Package: cyrus-sasl2-dbg
136 Section: debug
137 Architecture: any
138 Priority: extra
139 Depends: libsasl2-2 (= ${binary:Version}), ${misc:Depends}
140 Recommends: cyrus-sasl2-mit-dbg | cyrus-sasl2-heimdal-dbg
141 Description: Cyrus SASL - debugging symbols
142 This is the Cyrus SASL API implementation, version 2. See package
143 libsasl2-2 and RFC 2222 for more information.
144 .
145 This package contains the debugging symbols for all Cyrus SASL packages.
146 The debugging symbols can be useful when investigating crashes in the SASL
147 library or tools. You may be asked to install this package if you encounter
148 such a crash.
149
150 Package: cyrus-sasl2-mit-dbg
151 Section: debug
152 Architecture: any
153 Priority: extra
154 Depends: cyrus-sasl2-dbg (= ${binary:Version}), libsasl2-modules-gssapi-mit (= ${binary:Version}), ${misc:Depends}
155 Conflicts: cyrus-sasl2-heimdal-dbg
156 Description: Cyrus SASL - debugging symbols for MIT modules
157 This is the Cyrus SASL API implementation, version 2. See package
158 libsasl2-2 and RFC 2222 for more information.
159 .
160 This package contains the debugging symbols for the Cyrus SASL MIT
161 GSSAPI modules package (libsasl2-modules-gssapi-mit). The debugging
162 symbols can be useful when investigating crashes in the SASL library or
163 tools. You may be asked to install this package if you encounter such a
164 crash.
165
166 Package: cyrus-sasl2-heimdal-dbg
167 Section: debug
168 Architecture: any
169 Priority: extra
170 Depends: cyrus-sasl2-dbg (= ${binary:Version}), libsasl2-modules-gssapi-heimdal (= ${binary:Version}), ${misc:Depends}
171 Conflicts: cyrus-sasl2-mit-dbg
172 Description: Cyrus SASL - debugging symbols for Heimdal modules
173 This is the Cyrus SASL API implementation, version 2. See package
174 libsasl2-2 and RFC 2222 for more information.
175 .
176 This package contains the debugging symbols for the Cyrus SASL Heimdal
177 GSSAPI modules package (libsasl2-modules-gssapi-heimdal). The debugging
178 symbols can be useful when investigating crashes in the SASL library or
179 tools. You may be asked to install this package if you encounter such a
180 crash.
0 Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
1 Upstream-Name: Cyrus SASL
2 Source: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
3
4 Files: *
5 Copyright: 1998-2003, Carnegie Mellon University
6 License: BSD-4-clause
7 /*
8 * Copyright (c) 1998-2003 Carnegie Mellon University. All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 *
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 *
17 * 2. Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in
19 * the documentation and/or other materials provided with the
20 * distribution.
21 *
22 * 3. The name "Carnegie Mellon University" must not be used to
23 * endorse or promote products derived from this software without
24 * prior written permission. For permission or any other legal
25 * details, please contact
26 * Office of Technology Transfer
27 * Carnegie Mellon University
28 * 5000 Forbes Avenue
29 * Pittsburgh, PA 15213-3890
30 * (412) 268-4387, fax: (412) 268-7395
31 * tech-transfer@andrew.cmu.edu
32 *
33 * 4. Redistributions of any form whatsoever must retain the following
34 * acknowledgment:
35 * "This product includes software developed by Computing Services
36 * at Carnegie Mellon University (http://www.cmu.edu/computing/)."
37 *
38 * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
39 * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
40 * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
41 * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
42 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
43 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
44 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
45 */
46
47 Files: debian/*
48 Copyright: 2002-2004, Dima Barsky <dima@debian.org>
49 2006-2009, Fabian Fagerholm <fabbe@debian.org>
50 2006-2011, Roberto C. Sanchez <roberto@connexer.com>
51 License: GPL-2+ or BSD-2-clause
52 On Debian systems, the complete text of the GNU General Public License,
53 version 2, can be found in /usr/share/common-licenses/GPL-2.
54
55 Files: debian/saslfinger/*
56 Copyright: 2004, Patrick Koetter <p@state-of-mind.de>
57 License: GPL-3+
58 On Debian systems, the complete text of the GNU General Public License,
59 version 3, can be found in /usr/share/common-licenses/GPL-3.
60 Comment: The saslfinger utility was downloaded from
61 http://postfix.state-of-mind.de/patrick.koetter/saslfinger/
62
63 Files: debian/gen-auth/*
64 Copyright: 2002-2006, John Jetmore <jj33@pobox.com>
65 License: GPL-3+
66 On Debian systems, the complete text of the GNU General Public License,
67 version 2, can be found in /usr/share/common-licenses/GPL-2.
68 Comment: The gen-auth utility was downloaded from
69 http://jetmore.org/john/code/gen-auth
70
0 Document: cyrus-sasl2-doc
1 Title: Cyrus SASL Documentation
2 Author: Various
3 Abstract: Documentation about various parts of the Cyrus SASL library
4 Section: Programming
5
6 Format: HTML
7 Index: /usr/share/doc/cyrus-sasl2-doc/index.html
8 Files: /usr/share/doc/cyrus-sasl2-doc/*.html
9
0 saslauthd/LDAP_SASLAUTHD
1 doc/*.html
0 usr/lib/debug/usr/lib/sasl2/
0 Write manual for
1 - authdaemond(8)
2 - pwcheck_method: alwaystrue
0 .\" Title: ldapdb
1 .\" Author:
2 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
3 .\" Date: 12/14/2008
4 .\" Manual:
5 .\" Source:
6 .\"
7 .TH "LDAPDB" "5" "12/14/2008" "" ""
8 .\" disable hyphenation
9 .nh
10 .\" disable justification (adjust text to left margin only)
11 .ad l
12 .SH "NAME"
13 ldapdb \- auxiliary property plugin
14 .SH "SYNOPSIS"
15 .PP
16 Cyrus SASL auxprop plugin to access LDAP authentication backends\&.
17 .SH "DESCRIPTION"
18 .PP
19 This document describes configuration options for the Cyrus SASL auxiliary property plugin
20 \fBldapdb\fR\&.
21 .PP
22 This plugin reads all user data from an OpenLDAP server\&. It requires configuration of the
23 \fBldapdb\fR
24 plugin and of the LDAP server\&. The
25 \fBldapdb\fR
26 plugin must name a proxy user\&. The proxy user must (also) SASL authenticate at the LDAP server\&. The LDAP server must authorize the
27 \fBldapdb\fR
28 proxy user to access the authenticating users
29 \fIuserPassword\fR\&.
30 .SH "OPTIONS"
31 .PP
32 The following configuration parameters are applicable in the context of the
33 \fBldapdb\fR
34 plugin:
35 .PP
36 \fBldapdb_uri\fR (default: empty)
37 .RS 4
38 Specifies a whitespace\-separated list of LDAP servers (authentication backends)\&. Use
39 \fBldapi://\fR\&.\&.\&.,
40 \fBldap://\fR\&.\&.\&. or
41 \fBldaps://\fR\&.\&.\&. to specify how the servers should be contacted\&.
42 .RE
43 .PP
44 \fBldapdb_id\fR (default: empty)
45 .RS 4
46 Specifies the proxy user name (authentication id) who logs into the LDAP server in order to retrieve the authenticating users
47 \fIuserPassword\fR\&.
48 .RE
49 .PP
50 \fBldapdb_mech\fR (default: empty)
51 .RS 4
52 Sets the SASL mechanism the
53 \fBldapdb\fR
54 plugin (client) should use when it SASL connects to the LDAP server\&.
55 .RE
56 .PP
57 \fBldapdb_pw\fR (default: empty)
58 .RS 4
59 Specifies the password used by
60 \fIldapdb_id\fR\&. The password must be written in cleartext\&.
61 .RE
62 .PP
63 \fBldapdb_rc\fR (default: empty)
64 .RS 4
65 Specifies a path to a file that contains configuration options to override system\-wide defaults when running ldap clients (see also:
66 \fBldap.conf\fR(5))\&.
67 .sp
68 The main purpose behind this option is to drop transmission of
69 \fIldapdb_pw\fR
70 in favor of a client TLS certificate specified in
71 \fIldapdb_rc\fR, so that SASL/EXTERNAL may be used between the ldapdb plugin and the LDAP server\&.
72 .sp
73 .it 1 an-trap
74 .nr an-no-space-flag 1
75 .nr an-break-flag 1
76 .br
77 Note
78 This is the most optimal way to use the ldapdb plugin when the servers are on separate machines \- the connection is encrypted and password transmission is not necessary because the client is identified by its TLS client certificate\&.
79 .RE
80 .PP
81 \fBldapdb_starttls\fR (default: empty)
82 .RS 4
83 Enable encrypted communication using StartTLS\&. Valid options are:
84 .PP
85 \fBtry\fR
86 .RS 4
87 StartTLS encrypted communication is attempted\&. If it fails the client communicates unencrypted\&.
88 .RE
89 .PP
90 \fBdemand\fR
91 .RS 4
92 StartTLS encrypted communication is required\&. If it fails the client aborts the connection\&.
93 .RE
94 .RE
95 .SH "EXAMPLE"
96 .PP
97 The following example shows a typical
98 \fBldapdb\fR
99 configuration\&.
100 .sp
101 .RS 4
102 .nf
103 pwcheck_method: auxprop
104 auxprop_plugin: ldapdb
105 mech_list: PLAIN LOGIN NTLM CRAM\-MD5 DIGEST\-MD5
106 ldapdb_uri: ldap://localhost ldaps://ldap\&.example\&.com
107 ldapdb_id: proxyuser
108 ldapdb_pw: proxypass
109 ldapdb_mech: DIGEST\-MD5
110 .fi
111 .RE
112 .SH "SEE ALSO"
113 .PP
114 \fBauthdaemond\fR(5),
115 \fBldapdb\fR(5),
116 \fBlibsasl\fR(5),
117 \fBsaslauthd\fR(8),
118 \fBsaslauthd.conf\fR(5),
119 \fBsaslpasswd2\fR(5),
120 \fBsasldblistusers2\fR(5),
121 \fBsasldb\fR(5),
122 \fBsql\fR(5)
123 .SH "README FILES"
124 .PP
125 \fIREADME\&.Debian\fR
126 .SH "AUTHOR"
127 .PP
128 This manual was written for the Debian distribution because the original program does not have a manual page\&. Parts of the documentation have been taken from the Cyrus SASL\'s
129 \fIoptions\&.html\fR\&.
130 .PP
131 .RS 4
132 .nf
133 Patrick Ben Koetter
134 <p@state\-of\-mind\&.de>
135 .fi
136 .RE
0 <?xml version="1.0" encoding="UTF-8"?>
1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
3 <refentry lang="en">
4 <refmeta>
5 <refentrytitle>ldapdb</refentrytitle>
6
7 <manvolnum>5</manvolnum>
8 </refmeta>
9
10 <refnamediv>
11 <refname>ldapdb</refname>
12
13 <refpurpose>auxiliary property plugin</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <para>Cyrus SASL auxprop plugin to access LDAP authentication
18 backends.</para>
19 </refsynopsisdiv>
20
21 <refsection>
22 <title>Description</title>
23
24 <para>This document describes configuration options for the Cyrus SASL
25 auxiliary property plugin <option>ldapdb</option>.</para>
26
27 <para>This plugin reads all user data from an OpenLDAP server. It requires
28 configuration of the <option>ldapdb</option> plugin and of the LDAP
29 server. The <option>ldapdb</option> plugin must name a proxy user. The
30 proxy user must (also) SASL authenticate at the LDAP server. The LDAP
31 server must authorize the <option>ldapdb</option> proxy user to access the
32 authenticating users <parameter>userPassword</parameter>.</para>
33 </refsection>
34
35 <refsection>
36 <title>Options</title>
37
38 <para>The following configuration parameters are applicable in the context
39 of the <option>ldapdb</option> plugin:</para>
40
41 <variablelist>
42 <varlistentry>
43 <term><option>ldapdb_uri</option> (default: empty)</term>
44
45 <listitem>
46 <para>Specifies a whitespace-separated list of LDAP servers
47 (authentication backends). Use <option>ldapi://</option>...,
48 <option>ldap://</option>... or <option>ldaps://</option>... to
49 specify how the servers should be contacted.</para>
50 </listitem>
51 </varlistentry>
52
53 <varlistentry>
54 <term><option>ldapdb_id</option> (default: empty)</term>
55
56 <listitem>
57 <para>Specifies the proxy user name (authentication id) who logs
58 into the LDAP server in order to retrieve the authenticating users
59 <parameter>userPassword</parameter>.</para>
60 </listitem>
61 </varlistentry>
62
63 <varlistentry>
64 <term><option>ldapdb_mech</option> (default: empty)</term>
65
66 <listitem>
67 <para>Sets the SASL mechanism the <option>ldapdb</option> plugin
68 (client) should use when it SASL connects to the LDAP server.</para>
69 </listitem>
70 </varlistentry>
71
72 <varlistentry>
73 <term><option>ldapdb_pw</option> (default: empty)</term>
74
75 <listitem>
76 <para>Specifies the password used by
77 <parameter>ldapdb_id</parameter>. The password must be written in
78 cleartext.</para>
79 </listitem>
80 </varlistentry>
81
82 <varlistentry>
83 <term><option>ldapdb_rc</option> (default: empty)</term>
84
85 <listitem>
86 <para>Specifies a path to a file that contains configuration options
87 to override system-wide defaults when running ldap clients (see
88 also: <citerefentry>
89 <refentrytitle>ldap.conf</refentrytitle>
90
91 <manvolnum>5</manvolnum>
92 </citerefentry>).</para>
93
94 <para>The main purpose behind this option is to drop transmission of
95 <parameter>ldapdb_pw</parameter> in favor of a client TLS
96 certificate specified in <parameter>ldapdb_rc</parameter>, so that
97 SASL/EXTERNAL may be used between the ldapdb plugin and the LDAP
98 server.</para>
99
100 <note>
101 <para>This is the most optimal way to use the ldapdb plugin when
102 the servers are on separate machines - the connection is encrypted
103 and password transmission is not necessary because the client is
104 identified by its TLS client certificate.</para>
105 </note>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry>
110 <term><option>ldapdb_starttls</option> (default: empty)</term>
111
112 <listitem>
113 <para>Enable encrypted communication using StartTLS. Valid options
114 are:</para>
115
116 <variablelist>
117 <varlistentry>
118 <term><option>try</option></term>
119
120 <listitem>
121 <para>StartTLS encrypted communication is attempted. If it
122 fails the client communicates unencrypted.</para>
123 </listitem>
124 </varlistentry>
125
126 <varlistentry>
127 <term><option>demand</option></term>
128
129 <listitem>
130 <para>StartTLS encrypted communication is required. If it
131 fails the client aborts the connection.</para>
132 </listitem>
133 </varlistentry>
134 </variablelist>
135 </listitem>
136 </varlistentry>
137 </variablelist>
138 </refsection>
139
140 <refsection>
141 <title>Example</title>
142
143 <para>The following example shows a typical <option>ldapdb</option>
144 configuration.</para>
145
146 <programlisting>pwcheck_method: auxprop
147 auxprop_plugin: ldapdb
148 mech_list: PLAIN LOGIN NTLM CRAM-MD5 DIGEST-MD5
149 ldapdb_uri: ldap://localhost ldaps://ldap.example.com
150 ldapdb_id: proxyuser
151 ldapdb_pw: proxypass
152 ldapdb_mech: DIGEST-MD5</programlisting>
153 </refsection>
154
155 <refsection>
156 <title>See also</title>
157
158 <para><citerefentry>
159 <refentrytitle>authdaemond</refentrytitle>
160
161 <manvolnum>5</manvolnum>
162 </citerefentry>, <citerefentry>
163 <refentrytitle>ldapdb</refentrytitle>
164
165 <manvolnum>5</manvolnum>
166 </citerefentry>, <citerefentry>
167 <refentrytitle>libsasl</refentrytitle>
168
169 <manvolnum>5</manvolnum>
170 </citerefentry>, <citerefentry>
171 <refentrytitle>saslauthd</refentrytitle>
172
173 <manvolnum>8</manvolnum>
174 </citerefentry>, <citerefentry>
175 <refentrytitle>saslauthd.conf</refentrytitle>
176
177 <manvolnum>5</manvolnum>
178 </citerefentry>, <citerefentry>
179 <refentrytitle>saslpasswd2</refentrytitle>
180
181 <manvolnum>5</manvolnum>
182 </citerefentry>, <citerefentry>
183 <refentrytitle>sasldblistusers2</refentrytitle>
184
185 <manvolnum>5</manvolnum>
186 </citerefentry>, <citerefentry>
187 <refentrytitle>sasldb</refentrytitle>
188
189 <manvolnum>5</manvolnum>
190 </citerefentry>, <citerefentry>
191 <refentrytitle>sql</refentrytitle>
192
193 <manvolnum>5</manvolnum>
194 </citerefentry></para>
195 </refsection>
196
197 <refsection>
198 <title>Readme files</title>
199
200 <para><filename>README.Debian</filename></para>
201 </refsection>
202
203 <refsection>
204 <title>Author</title>
205
206 <para>This manual was written for the Debian distribution because the
207 original program does not have a manual page. Parts of the documentation
208 have been taken from the Cyrus SASL's
209 <filename>options.html</filename>.</para>
210
211 <para><address>Patrick Ben Koetter
212 <email>p@state-of-mind.de</email></address></para>
213 </refsection>
214 </refentry>
0 .\" Title: libsasl
1 .\" Author:
2 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
3 .\" Date: 12/15/2008
4 .\" Manual:
5 .\" Source:
6 .\"
7 .TH "LIBSASL" "5" "12/15/2008" "" ""
8 .\" disable hyphenation
9 .nh
10 .\" disable justification (adjust text to left margin only)
11 .ad l
12 .SH "NAME"
13 libsasl \- authentication library
14 .SH "SYNOPSIS"
15 .PP
16 Cyrus SASL library handling communication between an application and the Cyrus SASL authentication framework\&.
17 .SH "DESCRIPTION"
18 .PP
19 This document describes generic configuration options for the Cyrus SASL authentication library
20 libsasl\&.
21 .PP
22 The library handles communication between an application and the Cyrus SASL authentication framework\&. Both exchange information before
23 libsasl
24 can start offering authentication services for the application\&.
25 .PP
26 The application, among other data, sends the
27 \fIservice_name\fR\&. The service name is the services name as specified by IANA\&. SMTP servers, for example, send
28 \fBsmtp\fR
29 as
30 \fIservice_name\fR\&. This information is handed over by
31 libsasl
32 e\&.g\&. when Kerberos or PAM authentication takes place\&.
33 .PP
34 Configuration options in general are read either from a file or passed by the application using
35 libsasl
36 during library initialization\&.
37 .SS "File\-Based configuration"
38 .PP
39 When an application (server) starts, it initializes the
40 libsasl
41 library\&. The application passes
42 \fIapp_name\fR
43 (application name) to the SASL library\&. Its value is used to construct the name of the application specific SASL configuration file\&. The Cyrus SASL sample\-server, for example, sends
44 \fBsample\fR
45 as
46 \fIapp_name\fR\&. Using this value the SASL library will search the configuration directories for a file named
47 \fIsample\&.conf\fR
48 and read configuration options from it\&.
49 .sp
50 .it 1 an-trap
51 .nr an-no-space-flag 1
52 .nr an-break-flag 1
53 .br
54 Note
55 .PP
56 Consult the applications manual to determine what
57 \fIapp_name\fR
58 it sends to the Cyrus SASL library\&.
59 .SS "Application\-Based Configuration"
60 .PP
61 Configuration options for
62 libsasl
63 are written down together with application specific options in the applications configuration file\&. The application reads them and passes them over to
64 libsasl
65 when it loads the library\&.
66 .sp
67 .it 1 an-trap
68 .nr an-no-space-flag 1
69 .nr an-break-flag 1
70 .br
71 Note
72 .PP
73 An example for application\-based configuration is the Cyrus IMAP server
74 imapd\&. SASL configuration is written to
75 \fIimapd\&.conf\fR
76 and passed to the SASL library when the
77 imapd
78 server starts\&.
79 .SH "CONFIGURATION SYNTAX"
80 .PP
81 The general format of Cyrus SASL configuration file is as follows:
82 .PP
83 Configuration options
84 .RS 4
85 Configuration options are written each on a single physical line\&. Parameter and value must be separated by a colon and a single whitespace:
86 .sp
87 .RS 4
88 .nf
89 parameter: value
90 .fi
91 .RE
92 .sp
93 .it 1 an-trap
94 .nr an-no-space-flag 1
95 .nr an-break-flag 1
96 .br
97 Important
98 There must be no trailing whitespace after the value or Cyrus SASL will fail to apply the value appropriately!
99 .RE
100 .PP
101 Comments, Emtpy lines and whitespace\-only lines
102 .RS 4
103 Empty lines and whitespace\-only lines are ignored, as are lines whose first non\-whitespace character is a
104 \(lq#\(rq\&.
105 .RE
106 .SH "OPTIONS"
107 .PP
108 There are generic options and options specific to the password verification service or auxiliary property plugin choosen by the administrator\&. Such specific options are documented in manuals listed in
109 the section called \(lqSEE ALSO\(rq\&.
110 .PP
111 The following configuration parameters are generic configuration options:
112 .PP
113 \fIauthdaemond_path\fR (default: \fB/dev/null\fR)
114 .RS 4
115 Path to Courier MTA authdaemond\'s unix socket\&. Only applicable when
116 \fIpwcheck_method\fR
117 is set to
118 \fBauthdaemond\fR\&.
119 .RE
120 .PP
121 \fIauto_transition\fR: (default: \fBno\fR)
122 .RS 4
123 Automatically transition users to other mechanisms when they do a successful plaintext authentication and if an auxprop plugin is used\&.
124 .sp
125 .it 1 an-trap
126 .nr an-no-space-flag 1
127 .nr an-break-flag 1
128 .br
129 Important
130 This option does not apply to the
131 \fBldapdb\fR(5)
132 plugin\&. It is a read\-only plugin\&.
133 .PP
134 \fBno\fR
135 .RS 4
136 Do not transition users to other mechanisms\&.
137 .RE
138 .PP
139 \fBnoplain\fR
140 .RS 4
141 Transition users to other mechanisms, but write non\-plaintext secrets only\&.
142 .RE
143 .PP
144 \fByes\fR
145 .RS 4
146 Transition users to other mechanisms\&.
147 .RE
148 .sp
149 .sp
150 .it 1 an-trap
151 .nr an-no-space-flag 1
152 .nr an-break-flag 1
153 .br
154 Note
155 The only mechanisms (as currently implemented) which don\'t use plaintext secrets are OTP and SRP\&.
156 .RE
157 .PP
158 \fIauxprop_plugin\fR: (default: empty)
159 .RS 4
160 A whitespace\-separated list of one or more auxiliary plugins used if the
161 \fIpwcheck_method\fR
162 parameter specifies
163 \fBauxprop\fR
164 as an option\&. Plugins will be queried in list order\&. If no plugin is specified, all available plugins will be queried\&.
165 .PP
166 \fBldapdb\fR
167 .RS 4
168 Specify
169 \fBldapdb\fR
170 to use the Cyrus SASL
171 \fBldapdb\fR(5)
172 plugin\&.
173 .RE
174 .PP
175 \fBsasldb\fR
176 .RS 4
177 Specify
178 \fBsasldb\fR
179 to use the Cyrus SASL
180 \fBsasldb\fR(5)
181 plugin\&.
182 .RE
183 .PP
184 \fBsql\fR
185 .RS 4
186 Specify
187 \fBsql\fR
188 to use the Cyrus SASL
189 \fBsql\fR(5)
190 plugin\&.
191 .RE
192 .RE
193 .PP
194 \fIlog_level\fR: (default: \fB1\fR)
195 .RS 4
196 Specifies a numeric log level\&. Available log levels are:
197 .PP
198 \fB0\fR
199 .RS 4
200 Don\'t log anything
201 .RE
202 .PP
203 \fB1\fR
204 .RS 4
205 Log unusual errors
206 .RE
207 .PP
208 \fB2\fR
209 .RS 4
210 Log all authentication failures
211 .RE
212 .PP
213 \fB3\fR
214 .RS 4
215 Log non\-fatal warnings
216 .RE
217 .PP
218 \fB4\fR
219 .RS 4
220 More verbose than 3
221 .RE
222 .PP
223 \fB5\fR
224 .RS 4
225 More verbose than 4
226 .RE
227 .PP
228 \fB6\fR
229 .RS 4
230 Traces of internal protocols
231 .RE
232 .PP
233 \fB7\fR
234 .RS 4
235 Traces of internal protocols, including passwords
236 .RE
237 .sp
238 .sp
239 .it 1 an-trap
240 .nr an-no-space-flag 1
241 .nr an-break-flag 1
242 .br
243 Important
244 Cyrus SASL sends log messages to the application that runs it\&. The application decides if it forwards such messages to the
245 \fBsysklogd\fR(8)
246 service, to which
247 \fIfacility\fR
248 they are sent and which
249 \fIpriority\fR
250 is given to the message\&.
251 .RE
252 .PP
253 \fImech_list\fR: (default: empty)
254 .RS 4
255 The optional
256 \fImech_list\fR
257 parameter specifies a whitespace\-separated list of one or more mechanisms allowed for authentication\&.
258 .RE
259 .PP
260 \fIpwcheck_method\fR: (default: \fBauxprop\fR)
261 .RS 4
262 A whitespace\-separated list of one or more mechanisms\&. Cyrus SASL provides the following mechanisms:
263 .PP
264 \fBauthdaemond\fR
265 .RS 4
266 Configures Cyrus SASL to contact the Courier MTA
267 \fBauthdaemond\fR(8)
268 password verification service for password verification\&.
269 .RE
270 .PP
271 \fBalwaystrue\fR
272 .RS 4
273 TODO
274 .RE
275 .PP
276 \fBauxprop\fR
277 .RS 4
278 Cyrus SASL will use its own plugin infrastructure to verify passwords\&. The
279 \fI\fIauxprop_plugin\fR\fR
280 parameter controls which plugins will be used\&.
281 .RE
282 .PP
283 \fBpwcheck\fR
284 .RS 4
285 Verify passwords using the Cyrus SASL
286 \fBpwcheck\fR(8)
287 password verification service\&. The pwcheck daemon is considered deprecated and should not be used anymore\&. Use the saslauthd password verification service instead\&.
288 .RE
289 .PP
290 \fBsaslauthd\fR
291 .RS 4
292 Verify passwords using the Cyrus SASL
293 \fBsaslauthd\fR(8)
294 password verification service\&.
295 .RE
296 .RE
297 .PP
298 \fIsaslauthd_path\fR: (default: empty)
299 .RS 4
300 Path to
301 \fBsaslauthd\fR(8)
302 run directory (including the
303 \fI/mux\fR
304 named pipe)
305 .RE
306 .SH "SEE ALSO"
307 .PP
308 \fBauthdaemond\fR(5),
309 \fBldapdb\fR(5),
310 \fBlibsasl\fR(5),
311 \fBsaslauthd\fR(8),
312 \fBsaslauthd.conf\fR(5),
313 \fBsaslpasswd2\fR(5),
314 \fBsasldblistusers2\fR(5),
315 \fBsasldb\fR(5),
316 \fBsql\fR(5)
317 .SH "README FILES"
318 .PP
319 \fIREADME\&.Debian\fR
320 .SH "AUTHOR"
321 .PP
322 This manual was written for the Debian distribution because the original program does not have a manual page\&. Parts of the documentation have been taken from the Cyrus SASL\'s
323 \fIoptions\&.html\fR\&.
324 .PP
325 .RS 4
326 .nf
327 Patrick Ben Koetter
328 <p@state\-of\-mind\&.de>
329 .fi
330 .RE
0 <?xml version="1.0" encoding="UTF-8"?>
1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
3 <refentry>
4 <refmeta>
5 <refentrytitle>libsasl</refentrytitle>
6
7 <manvolnum>5</manvolnum>
8 </refmeta>
9
10 <refnamediv>
11 <refname>libsasl</refname>
12
13 <refpurpose>authentication library</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <para>Cyrus SASL library handling communication between an application and
18 the Cyrus SASL authentication framework.</para>
19 </refsynopsisdiv>
20
21 <refsection>
22 <title>Description</title>
23
24 <para>This document describes generic configuration options for the Cyrus
25 SASL authentication library <systemitem
26 class="library">libsasl</systemitem>.</para>
27
28 <para>The library handles communication between an application and the
29 Cyrus SASL authentication framework. Both exchange information before
30 <systemitem class="library">libsasl</systemitem> can start offering
31 authentication services for the application.</para>
32
33 <para>The application, among other data, sends the
34 <parameter>service_name</parameter>. The service name is the services name
35 as specified by IANA. SMTP servers, for example, send
36 <option>smtp</option> as <parameter>service_name</parameter>. This
37 information is handed over by <systemitem
38 class="library">libsasl</systemitem> e.g. when Kerberos or PAM
39 authentication takes place.</para>
40
41 <para>Configuration options in general are read either from a file or
42 passed by the application using <systemitem
43 class="library">libsasl</systemitem> during library initialization.</para>
44
45 <refsection>
46 <title>File-Based configuration</title>
47
48 <para>When an application (server) starts, it initializes the
49 <systemitem class="library">libsasl</systemitem> library. The
50 application passes <parameter>app_name</parameter> (application name) to
51 the SASL library. Its value is used to construct the name of the
52 application specific SASL configuration file. The Cyrus SASL
53 sample-server, for example, sends <option>sample</option> as
54 <parameter>app_name</parameter>. Using this value the SASL library will
55 search the configuration directories for a file named
56 <filename>sample.conf</filename> and read configuration options from
57 it.</para>
58
59 <note>
60 <para>Consult the applications manual to determine what
61 <parameter>app_name</parameter> it sends to the Cyrus SASL
62 library.</para>
63 </note>
64 </refsection>
65
66 <refsection>
67 <title>Application-Based Configuration</title>
68
69 <para>Configuration options for <systemitem
70 class="library">libsasl</systemitem> are written down together with
71 application specific options in the applications configuration file. The
72 application reads them and passes them over to <systemitem
73 class="library">libsasl</systemitem> when it loads the library.</para>
74
75 <note>
76 <para>An example for application-based configuration is the Cyrus IMAP
77 server <systemitem class="daemon">imapd</systemitem>. SASL
78 configuration is written to <filename>imapd.conf</filename> and passed
79 to the SASL library when the <systemitem
80 class="daemon">imapd</systemitem> server starts.</para>
81 </note>
82 </refsection>
83 </refsection>
84
85 <refsection>
86 <title>Configuration Syntax</title>
87
88 <para>The general format of Cyrus SASL configuration file is as
89 follows:</para>
90
91 <variablelist>
92 <varlistentry>
93 <term>Configuration options</term>
94
95 <listitem>
96 <para>Configuration options are written each on a single physical
97 line. Parameter and value must be separated by a colon and a single
98 whitespace:</para>
99
100 <programlisting>parameter: value</programlisting>
101
102 <important>
103 <para>There must be no trailing whitespace after the value or
104 Cyrus SASL will fail to apply the value appropriately!</para>
105 </important>
106 </listitem>
107 </varlistentry>
108
109 <varlistentry>
110 <term>Comments, Emtpy lines and whitespace-only lines</term>
111
112 <listitem>
113 <para>Empty lines and whitespace-only lines are ignored, as are
114 lines whose first non-whitespace character is a
115 <quote>#</quote>.</para>
116 </listitem>
117 </varlistentry>
118 </variablelist>
119 </refsection>
120
121 <refsection>
122 <title>Options</title>
123
124 <para>There are generic options and options specific to the password
125 verification service or auxiliary property plugin choosen by the
126 administrator. Such specific options are documented in manuals listed in
127 <xref linkend="seealso" />.</para>
128
129 <para>The following configuration parameters are generic configuration
130 options:</para>
131
132 <variablelist>
133 <varlistentry>
134 <term><parameter>authdaemond_path</parameter> (default:
135 <option>/dev/null</option>)</term>
136
137 <listitem>
138 <para>Path to Courier MTA authdaemond's unix socket. Only applicable
139 when <parameter>pwcheck_method</parameter> is set to
140 <option>authdaemond</option>.</para>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry>
145 <term><parameter>auto_transition</parameter>: (default:
146 <option>no</option>)</term>
147
148 <listitem>
149 <para>Automatically transition users to other mechanisms when they
150 do a successful plaintext authentication and if an auxprop plugin is
151 used.</para>
152
153 <important>
154 <para>This option does not apply to the <citerefentry>
155 <refentrytitle>ldapdb</refentrytitle>
156
157 <manvolnum>5</manvolnum>
158 </citerefentry> plugin. It is a read-only plugin.</para>
159 </important>
160
161 <variablelist>
162 <varlistentry>
163 <term><option>no</option></term>
164
165 <listitem>
166 <para>Do not transition users to other mechanisms.</para>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry>
171 <term><option>noplain</option></term>
172
173 <listitem>
174 <para>Transition users to other mechanisms, but write
175 non-plaintext secrets only.</para>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry>
180 <term><option>yes</option></term>
181
182 <listitem>
183 <para>Transition users to other mechanisms.</para>
184 </listitem>
185 </varlistentry>
186 </variablelist>
187
188 <note>
189 <para>The only mechanisms (as currently implemented) which don't
190 use plaintext secrets are OTP and SRP.</para>
191 </note>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry>
196 <term><parameter>auxprop_plugin</parameter>: (default: empty)</term>
197
198 <listitem>
199 <para>A whitespace-separated list of one or more auxiliary plugins
200 used if the <parameter>pwcheck_method</parameter> parameter
201 specifies <option>auxprop</option> as an option. Plugins will be
202 queried in list order. If no plugin is specified, all available
203 plugins will be queried.</para>
204
205 <variablelist>
206 <varlistentry>
207 <term><option>ldapdb</option></term>
208
209 <listitem>
210 <para>Specify <option>ldapdb</option> to use the Cyrus SASL
211 <citerefentry>
212 <refentrytitle>ldapdb</refentrytitle>
213
214 <manvolnum>5</manvolnum>
215 </citerefentry> plugin.</para>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry>
220 <term><option>sasldb</option></term>
221
222 <listitem>
223 <para>Specify <option>sasldb</option> to use the Cyrus SASL
224 <citerefentry>
225 <refentrytitle>sasldb</refentrytitle>
226
227 <manvolnum>5</manvolnum>
228 </citerefentry> plugin.</para>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry>
233 <term><option>sql</option></term>
234
235 <listitem>
236 <para>Specify <option>sql</option> to use the Cyrus SASL
237 <citerefentry>
238 <refentrytitle>sql</refentrytitle>
239
240 <manvolnum>5</manvolnum>
241 </citerefentry> plugin.</para>
242 </listitem>
243 </varlistentry>
244 </variablelist>
245 </listitem>
246 </varlistentry>
247
248 <varlistentry>
249 <term><parameter>log_level</parameter>: (default:
250 <option>1</option>)</term>
251
252 <listitem>
253 <para>Specifies a numeric log level. Available log levels
254 are:</para>
255
256 <variablelist>
257 <varlistentry>
258 <term><option>0</option></term>
259
260 <listitem>
261 <para>Don't log anything</para>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry>
266 <term><option>1</option></term>
267
268 <listitem>
269 <para>Log unusual errors</para>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry>
274 <term><option>2</option></term>
275
276 <listitem>
277 <para>Log all authentication failures</para>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry>
282 <term><option>3</option></term>
283
284 <listitem>
285 <para>Log non-fatal warnings</para>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry>
290 <term><option>4</option></term>
291
292 <listitem>
293 <para>More verbose than 3</para>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry>
298 <term><option>5</option></term>
299
300 <listitem>
301 <para>More verbose than 4</para>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry>
306 <term><option>6</option></term>
307
308 <listitem>
309 <para>Traces of internal protocols</para>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry>
314 <term><option>7</option></term>
315
316 <listitem>
317 <para>Traces of internal protocols, including passwords</para>
318 </listitem>
319 </varlistentry>
320 </variablelist>
321
322 <important>
323 <para>Cyrus SASL sends log messages to the application that runs
324 it. The application decides if it forwards such messages to the
325 <citerefentry>
326 <refentrytitle>sysklogd</refentrytitle>
327
328 <manvolnum>8</manvolnum>
329 </citerefentry> service, to which
330 <parameter>facility</parameter> they are sent and which
331 <parameter>priority</parameter> is given to the message.</para>
332 </important>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry>
337 <term><parameter>mech_list</parameter>: (default: empty)</term>
338
339 <listitem>
340 <para>The optional <parameter>mech_list</parameter> parameter
341 specifies a whitespace-separated list of one or more mechanisms
342 allowed for authentication.</para>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry>
347 <term><parameter>pwcheck_method</parameter>: (default:
348 <option>auxprop</option>)</term>
349
350 <listitem>
351 <para>A whitespace-separated list of one or more mechanisms. Cyrus
352 SASL provides the following mechanisms:</para>
353
354 <variablelist>
355 <varlistentry>
356 <term><option>authdaemond</option></term>
357
358 <listitem>
359 <para>Configures Cyrus SASL to contact the Courier MTA
360 <citerefentry>
361 <refentrytitle>authdaemond</refentrytitle>
362
363 <manvolnum>8</manvolnum>
364 </citerefentry> password verification service for password
365 verification.</para>
366 </listitem>
367 </varlistentry>
368
369 <varlistentry>
370 <term><option>alwaystrue</option></term>
371
372 <listitem>
373 <para>TODO</para>
374 </listitem>
375 </varlistentry>
376
377 <varlistentry>
378 <term><option>auxprop</option></term>
379
380 <listitem>
381 <para>Cyrus SASL will use its own plugin infrastructure to
382 verify passwords. The
383 <parameter><parameter>auxprop_plugin</parameter></parameter>
384 parameter controls which plugins will be used.</para>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry>
389 <term><option>pwcheck</option></term>
390
391 <listitem>
392 <para>Verify passwords using the Cyrus SASL <citerefentry>
393 <refentrytitle>pwcheck</refentrytitle>
394
395 <manvolnum>8</manvolnum>
396 </citerefentry> password verification service. The pwcheck
397 daemon is considered deprecated and should not be used
398 anymore. Use the saslauthd password verification service
399 instead.</para>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry>
404 <term><option>saslauthd</option></term>
405
406 <listitem>
407 <para>Verify passwords using the Cyrus SASL <citerefentry>
408 <refentrytitle>saslauthd</refentrytitle>
409
410 <manvolnum>8</manvolnum>
411 </citerefentry> password verification service.</para>
412 </listitem>
413 </varlistentry>
414 </variablelist>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry>
419 <term><parameter>saslauthd_path</parameter>: (default: empty)</term>
420
421 <listitem>
422 <para>Path to <citerefentry>
423 <refentrytitle>saslauthd</refentrytitle>
424
425 <manvolnum>8</manvolnum>
426 </citerefentry> run directory (including the
427 <filename>/mux</filename> named pipe)</para>
428 </listitem>
429 </varlistentry>
430 </variablelist>
431 </refsection>
432
433 <refsection id="seealso">
434 <title>See also</title>
435
436 <para><citerefentry>
437 <refentrytitle>authdaemond</refentrytitle>
438
439 <manvolnum>5</manvolnum>
440 </citerefentry>, <citerefentry>
441 <refentrytitle>ldapdb</refentrytitle>
442
443 <manvolnum>5</manvolnum>
444 </citerefentry>, <citerefentry>
445 <refentrytitle>libsasl</refentrytitle>
446
447 <manvolnum>5</manvolnum>
448 </citerefentry>, <citerefentry>
449 <refentrytitle>saslauthd</refentrytitle>
450
451 <manvolnum>8</manvolnum>
452 </citerefentry>, <citerefentry>
453 <refentrytitle>saslauthd.conf</refentrytitle>
454
455 <manvolnum>5</manvolnum>
456 </citerefentry>, <citerefentry>
457 <refentrytitle>saslpasswd2</refentrytitle>
458
459 <manvolnum>5</manvolnum>
460 </citerefentry>, <citerefentry>
461 <refentrytitle>sasldblistusers2</refentrytitle>
462
463 <manvolnum>5</manvolnum>
464 </citerefentry>, <citerefentry>
465 <refentrytitle>sasldb</refentrytitle>
466
467 <manvolnum>5</manvolnum>
468 </citerefentry>, <citerefentry>
469 <refentrytitle>sql</refentrytitle>
470
471 <manvolnum>5</manvolnum>
472 </citerefentry></para>
473 </refsection>
474
475 <refsection>
476 <title>Readme files</title>
477
478 <para><filename>README.Debian</filename></para>
479 </refsection>
480
481 <refsection>
482 <title>Author</title>
483
484 <para>This manual was written for the Debian distribution because the
485 original program does not have a manual page. Parts of the documentation
486 have been taken from the Cyrus SASL's
487 <filename>options.html</filename>.</para>
488
489 <para><address>Patrick Ben Koetter
490 <email>p@state-of-mind.de</email></address></para>
491 </refsection>
492 </refentry>
0 .\" Title: saslauthd.conf
1 .\" Author:
2 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
3 .\" Date: 12/14/2008
4 .\" Manual:
5 .\" Source:
6 .\"
7 .TH "SASLAUTHD\&.CONF" "5" "12/14/2008" "" ""
8 .\" disable hyphenation
9 .nh
10 .\" disable justification (adjust text to left margin only)
11 .ad l
12 .SH "NAME"
13 saslauthd.conf \- saslauthd LDAP configuration file
14 .SH "SYNOPSIS"
15 .HP 10
16 \fBsaslauthd\fR [\-a\ ldap]
17 .HP 10
18 \fBsaslauthd\fR [\-a\ ldap] [\-O\ \fI/etc/saslauthd\&.conf\fR]
19 .SH "DESCRIPTION"
20 .PP
21 This document describes LDAP configuration options for the Cyrus SASL password verification service
22 \fBsaslauthd\fR\&.
23 .PP
24 By default
25 \fBsaslauthd\fR
26 searches for LDAP configuration options in
27 \fI/usr/local/etc/saslauthd\&.conf\fR\&. This location can be overridden if the additional command line option
28 \fB\-O\fR
29 specifies an alternative path to the configuration file\&.
30 .SH "SYNTAX"
31 .PP
32 Do not use quotes (\e"\e\') in the parameter values\&.
33 .SH "OPTIONS"
34 .PP
35 The following are available LDAP parameters\&. The defaults are probably adequate for most installations\&. Only
36 \fI\fIldap_servers\fR\fR
37 may need to be specified\&.
38 .PP
39 \fIldap_auth_method\fR (default: \fBbind\fR|\fBfastbind\fR)
40 .RS 4
41 The bind method uses the LDAP bind facility to verify the password\&. The bind method is not available when
42 \fIldap_use_sasl\fR
43 is turned on\&. In that case saslauthd will use fastbind\&.
44 .PP
45 \fBbind\fR
46 .RS 4
47 \fBbind\fR
48 is the default auth method\&. When ldap_use_sasl is enabled, \'fastbind\' is the default\&.
49 .RE
50 .PP
51 \fBcustom\fR
52 .RS 4
53 The
54 \fBcustom\fR
55 method uses
56 \fIuserPassword\fR
57 attribute to verify the password\&. Supported hashes:
58 crypt,
59 md5, smd5,
60 sha
61 and
62 ssha\&.
63 Cleartext
64 is supported as well\&.
65 .RE
66 .PP
67 \fBfastbind\fR
68 .RS 4
69 The
70 \fBfastbind\fR
71 method \- when
72 \fIldap_use_sasl\fR
73 is
74 \fBno\fR
75 \- does away with the search and an extra anonymous bind in auth_bind, but makes two assumptions:
76 .sp
77 .RS 4
78 \h'-04' 1.\h'+02'Expanding the ldap_filter expression gives the user\'s fully\-qualified DN
79 .RE
80 .sp
81 .RS 4
82 \h'-04' 2.\h'+02'There is no cost to staying bound as a named user
83 .RE
84 .RE
85 .RE
86 .PP
87 \fIldap_bind_dn\fR (default: empty)
88 .RS 4
89 Specify
90 DN
91 (distinguished name) to bind to the LDAP directory\&. Do not specify this parameter for the anonymous bind\&.
92 .RE
93 .PP
94 \fIldap_bind_pw\fR (default: empty)
95 .RS 4
96 An alias for
97 \fIldap_password\fR\&.
98 .RE
99 .PP
100 \fIldap_default_domain\fR (default: empty)
101 .RS 4
102 An alias for
103 \fIldap_default_realm\fR\&.
104 .RE
105 .PP
106 \fIldap_default_realm\fR (default: empty)
107 .RS 4
108 The default realm is assigned to the
109 \fB%r\fR
110 token when realm is not available\&. See
111 \fIldap_filter\fR
112 for more\&.
113 .RE
114 .PP
115 \fIldap_deref\fR (default: empty)
116 .RS 4
117 Specify how aliases dereferencing is handled during search\&. Should be one of
118 \fBnever\fR,
119 \fBalways\fR,
120 \fBsearch\fR, or
121 \fBfind\fR
122 to specify that aliases are never dereferenced, always dereferenced, dereferenced when searching, or dereferenced only when locating the base object for the search\&.
123 .RE
124 .PP
125 \fIldap_filter\fR (default: \fBuid=%u\fR)
126 .RS 4
127 Specify a filter\&. The following tokens can be used in the filter string:
128 .PP
129 \fB%%\fR
130 .RS 4
131 This is replaced by a literal \(cq%\(cq character\&.
132 .RE
133 .PP
134 \fB%u\fR
135 .RS 4
136 \fB%u\fR
137 is replaced by the complete user string\&.
138 .RE
139 .PP
140 \fB%U\fR
141 .RS 4
142 If the string is an address (\fB%u\fR),
143 \fB%U\fR
144 will be replaced by the local part of that address\&.
145 .RE
146 .PP
147 \fB%d\fR
148 .RS 4
149 If the string is an address (\fB%u\fR),
150 \fB%d\fR
151 will be replaced by the domain part of that address\&. Otherwise it will be the same as
152 \fB%r\fR\&.
153 .RE
154 .PP
155 \fB%1\-9\fR
156 .RS 4
157 If the input key is
158 user@mail\&.example\&.com, then
159 \fB%1\fR
160 is
161 com,
162 \fB%2\fR
163 is
164 example
165 and
166 \fB%3\fR
167 is
168 mail\&.
169 .RE
170 .PP
171 \fB%s\fR
172 .RS 4
173 \fB%s\fR
174 is replaced by the complete service string\&.
175 .RE
176 .PP
177 \fB%r\fR
178 .RS 4
179 \fB%r\fR
180 is replaced by the complete realm string\&.
181 .RE
182 .PP
183 \fB%D\fR
184 .RS 4
185 \fB%D\fR
186 is replaced by the complete user DN (available for group checks)
187 .RE
188 .sp
189 The
190 \fB%u\fR
191 token has to be used at minimum for the filter to be useful\&. If
192 \fIldap_auth_method\fR
193 is
194 \fBbind\fR, the filter will search for the
195 DN
196 (distinguished name) attribute\&. Otherwise, the search will look for the
197 \fIldap_password_attr\fR
198 attribute\&.
199 .RE
200 .PP
201 \fIldap_group_attr\fR (default: \fBuniqueMember\fR)
202 .RS 4
203 Specify what attribute to compare the user DN against in the group\&. If
204 \fIldap_group_dn\fR
205 is not specified, this parameter is ignored\&. If
206 \fIldap_group_match_method\fR
207 is not
208 \fBattr\fR, this parameter is ignored\&.
209 .RE
210 .PP
211 \fIldap_group_dn\fR (default: empty)
212 .RS 4
213 If specified, the user has to be part of the group in order to authenticate successfully\&. Tokens described in
214 \fIldap_filter\fR
215 can be used for substitution\&.
216 .RE
217 .PP
218 \fIldap_group_filter\fR (default: empty)
219 .RS 4
220 Specify a filter\&. If a filter match is found then the user is in the group\&. Tokens described in
221 \fIldap_filter\fR
222 can be used for for substitution\&. If
223 \fIldap_group_dn\fR
224 is not specified, this parameter is ignored\&. If
225 \fIldap_group_match_method\fR
226 is not filter, this parameter is ignored\&.
227 .RE
228 .PP
229 \fIldap_group_match_method\fR (default: \fBattr\fR)
230 .RS 4
231 If
232 \fBattr\fR
233 is used the group match method uses
234 \fIldap_group_attr\fR
235 and if
236 \fBfilter\fR
237 is used
238 \fIldap_group_search\fR
239 will be used as group match method\&. If
240 \fIldap_group_dn\fR
241 is not specified, this parameter is ignored\&.
242 .RE
243 .PP
244 \fIldap_group_search_base\fR (default: \fIldap_search_base\fR)
245 .RS 4
246 Specify a starting point for the group search: e\&.g\&.
247 dc=example,dc=com\&. Tokens described in
248 \fIldap_filter\fR
249 can be used for substitution\&.
250 .RE
251 .PP
252 \fIldap_group_scope\fR (default: sub)
253 .RS 4
254 Group search scope\&. Options are either
255 \fBsub\fR,
256 \fBone\fR
257 or
258 \fBbase\fR\&.
259 .RE
260 .PP
261 \fIldap_password\fR (default: empty)
262 .RS 4
263 Specify the password for
264 \fIldap_bind_dn\fR
265 or
266 \fIldap_id\fR
267 if
268 \fIldap_use_sasl\fR
269 is turned on\&. Do not specify this parameter for the anonymous bind\&.
270 .RE
271 .PP
272 \fIldap_password_attr\fR (default: \fBuserPassword\fR)
273 .RS 4
274 Specify what password attribute to use for password verification\&.
275 .RE
276 .PP
277 \fIldap_referrals\fR (default: \fBno\fR)
278 .RS 4
279 Specify whether or not the client should follow referrals\&.
280 .RE
281 .PP
282 \fIldap_restart\fR (default: \fByes\fR)
283 .RS 4
284 Specify whether or not LDAP I/O operations are automatically restarted if they abort prematurely\&.
285 .RE
286 .PP
287 \fIldap_id\fR (default: empty)
288 .RS 4
289 Specify the authentication ID for SASL bind\&.
290 .RE
291 .PP
292 \fIldap_authz_id\fR (default: empty)
293 .RS 4
294 Specify the proxy authorization ID for SASL bind\&.
295 .RE
296 .PP
297 \fIldap_mech\fR (default: empty)
298 .RS 4
299 Specify the authentication mechanism for SASL bind\&.
300 .RE
301 .PP
302 \fIldap_realm\fR (default: empty)
303 .RS 4
304 Specify the realm of authentication ID for SASL bind\&.
305 .RE
306 .PP
307 \fIldap_scope\fR (default: \fBsub\fR)
308 .RS 4
309 Search scope\&. Options are either
310 \fBsub\fR,
311 \fBone\fR
312 or
313 \fBbase\fR\&.
314 .RE
315 .PP
316 \fIldap_search_base\fR (default: empty)
317 .RS 4
318 Specify a starting point for the search: e\&.g\&.
319 dc=example,dc=com\&. Tokens described in
320 \fIldap_filter\fR
321 can be used for substitution\&.
322 .RE
323 .PP
324 \fIldap_servers\fR (default: \fBldap://localhost/\fR)
325 .RS 4
326 Specify one or more URI(s) referring to LDAP server(s), e\&.g\&.
327 ldaps://10\&.1\&.1\&.2:999/\&. Multiple servers must be separated by space\&.
328 .RE
329 .PP
330 \fIldap_start_tls\fR (default: \fBno\fR)
331 .RS 4
332 Use StartTLS extended operation\&. Do not use ldaps: ldap_servers when this option is turned on\&.
333 .RE
334 .PP
335 \fIldap_time_limit\fR (default: \fB5\fR)
336 .RS 4
337 Specify a number of seconds for a search request to complete\&.
338 .RE
339 .PP
340 \fIldap_timeout\fR (default: \fB5\fR)
341 .RS 4
342 Specify a number of seconds a search can take before timing out\&.
343 .RE
344 .PP
345 \fIldap_tls_check_peer\fR (default: \fBno\fR)
346 .RS 4
347 Require and verify server certificate\&. If this option is
348 \fByes\fR, you must specify
349 \fIldap_tls_cacert_file\fR
350 or
351 \fIldap_tls_cacert_dir\fR\&.
352 .RE
353 .PP
354 \fIldap_tls_cacert_file\fR (default: empty)
355 .RS 4
356 File containing CA (Certificate Authority) certificate(s)\&.
357 .RE
358 .PP
359 \fIldap_tls_cacert_dir\fR (default: empty)
360 .RS 4
361 Path to directory with CA (Certificate Authority) certificates\&.
362 .RE
363 .PP
364 \fIldap_tls_ciphers\fR (default: \fBDEFAULT\fR)
365 .RS 4
366 List of SSL/TLS ciphers to allow\&. The format of the string is described in
367 \fBciphers\fR(1)\&.
368 .RE
369 .PP
370 \fIldap_tls_cert\fR (default: empty)
371 .RS 4
372 File containing the client certificate\&.
373 .RE
374 .PP
375 \fIldap_tls_key\fR (default: empty)
376 .RS 4
377 File containing the private client key\&.
378 .RE
379 .PP
380 \fIldap_use_sasl\fR (default: \fBno\fR)
381 .RS 4
382 Use SASL bind instead of simple bind when connecting to the LDAP server\&.
383 .RE
384 .PP
385 \fIldap_version\fR (default: \fB3\fR)
386 .RS 4
387 Specify the LDAP protocol version \- either
388 \fB2\fR
389 or
390 \fB3\fR\&. If
391 \fIldap_start_tls\fR
392 and/or
393 \fIldap_use_sasl\fR
394 are enabled,
395 \fIldap_version\fR
396 will be automatically set to
397 \fB3\fR\&.
398 .RE
399 .SH "EXAMPLE"
400 .PP
401
402 .sp
403 .RS 4
404 .nf
405 .fi
406 .RE
407 .SH "SEE ALSO"
408 .PP
409 \fBauthdaemond\fR(5),
410 \fBldapdb\fR(5),
411 \fBlibsasl\fR(5),
412 \fBsaslauthd\fR(8),
413 \fBsaslauthd.conf\fR(5),
414 \fBsaslpasswd2\fR(5),
415 \fBsasldblistusers2\fR(5),
416 \fBsasldb\fR(5),
417 \fBsql\fR(5)
418 .SH "README FILES"
419 .PP
420 \fIREADME\&.Debian\fR
421 .SH "AUTHOR(S)"
422 .PP
423 This manual is based on notes in
424 \fILDAP_SASLAUTHD\fR
425 from Igor Brezac\&.
426 .PP
427 .RS 4
428 .nf
429 Igor Brezac
430 <Igor@ipass\&.net>
431 .fi
432 .RE
433 .PP
434 It was edited and revised for the Debian distribution because the original program does not have a manual page\&.
435 .PP
436 .RS 4
437 .nf
438 Patrick Ben Koetter
439 <p@state\-of\-mind\&.de>
440 .fi
441 .RE
0 <?xml version="1.0" encoding="UTF-8"?>
1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
3 <refentry lang="en">
4 <refmeta>
5 <refentrytitle>saslauthd.conf</refentrytitle>
6
7 <manvolnum>5</manvolnum>
8 </refmeta>
9
10 <refnamediv>
11 <refname>saslauthd.conf</refname>
12
13 <refpurpose>saslauthd LDAP configuration file</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <cmdsynopsis>
18 <command>saslauthd</command>
19
20 <arg>-a ldap</arg>
21 </cmdsynopsis>
22
23 <cmdsynopsis>
24 <command>saslauthd</command>
25
26 <arg>-a ldap</arg>
27
28 <arg>-O <replaceable>/etc/saslauthd.conf</replaceable></arg>
29 </cmdsynopsis>
30 </refsynopsisdiv>
31
32 <refsection>
33 <title>Description</title>
34
35 <para>This document describes LDAP configuration options for the Cyrus
36 SASL password verification service <command>saslauthd</command>.</para>
37
38 <para>By default <command>saslauthd</command> searches for LDAP
39 configuration options in
40 <filename>/usr/local/etc/saslauthd.conf</filename>. This location can be
41 overridden if the additional command line option <option>-O</option>
42 specifies an alternative path to the configuration file.</para>
43 </refsection>
44
45 <refsection>
46 <title>Syntax</title>
47
48 <para>Do not use quotes (\"\') in the parameter values.</para>
49 </refsection>
50
51 <refsection>
52 <title>Options</title>
53
54 <para>The following are available LDAP parameters. The defaults are
55 probably adequate for most installations. Only
56 <parameter><parameter>ldap_servers</parameter></parameter> may need to be
57 specified.</para>
58
59 <variablelist>
60 <varlistentry>
61 <term><parameter>ldap_auth_method</parameter> (default:
62 <option>bind</option>|<option>fastbind</option>)</term>
63
64 <listitem>
65 <para>The bind method uses the LDAP bind facility to verify the
66 password. The bind method is not available when
67 <parameter>ldap_use_sasl</parameter> is turned on. In that case
68 saslauthd will use fastbind.</para>
69
70 <variablelist>
71 <varlistentry>
72 <term><option>bind</option></term>
73
74 <listitem>
75 <para><option>bind</option> is the default auth method. When
76 ldap_use_sasl is enabled, 'fastbind' is the default.</para>
77 </listitem>
78 </varlistentry>
79
80 <varlistentry>
81 <term><option>custom</option></term>
82
83 <listitem>
84 <para>The <option>custom</option> method uses
85 <parameter>userPassword</parameter> attribute to verify the
86 password. Supported hashes: <literal>crypt</literal>,
87 <literal>md5</literal>, smd5, <literal>sha</literal> and
88 <literal>ssha</literal>. <literal>Cleartext</literal> is
89 supported as well.</para>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry>
94 <term><option>fastbind</option></term>
95
96 <listitem>
97 <para>The <option>fastbind</option> method - when
98 <parameter>ldap_use_sasl</parameter> is <option>no</option> -
99 does away with the search and an extra anonymous bind in
100 auth_bind, but makes two assumptions:</para>
101
102 <orderedlist>
103 <listitem>
104 <para>Expanding the ldap_filter expression gives the
105 user's fully-qualified DN</para>
106 </listitem>
107
108 <listitem>
109 <para>There is no cost to staying bound as a named
110 user</para>
111 </listitem>
112 </orderedlist>
113 </listitem>
114 </varlistentry>
115 </variablelist>
116 </listitem>
117 </varlistentry>
118
119 <varlistentry>
120 <term><parameter>ldap_bind_dn</parameter> (default: empty)</term>
121
122 <listitem>
123 <para>Specify <literal>DN</literal> (distinguished name) to bind to
124 the LDAP directory. Do not specify this parameter for the anonymous
125 bind.</para>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry>
130 <term><parameter>ldap_bind_pw</parameter> (default: empty)</term>
131
132 <listitem>
133 <para>An alias for <varname>ldap_password</varname>.</para>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry>
138 <term><parameter>ldap_default_domain</parameter> (default:
139 empty)</term>
140
141 <listitem>
142 <para>An alias for <varname>ldap_default_realm</varname>.</para>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry>
147 <term><parameter>ldap_default_realm</parameter> (default:
148 empty)</term>
149
150 <listitem>
151 <para>The default realm is assigned to the <option>%r</option> token
152 when realm is not available. See <parameter>ldap_filter</parameter>
153 for more.</para>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry>
158 <term><parameter>ldap_deref</parameter> (default: empty)</term>
159
160 <listitem>
161 <para>Specify how aliases dereferencing is handled during search.
162 Should be one of <option>never</option>, <option>always</option>,
163 <option>search</option>, or <option>find</option> to specify that
164 aliases are never dereferenced, always dereferenced, dereferenced
165 when searching, or dereferenced only when locating the base object
166 for the search.</para>
167 </listitem>
168 </varlistentry>
169
170 <varlistentry>
171 <term><parameter>ldap_filter</parameter> (default:
172 <option>uid=%u</option>)</term>
173
174 <listitem>
175 <para>Specify a filter. The following tokens can be used in the
176 filter string:</para>
177
178 <variablelist>
179 <varlistentry>
180 <term><option>%%</option></term>
181
182 <listitem>
183 <para>This is replaced by a literal ’%’ character.</para>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry>
188 <term><option>%u</option></term>
189
190 <listitem>
191 <para><option>%u</option> is replaced by the complete user
192 string.</para>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry>
197 <term><option>%U</option></term>
198
199 <listitem>
200 <para>If the string is an address (<option>%u</option>),
201 <option>%U</option> will be replaced by the local part of that
202 address.</para>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry>
207 <term><option>%d</option></term>
208
209 <listitem>
210 <para>If the string is an address (<option>%u</option>),
211 <option>%d</option> will be replaced by the domain part of
212 that address. Otherwise it will be the same as
213 <option>%r</option>.</para>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry>
218 <term><option>%1-9</option></term>
219
220 <listitem>
221 <para>If the input key is
222 <literal>user@mail.example.com</literal>, then
223 <option>%1</option> is <literal>com</literal>,
224 <option>%2</option> is <literal>example</literal> and
225 <option>%3</option> is <literal>mail</literal>.</para>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry>
230 <term><option>%s</option></term>
231
232 <listitem>
233 <para><option>%s</option> is replaced by the complete service
234 string.</para>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry>
239 <term><option>%r</option></term>
240
241 <listitem>
242 <para><option>%r</option> is replaced by the complete realm
243 string.</para>
244 </listitem>
245 </varlistentry>
246
247 <varlistentry>
248 <term><option>%D</option></term>
249
250 <listitem>
251 <para><option>%D</option> is replaced by the complete user DN
252 (available for group checks)</para>
253 </listitem>
254 </varlistentry>
255 </variablelist>
256
257 <para>The <option>%u</option> token has to be used at minimum for
258 the filter to be useful. If <parameter>ldap_auth_method</parameter>
259 is <option>bind</option>, the filter will search for the
260 <literal>DN</literal> (distinguished name) attribute. Otherwise, the
261 search will look for the <parameter>ldap_password_attr</parameter>
262 attribute.</para>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry>
267 <term><parameter>ldap_group_attr</parameter> (default:
268 <option>uniqueMember</option>)</term>
269
270 <listitem>
271 <para>Specify what attribute to compare the user DN against in the
272 group. If <parameter>ldap_group_dn</parameter> is not specified,
273 this parameter is ignored. If
274 <parameter>ldap_group_match_method</parameter> is not
275 <option>attr</option>, this parameter is ignored.</para>
276 </listitem>
277 </varlistentry>
278
279 <varlistentry>
280 <term><parameter>ldap_group_dn</parameter> (default: empty)</term>
281
282 <listitem>
283 <para>If specified, the user has to be part of the group in order to
284 authenticate successfully. Tokens described in
285 <parameter>ldap_filter</parameter> can be used for
286 substitution.</para>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry>
291 <term><parameter>ldap_group_filter</parameter> (default: empty)</term>
292
293 <listitem>
294 <para>Specify a filter. If a filter match is found then the user is
295 in the group. Tokens described in <parameter>ldap_filter</parameter>
296 can be used for for substitution. If
297 <parameter>ldap_group_dn</parameter> is not specified, this
298 parameter is ignored. If
299 <parameter>ldap_group_match_method</parameter> is not filter, this
300 parameter is ignored.</para>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry>
305 <term><parameter>ldap_group_match_method</parameter> (default:
306 <option>attr</option>)</term>
307
308 <listitem>
309 <para>If <option>attr</option> is used the group match method uses
310 <parameter>ldap_group_attr</parameter> and if
311 <option>filter</option> is used
312 <parameter>ldap_group_search</parameter> will be used as group match
313 method. If <parameter>ldap_group_dn</parameter> is not specified,
314 this parameter is ignored.</para>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry>
319 <term><parameter>ldap_group_search_base</parameter> (default:
320 <varname>ldap_search_base</varname>)</term>
321
322 <listitem>
323 <para>Specify a starting point for the group search: e.g.
324 <literal>dc=example,dc=com</literal>. Tokens described in
325 <parameter>ldap_filter</parameter> can be used for
326 substitution.</para>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry>
331 <term><parameter>ldap_group_scope</parameter> (default: sub)</term>
332
333 <listitem>
334 <para>Group search scope. Options are either <option>sub</option>,
335 <option>one</option> or <option>base</option>.</para>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry>
340 <term><parameter>ldap_password</parameter> (default: empty)</term>
341
342 <listitem>
343 <para>Specify the password for <parameter>ldap_bind_dn</parameter>
344 or <parameter>ldap_id</parameter> if
345 <parameter>ldap_use_sasl</parameter> is turned on. Do not specify
346 this parameter for the anonymous bind.</para>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry>
351 <term><parameter>ldap_password_attr</parameter> (default:
352 <option>userPassword</option>)</term>
353
354 <listitem>
355 <para>Specify what password attribute to use for password
356 verification.</para>
357 </listitem>
358 </varlistentry>
359
360 <varlistentry>
361 <term><parameter>ldap_referrals</parameter> (default:
362 <option>no</option>)</term>
363
364 <listitem>
365 <para>Specify whether or not the client should follow
366 referrals.</para>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry>
371 <term><parameter>ldap_restart</parameter> (default:
372 <option>yes</option>)</term>
373
374 <listitem>
375 <para>Specify whether or not LDAP I/O operations are automatically
376 restarted if they abort prematurely.</para>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry>
381 <term><parameter>ldap_id</parameter> (default: empty)</term>
382
383 <listitem>
384 <para>Specify the authentication ID for SASL bind.</para>
385 </listitem>
386 </varlistentry>
387
388 <varlistentry>
389 <term><parameter>ldap_authz_id</parameter> (default: empty)</term>
390
391 <listitem>
392 <para>Specify the proxy authorization ID for SASL bind.</para>
393 </listitem>
394 </varlistentry>
395
396 <varlistentry>
397 <term><parameter>ldap_mech</parameter> (default: empty)</term>
398
399 <listitem>
400 <para>Specify the authentication mechanism for SASL bind.</para>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry>
405 <term><parameter>ldap_realm</parameter> (default: empty)</term>
406
407 <listitem>
408 <para>Specify the realm of authentication ID for SASL bind.</para>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry>
413 <term><parameter>ldap_scope</parameter> (default:
414 <option>sub</option>)</term>
415
416 <listitem>
417 <para>Search scope. Options are either <option>sub</option>,
418 <option>one</option> or <option>base</option>.</para>
419 </listitem>
420 </varlistentry>
421
422 <varlistentry>
423 <term><parameter>ldap_search_base</parameter> (default: empty)</term>
424
425 <listitem>
426 <para>Specify a starting point for the search: e.g.
427 <literal>dc=example,dc=com</literal>. Tokens described in
428 <parameter>ldap_filter</parameter> can be used for
429 substitution.</para>
430 </listitem>
431 </varlistentry>
432
433 <varlistentry>
434 <term><parameter>ldap_servers</parameter> (default:
435 <option>ldap://localhost/</option>)</term>
436
437 <listitem>
438 <para>Specify one or more URI(s) referring to LDAP server(s), e.g.
439 <literal>ldaps://10.1.1.2:999/</literal>. Multiple servers must be
440 separated by space.</para>
441 </listitem>
442 </varlistentry>
443
444 <varlistentry>
445 <term><parameter>ldap_start_tls</parameter> (default:
446 <option>no</option>)</term>
447
448 <listitem>
449 <para>Use StartTLS extended operation. Do not use ldaps:
450 ldap_servers when this option is turned on.</para>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry>
455 <term><parameter>ldap_time_limit</parameter> (default:
456 <option>5</option>)</term>
457
458 <listitem>
459 <para>Specify a number of seconds for a search request to
460 complete.</para>
461 </listitem>
462 </varlistentry>
463
464 <varlistentry>
465 <term><parameter>ldap_timeout</parameter> (default:
466 <option>5</option>)</term>
467
468 <listitem>
469 <para>Specify a number of seconds a search can take before timing
470 out.</para>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry>
475 <term><parameter>ldap_tls_check_peer</parameter> (default:
476 <option>no</option>)</term>
477
478 <listitem>
479 <para>Require and verify server certificate. If this option is
480 <option>yes</option>, you must specify
481 <parameter>ldap_tls_cacert_file</parameter> or
482 <parameter>ldap_tls_cacert_dir</parameter>.</para>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry>
487 <term><parameter>ldap_tls_cacert_file</parameter> (default:
488 empty)</term>
489
490 <listitem>
491 <para>File containing CA (Certificate Authority)
492 certificate(s).</para>
493 </listitem>
494 </varlistentry>
495
496 <varlistentry>
497 <term><parameter>ldap_tls_cacert_dir</parameter> (default:
498 empty)</term>
499
500 <listitem>
501 <para>Path to directory with CA (Certificate Authority)
502 certificates.</para>
503 </listitem>
504 </varlistentry>
505
506 <varlistentry>
507 <term><parameter>ldap_tls_ciphers</parameter> (default:
508 <option>DEFAULT</option>)</term>
509
510 <listitem>
511 <para>List of SSL/TLS ciphers to allow. The format of the string is
512 described in <citerefentry>
513 <refentrytitle>ciphers</refentrytitle>
514
515 <manvolnum>1</manvolnum>
516 </citerefentry>.</para>
517 </listitem>
518 </varlistentry>
519
520 <varlistentry>
521 <term><parameter>ldap_tls_cert</parameter> (default: empty)</term>
522
523 <listitem>
524 <para>File containing the client certificate.</para>
525 </listitem>
526 </varlistentry>
527
528 <varlistentry>
529 <term><parameter>ldap_tls_key</parameter> (default: empty)</term>
530
531 <listitem>
532 <para>File containing the private client key.</para>
533 </listitem>
534 </varlistentry>
535
536 <varlistentry>
537 <term><parameter>ldap_use_sasl</parameter> (default:
538 <option>no</option>)</term>
539
540 <listitem>
541 <para>Use SASL bind instead of simple bind when connecting to the
542 LDAP server.</para>
543 </listitem>
544 </varlistentry>
545
546 <varlistentry>
547 <term><parameter>ldap_version</parameter> (default:
548 <option>3</option>)</term>
549
550 <listitem>
551 <para>Specify the LDAP protocol version - either <option>2</option>
552 or <option>3</option>. If <parameter>ldap_start_tls</parameter>
553 and/or <parameter>ldap_use_sasl</parameter> are enabled,
554 <parameter>ldap_version</parameter> will be automatically set to
555 <option>3</option>.</para>
556 </listitem>
557 </varlistentry>
558 </variablelist>
559 </refsection>
560
561 <refsection>
562 <title>Example</title>
563
564 <para></para>
565
566 <programlisting></programlisting>
567 </refsection>
568
569 <refsection>
570 <title>See also</title>
571
572 <para><citerefentry>
573 <refentrytitle>authdaemond</refentrytitle>
574
575 <manvolnum>5</manvolnum>
576 </citerefentry>, <citerefentry>
577 <refentrytitle>ldapdb</refentrytitle>
578
579 <manvolnum>5</manvolnum>
580 </citerefentry>, <citerefentry>
581 <refentrytitle>libsasl</refentrytitle>
582
583 <manvolnum>5</manvolnum>
584 </citerefentry>, <citerefentry>
585 <refentrytitle>saslauthd</refentrytitle>
586
587 <manvolnum>8</manvolnum>
588 </citerefentry>, <citerefentry>
589 <refentrytitle>saslauthd.conf</refentrytitle>
590
591 <manvolnum>5</manvolnum>
592 </citerefentry>, <citerefentry>
593 <refentrytitle>saslpasswd2</refentrytitle>
594
595 <manvolnum>5</manvolnum>
596 </citerefentry>, <citerefentry>
597 <refentrytitle>sasldblistusers2</refentrytitle>
598
599 <manvolnum>5</manvolnum>
600 </citerefentry>, <citerefentry>
601 <refentrytitle>sasldb</refentrytitle>
602
603 <manvolnum>5</manvolnum>
604 </citerefentry>, <citerefentry>
605 <refentrytitle>sql</refentrytitle>
606
607 <manvolnum>5</manvolnum>
608 </citerefentry></para>
609 </refsection>
610
611 <refsection>
612 <title>Readme files</title>
613
614 <para><filename>README.Debian</filename></para>
615 </refsection>
616
617 <refsection>
618 <title>Author(s)</title>
619
620 <para>This manual is based on notes in <filename>LDAP_SASLAUTHD</filename>
621 from Igor Brezac.</para>
622
623 <para><address>Igor Brezac
624 <email>Igor@ipass.net</email></address></para>
625
626 <para>It was edited and revised for the Debian distribution because the
627 original program does not have a manual page.</para>
628
629 <para><address>Patrick Ben Koetter
630 <email>p@state-of-mind.de</email></address></para>
631 </refsection>
632 </refentry>
0 .\" Title: sasldb
1 .\" Author:
2 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
3 .\" Date: 12/14/2008
4 .\" Manual:
5 .\" Source:
6 .\"
7 .TH "SASLDB" "5" "12/14/2008" "" ""
8 .\" disable hyphenation
9 .nh
10 .\" disable justification (adjust text to left margin only)
11 .ad l
12 .SH "NAME"
13 sasldb \- auxiliary property plugin
14 .SH "SYNOPSIS"
15 .PP
16 Cyrus SASL auxprop plugin to access the sasldb authentication backend
17 .SH "DESCRIPTION"
18 .PP
19 This document describes configuration options for the Cyrus SASL auxiliary property plugin
20 \fBsasldb\fR\&.
21 .PP
22 \fBsasldb\fR
23 is the default and fallback plugin\&. It will be used if explicitly configured, but also if other mechanisms have failed to load e\&.g\&. because they haven\'t been configured properly\&.
24 .PP
25 This plugin reads all user data from a Berkeley database\&. On Debian systems the default location for this database is
26 \fI/etc/sasldb2\fR\&.
27 .PP
28 Passwords are stored in plaintext format to enable usage of shared\-secret mechanisms\&. To protect the passwords, access has been restricted to user
29 root
30 and group
31 sasl\&. An application must be member of the
32 sasl
33 group to conduct
34 \fBsasldb\fR
35 SASL authentication\&.
36 .PP
37 Use the
38 \fBsaslpasswd2\fR(8)
39 utility to create and modify
40 \fBsasldb\fR
41 users\&. The
42 \fBsasldblistusers2\fR(8)
43 command prints a list of existing
44 \fBsasldb\fR
45 users to
46 STDOUT\&.
47 .SH "OPTIONS"
48 .PP
49 The following configuration parameters are applicable in the context of the
50 \fBsasldb\fR
51 plugin:
52 .PP
53 \fIsasldb_path\fR: (default: \fI/etc/sasldb2\fR)
54 .RS 4
55 Specifies the path to the database when
56 \fIauxprop_plugin\fR:
57 \fBsasldb\fR
58 is used\&. The default path is system dependant, but usually
59 \fI/etc/sasldb2\fR\&.
60 .RE
61 .SH "EXAMPLE"
62 .PP
63 The following example shows a typical
64 \fBsasldb\fR
65 configuration\&. The database is located at the default location
66 \fI/etc/sasldb2\fR\&.
67 .sp
68 .RS 4
69 .nf
70 pwcheck_method: auxprop
71 auxprop_plugin: sasldb
72 mech_list: plain login cram\-md5 digest\-md5
73 .fi
74 .RE
75 .SH "SEE ALSO"
76 .PP
77 \fBauthdaemond\fR(5),
78 \fBldapdb\fR(5),
79 \fBlibsasl\fR(5),
80 \fBsaslauthd\fR(8),
81 \fBsaslauthd.conf\fR(5),
82 \fBsaslpasswd2\fR(5),
83 \fBsasldblistusers2\fR(5),
84 \fBsasldb\fR(5),
85 \fBsql\fR(5)
86 .SH "README FILES"
87 .PP
88 \fIREADME\&.Debian\fR
89 .SH "AUTHOR"
90 .PP
91 This manual was written for the Debian distribution because the original program does not have a manual page\&. Parts of the documentation have been taken from the Cyrus SASL\'s
92 \fIoptions\&.html\fR\&.
93 .PP
94 .RS 4
95 .nf
96 Patrick Ben Koetter
97 <p@state\-of\-mind\&.de>
98 .fi
99 .RE
0 <?xml version="1.0" encoding="UTF-8"?>
1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
3 <refentry>
4 <refmeta>
5 <refentrytitle>sasldb</refentrytitle>
6
7 <manvolnum>5</manvolnum>
8 </refmeta>
9
10 <refnamediv>
11 <refname>sasldb</refname>
12
13 <refpurpose>auxiliary property plugin</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <para>Cyrus SASL auxprop plugin to access the sasldb authentication
18 backend</para>
19 </refsynopsisdiv>
20
21 <refsection>
22 <title>Description</title>
23
24 <para>This document describes configuration options for the Cyrus SASL
25 auxiliary property plugin <option>sasldb</option>.</para>
26
27 <para><option>sasldb</option> is the default and fallback plugin. It will
28 be used if explicitly configured, but also if other mechanisms have failed
29 to load e.g. because they haven't been configured properly.</para>
30
31 <para>This plugin reads all user data from a Berkeley database. On Debian
32 systems the default location for this database is
33 <filename>/etc/sasldb2</filename>.</para>
34
35 <para>Passwords are stored in plaintext format to enable usage of
36 shared-secret mechanisms. To protect the passwords, access has been
37 restricted to user <systemitem class="username">root</systemitem> and
38 group <systemitem class="groupname">sasl</systemitem>. An application must
39 be member of the <systemitem class="groupname">sasl</systemitem> group to
40 conduct <option>sasldb</option> SASL authentication.</para>
41
42 <para>Use the <citerefentry>
43 <refentrytitle>saslpasswd2</refentrytitle>
44
45 <manvolnum>8</manvolnum>
46 </citerefentry> utility to create and modify <option>sasldb</option>
47 users. The <citerefentry>
48 <refentrytitle>sasldblistusers2</refentrytitle>
49
50 <manvolnum>8</manvolnum>
51 </citerefentry> command prints a list of existing
52 <option>sasldb</option> users to <literal>STDOUT</literal>.</para>
53 </refsection>
54
55 <refsection>
56 <title>Options</title>
57
58 <para>The following configuration parameters are applicable in the context
59 of the <option>sasldb</option> plugin:</para>
60
61 <variablelist>
62 <varlistentry>
63 <term><parameter>sasldb_path</parameter>: (default:
64 <filename>/etc/sasldb2</filename>)</term>
65
66 <listitem>
67 <para>Specifies the path to the database when
68 <parameter>auxprop_plugin</parameter>: <option>sasldb</option> is
69 used. The default path is system dependant, but usually
70 <filename>/etc/sasldb2</filename>.</para>
71 </listitem>
72 </varlistentry>
73 </variablelist>
74 </refsection>
75
76 <refsection>
77 <title>Example</title>
78
79 <para>The following example shows a typical <option>sasldb</option>
80 configuration. The database is located at the default location
81 <filename>/etc/sasldb2</filename>.</para>
82
83 <programlisting>pwcheck_method: auxprop
84 auxprop_plugin: sasldb
85 mech_list: plain login cram-md5 digest-md5</programlisting>
86 </refsection>
87
88 <refsection>
89 <title>See also</title>
90
91 <para><citerefentry>
92 <refentrytitle>authdaemond</refentrytitle>
93
94 <manvolnum>5</manvolnum>
95 </citerefentry>, <citerefentry>
96 <refentrytitle>ldapdb</refentrytitle>
97
98 <manvolnum>5</manvolnum>
99 </citerefentry>, <citerefentry>
100 <refentrytitle>libsasl</refentrytitle>
101
102 <manvolnum>5</manvolnum>
103 </citerefentry>, <citerefentry>
104 <refentrytitle>saslauthd</refentrytitle>
105
106 <manvolnum>8</manvolnum>
107 </citerefentry>, <citerefentry>
108 <refentrytitle>saslauthd.conf</refentrytitle>
109
110 <manvolnum>5</manvolnum>
111 </citerefentry>, <citerefentry>
112 <refentrytitle>saslpasswd2</refentrytitle>
113
114 <manvolnum>5</manvolnum>
115 </citerefentry>, <citerefentry>
116 <refentrytitle>sasldblistusers2</refentrytitle>
117
118 <manvolnum>5</manvolnum>
119 </citerefentry>, <citerefentry>
120 <refentrytitle>sasldb</refentrytitle>
121
122 <manvolnum>5</manvolnum>
123 </citerefentry>, <citerefentry>
124 <refentrytitle>sql</refentrytitle>
125
126 <manvolnum>5</manvolnum>
127 </citerefentry></para>
128 </refsection>
129
130 <refsection>
131 <title>Readme files</title>
132
133 <para><filename>README.Debian</filename></para>
134 </refsection>
135
136 <refsection>
137 <title>Author</title>
138
139 <para>This manual was written for the Debian distribution because the
140 original program does not have a manual page. Parts of the documentation
141 have been taken from the Cyrus SASL's
142 <filename>options.html</filename>.</para>
143
144 <para><address>Patrick Ben Koetter
145 <email>p@state-of-mind.de</email></address></para>
146 </refsection>
147 </refentry>
0 .\" Title: sql
1 .\" Author:
2 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
3 .\" Date: 12/14/2008
4 .\" Manual: Cyrus SASL sql auxprop plugin
5 .\" Source:
6 .\"
7 .TH "SQL" "5" "12/14/2008" "" "Cyrus SASL sql auxprop plugin"
8 .\" disable hyphenation
9 .nh
10 .\" disable justification (adjust text to left margin only)
11 .ad l
12 .SH "NAME"
13 sql \- auxiliary property plugin
14 .SH "SYNOPSIS"
15 .PP
16 Cyrus SASL auxprop plugin to access sql authentication backends\&.
17 .SH "DESCRIPTION"
18 .PP
19 This document describes configuration options for the Cyrus SASL auxiliary property plugin
20 \fBsql\fR\&.
21 .PP
22 \fBsql\fR
23 is a generic plugin for various SQL backends\&. Currently it provides access to either MySQL, PostgreSQL or SQLite databases\&.
24 .sp
25 .it 1 an-trap
26 .nr an-no-space-flag 1
27 .nr an-break-flag 1
28 .br
29 Note
30 .PP
31 The plugin requires that passwords in the database are stored in plaintext format in order to use shared\-secret mechanisms\&.
32 .SH "CONFIGURATION SYNTAX"
33 .PP
34 The following syntax is mandatory for
35 \fBsql\fR
36 plugin configuration:
37 .sp
38 .RS 4
39 \h'-04'\(bu\h'+03'SQL statements specified with
40 \fIsql_select\fR,
41 \fIsql_select\fR
42 and
43 \fIsql_select\fR
44 must not be enclosed in quotes\&.
45 .RE
46 .sp
47 .RS 4
48 \h'-04'\(bu\h'+03'Macros, e\&.g\&.
49 \fB%u\fR,
50 \fB%r\fR
51 and
52 \fB%v\fR, specified within SQL statements must be quoted individually\&.
53 .RE
54 .PP
55 See
56 the section called \(lqEXAMPLE\(rq
57 for a valid configuration example\&.
58 .SH "OPTIONS"
59 .PP
60 The following configuration parameters are applicable in the context of the
61 \fBsql\fR
62 plugin:
63 .PP
64 \fIsql_engine\fR (default: \fBmysql\fR)
65 .RS 4
66 Specifies the type of SQL engine to use for connections to the SQL backend\&. The following types are available:
67 .PP
68 \fBmysql\fR
69 .RS 4
70 Enables the mysql driver for connections to a MySQL server\&.
71 .RE
72 .PP
73 \fBpgsql\fR
74 .RS 4
75 Enables the pgsql driver for connections to a PostgreSQL server\&.
76 .RE
77 .PP
78 \fBsqlite\fR
79 .RS 4
80 Enables the sqlite driver for connections to a SQLite server\&.
81 .RE
82 .RE
83 .PP
84 \fIsql_hostnames\fR (default: empty)
85 .RS 4
86 A comma\-separated list of one or more SQL servers the plugin should try to connect to and query from\&. Specify servers separated in
87 hostname[:port]
88 format\&.
89 .sp
90 .it 1 an-trap
91 .nr an-no-space-flag 1
92 .nr an-break-flag 1
93 .br
94 Note
95 Specify
96 localhost
97 when using the MySQL engine to communicate over a UNIX domain socket and
98 127\&.0\&.0\&.1
99 to attempt a connection that uses a TCP socket\&.
100 .RE
101 .PP
102 \fIsql_user\fR (default empty)
103 .RS 4
104 Configures the username the plugin will send when it authenticates to the SQL server\&.
105 .RE
106 .PP
107 \fIsql_passwd\fR (defaults: empty)
108 .RS 4
109 Configures the password the plugin will send when it authenticates to the SQL server\&.
110 .RE
111 .PP
112 \fIsql_database\fR (default: empty)
113 .RS 4
114 Specifies the name of the database which contains auxiliary properties (e\&.g\&. username, realm, password etc\&.)
115 .RE
116 .PP
117 \fIsql_select\fR (default: empty)
118 .RS 4
119 Mandatory
120 SELECT
121 statement used to fetch properties from the SQL database\&.
122 .RE
123 .PP
124 \fIsql_insert\fR (default: empty)
125 .RS 4
126 Optional
127 INSERT
128 statement used to create properties for new users in the SQL database\&.
129 .RE
130 .PP
131 \fIsql_update\fR (default: empty)
132 .RS 4
133 Optional
134 UPDATE
135 statement used to modify properties in the SQL database\&.
136 .RE
137 .PP
138 \fIsql_usessl\fR (default: \fBno\fR)
139 .RS 4
140 Specify either
141 \fByes\fR,
142 \fBon\fR,
143 \fB1\fR
144 or
145 \fBtrue\fR, and the plugin will try to establish a secure connection to the SQL server\&.
146 .sp
147 Does this really work? I remember it doesn\'t \&.\&.\&.
148 .RE
149 .SS "Macros"
150 .PP
151 The sql plugin provides macros to build
152 \fIsql_select\fR,
153 \fIsql_select\fR
154 and
155 \fIsql_select\fR
156 statements\&. They will be replaced with arguments sent from the client\&. The following macros exist:
157 .PP
158 %u
159 .RS 4
160 The name of the user whose properties are being selected, inserted or updated\&.
161 .RE
162 .PP
163 %p
164 .RS 4
165 The name of the property being selected, inserted or updated\&. While this could technically be anything, Cyrus SASL will try
166 \fIuserPassword\fR
167 and
168 \fIcmusaslsecret\fR\fI\fIMECHNAME\fR\fR
169 (where
170 \fIMECHNAME\fR
171 is the name of a SASL mechanism)\&.
172 .RE
173 .PP
174 %r
175 .RS 4
176 Name of the realm to which the user belongs\&. This could be the KERBEROS realm, the FQDN of the computer the SASL application is running on or whatever is after the @ on a username\&.
177 .RE
178 .PP
179 %v
180 .RS 4
181 Value of the property being stored during insert or update operations\&. While this could technically be anything depending on the property itself, it generally is a
182 \fIuserPassword\fR\&.
183 .RE
184 .SH "EXAMPLE"
185 .PP
186 The following example shows a typical
187 \fBsql\fR
188 configuration:
189 .sp
190 .RS 4
191 .nf
192 pwcheck_method: auxprop
193 auxprop_plugin: sql
194 mech_list: plain login cram\-md5 digest\-md5
195 sql_engine: pgsql
196 sql_hostnames: 127\&.0\&.0\&.1, 192\&.0\&.2\&.1
197 sql_user: username
198 sql_passwd: secret
199 sql_database: company
200 sql_select: SELECT password FROM users WHERE user = \'%u\'@\'%r\'
201 .fi
202 .RE
203 .SH "SEE ALSO"
204 .PP
205 \fBauthdaemond\fR(5),
206 \fBldapdb\fR(5),
207 \fBlibsasl\fR(5),
208 \fBsaslauthd\fR(8),
209 \fBsaslauthd.conf\fR(5),
210 \fBsaslpasswd2\fR(5),
211 \fBsasldblistusers2\fR(5),
212 \fBsasldb\fR(5),
213 \fBsql\fR(5)
214 .SH "README FILES"
215 .PP
216 \fIREADME\&.Debian\fR
217 .SH "AUTHOR"
218 .PP
219 This manual was written for the Debian distribution because the original program does not have a manual page\&. Parts of the documentation have been taken from the Cyrus SASL\'s
220 \fIoptions\&.html\fR\&.
221 .PP
222 .RS 4
223 .nf
224 Patrick Ben Koetter
225 <p@state\-of\-mind\&.de>
226 .fi
227 .RE
0 <?xml version="1.0" encoding="UTF-8"?>
1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
2 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
3 <refentry id="auxprop-sql.5">
4 <refentryinfo>
5 <title>Cyrus SASL sql auxprop plugin</title>
6 </refentryinfo>
7
8 <refmeta>
9 <refentrytitle>sql</refentrytitle>
10
11 <manvolnum>5</manvolnum>
12 </refmeta>
13
14 <refnamediv>
15 <refname>sql</refname>
16
17 <refpurpose>auxiliary property plugin</refpurpose>
18 </refnamediv>
19
20 <refsynopsisdiv>
21 <para>Cyrus SASL auxprop plugin to access sql authentication
22 backends.</para>
23 </refsynopsisdiv>
24
25 <refsection>
26 <title>Description</title>
27
28 <para>This document describes configuration options for the Cyrus SASL
29 auxiliary property plugin <option>sql</option>.</para>
30
31 <para><option>sql</option> is a generic plugin for various SQL backends.
32 Currently it provides access to either MySQL, PostgreSQL or SQLite
33 databases.</para>
34
35 <note>
36 <para>The plugin requires that passwords in the database are stored in
37 plaintext format in order to use shared-secret mechanisms.</para>
38 </note>
39 </refsection>
40
41 <refsection>
42 <title>Configuration Syntax</title>
43
44 <para>The following syntax is mandatory for <option>sql</option> plugin
45 configuration:</para>
46
47 <itemizedlist>
48 <listitem>
49 <para>SQL statements specified with <parameter>sql_select</parameter>,
50 <parameter>sql_select</parameter> and
51 <parameter>sql_select</parameter> must not be enclosed in
52 quotes.</para>
53 </listitem>
54
55 <listitem>
56 <para>Macros, e.g. <option>%u</option>, <option>%r</option> and
57 <option>%v</option>, specified within SQL statements must be quoted
58 individually.</para>
59 </listitem>
60 </itemizedlist>
61
62 <para>See <xref linkend="example" /> for a valid configuration
63 example.</para>
64 </refsection>
65
66 <refsection>
67 <title>Options</title>
68
69 <para>The following configuration parameters are applicable in the context
70 of the <option>sql</option> plugin:</para>
71
72 <variablelist>
73 <varlistentry>
74 <term><parameter>sql_engine</parameter> (default:
75 <option>mysql</option>)</term>
76
77 <listitem>
78 <para>Specifies the type of SQL engine to use for connections to the
79 SQL backend. The following types are available:</para>
80
81 <variablelist>
82 <varlistentry>
83 <term><option>mysql</option></term>
84
85 <listitem>
86 <para>Enables the mysql driver for connections to a MySQL
87 server.</para>
88 </listitem>
89 </varlistentry>
90
91 <varlistentry>
92 <term><option>pgsql</option></term>
93
94 <listitem>
95 <para>Enables the pgsql driver for connections to a PostgreSQL
96 server.</para>
97 </listitem>
98 </varlistentry>
99
100 <varlistentry>
101 <term><option>sqlite</option></term>
102
103 <listitem>
104 <para>Enables the sqlite driver for connections to a SQLite
105 server.</para>
106 </listitem>
107 </varlistentry>
108 </variablelist>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry>
113 <term><parameter>sql_hostnames</parameter> (default: empty)</term>
114
115 <listitem>
116 <para>A comma-separated list of one or more SQL servers the plugin
117 should try to connect to and query from. Specify servers separated
118 in <literal>hostname[:port]</literal> format.</para>
119
120 <note>
121 <para>Specify <systemitem class="server">localhost</systemitem>
122 when using the MySQL engine to communicate over a UNIX domain
123 socket and <systemitem class="ipaddress">127.0.0.1</systemitem> to
124 attempt a connection that uses a TCP socket.</para>
125 </note>
126 </listitem>
127 </varlistentry>
128
129 <varlistentry>
130 <term><parameter>sql_user</parameter> (default empty)</term>
131
132 <listitem>
133 <para>Configures the username the plugin will send when it
134 authenticates to the SQL server.</para>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry>
139 <term><parameter>sql_passwd</parameter> (defaults: empty)</term>
140
141 <listitem>
142 <para>Configures the password the plugin will send when it
143 authenticates to the SQL server.</para>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry>
148 <term><parameter>sql_database</parameter> (default: empty)</term>
149
150 <listitem>
151 <para>Specifies the name of the database which contains auxiliary
152 properties (e.g. username, realm, password etc.)</para>
153 </listitem>
154 </varlistentry>
155
156 <varlistentry>
157 <term><parameter>sql_select</parameter> (default: empty)</term>
158
159 <listitem>
160 <para>Mandatory <literal>SELECT</literal> statement used to fetch
161 properties from the SQL database.</para>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry>
166 <term><parameter>sql_insert</parameter> (default: empty)</term>
167
168 <listitem>
169 <para>Optional <literal>INSERT</literal> statement used to create
170 properties for new users in the SQL database.</para>
171 </listitem>
172 </varlistentry>
173
174 <varlistentry>
175 <term><parameter>sql_update</parameter> (default: empty)</term>
176
177 <listitem>
178 <para>Optional <literal>UPDATE</literal> statement used to modify
179 properties in the SQL database.</para>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry>
184 <term><parameter>sql_usessl</parameter> (default:
185 <option>no</option>)</term>
186
187 <listitem>
188 <para>Specify either <option>yes</option>, <option>on</option>,
189 <option>1</option> or <option>true</option>, and the plugin will try
190 to establish a secure connection to the SQL server.</para>
191
192 <remark>Does this really work? I remember it doesn't ...</remark>
193 </listitem>
194 </varlistentry>
195 </variablelist>
196
197 <refsection>
198 <title>Macros</title>
199
200 <para>The sql plugin provides macros to build
201 <parameter>sql_select</parameter>, <parameter>sql_select</parameter> and
202 <parameter>sql_select</parameter> statements. They will be replaced with
203 arguments sent from the client. The following macros exist:</para>
204
205 <variablelist>
206 <varlistentry>
207 <term>%u</term>
208
209 <listitem>
210 <para>The name of the user whose properties are being selected,
211 inserted or updated.</para>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry>
216 <term>%p</term>
217
218 <listitem>
219 <para>The name of the property being selected, inserted or
220 updated. While this could technically be anything, Cyrus SASL will
221 try <parameter>userPassword</parameter> and
222 <parameter>cmusaslsecret<replaceable>MECHNAME</replaceable></parameter>
223 (where <replaceable>MECHNAME</replaceable> is the name of a SASL
224 mechanism).</para>
225 </listitem>
226 </varlistentry>
227
228 <varlistentry>
229 <term>%r</term>
230
231 <listitem>
232 <para>Name of the realm to which the user belongs. This could be
233 the KERBEROS realm, the FQDN of the computer the SASL application
234 is running on or whatever is after the @ on a username.</para>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry>
239 <term>%v</term>
240
241 <listitem>
242 <para>Value of the property being stored during insert or update
243 operations. While this could technically be anything depending on
244 the property itself, it generally is a
245 <parameter>userPassword</parameter>.</para>
246 </listitem>
247 </varlistentry>
248 </variablelist>
249 </refsection>
250 </refsection>
251
252 <refsection id="example">
253 <title>Example</title>
254
255 <para>The following example shows a typical <option>sql</option>
256 configuration:</para>
257
258 <programlisting>pwcheck_method: auxprop
259 auxprop_plugin: sql
260 mech_list: plain login cram-md5 digest-md5
261 sql_engine: pgsql
262 sql_hostnames: 127.0.0.1, 192.0.2.1
263 sql_user: username
264 sql_passwd: secret
265 sql_database: company
266 sql_select: SELECT password FROM users WHERE user = '%u'@'%r'</programlisting>
267 </refsection>
268
269 <refsection>
270 <title>See also</title>
271
272 <para><citerefentry>
273 <refentrytitle>authdaemond</refentrytitle>
274
275 <manvolnum>5</manvolnum>
276 </citerefentry>, <citerefentry>
277 <refentrytitle>ldapdb</refentrytitle>
278
279 <manvolnum>5</manvolnum>
280 </citerefentry>, <citerefentry>
281 <refentrytitle>libsasl</refentrytitle>
282
283 <manvolnum>5</manvolnum>
284 </citerefentry>, <citerefentry>
285 <refentrytitle>saslauthd</refentrytitle>
286
287 <manvolnum>8</manvolnum>
288 </citerefentry>, <citerefentry>
289 <refentrytitle>saslauthd.conf</refentrytitle>
290
291 <manvolnum>5</manvolnum>
292 </citerefentry>, <citerefentry>
293 <refentrytitle>saslpasswd2</refentrytitle>
294
295 <manvolnum>5</manvolnum>
296 </citerefentry>, <citerefentry>
297 <refentrytitle>sasldblistusers2</refentrytitle>
298
299 <manvolnum>5</manvolnum>
300 </citerefentry>, <citerefentry>
301 <refentrytitle>sasldb</refentrytitle>
302
303 <manvolnum>5</manvolnum>
304 </citerefentry>, <citerefentry>
305 <refentrytitle>sql</refentrytitle>
306
307 <manvolnum>5</manvolnum>
308 </citerefentry></para>
309 </refsection>
310
311 <refsection>
312 <title>Readme files</title>
313
314 <para><filename>README.Debian</filename></para>
315 </refsection>
316
317 <refsection>
318 <title>Author</title>
319
320 <para>This manual was written for the Debian distribution because the
321 original program does not have a manual page. Parts of the documentation
322 have been taken from the Cyrus SASL's
323 <filename>options.html</filename>.</para>
324
325 <para><address>Patrick Ben Koetter
326 <email>p@state-of-mind.de</email></address></para>
327 </refsection>
328 </refentry>
0 #!/usr/bin/perl
1
2 use strict;
3 use MIME::Base64;
4 use Getopt::Std;
5
6 my($p_name) = $0 =~ m|/?([^/]+)$|;
7 my $p_version = "20060620.0";
8 my $p_usage = "Usage: $p_name [--help|--version] | <type> ...";
9 my $p_cp = <<EOM;
10 Copyright (c) 2002-2006 John Jetmore <jj33\@pobox.com>
11
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
16
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, write to the Free Software
24 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 EOM
26 ext_usage();
27
28 my %O = ();
29 getopts('s', \%O);
30
31 my $type = get_input(\@ARGV, "encryption type: ");
32
33 if ($type =~ /^plain$/i) {
34 my $user = get_input(\@ARGV, "username: ", $O{s}||0);
35 my $pass = get_input(\@ARGV, "password: ", $O{s}||1);
36 print "Auth String: ", encode_base64("\0$user\0$pass", ''), "\n";
37
38 } elsif ($type =~ /^decode$/i) {
39 my $user = get_input(\@ARGV, "string: ", $O{s}||0);
40 print decode_base64($user), "\n";
41
42 } elsif ($type =~ /^encode$/i) {
43 my $user = get_input(\@ARGV, "string: ", $O{s}||0);
44 print encode_base64($user, ""), "\n";
45
46 } elsif ($type =~ /^rot13$/i) {
47 my $str = get_input(\@ARGV, "string: ", $O{s}||0);
48 my @c = unpack("c*", $str);
49 foreach my $c (@c) {
50 if ($c <= 123 && $c >= 97) { $c = ((($c - 97 + 13) % 26) + 97); }
51 elsif ($c <= 90 && $c >= 65) { $c = ((($c - 65 + 13) % 26) + 65); }
52 }
53 print pack("c*", @c), "\n";
54
55 } elsif ($type =~ /^atbash$/i) {
56 my $str = get_input(\@ARGV, "string: ", $O{s}||0);
57 my @c = unpack("c*", $str);
58 foreach my $c (@c) {
59 if ($c <= 123 && $c >= 97) { $c = (25 - ($c - 97)) + 97; }
60 elsif ($c <= 90 && $c >= 65) { $c = (25 - ($c - 65)) + 65; }
61 }
62 print pack("c*", @c), "\n";
63
64 } elsif ($type =~ /^http(-basic)?$/i) {
65 my $user = get_input(\@ARGV, "username: ", $O{s}||0);
66 my $pass = get_input(\@ARGV, "password: ", $O{s}||1);
67 print "Auth String: ", encode_base64("${user}:$pass", ''), "\n";
68
69 } elsif ($type =~ /^wcsencode$/i) {
70 try_load("WCS::Encode") || die "WCS::Encode required for rce\n";
71 my $user = get_input(\@ARGV, "string: ", $O{s}||0);
72 chomp($user = WCS::Encode::encode($user));
73 print $user, "\n";
74
75 } elsif ($type =~ /^wcsdecode$/i) {
76 try_load("WCS::Encode") || die "WCS::Encode required for rce\n";
77 my $user = get_input(\@ARGV, "string: ", $O{s}||0);
78 print WCS::Encode::decode($user), "\n";
79
80 } elsif ($type =~ /^rce$/i) {
81 try_load("WCS::Passwd") || die "WCS::Passwd required for rce\n";
82 my $user = get_input(\@ARGV, "string: ", $O{s}||0);
83 print WCS::Passwd::rce($user), "\n";
84
85 } elsif ($type =~ /^rcd$/i) {
86 try_load("WCS::Passwd") || die "WCS::Passwd required for rce\n";
87 my $user = get_input(\@ARGV, "string: ", $O{s}||0);
88 print WCS::Passwd::rcd($user), "\n";
89
90 } elsif ($type =~ /^(salt)?encrypt$/i) {
91 my $user = get_input(\@ARGV, "string: ", $O{s}||1);
92 my $salt = join('', ('.', '/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64]);
93 $salt = get_input(\@ARGV, "salt: ", $O{s}||0) if ($type =~ /^saltencrypt/i);
94 print crypt($user, $salt), "\n";
95
96 } elsif ($type =~ /^login$/i) {
97 my $user = get_input(\@ARGV, "username: ", $O{s}||0);
98 my $pass = get_input(\@ARGV, "password: ", $O{s}||1);
99 print "Username: ", encode_base64($user, ""), "\n",
100 "Password: ", encode_base64($pass, ""), "\n";
101
102 } elsif ($type =~ /^md5-(base)?64$/i) {
103 try_load("Digest::MD5") || die "Digest::MD5 required for md5\n";
104 my $string = get_input(\@ARGV, "string: ", $O{s}||0);
105 print Digest::MD5::md5_base64($string), "\n";
106
107 } elsif ($type =~ /^md5(-hex)?$/i) {
108 try_load("Digest::MD5") || die "Digest::MD5 required for md5\n";
109 my $string = get_input(\@ARGV, "string: ", $O{s}||0);
110 print Digest::MD5::md5_hex($string), "\n";
111
112 } elsif ($type =~ /^cram(-(md5|sha1))?$/i) {
113 my $digest_type = lc($2) || 'md5';
114 if ($digest_type eq 'md5') {
115 try_load("Digest::MD5") || die "Digest::MD5 required for CRAM-MD5\n";
116 } elsif ($digest_type eq 'sha1') {
117 try_load("Digest::SHA1") || die "Digest::SHA1 required for CRAM-SHA1\n";
118 }
119 my $user = get_input(\@ARGV, "username: ", $O{s}||0);
120 my $pass = get_input(\@ARGV, "password: ", $O{s}||1);
121 my $chal = get_input(\@ARGV, "challenge: ", $O{s}||0);
122 if ($chal !~ /^</) {
123 chomp($chal = decode_base64($chal));
124 }
125 my $digest = get_digest($pass, $chal, $digest_type);
126 print encode_base64("$user $digest", ""), "\n";
127
128 } elsif ($type =~ /^(ntlm|spa|msn)$/i) {
129 try_load("Authen::NTLM") || die "Authen::NTLM required for $type\n";
130 my $user = get_input(\@ARGV, "username: ", $O{s}||0);
131 my $pass = get_input(\@ARGV, "password: ", $O{s}||1);
132 my $domn = get_input(\@ARGV, "domain: ", $O{s}||0);
133 print "Auth Request: ", Authen::NTLM::ntlm(), "\n";
134 Authen::NTLM::ntlm_user($user);
135 Authen::NTLM::ntlm_password($pass);
136 Authen::NTLM::ntlm_domain($domn);
137 my $chal = get_input(\@ARGV, "challenge: ", $O{s}||0);
138 print "Auth Response: ", Authen::NTLM::ntlm($chal), "\n";
139
140 } elsif ($type =~ /^apop$/i) {
141 try_load("Digest::MD5") || die "Digest::MD5 required for APOP\n";
142 my $chal = get_input(\@ARGV, "challenge: ");
143 my $pass = get_input(\@ARGV, "password: ", 1);
144 my $ctx = Digest::MD5->new;
145 $ctx->add($chal . $pass);
146 print $ctx->hexdigest, "\n";
147
148 } else {
149 print STDERR "I don't speak $type\n";
150 exit 1;
151 }
152
153 exit 0;
154
155 sub get_input {
156 my $a = shift; # command line array
157 my $s = shift; # prompt string
158 my $q = shift; # quiet
159 my $r; # response
160
161 if (scalar(@$a) > 0) {
162 $r = shift(@$a);
163 } else {
164 print $s;
165 system('stty', '-echo') if ($q);
166 $r = <>;
167 system('stty', 'echo') if ($q);
168 print "\n" if ($q);
169 chomp($r);
170 }
171
172 $r = '' if ($r eq '<>');
173 return($r);
174 }
175
176 sub get_digest {
177 my $secr = shift;
178 my $chal = shift;
179 my $type = shift;
180 my $ipad = chr(0x36) x 64;
181 my $opad = chr(0x5c) x 64;
182
183 if (length($secr) > 64) {
184 if ($type eq 'md5') {
185 $secr = Digest::MD5::md5($secr);
186 } elsif ($type eq 'sha1') {
187 $secr = Digest::SHA1::sha1($secr);
188 } else {
189 # unknown digest type
190 return;
191 }
192 } else {
193 $secr .= chr(0) x (64 - length($secr));
194 }
195
196 my $digest = $type eq 'md5'
197 ? Digest::MD5::md5_hex(($secr ^ $opad),
198 Digest::MD5::md5(($secr ^ $ipad), $chal))
199 : Digest::SHA1::sha1_hex(($secr ^ $opad),
200 Digest::SHA1::sha1(($secr ^ $ipad), $chal));
201 return($digest);
202 }
203
204 sub try_load {
205 my $mod = shift;
206
207 eval("use $mod");
208 return $@ ? 0 : 1;
209 }
210
211 sub ext_usage {
212 if ($ARGV[0] =~ /^--help$/i) {
213 require Config;
214 $ENV{PATH} .= ":" unless $ENV{PATH} eq "";
215 $ENV{PATH} = "$ENV{PATH}$Config::Config{'installscript'}";
216 exec("perldoc", "-F", "-U", $0) || exit 1;
217 # make parser happy
218 %Config::Config = ();
219 } elsif ($ARGV[0] =~ /^--version$/i) {
220 print "$p_name version $p_version\n\n$p_cp\n";
221 } else {
222 return;
223 }
224
225 exit(0);
226 }
227
228 __END__
229
230 =head1 NAME
231
232 gen-auth - generate various authentication strings
233
234 =head1 USAGE
235
236 gen-auth [--help|--version] | <type> ...
237
238 =head1 DESCRIPTION
239
240 gen-auth is tool to assist in all kinds of authentication / encoding / decoding / encrypting tasks. It began life as an smtp-specific tool, but has drifted in functionality over time.
241
242 The program actions are broken down into types of encoding to generate.
243 Each <type> then takes its own specific args. The arguments are expected
244 in a specific order on the command line. Every argument that isn't
245 available on the command line will be prompted for. One benefit to this is
246 arguments corresponding to passwords will not be echoed to the terminal when
247 prompted for.
248
249 =head1 TYPES
250
251 The program action is controlled by the first argument. The meaning of the
252 following arguments is specified by this type
253
254 =over 4
255
256 =item PLAIN <username> <password>
257
258 This type generates a PLAIN (RFC 2595) authentication string. It accepts
259 supplemental arguments of username and password. It generates a Base64
260 encoded string "\0<username>\0<password>".
261
262 =item LOGIN <username> <password>
263
264 This method accepts username and password as supplemental args. It simply
265 returns each string Base64 encoded. This provides only minimal advantages
266 over using ENCODE twice. One advantage is hiding the password if you
267 provide it on STDIN
268
269 =item CRAM-MD5 <username> <password> <challenge>
270
271 CRAM-MD5 (RFC 2195) accepts three supplemental arguments. The first is the username and
272 the second is the password. The third is the challenge string provided
273 by the server. This string can be either Base64 encoded or not. The RFC states
274 that all (unencoded) challenge strings must start w/ '<'. This is used to
275 whether the string is Base64 encoded or not.
276
277 CRAM-MD5 uses the challenge and the supplied password to generate a digest.
278 it then returns the Base64 encoded version of the string md5("<username> <challenge>")
279
280 This authentication method requires the Digest::MD5 perl module to be installed.
281
282 =item CRAM-SHA1 <username> <password> <challenge>
283
284 This behaves the same as CRAM-MD5 but uses SHA1 digesting rather than MD5.
285
286 This authentication method requires the Digest::SHA1 perl module to be installed.
287
288 =item NTLM/SPA/MSN <username> <password> <domain> <challenge>
289
290 Although it may be advertised as one of the above types, this method of authentication if refered to singularly as NTLM. This is a multi-step authentication type. The first 3 arguments must be supplied up front. They are username, password, and domain, in that order. These three strings are used to generate an "Auth Request" string. This string should be passed verbatim to the server. The server will then respond with a challenge. This challenge is the fourth argument. After receiving the server challenge, gen-auth will produce an "Auth Response". Posting this response to the server completes the NTLM authentication transaction.
291
292 This authentication method requires the Authen::NTLM perl module to be installed. See EXAMPLES for an example of this transaction. Note also that 'domain' is often blank from client or ignored by server.
293
294 =item HTTP-BASIC <username> <password>
295
296 Returns the value base64("<username>:<password>"). Used for HTTP Basic authentication (RFC 2617). Used by adding a header "Authorization: Basic <string>" to a HTTP request where <string> is the output of this command.
297
298 =item APOP <challenge> <password>
299
300 This implements the APOP authentication for the POP3 protocol as described in RFC 1939. <challenge> is the challenge string presented by the POP3 server in the greeting banner. <password> is the "secret" (usually a password) used to authenticate the user. This method returns a digest md5("<challenge><password>"). This can be used to authenticate to a POP3 server in a string like "APOP <user> <digest>" where <digest> is the string generated by this command.
301
302 APOP required the Digest::MD5 perl module.
303
304 =item ENCODE <string>
305
306 Simply Base64 encodes a plaintext string. Provided as a convenience function.
307
308 =item DECODE <string>
309
310 Decodes a Base64 encoded string. Provided as a convenience function.
311
312 =item MD5/MD5-HEX <string>
313
314 Provides an MD5 digest of the supplied string in hex.
315
316 =item MD5-BASE64 <string>
317
318 Provides an MD5 digest of the supplied string in Base64.
319
320 =item ENCRYPT <string>
321
322 Returns a crypt(3) string generated from the input string.
323
324 =item SALTENCRYPT <string> <salt>
325
326 Same as ENCRYPT but you provide the salt as the second argument. See crypt(3) man page for details.
327
328 =item ROT13 <string>
329
330 This performs a rot13 action on <string>. This implementation only performs the action on ASCII 65-90,97-123. Any other character value is left untouched. Therefore this method is primarily for LOCALE=C, ASCII only. Feel free to send patches if you care to have it work in another setting.
331
332 =item ATBASH <string>
333
334 This performs an atbash action on <string>. Atbash mirrors a string such that 'a'=='z', 'b'=='y', etc. See the comments on locale and character set under ROT13.
335
336 =back
337
338 =head1 OPTIONS
339
340 =item -s
341
342 Supresses echo on all input fields read from standard input. If this option is not used, echo is suppressed on fields which are known to be password fields but this may not be secure enough.
343
344 =item --help
345
346 this screen.
347
348 =item --version
349
350 version info.
351
352 =head1 EXAMPLES
353
354 =over 4
355
356 =item generate a PLAIN AUTH string for user 'tim', password 'tanstaaftanstaaf'
357
358 > gen-auth plain tim tanstaaftanstaaf
359 Auth String: AHRpbQB0YW5zdGFhZnRhbnN0YWFm
360
361 =item generate a CRAM-MD5 string for user 'tim', password 'tanstaaftanstaaf',
362 challenge '<1896.697170952@postoffice.reston.mci.net>', using prompt to
363 hide password
364
365 > gen-auth cram-md5
366 username: tim
367 password:
368 challenge: PDE4OTYuNjk3MTcwOTUyQHBvc3RvZmZpY2UucmVzdG9uLm1jaS5uZXQ+
369 dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw
370
371 =item use the DECODE method to ensure we provided the correct output in our last
372 example
373
374 > gen-auth decode dGltIGI5MTNhNjAyYzdlZGE3YTQ5NWI0ZTZlNzMzNGQzODkw
375 tim b913a602c7eda7a495b4e6e7334d3890
376
377 =item use the NTLM (MSN) method to authenticate to a mail server using user 'tim', password 'tanstaaftanstaaf', and domain MAIL. Both the gen-auth transaction and SMTP transaction are shown to demonstrate the interaction between the two.
378
379 AUTH MSN
380 334 NTLM supported
381 TlRMTVNTUAABAAAAB7IAAAMAAwAgAAAABAAEACMAAAB0aW1NQUlM
382 334 TlRMTVNTUAACAAAAAAAAAAAoAAABggAA9RH5KZlXvygAAACAAAAAZL//4sQAAAAC
383 TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAAAwAAAABgAGAHAAAAAGAAYAdgAAAAAAAAA8AAAAAYIAAK3lcO8PldNxIrkbvgKGJRR5owQePUtYaTtLVgfQiVQBywW2yZKyp+VFGqYfgDtdEHQAaQBtAHQAaQBtAA==
384 235 Authentication succeeded
385
386 > gen-auth spa
387 username: tim
388 password:
389 domain: MAIL
390 Auth Request: TlRMTVNTUAABAAAAB7IAAAMAAwAgAAAABAAEACMAAAB0aW1NQUlM
391 challenge: TlRMTVNTUAACAAAAAAAAAAAoAAABggAA9RH5KZlXvygAAACAAAAAZL//4sQAAAAC
392 Auth Response: TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAAAwAAAABgAGAHAAAAAGAAYAdgAAAAAAAAA8AAAAAYIAAK3lcO8PldNxIrkbvgKGJRR5owQePUtYaTtLVgfQiVQBywW2yZKyp+VFGqYfgDtdEHQAaQBtAHQAaQBtAA==
393
394 =back
395
396 =head1 REQUIRES
397
398 =item MIME::Base64
399
400 Required for all functionality
401
402 =item Digest::MD5
403
404 Required for MD5, MD5-BASE64, CRAM-MD5, APOP
405
406 =item Digest::SHA1
407
408 Required for CRAM-SHA1
409
410 =item Authen::NTLM
411
412 Required for NTLM/MSN/SPA
413
414 =head1 EXIT CODES
415
416 =item 0 - no errors occurred
417
418 =item 1 - unrecognized type specified
419
420 =head1 CONTACT
421
422 =item proj-gen-auth@jetmore.net
0 Cyrus SASL for Debian
1 ---------------------
2
3 SASL is the Simple Authentication and Security Layer, a method for adding
4 authentication support to connection-based protocols. This is the Debian
5 package of Cyrus SASL, which is an implementation of SASL by Carnegie Mellon
6 University.
7
8 The package stays as close as possible to the upstream version, but some
9 changes have been introduced to fix known issues and to better integrate
10 the software with the Debian system. For example, some command line utilities
11 have been renamed with a "sasl" prefix, in order to avoid naming collisions.
12 The software has been split into several packages, so a system administrator
13 can choose what functionality to install and what to leave out.
14
15 IMPORTANT:
16 You MUST install one of the libsasl2-modules* packages for SASL to work with
17 server programs. Otherwise server software like Postfix and Cyrus IMAPd will
18 not allow any users to log in, and other SASL apps will malfuntion in weird
19 ways. If you do not intend to use SASL on your server, then the
20 libsasl2-modules* packages are not necessary for you.
21
22 SASL uses /dev/urandom, which doesn't block when the system runs out of
23 entropy. However, when the system does run out of entropy, the random numbers
24 that /dev/urandom emits are slightly less cryptographically secure. If you are
25 concerned about this, then please turn to the kernel documentation or other
26 sources to determine what this means in your case. In practise, /dev/urandom is
27 just fine for the vast majority of cases. If you want to use /dev/random for
28 whatever reason, you have to recompile the packages. (Change --with-devrandom
29 in debian/rules.)
30
31 Use dpkg-statoverride to change the permission and the ownership of the
32 saslauthd socket /var/run/saslauthd and the sasldb user database /etc/sasldb2.
33 For more information on saslauthd, see the README.Debian in the sasl2-bin
34 package.
35
36 For more information about SASL, please see http://asg.web.cmu.edu/sasl/, and
37 for more information about Cyrus SASL, see
38 http://asg.web.cmu.edu/sasl/sasl-library.html. Also see the following RFC
39 documents, which are currently not distributed with the Debian packages:
40
41 rfc1321.txt rfc1939.txt rfc2104.txt rfc2195.txt rfc2222.txt
42 rfc2243.txt rfc2245.txt rfc2289.txt rfc2444.txt rfc2595.txt
43 rfc2831.txt rfc2945.txt rfc3174.txt
44
45 The project information page http://pkg-cyrus-sasl2.alioth.debian.org/
46 contains details about the Debian packaging project. All comments and bug
47 reports are welcome, please use the Debian Bug Tracking System to submit them.
48
49 -- Fabian Fagerholm <fabbe@debian.org>, Fri, 9 Jun 2008 21:08:07 +0300
0 usr/lib
1 usr/lib/sasl2
0 debian/README.configure-options
0 usr/lib/libsasl2.so.*
1 usr/lib/sasl2/libsasldb*
0 usr/include/sasl
1 usr/lib
2 usr/share/man/man3
0 sample/*.c
1 sample/*.h
2 build-mit/config.h
0 usr/include/sasl
1 usr/lib/libsasl2.??
2 usr/lib/libsasl2.a
3 usr/share/man/man3
0 usr/lib/sasl2
1 usr/share/lintian/overrides
0 # We do not link the GPL code we ship with openssl; it's a separate utility
1 libsasl2-modules-gssapi-heimdal binary: possible-gpl-code-linked-with-openssl
0 usr/lib/sasl2/libgssapiv2.*
0 usr/lib/sasl2/libldapdb.*
0 usr/lib/sasl2
1 usr/share/lintian/overrides
0 usr/lib/sasl2/libotp.*
0 libsasl2-modules-otp binary: possible-gpl-code-linked-with-openssl
0 usr/lib/sasl2/libsql.*
0 usr/lib/sasl2
1 usr/share/lintian/overrides
0 usr/lib/sasl2/libanonymous.*
1 usr/lib/sasl2/libcrammd5.*
2 usr/lib/sasl2/libdigestmd5.*
3 usr/lib/sasl2/liblogin.*
4 usr/lib/sasl2/libntlm.*
5 usr/lib/sasl2/libplain.*
0 # We do not link the GPL code we ship with openssl; it's a separate utility
1 libsasl2-modules binary: possible-gpl-code-linked-with-openssl
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Use versioned symbols for libsasl2.
2 --- trunk.orig/lib/Makefile.am
3 +++ trunk/lib/Makefile.am
4 @@ -60,8 +60,8 @@
5 lib_LTLIBRARIES = libsasl2.la
6
7 libsasl2_la_SOURCES = $(common_sources) $(common_headers)
8 -libsasl2_la_LDFLAGS = -version-info $(sasl_version)
9 -libsasl2_la_DEPENDENCIES = $(LTLIBOBJS)
10 +libsasl2_la_LDFLAGS = -version-info $(sasl_version) -Wl,--version-script=$(top_srcdir)/Versions
11 +libsasl2_la_DEPENDENCIES = $(LTLIBOBJS) $(top_srcdir)/Versions
12 libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR)
13
14 if MACOSX
15 --- /dev/null
16 +++ trunk/Versions
17 @@ -0,0 +1,7 @@
18 +SASL2 {
19 + global:
20 + sasl_*; prop_*; auxprop_plugin_info; _sasl_MD5*;
21 +};
22 +
23 +HIDDEN { local: __*; _rest*; _save*; *; };
24 +
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Rename the testsuite program to sasltestsuite and use /etc/sasldb2
2 instead of ./sasldb as default path for the sasldb database file.
3 --- trunk.orig/utils/testsuite.c
4 +++ trunk/utils/testsuite.c
5 @@ -464,9 +464,9 @@
6 *len = (unsigned) strlen("sasldb");
7 return SASL_OK;
8 } else if (!strcmp(option, "sasldb_path")) {
9 - *result = "./sasldb";
10 + *result = "/etc/sasldb2";
11 if (len)
12 - *len = (unsigned) strlen("./sasldb");
13 + *len = (unsigned) strlen("/etc/sasldb2");
14 return SASL_OK;
15 } else if (!strcmp(option, "canon_user_plugin")) {
16 *result = cu_plugin;
17 @@ -2925,7 +2925,7 @@
18 void usage(void)
19 {
20 printf("Usage:\n" \
21 - " testsuite [-g name] [-s seed] [-r tests] -a -M\n" \
22 + " sasltestsuite [-g name] [-s seed] [-r tests] -a -M\n" \
23 " g -- gssapi service name to use (default: host)\n" \
24 " r -- # of random tests to do (default: 25)\n" \
25 " a -- do all corruption tests (and ignores random ones unless -r specified)\n" \
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Use the correct path for the saslauthd.conf file, and use another
2 date format (cosmetic).
3 --- trunk.orig/saslauthd/saslauthd.mdoc
4 +++ trunk/saslauthd/saslauthd.mdoc
5 @@ -10,7 +10,7 @@
6 .\" manpage in saslauthd.8 whenever you change this source
7 .\" version. Only the pre-formatted manpage is installed.
8 .\"
9 -.Dd 10 24 2002
10 +.Dd October 24 2002
11 .Dt SASLAUTHD 8
12 .Os "CMU-SASL"
13 .Sh NAME
14 @@ -216,7 +216,7 @@
15 .Em (All platforms that support OpenLDAP 2.0 or higher)
16 .Pp
17 Authenticate against an ldap server. The ldap configuration parameters are
18 -read from /usr/local/etc/saslauthd.conf. The location of this file can be
19 +read from /etc/saslauthd.conf. The location of this file can be
20 changed with the -O parameter. See the LDAP_SASLAUTHD file included with the
21 distribution for the list of available parameters.
22 .It Li sia
23 @@ -249,7 +249,7 @@
24 .Bl -tag -width "/var/run/saslauthd/mux"
25 .It Pa /var/run/saslauthd/mux
26 The default communications socket.
27 -.It Pa /usr/local/etc/saslauthd.conf
28 +.It Pa /etc/saslauthd.conf
29 The default configuration file for ldap support.
30 .El
31 .Sh SEE ALSO
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Add man pages for testsaslauthd, sasldbconverter2 and
2 sasltestsuite.
3 --- /dev/null
4 +++ trunk/saslauthd/testsaslauthd.8
5 @@ -0,0 +1,16 @@
6 +.\" testsaslauthd - SASL2 test tool
7 +.\" Dima Barsky 23/12/2002
8 +.\"
9 +
10 +.\"
11 +.TH TESTSASLAUTHD 8 "December 23, 2002" "CMU SASL"
12 +.SH NAME
13 +testsaslauthd \- a test tool for saslauthd
14 +.SH SYNOPSIS
15 +.B testsaslauthd -u username -p password
16 + [-r realm] [-s servicename]
17 + [-f socket path] [-R repeatnum]
18 +
19 +.SH DESCRIPTION
20 +This tool is for testing the saslauthd daemon. Do not use it unless you
21 +know what you are doing. Read the source code if you need more information.
22 --- /dev/null
23 +++ trunk/utils/sasldbconverter2.8
24 @@ -0,0 +1,23 @@
25 +.\" sasldbconverter-2 - Convert sasldb file into the new format
26 +.\" Dima Barsky 25/10/2002
27 +.\"
28 +
29 +.\"
30 +.TH SASLDBCONVERTER2 8 "October 25, 2002" "CMU SASL"
31 +.SH NAME
32 +sasldbconverter2 \- Convert sasldb file into the new format
33 +.SH SYNOPSIS
34 +.B sasldbconverter2 [sasldb_file]
35 +.SH DESCRIPTION
36 +.I sasldbconverter2
37 +takes the sasldb file specified on the
38 +command line and convert it to a new sasldb file in the default
39 +location (usually /etc/sasldb2). It is STRONGLY RECOMMENDED that you
40 +backup sasldb before allowing this program to run
41 +.SH OPTIONS
42 +.TP
43 +.SH KNOWN BUGS
44 +This only works for sasldb files that use the gdbm library.
45 +.TP
46 +.SH SEE ALSO
47 +rfc2222 \- Simple Authentication and Security Layer (SASL)
48 --- /dev/null
49 +++ trunk/utils/sasltestsuite.8
50 @@ -0,0 +1,22 @@
51 +.\" sasltestsuite - SASL2 test tool
52 +.\" Dima Barsky 23/11/2002
53 +.\"
54 +
55 +.\"
56 +.TH SASLTESTSUITE 8 "December 23, 2002" "CMU SASL"
57 +.SH NAME
58 +sasltestsuite \- SASL2 test tool
59 +.SH SYNOPSIS
60 +.B sasltestsuite [-g name] [-s seed] [-r tests] -a -M
61 + g -- gssapi service name to use (default: host)
62 + r -- # of random tests to do (default: 25)
63 + a -- do all corruption tests (and ignores random ones unless -r specified)
64 + n -- skip the initial "do correctly" tests
65 + h -- show this screen
66 + s -- random seed to use
67 + M -- detailed memory debugging ON
68 +
69 +.SH DESCRIPTION
70 +This tool is for testing the SASL2 installation. Do not use it
71 +unless you know what you are doing. Read the source code if you need
72 +more information.
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Build the dbconverter-2 utility and change the path to the sasldb
2 database file to /etc/sasldb2.
3 --- trunk.orig/utils/Makefile.am
4 +++ trunk/utils/Makefile.am
5 @@ -45,10 +45,10 @@
6 all_sasl_libs = ../lib/libsasl2.la $(SASL_DB_LIB) $(LIB_SOCKET)
7 all_sasl_static_libs = ../lib/.libs/libsasl2.a $(SASL_DB_LIB) $(LIB_SOCKET) $(GSSAPIBASE_LIBS) $(GSSAPI_LIBS) $(SASL_KRB_LIB) $(LIB_DES) $(PLAIN_LIBS) $(SRP_LIBS) $(LIB_MYSQL) $(LIB_PGSQL) $(LIB_SQLITE)
8
9 -sbin_PROGRAMS = @SASL_DB_UTILS@ @SMTPTEST_PROGRAM@ pluginviewer
10 +sbin_PROGRAMS = @SASL_DB_UTILS@ @SMTPTEST_PROGRAM@ pluginviewer dbconverter-2
11 EXTRA_PROGRAMS = saslpasswd2 sasldblistusers2 testsuite testsuitestatic smtptest pluginviewer
12
13 -noinst_PROGRAMS = dbconverter-2
14 +#noinst_PROGRAMS = dbconverter-2
15
16 if NO_SASL_DB_MANS
17 man_MANS =
18 --- trunk.orig/utils/dbconverter-2.c
19 +++ trunk/utils/dbconverter-2.c
20 @@ -385,7 +385,7 @@
21
22 int main(int argc, char **argv)
23 {
24 - const char *db="/etc/sasldb";
25 + const char *db="/etc/sasldb2";
26 int result;
27
28 if (argc > 1) {
29 @@ -421,7 +421,7 @@
30
31 printf("\nThis program will take the sasldb file specified on the\n"
32 "command line and convert it to a new sasldb file in the default\n"
33 - "location (usually /etc/sasldb). It is STRONGLY RECOMMENDED that you\n"
34 + "location (usually /etc/sasldb2). It is STRONGLY RECOMMENDED that you\n"
35 "backup sasldb before allowing this program to run\n\n"
36 "We are going to convert %s and our output will be in %s\n\n"
37 "Press return to continue\n", db, db_new);
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Exact description unknown; make sure mutex-related code works.
2 --- trunk.orig/lib/common.c
3 +++ trunk/lib/common.c
4 @@ -771,7 +771,7 @@
5 result = sasl_canonuser_add_plugin("INTERNAL", internal_canonuser_init);
6 if(result != SASL_OK) return result;
7
8 - if (!free_mutex)
9 + if (!free_mutex || free_mutex == 0x1)
10 free_mutex = sasl_MUTEX_ALLOC();
11 if (!free_mutex) return SASL_FAIL;
12
13 @@ -790,6 +790,11 @@
14
15 /* serialize disposes. this is necessary because we can't
16 dispose of conn->mutex if someone else is locked on it */
17 +
18 + if (!free_mutex || free_mutex == 0x1)
19 + free_mutex = sasl_MUTEX_ALLOC();
20 + if (!free_mutex) return SASL_FAIL;
21 +
22 result = sasl_MUTEX_LOCK(free_mutex);
23 if (result!=SASL_OK) return;
24
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Put man pages in correct section.
2 --- trunk.orig/man/sasl.3
3 +++ trunk/man/sasl.3
4 @@ -38,7 +38,7 @@
5 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
6 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7 .\"
8 -.TH SASL "10 July 2001" SASL "SASL man pages"
9 +.TH SASL 3 "10 July 2001" SASL "SASL man pages"
10 .SH NAME
11 SASL \- SASL authentication library
12 .SH DESCRIPTION
13 --- trunk.orig/man/sasl_authorize_t.3
14 +++ trunk/man/sasl_authorize_t.3
15 @@ -38,7 +38,7 @@
16 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
17 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 .\"
19 -.TH sasl_authorize_t "10 July 2001" SASL "SASL man pages"
20 +.TH sasl_authorize_t 3 "10 July 2001" SASL "SASL man pages"
21 .SH NAME
22 sasl_authorize_t \- The SASL authorization callback
23
24 --- trunk.orig/man/sasl_auxprop.3
25 +++ trunk/man/sasl_auxprop.3
26 @@ -38,7 +38,7 @@
27 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
28 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
29 .\"
30 -.TH sasl_auxprop "10 July 2001" SASL "SASL man pages"
31 +.TH sasl_auxprop 3 "10 July 2001" SASL "SASL man pages"
32 .SH NAME
33 sasl_auxprop \- How to work with SASL auxiliary properties
34
35 --- trunk.orig/man/sasl_auxprop_getctx.3
36 +++ trunk/man/sasl_auxprop_getctx.3
37 @@ -38,7 +38,7 @@
38 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
39 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
40 .\"
41 -.TH sasl_auxprop_getctx "10 July 2001" SASL "SASL man pages"
42 +.TH sasl_auxprop_getctx 3 "10 July 2001" SASL "SASL man pages"
43 .SH NAME
44 sasl_auxprop_getctx \- Acquire an auxiliary property context
45
46 --- trunk.orig/man/sasl_auxprop_request.3
47 +++ trunk/man/sasl_auxprop_request.3
48 @@ -38,7 +38,7 @@
49 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
50 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
51 .\"
52 -.TH sasl_auxprop_request "10 July 2001" SASL "SASL man pages"
53 +.TH sasl_auxprop_request 3 "10 July 2001" SASL "SASL man pages"
54 .SH NAME
55 sasl_auxprop_request \- Request Auxiliary Properties from SASL
56
57 --- trunk.orig/man/sasl_callbacks.3
58 +++ trunk/man/sasl_callbacks.3
59 @@ -38,7 +38,7 @@
60 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
61 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
62 .\"
63 -.TH sasl_callbacks "12 February 2006" SASL "SASL man pages"
64 +.TH sasl_callbacks 3 "12 February 2006" SASL "SASL man pages"
65 .SH NAME
66 sasl_callbacks \- How to work with SASL callbacks
67
68 --- trunk.orig/man/sasl_canon_user_t.3
69 +++ trunk/man/sasl_canon_user_t.3
70 @@ -38,7 +38,7 @@
71 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
72 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
73 .\"
74 -.TH sasl_server_userdb_checkpass_t "10 July 2001" SASL "SASL man pages"
75 +.TH sasl_server_userdb_checkpass_t 3 "10 July 2001" SASL "SASL man pages"
76 .SH NAME
77 sasl_server_userdb_checkpass_t \- Plaintext Password Verification Callback
78
79 --- trunk.orig/man/sasl_chalprompt_t.3
80 +++ trunk/man/sasl_chalprompt_t.3
81 @@ -38,7 +38,7 @@
82 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
83 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
84 .\"
85 -.TH sasl_chalprompt_t "10 July 2001" SASL "SASL man pages"
86 +.TH sasl_chalprompt_t 3 "10 July 2001" SASL "SASL man pages"
87 .SH NAME
88 sasl_chalprompt_t \- Realm Acquisition Callback
89
90 --- trunk.orig/man/sasl_checkapop.3
91 +++ trunk/man/sasl_checkapop.3
92 @@ -38,7 +38,7 @@
93 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
94 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
95 .\"
96 -.TH sasl_checkapop "29 June 2001" SASL "SASL man pages"
97 +.TH sasl_checkapop 3 "29 June 2001" SASL "SASL man pages"
98 .SH NAME
99 sasl_checkapop \- Check an APOP challenge/response
100 .SH SYNOPSIS
101 --- trunk.orig/man/sasl_checkpass.3
102 +++ trunk/man/sasl_checkpass.3
103 @@ -38,7 +38,7 @@
104 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
105 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
106 .\"
107 -.TH sasl_checkpass "10 July 2001" SASL "SASL man pages"
108 +.TH sasl_checkpass 3 "10 July 2001" SASL "SASL man pages"
109 .SH NAME
110 sasl_checkpass \- Check a plaintext password
111 .SH SYNOPSIS
112 --- trunk.orig/man/sasl_client_init.3
113 +++ trunk/man/sasl_client_init.3
114 @@ -38,7 +38,7 @@
115 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
116 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
117 .\"
118 -.TH sasl_client_init "21 June 2001" SASL "SASL man pages"
119 +.TH sasl_client_init 3 "21 June 2001" SASL "SASL man pages"
120 .SH NAME
121 sasl_client_init \- SASL client authentication initialization
122
123 --- trunk.orig/man/sasl_client_new.3
124 +++ trunk/man/sasl_client_new.3
125 @@ -38,7 +38,7 @@
126 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
127 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
128 .\"
129 -.TH sasl_client_new "21 June 2001" SASL "SASL man pages"
130 +.TH sasl_client_new 3 "21 June 2001" SASL "SASL man pages"
131 .SH NAME
132 sasl_client_new \- Create a new client authentication object
133
134 --- trunk.orig/man/sasl_client_start.3
135 +++ trunk/man/sasl_client_start.3
136 @@ -38,7 +38,7 @@
137 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
138 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
139 .\"
140 -.TH sasl_client_start "10 July 2001" SASL "SASL man pages"
141 +.TH sasl_client_start 3 "10 July 2001" SASL "SASL man pages"
142 .SH NAME
143 sasl_client_start \- Begin an authentication negotiation
144 .SH SYNOPSIS
145 --- trunk.orig/man/sasl_client_step.3
146 +++ trunk/man/sasl_client_step.3
147 @@ -38,7 +38,7 @@
148 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
149 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
150 .\"
151 -.TH sasl_client_step "10 July 2001" SASL "SASL man pages"
152 +.TH sasl_client_step 3 "10 July 2001" SASL "SASL man pages"
153 .SH NAME
154 sasl_client_step \- Perform a step in the authentication negotiation
155
156 --- trunk.orig/man/sasl_decode.3
157 +++ trunk/man/sasl_decode.3
158 @@ -38,7 +38,7 @@
159 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
160 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
161 .\"
162 -.TH sasl_decode "10 July 2001" SASL "SASL man pages"
163 +.TH sasl_decode 3 "10 July 2001" SASL "SASL man pages"
164 .SH NAME
165 sasl_decode \- Decode data received
166
167 --- trunk.orig/man/sasl_dispose.3
168 +++ trunk/man/sasl_dispose.3
169 @@ -38,7 +38,7 @@
170 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
171 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
172 .\"
173 -.TH sasl_dispose "10 July 2001" SASL "SASL man pages"
174 +.TH sasl_dispose 3 "10 July 2001" SASL "SASL man pages"
175 .SH NAME
176 sasl_dispose \- Dispose of a SASL connection object
177
178 --- trunk.orig/man/sasl_done.3
179 +++ trunk/man/sasl_done.3
180 @@ -38,7 +38,7 @@
181 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
182 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
183 .\"
184 -.TH sasl_done "10 July 2001" SASL "SASL man pages"
185 +.TH sasl_done 3 "10 July 2001" SASL "SASL man pages"
186 .SH NAME
187 sasl_done \- Dispose of a SASL connection object
188
189 --- trunk.orig/man/sasl_encode.3
190 +++ trunk/man/sasl_encode.3
191 @@ -38,7 +38,7 @@
192 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
193 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
194 .\"
195 -.TH sasl_encode "10 July 2001" SASL "SASL man pages"
196 +.TH sasl_encode 3 "10 July 2001" SASL "SASL man pages"
197 .SH NAME
198 sasl_encode \- Encode data for transport to authenticated host
199
200 --- trunk.orig/man/sasl_encodev.3
201 +++ trunk/man/sasl_encodev.3
202 @@ -38,7 +38,7 @@
203 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
204 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
205 .\"
206 -.TH sasl_encode "10 July 2001" SASL "SASL man pages"
207 +.TH sasl_encode 3 "10 July 2001" SASL "SASL man pages"
208 .SH NAME
209 sasl_encode \- Encode data for transport to authenticated host
210
211 --- trunk.orig/man/sasl_errdetail.3
212 +++ trunk/man/sasl_errdetail.3
213 @@ -38,7 +38,7 @@
214 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
215 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
216 .\"
217 -.TH sasl_errdetail "10 July 2001" SASL "SASL man pages"
218 +.TH sasl_errdetail 3 "10 July 2001" SASL "SASL man pages"
219 .SH NAME
220 sasl_errdetail \- Retrieve detailed information about an error
221
222 --- trunk.orig/man/sasl_errors.3
223 +++ trunk/man/sasl_errors.3
224 @@ -38,7 +38,7 @@
225 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
226 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
227 .\"
228 -.TH sasl_errors "10 July 2001" SASL "SASL man pages"
229 +.TH sasl_errors 3 "10 July 2001" SASL "SASL man pages"
230 .SH NAME
231 sasl_errors \- SASL error codes
232
233 --- trunk.orig/man/sasl_errstring.3
234 +++ trunk/man/sasl_errstring.3
235 @@ -38,7 +38,7 @@
236 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
237 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
238 .\"
239 -.TH sasl_errstring "10 July 2001" SASL "SASL man pages"
240 +.TH sasl_errstring 3 "10 July 2001" SASL "SASL man pages"
241 .SH NAME
242 sasl_errstring \- Translate a SASL return code to a human-readable form
243
244 --- trunk.orig/man/sasl_getconfpath_t.3
245 +++ trunk/man/sasl_getconfpath_t.3
246 @@ -38,7 +38,7 @@
247 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
248 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
249 .\"
250 -.TH sasl_getconfpath_t "12 February 2006" SASL "SASL man pages"
251 +.TH sasl_getconfpath_t 3 "12 February 2006" SASL "SASL man pages"
252 .SH NAME
253 sasl_getconfpath_t \- The SASL callback to indicate location of the config files
254
255 --- trunk.orig/man/sasl_getopt_t.3
256 +++ trunk/man/sasl_getopt_t.3
257 @@ -38,7 +38,7 @@
258 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
259 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
260 .\"
261 -.TH sasl_getopt_t "10 July 2001" SASL "SASL man pages"
262 +.TH sasl_getopt_t 3 "10 July 2001" SASL "SASL man pages"
263 .SH NAME
264 sasl_getopt_t \- The SASL get option callback
265
266 --- trunk.orig/man/sasl_getpath_t.3
267 +++ trunk/man/sasl_getpath_t.3
268 @@ -38,7 +38,7 @@
269 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
270 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
271 .\"
272 -.TH sasl_getpath_t "10 July 2001" SASL "SASL man pages"
273 +.TH sasl_getpath_t 3 "10 July 2001" SASL "SASL man pages"
274 .SH NAME
275 sasl_getpath_t \- The SASL callback to indicate location of the mechanism drivers
276
277 --- trunk.orig/man/sasl_getprop.3
278 +++ trunk/man/sasl_getprop.3
279 @@ -38,7 +38,7 @@
280 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
281 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
282 .\"
283 -.TH sasl_getprop "10 July 2001" SASL "SASL man pages"
284 +.TH sasl_getprop 3 "10 July 2001" SASL "SASL man pages"
285 .SH NAME
286 sasl_getprop \- Get a SASL property
287
288 --- trunk.orig/man/sasl_getrealm_t.3
289 +++ trunk/man/sasl_getrealm_t.3
290 @@ -38,7 +38,7 @@
291 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
292 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
293 .\"
294 -.TH sasl_getrealm_t "10 July 2001" SASL "SASL man pages"
295 +.TH sasl_getrealm_t 3 "10 July 2001" SASL "SASL man pages"
296 .SH NAME
297 sasl_getrealm_t \- Realm Acquisition Callback
298
299 --- trunk.orig/man/sasl_getsecret_t.3
300 +++ trunk/man/sasl_getsecret_t.3
301 @@ -38,7 +38,7 @@
302 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
303 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
304 .\"
305 -.TH sasl_getsecret_t "10 July 2001" SASL "SASL man pages"
306 +.TH sasl_getsecret_t 3 "10 July 2001" SASL "SASL man pages"
307 .SH NAME
308 sasl_getsecret_t \- The SASL callback for secrets (passwords)
309
310 --- trunk.orig/man/sasl_getsimple_t.3
311 +++ trunk/man/sasl_getsimple_t.3
312 @@ -38,7 +38,7 @@
313 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
314 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
315 .\"
316 -.TH sasl_getsimple_t "10 July 2001" SASL "SASL man pages"
317 +.TH sasl_getsimple_t 3 "10 July 2001" SASL "SASL man pages"
318 .SH NAME
319 sasl_getsimple_t \- The SASL callback for username/authname/realm
320
321 --- trunk.orig/man/sasl_global_listmech.3
322 +++ trunk/man/sasl_global_listmech.3
323 @@ -38,7 +38,7 @@
324 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
325 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
326 .\"
327 -.TH sasl_listmech "10 July 2001" SASL "SASL man pages"
328 +.TH sasl_listmech 3 "10 July 2001" SASL "SASL man pages"
329 .SH NAME
330 sasl_listmech \- Retrieve a list of the supported SASL mechanisms
331 .SH SYNOPSIS
332 --- trunk.orig/man/sasl_idle.3
333 +++ trunk/man/sasl_idle.3
334 @@ -38,7 +38,7 @@
335 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
336 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
337 .\"
338 -.TH sasl_idle "10 July 2001" SASL "SASL man pages"
339 +.TH sasl_idle 3 "10 July 2001" SASL "SASL man pages"
340 .SH NAME
341 sasl_idle \- Perform precalculations during an idle period
342
343 --- trunk.orig/man/sasl_listmech.3
344 +++ trunk/man/sasl_listmech.3
345 @@ -38,7 +38,7 @@
346 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
347 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
348 .\"
349 -.TH sasl_listmech "10 July 2001" SASL "SASL man pages"
350 +.TH sasl_listmech 3 "10 July 2001" SASL "SASL man pages"
351 .SH NAME
352 sasl_listmech \- Retrieve a list of the supported SASL mechanisms
353 .SH SYNOPSIS
354 --- trunk.orig/man/sasl_log_t.3
355 +++ trunk/man/sasl_log_t.3
356 @@ -38,7 +38,7 @@
357 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
358 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
359 .\"
360 -.TH sasl_log_t "10 July 2001" SASL "SASL man pages"
361 +.TH sasl_log_t 3 "10 July 2001" SASL "SASL man pages"
362 .SH NAME
363 sasl_log_t \- The SASL logging callback
364
365 --- trunk.orig/man/sasl_server_init.3
366 +++ trunk/man/sasl_server_init.3
367 @@ -38,7 +38,7 @@
368 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
369 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
370 .\"
371 -.TH sasl_server_init "10 July 2001" SASL "SASL man pages"
372 +.TH sasl_server_init 3 "10 July 2001" SASL "SASL man pages"
373 .SH NAME
374 sasl_server_init \- SASL server authentication initialization
375
376 --- trunk.orig/man/sasl_server_new.3
377 +++ trunk/man/sasl_server_new.3
378 @@ -38,7 +38,7 @@
379 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
380 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
381 .\"
382 -.TH sasl_server_new "16 May 2001" SASL "SASL man pages"
383 +.TH sasl_server_new 3 "16 May 2001" SASL "SASL man pages"
384 .SH NAME
385 sasl_server_new \- Create a new server authentication object
386
387 --- trunk.orig/man/sasl_server_start.3
388 +++ trunk/man/sasl_server_start.3
389 @@ -38,7 +38,7 @@
390 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
391 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
392 .\"
393 -.TH sasl_server_start "10 July 2001" SASL "SASL man pages"
394 +.TH sasl_server_start 3 "10 July 2001" SASL "SASL man pages"
395 .SH NAME
396 sasl_server_start \- Begin an authentication negotiation
397
398 --- trunk.orig/man/sasl_server_step.3
399 +++ trunk/man/sasl_server_step.3
400 @@ -38,7 +38,7 @@
401 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
402 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
403 .\"
404 -.TH sasl_server_step "10 July 2001" SASL "SASL man pages"
405 +.TH sasl_server_step 3 "10 July 2001" SASL "SASL man pages"
406 .SH NAME
407 sasl_server_step \- Perform a step in the authentication negotiation
408
409 --- trunk.orig/man/sasl_server_userdb_checkpass_t.3
410 +++ trunk/man/sasl_server_userdb_checkpass_t.3
411 @@ -38,7 +38,7 @@
412 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
413 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
414 .\"
415 -.TH sasl_server_userdb_checkpass_t "10 July 2001" SASL "SASL man pages"
416 +.TH sasl_server_userdb_checkpass_t 3 "10 July 2001" SASL "SASL man pages"
417 .SH NAME
418 sasl_server_userdb_checkpass_t \- Plaintext Password Verification Callback
419
420 --- trunk.orig/man/sasl_server_userdb_setpass_t.3
421 +++ trunk/man/sasl_server_userdb_setpass_t.3
422 @@ -38,7 +38,7 @@
423 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
424 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
425 .\"
426 -.TH sasl_server_userdb_setpass_t "10 July 2001" SASL "SASL man pages"
427 +.TH sasl_server_userdb_setpass_t 3 "10 July 2001" SASL "SASL man pages"
428 .SH NAME
429 sasl_server_userdb_setpass_t \- UserDB Plaintext Password Setting Callback
430
431 --- trunk.orig/man/sasl_setpass.3
432 +++ trunk/man/sasl_setpass.3
433 @@ -38,7 +38,7 @@
434 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
435 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
436 .\"
437 -.TH sasl_setpass "10 July 2001" SASL "SASL man pages"
438 +.TH sasl_setpass 3 "10 July 2001" SASL "SASL man pages"
439 .SH NAME
440 sasl_setpass \- Check a plaintext password
441 .SH SYNOPSIS
442 --- trunk.orig/man/sasl_setprop.3
443 +++ trunk/man/sasl_setprop.3
444 @@ -38,7 +38,7 @@
445 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
446 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
447 .\"
448 -.TH sasl_setprop "10 July 2001" SASL "SASL man pages"
449 +.TH sasl_setprop 3 "10 July 2001" SASL "SASL man pages"
450 .SH NAME
451 sasl_setprop \- Set a SASL property
452 .SH SYNOPSIS
453 --- trunk.orig/man/sasl_user_exists.3
454 +++ trunk/man/sasl_user_exists.3
455 @@ -38,7 +38,7 @@
456 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
457 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
458 .\"
459 -.TH sasl_user_exists "10 July 2001" SASL "SASL man pages"
460 +.TH sasl_user_exists 3 "10 July 2001" SASL "SASL man pages"
461 .SH NAME
462 sasl_user_exists \- Check if a user exists on server
463
464 --- trunk.orig/man/sasl_verifyfile_t.3
465 +++ trunk/man/sasl_verifyfile_t.3
466 @@ -38,7 +38,7 @@
467 .\" AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
468 .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
469 .\"
470 -.TH sasl_verifyfile_t "10 July 2001" SASL "SASL man pages"
471 +.TH sasl_verifyfile_t 3 "10 July 2001" SASL "SASL man pages"
472 .SH NAME
473 sasl_verifyfile_t \- The SASL file verification
474
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Make sasl_set_alloc a one-time function.
2 This patch will divert all allocations to whomever called
3 sasl_set_alloc first, hopefully that will be the application. If
4 not, we sure *hope* the library doing stupid things has sane
5 sasl_set_alloc semantics...
6 It will also deny any futher tries to sasl_set_alloc after one
7 of the _init functions are called.
8 This patch was introduced and works fine in SASL 1.5, and no
9 applications started behaving in insane ways, so chances are it
10 will also work with SASL 2.1
11 Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=139568
12 Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274087
13 Reference: https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2525
14 --- trunk.orig/lib/client.c
15 +++ trunk/lib/client.c
16 @@ -202,6 +202,9 @@
17 { NULL, NULL }
18 };
19
20 + /* lock allocation type */
21 + _sasl_allocation_locked++;
22 +
23 if(_sasl_client_active) {
24 /* We're already active, just increase our refcount */
25 /* xxx do something with the callback structure? */
26 --- trunk.orig/lib/common.c
27 +++ trunk/lib/common.c
28 @@ -107,6 +107,7 @@
29 (sasl_realloc_t *) &realloc,
30 (sasl_free_t *) &free
31 };
32 +int _sasl_allocation_locked = 0;
33
34 #define SASL_ENCODEV_EXTRA 4096
35
36 @@ -637,6 +638,8 @@
37 sasl_realloc_t *r,
38 sasl_free_t *f)
39 {
40 + if (_sasl_allocation_locked++) return;
41 +
42 _sasl_allocation_utils.malloc=m;
43 _sasl_allocation_utils.calloc=c;
44 _sasl_allocation_utils.realloc=r;
45 --- trunk.orig/lib/saslint.h
46 +++ trunk/lib/saslint.h
47 @@ -300,6 +300,7 @@
48
49 extern sasl_allocation_utils_t _sasl_allocation_utils;
50 extern sasl_mutex_utils_t _sasl_mutex_utils;
51 +extern int _sasl_allocation_locked;
52
53 /*
54 * checkpw.c
55 --- trunk.orig/lib/server.c
56 +++ trunk/lib/server.c
57 @@ -698,6 +698,9 @@
58 { NULL, NULL }
59 };
60
61 + /* lock allocation type */
62 + _sasl_allocation_locked++;
63 +
64 /* we require the appname (if present) to be short enough to be a path */
65 if (appname != NULL && strlen(appname) >= PATH_MAX)
66 return SASL_BADPARAM;
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Fix linking with libsasldb.a when saslauthd is built with sasldb
2 support.
3 --- trunk.orig/saslauthd/configure.in
4 +++ trunk/saslauthd/configure.in
5 @@ -77,7 +77,7 @@
6 AC_DEFINE(AUTH_SASLDB,[],[Include SASLdb Support])
7 SASL_DB_PATH_CHECK()
8 SASL_DB_CHECK()
9 - SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.al"
10 + SASL_DB_LIB="$SASL_DB_LIB ../sasldb/.libs/libsasldb.a"
11 fi
12
13 AC_ARG_ENABLE(httpform, [ --enable-httpform enable HTTP form authentication [[no]] ],
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Enable maintainer mode to avoid auto* problems.
2 --- trunk.orig/configure.in
3 +++ trunk/configure.in
4 @@ -62,6 +62,8 @@
5 AM_INIT_AUTOMAKE(cyrus-sasl, 2.1.23)
6 CMU_INIT_AUTOMAKE
7
8 +AM_MAINTAINER_MODE
9 +
10 # and include our config dir scripts
11 ACLOCAL="$ACLOCAL -I \$(top_srcdir)/config"
12
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Enable libtool use.
2 --- trunk.orig/saslauthd/configure.in
3 +++ trunk/saslauthd/configure.in
4 @@ -25,6 +25,7 @@
5 AC_PROG_MAKE_SET
6 AC_PROG_LN_S
7 AC_PROG_INSTALL
8 +AC_PROG_LIBTOOL
9
10 dnl Checks for build foo
11 CMU_C___ATTRIBUTE__
0 Author: Dann Frazier <dannf@debian.org>
1 Description: When _XOPEN_SOURCE is defined, the subsequent #include <unistd.h>
2 will define a correct function prototype for the crypt function. This avoids
3 segfaults on architectures where the size of a pointer is greater than the size
4 of an integer (ia64 and amd64 are examples). This may be detected by looking
5 for build log lines such as the following:
6 auth_shadow.c:183: warning: implicit declaration of function ‘crypt’
7 auth_shadow.c:183: warning: cast to pointer from integer of different size
8 --- trunk.orig/saslauthd/auth_shadow.c
9 +++ trunk/saslauthd/auth_shadow.c
10 @@ -1,3 +1,4 @@
11 +#define _XOPEN_SOURCE
12 #define PWBUFSZ 256 /***SWB***/
13
14 /* MODULE: auth_shadow */
0 Author: Michael Banck <mbanck@debian.org>
1 Description: Include config.h so that MAXHOSTNAMELEN is available when
2 building on hurd-i386.
3 --- trunk.orig/saslauthd/auth_sasldb.c
4 +++ trunk/saslauthd/auth_sasldb.c
5 @@ -41,6 +41,7 @@
6 #include <string.h>
7 #include <stdlib.h>
8 #include <pwd.h>
9 +#include <config.h>
10 /* END PUBLIC DEPENDENCIES */
11
12 #define RETURN(x) return strdup(x)
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: This patch makes sure the non-PIC version of libsasldb.a, which
2 is created out of non-PIC objects, is not going to overwrite the PIC version,
3 which is created out of PIC objects. The PIC version is placed in .libs, and
4 the non-PIC version in the current directory. This ensures that both non-PIC
5 and PIC versions are available in the correct locations.
6 --- trunk.orig/lib/Makefile.am
7 +++ trunk/lib/Makefile.am
8 @@ -76,7 +76,7 @@
9
10 libsasl2.a: libsasl2.la $(SASL_STATIC_OBJS)
11 @echo adding static plugins and dependencies
12 - $(AR) cru .libs/$@ $(SASL_STATIC_OBJS)
13 + $(AR) cru $@ $(SASL_STATIC_OBJS)
14 @for i in ./libsasl2.la ../sasldb/libsasldb.la ../plugins/lib*.la; do \
15 if test ! -f $$i; then continue; fi; . $$i; \
16 for j in $$dependency_libs foo; do \
17 --- trunk.orig/sasldb/Makefile.am
18 +++ trunk/sasldb/Makefile.am
19 @@ -63,6 +63,6 @@
20 EXTRA_libsasldb_a_SOURCES =
21
22 libsasldb.a: libsasldb.la $(SASL_DB_BACKEND_STATIC)
23 - $(AR) cru .libs/$@ $(SASL_DB_BACKEND_STATIC)
24 + $(AR) cru $@ $(SASL_DB_BACKEND_STATIC)
25
26
0 Author: Sam Hocevar <sam@zoy.org>
1 Description: pid_file_lock is created with a mask of 644 instead of 0644. This
2 patch fixes this octal/decimal confusion as well as the (harmless) one in the
3 previous umask() call.
4 --- trunk.orig/saslauthd/saslauthd-main.c
5 +++ trunk/saslauthd/saslauthd-main.c
6 @@ -276,7 +276,7 @@
7 exit(1);
8 }
9
10 - umask(077);
11 + umask(0077);
12
13 pid_file_size = strlen(run_path) + sizeof(PID_FILE_LOCK) + 1;
14 if ((pid_file_lock = malloc(pid_file_size)) == NULL) {
15 @@ -287,7 +287,7 @@
16 strlcpy(pid_file_lock, run_path, pid_file_size);
17 strlcat(pid_file_lock, PID_FILE_LOCK, pid_file_size);
18
19 - if ((pid_file_lock_fd = open(pid_file_lock, O_CREAT|O_TRUNC|O_RDWR, 644)) < 0) {
20 + if ((pid_file_lock_fd = open(pid_file_lock, O_CREAT|O_TRUNC|O_RDWR, 0644)) < 0) {
21 rc = errno;
22 logger(L_ERR, L_FUNC, "could not open pid lock file: %s", pid_file_lock);
23 logger(L_ERR, L_FUNC, "open: %s", strerror(rc));
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Support and build against db4.8.
2 --- trunk.orig/aclocal.m4
3 +++ trunk/aclocal.m4
4 @@ -1741,7 +1741,7 @@
5 fi
6
7 saved_LIBS=$LIBS
8 - for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
9 + for dbname in db-4.8 db4.8 db48 db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
10 do
11 LIBS="$saved_LIBS -l$dbname"
12 AC_TRY_LINK([#include <db.h>],
13 --- trunk.orig/cmulocal/berkdb.m4
14 +++ trunk/cmulocal/berkdb.m4
15 @@ -213,7 +213,7 @@
16 fi
17
18 saved_LIBS=$LIBS
19 - for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
20 + for dbname in db-4.8 db4.8 db48 db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
21 do
22 LIBS="$saved_LIBS -l$dbname"
23 AC_TRY_LINK([#include <db.h>],
24 --- trunk.orig/saslauthd/aclocal.m4
25 +++ trunk/saslauthd/aclocal.m4
26 @@ -2066,7 +2066,7 @@
27 fi
28
29 saved_LIBS=$LIBS
30 - for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
31 + for dbname in db-4.8 db4.8 db48 db-4.7 db4.7 db47 db-4.6 db4.6 db46 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
32 do
33 LIBS="$saved_LIBS -l$dbname"
34 AC_TRY_LINK([#include <db.h>],
0 Author: Fabian Fagerholm <fabbe@debian.org>
1 Description: Avoid infinite loop when username/password has a double quote
2 character.
3 Upstream change: https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sasl/saslauthd/auth_rimap.c.diff?r1=1.12;r2=1.13
4 --- trunk.orig/saslauthd/auth_rimap.c
5 +++ trunk/saslauthd/auth_rimap.c
6 @@ -162,6 +162,7 @@
7 num_quotes = 0;
8 p1 = s;
9 while ((p1 = strchr(p1, '"')) != NULL) {
10 + p1++;
11 num_quotes++;
12 }
13
14 @@ -438,7 +439,7 @@
15 syslog(LOG_WARNING, "auth_rimap: writev: %m");
16 memset(qlogin, 0, strlen(qlogin));
17 free(qlogin);
18 - memset(qpass, 0, strlen(qlogin));
19 + memset(qpass, 0, strlen(qpass));
20 free(qpass);
21 (void)close(s);
22 return strdup(RESP_IERROR);
23 @@ -447,7 +448,7 @@
24 /* don't need these any longer */
25 memset(qlogin, 0, strlen(qlogin));
26 free(qlogin);
27 - memset(qpass, 0, strlen(qlogin));
28 + memset(qpass, 0, strlen(qpass));
29 free(qpass);
30
31 /* read and parse the LOGIN response */
0 Author: Dann Frazier <dannf@debian.org>
1 Description: The function ldap_get_values, used in saslauthd/lak.c, is
2 deprecated. Therefore, its prototype is not included by default when compiling
3 against the ldap.h headers. As a result, the compiler cannot know the return
4 type of the function at compile time, and will implicitly convert to a pointer.
5 This has implications on 64-bit systems. This patch sets the deprecation mode
6 on, so that the function prototype gets included when compiling.
7 (Description by Fabian Fagerholm <fabbe@debian.org>)
8 --- trunk.orig/saslauthd/lak.c
9 +++ trunk/saslauthd/lak.c
10 @@ -55,6 +55,7 @@
11 #include <openssl/des.h>
12 #endif
13
14 +#define LDAP_DEPRECATED 1
15 #include <ldap.h>
16 #include <lber.h>
17 #include <sasl.h>
0 Author: Fabian Fagerholm <fabbe@paniq.net>
1 Description: Disallow mutex function changes once sasl_client_init and/or
2 sasl_server_init is called. Hand-picked and applied change from upstream CVS
3 revision 1.117.
4 --- trunk.orig/lib/common.c
5 +++ trunk/lib/common.c
6 @@ -153,6 +153,12 @@
7 void sasl_set_mutex(sasl_mutex_alloc_t *n, sasl_mutex_lock_t *l,
8 sasl_mutex_unlock_t *u, sasl_mutex_free_t *d)
9 {
10 + /* Disallow mutex function changes once sasl_client_init
11 + and/or sasl_server_init is called */
12 + if (_sasl_server_cleanup_hook || _sasl_client_cleanup_hook) {
13 + return;
14 + }
15 +
16 _sasl_mutex_utils.alloc=n;
17 _sasl_mutex_utils.lock=l;
18 _sasl_mutex_utils.unlock=u;
0 Author: Fabian Fagerholm <fabbe@paniq.net>
1 Description: The #elif preprocessor directive requires a test condition.
2 GCC 4.4 enforces this rule.
3 --- trunk.orig/plugins/digestmd5.c
4 +++ trunk/plugins/digestmd5.c
5 @@ -2715,7 +2715,7 @@
6 "DIGEST-MD5", /* mech_name */
7 #ifdef WITH_RC4
8 128, /* max_ssf */
9 -#elif WITH_DES
10 +#elif defined(WITH_DES)
11 112,
12 #else
13 1,
14 @@ -4034,7 +4034,7 @@
15 "DIGEST-MD5",
16 #ifdef WITH_RC4 /* mech_name */
17 128, /* max ssf */
18 -#elif WITH_DES
19 +#elif defined(WITH_DES)
20 112,
21 #else
22 1,
0 Author: Roberto C. Sanchez <roberto@connexer.com>
1 Description: A patch to allow recognition of Heimdal with the heimdal-multidev
2 package
3 --- trunk.orig/plugins/gssapi.c
4 +++ trunk/plugins/gssapi.c
5 @@ -86,7 +86,7 @@
6
7 static const char * GSSAPI_BLANK_STRING = "";
8
9 -#ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE
10 +#if !defined(HAVE_GSS_C_NT_HOSTBASED_SERVICE) && !defined(GSS_C_NT_HOSTBASED_SERVICE)
11 extern gss_OID gss_nt_service_name;
12 #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
13 #endif
0 Author: Matthias Klose <doko@ubuntu.com>
1 Desription: Fix FTBFS, add $(SASL_DB_LIB) as dependency to libsasldb, and use
2 it.
3 --- trunk.orig/saslauthd/Makefile.am
4 +++ trunk/saslauthd/Makefile.am
5 @@ -16,7 +16,7 @@
6 saslauthd_DEPENDENCIES = saslauthd-main.o @LTLIBOBJS@
7 saslauthd_LDADD = @SASL_KRB_LIB@ \
8 @GSSAPIBASE_LIBS@ @GSSAPI_LIBS@ @LIB_CRYPT@ @LIB_SIA@ \
9 - @LIB_SOCKET@ @SASL_DB_LIB@ @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@
10 + @LIB_SOCKET@ ../sasldb/libsasldb.la @LIB_PAM@ @LDAP_LIBS@ @LTLIBOBJS@
11
12 testsaslauthd_SOURCES = testsaslauthd.c utils.c
13 testsaslauthd_LDADD = @LIB_SOCKET@
14 --- trunk.orig/sasldb/Makefile.am
15 +++ trunk/sasldb/Makefile.am
16 @@ -55,8 +55,8 @@
17
18 libsasldb_la_SOURCES = allockey.c sasldb.h
19 EXTRA_libsasldb_la_SOURCES = $(extra_common_sources)
20 -libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND)
21 -libsasldb_la_LIBADD = $(SASL_DB_BACKEND)
22 +libsasldb_la_DEPENDENCIES = $(SASL_DB_BACKEND) $(SASL_DB_LIB)
23 +libsasldb_la_LIBADD = $(SASL_DB_BACKEND) $(SASL_DB_LIB)
24
25 # Prevent make dist stupidity
26 libsasldb_a_SOURCES =
0 Author: Roberto C. Sanchez <roberto@connexer.com>
1 Description: Drop gratuitous dependency on krb5support
2 --- trunk.orig/aclocal.m4
3 +++ trunk/aclocal.m4
4 @@ -2924,9 +2924,6 @@
5 fi
6
7 if test "$gss_impl" = "auto" -o "$gss_impl" = "mit"; then
8 - # check for libkrb5support first
9 - AC_CHECK_LIB(krb5support,krb5int_getspecific,K5SUP=-lkrb5support K5SUPSTATIC=$gssapi_dir/libkrb5support.a,,${LIB_SOCKET})
10 -
11 gss_failed=0
12 AC_CHECK_LIB(gssapi_krb5,gss_unwrap,gss_impl="mit",gss_failed=1,
13 ${GSSAPIBASE_LIBS} -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ${K5SUP} ${LIB_SOCKET})
14 --- trunk.orig/cmulocal/sasl2.m4
15 +++ trunk/cmulocal/sasl2.m4
16 @@ -110,9 +110,6 @@
17 fi
18
19 if test "$gss_impl" = "auto" -o "$gss_impl" = "mit"; then
20 - # check for libkrb5support first
21 - AC_CHECK_LIB(krb5support,krb5int_getspecific,K5SUP=-lkrb5support K5SUPSTATIC=$gssapi_dir/libkrb5support.a,,${LIB_SOCKET})
22 -
23 gss_failed=0
24 AC_CHECK_LIB(gssapi_krb5,gss_unwrap,gss_impl="mit",gss_failed=1,
25 ${GSSAPIBASE_LIBS} -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ${K5SUP} ${LIB_SOCKET})
26 --- trunk.orig/saslauthd/aclocal.m4
27 +++ trunk/saslauthd/aclocal.m4
28 @@ -1333,9 +1333,6 @@
29 fi
30
31 if test "$gss_impl" = "auto" -o "$gss_impl" = "mit"; then
32 - # check for libkrb5support first
33 - AC_CHECK_LIB(krb5support,krb5int_getspecific,K5SUP=-lkrb5support K5SUPSTATIC=$gssapi_dir/libkrb5support.a,,${LIB_SOCKET})
34 -
35 gss_failed=0
36 AC_CHECK_LIB(gssapi_krb5,gss_unwrap,gss_impl="mit",gss_failed=1,
37 ${GSSAPIBASE_LIBS} -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ${K5SUP} ${LIB_SOCKET})
0 0001_versioned_symbols.diff
1 0002_testsuite.diff
2 0003_saslauthd_mdoc.diff
3 0004_missing_man_pages.diff
4 0005_dbconverter.diff
5 0006_library_mutexes.diff
6 0007_manpages_section.diff
7 0008_one_time_sasl_set_alloc.diff
8 0009_sasldb_al.diff
9 0010_maintainer_mode.diff
10 0011_saslauthd_ac_prog_libtool.diff
11 0012_xopen_crypt_prototype.diff
12 0013_fix_hurd_build.diff
13 0014_avoid_pic_overwrite.diff
14 0016_pid_file_lock_creation_mask.diff
15 0017_db4.8.diff
16 0018_auth_rimap_quotes.diff
17 0019_ldap_deprecated.diff
18 0021_no_mutex_changes_after_init.diff
19 0022_gcc4.4_preprocessor_syntax.diff
20 0024_allow_detection_of_heimdal.diff
21 0025_ld_as_needed.diff
22 0026_drop_krb5support_dependency.diff
0 [type: gettext/rfc822deb] sasl2-bin.templates
0 # Czech translation of cyrus-sasl2 debconf messages.
1 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the cyrus-sasl2 package.
3 # Miroslav Kure <kurem@debian.cz>, 2007.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: cyrus-sasl2\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2007-10-15 18:15+0200\n"
11 "Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
12 "Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #. Type: boolean
18 #. Description
19 #: ../sasl2-bin.templates:2001
20 msgid "Remove /etc/sasldb2?"
21 msgstr "Odstranit /etc/sasldb2?"
22
23 #. Type: boolean
24 #. Description
25 #: ../sasl2-bin.templates:2001
26 msgid ""
27 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
28 "file."
29 msgstr ""
30 "Cyrus SASL může do databáze v souboru /etc/sasldb2 ukládat uživatelská jména "
31 "a hesla."
32
33 #. Type: boolean
34 #. Description
35 #: ../sasl2-bin.templates:2001
36 msgid ""
37 "If important data is stored in that file, you should back it up now or "
38 "choose not to remove the file."
39 msgstr ""
40 "Pokud se v tomto souboru nachází důležitá data, měli byste je buď "
41 "zazálohovat, nebo soubor neodstraňovat."
42
43 #. Type: string
44 #. Description
45 #: ../sasl2-bin.templates:3001
46 msgid "Backup file name for /etc/sasldb2:"
47 msgstr "Jméno záložního souboru pro /etc/sasldb2:"
48
49 #. Type: string
50 #. Description
51 #: ../sasl2-bin.templates:3001
52 msgid ""
53 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
54 "file."
55 msgstr ""
56 "Cyrus SASL si ukládá uživatelská jména a hesla do databázového souboru /etc/"
57 "sasldb2."
58
59 #. Type: string
60 #. Description
61 #: ../sasl2-bin.templates:3001
62 msgid ""
63 "That file has to be upgraded to a newer database format. First, a backup of "
64 "the current file will be created. You can use that if you need to manually "
65 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
66 msgstr ""
67 "Formát této databáze se musí aktualizovat na novější verzi. Nejprve se "
68 "vytvoří záloha stávajícího souboru, kterou můžete využít třeba při návratu k "
69 "původní verzi Cyrus SASL. (Přechod na nižší verze však neprobíhá "
70 "automaticky.)"
71
72 #. Type: string
73 #. Description
74 #: ../sasl2-bin.templates:3001
75 msgid ""
76 "Please specify the backup file name. You should check the available disk "
77 "space in that location. If the backup file already exists, it will be "
78 "overwritten. Leaving this field empty will select the default value (/var/"
79 "backups/sasldb2.bak)."
80 msgstr ""
81 "Zadejte prosím jméno záložního souboru. Měli byste se přesvědčit, že je na "
82 "zvoleném umístění dostatek volného místa. Pokud již zadaný soubor existuje, "
83 "bude přepsán. Ponecháte-li pole prázdné, použije se výchozí hodnota /var/"
84 "backups/sasldb2.bak."
85
86 #. Type: error
87 #. Description
88 #: ../sasl2-bin.templates:4001
89 msgid "Failed to back up /etc/sasldb2"
90 msgstr "Nepodařilo se zazálohovat /etc/sasldb2"
91
92 #. Type: error
93 #. Description
94 #: ../sasl2-bin.templates:4001
95 msgid ""
96 "The /etc/sasldb2 file could not be backed up with the file name you "
97 "specified."
98 msgstr "Soubor /etc/sasldb2 nemohl být pod zadaným jménem zazálohován."
99
100 #. Type: error
101 #. Description
102 #. Type: error
103 #. Description
104 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
105 msgid "This is a fatal error and will cause the package installation to fail."
106 msgstr "Jedná se o kritickou chybu, která způsobí, že instalace balíku selže."
107
108 #. Type: error
109 #. Description
110 #: ../sasl2-bin.templates:4001
111 msgid ""
112 "Please eliminate all possible reasons that might lead to this failure, and "
113 "try to configure this package again."
114 msgstr ""
115 "Pokuste se omezit všechny možné příčiny této chyby a zkuste balík znovu "
116 "nakonfigurovat."
117
118 #. Type: error
119 #. Description
120 #: ../sasl2-bin.templates:5001
121 msgid "Failed to upgrade /etc/sasldb2"
122 msgstr "Nepodařilo se aktualizovat /etc/sasldb2"
123
124 #. Type: error
125 #. Description
126 #: ../sasl2-bin.templates:5001
127 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
128 msgstr "Soubor /etc/sasldb2 nemohl být aktualizován na nový formát databáze."
129
130 #. Type: error
131 #. Description
132 #: ../sasl2-bin.templates:5001
133 msgid ""
134 "The configuration process will attempt to restore the backup of this file to "
135 "its original location."
136 msgstr ""
137 "Konfigurační proces se pokusí obnovit zálohu tohoto souboru do původního "
138 "umístění."
139
140 #. Type: error
141 #. Description
142 #: ../sasl2-bin.templates:5001
143 msgid ""
144 "Please eliminate all possible reasons that might lead to this failure, then "
145 "try to configure this package again."
146 msgstr ""
147 "Pokuste se omezit všechny možné příčiny této chyby a pak zkuste balík znovu "
148 "nakonfigurovat."
0 # Danish translation cyrus-sasl2.
1 # Copyright (C) 2010 cyrus-sasl2 & nedenstående oversættere.
2 # This file is distributed under the same license as the cyrus-sasl2 package.
3 # Joe Hansen <joedalton2@yahoo.dk>, 2010.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: cyrus-sasl2\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2010-06-11 17:30+01:00\n"
11 "Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
12 "Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #. Type: boolean
18 #. Description
19 #: ../sasl2-bin.templates:2001
20 msgid "Remove /etc/sasldb2?"
21 msgstr "Fjern /etc/sas1db2?"
22
23 #. Type: boolean
24 #. Description
25 #: ../sasl2-bin.templates:2001
26 msgid ""
27 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
28 "file."
29 msgstr ""
30 "Cyrus SASL kan gemme brugernavne og adgangskoder i databasefilen "
31 "/etc/sasldb2."
32
33 #. Type: boolean
34 #. Description
35 #: ../sasl2-bin.templates:2001
36 msgid ""
37 "If important data is stored in that file, you should back it up now or "
38 "choose not to remove the file."
39 msgstr ""
40 "Hvis vigtigt data gemmes i den fil, skal du lave en sikkerhedskopi af den "
41 "nu eller vælge ikke at fjerne filen."
42
43 #. Type: string
44 #. Description
45 #: ../sasl2-bin.templates:3001
46 msgid "Backup file name for /etc/sasldb2:"
47 msgstr "Navn på sikkerhedskopi til /etc/sasldb2:"
48
49 #. Type: string
50 #. Description
51 #: ../sasl2-bin.templates:3001
52 msgid ""
53 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
54 "file."
55 msgstr ""
56 "Cyrus SASL har gemt brugernavne og adgangskoder i databasefilen /etc/sasldb2."
57
58 #. Type: string
59 #. Description
60 #: ../sasl2-bin.templates:3001
61 msgid ""
62 "That file has to be upgraded to a newer database format. First, a backup of "
63 "the current file will be created. You can use that if you need to manually "
64 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
65 msgstr ""
66 "Den fil er blevet opgraderet til et nyere databaseformat. Først vil en "
67 "sikkerhedskopi af den aktuelle fil blive oprettet. Du kan bruge den, hvis "
68 "du manuelt skal nedgradere Cyrus SASL. Bemærk dog, at automatiske nedgraderinger "
69 "ikke er understøttet."
70
71 #. Type: string
72 #. Description
73 #: ../sasl2-bin.templates:3001
74 msgid ""
75 "Please specify the backup file name. You should check the available disk "
76 "space in that location. If the backup file already exists, it will be "
77 "overwritten. Leaving this field empty will select the default value (/var/"
78 "backups/sasldb2.bak)."
79 msgstr ""
80 "Angiv venligst navnet på sikkerhedskopien. Du skal tjekke tilgængelig diskplads "
81 "på den placering. Hvis sikkerhedskopien allerede findes, vil den blive "
82 "overskrevet. Et tomt felt her vil medføre valg af standardværdien (/var/"
83 "backups/sasldb2.bak)."
84
85 #. Type: error
86 #. Description
87 #: ../sasl2-bin.templates:4001
88 msgid "Failed to back up /etc/sasldb2"
89 msgstr "Kunne ikke lave sikkerhedskopi af /etc/sasldb2"
90
91 #. Type: error
92 #. Description
93 #: ../sasl2-bin.templates:4001
94 msgid ""
95 "The /etc/sasldb2 file could not be backed up with the file name you "
96 "specified."
97 msgstr ""
98 "Filen /etc/sasldb2 kunne ikke sikkerhedskopieres med det angivne "
99 "navn."
100
101 #. Type: error
102 #. Description
103 #. Type: error
104 #. Description
105 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
106 msgid "This is a fatal error and will cause the package installation to fail."
107 msgstr "Dette er en fatal fejl; og vil medføre at pakkeinstallationen mislykkes."
108
109 #. Type: error
110 #. Description
111 #: ../sasl2-bin.templates:4001
112 msgid ""
113 "Please eliminate all possible reasons that might lead to this failure, and "
114 "try to configure this package again."
115 msgstr ""
116 "Eliminer venligst alle mulige årsager som kan føre til denne fejl, og forsøg igen "
117 "at konfigurere denne pakke."
118
119 #. Type: error
120 #. Description
121 #: ../sasl2-bin.templates:5001
122 msgid "Failed to upgrade /etc/sasldb2"
123 msgstr "Kunne ikke opgradere /etc/sasldb2"
124
125 #. Type: error
126 #. Description
127 #: ../sasl2-bin.templates:5001
128 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
129 msgstr "Filen /etc/sasldb2 kunne ikke opgraderes til det nye databaseformat."
130
131 #. Type: error
132 #. Description
133 #: ../sasl2-bin.templates:5001
134 msgid ""
135 "The configuration process will attempt to restore the backup of this file to "
136 "its original location."
137 msgstr ""
138 "Konfigurationsprocessen vil forsøge at gendanne sikkerhedskopien for denne fil "
139 "til dens oprindelige placering."
140
141 #. Type: error
142 #. Description
143 #: ../sasl2-bin.templates:5001
144 msgid ""
145 "Please eliminate all possible reasons that might lead to this failure, then "
146 "try to configure this package again."
147 msgstr ""
148 "Eliminer venligst alle mulige årsager som kan føre til denne fejl, forsøg så "
149 "at konfigurere denne pakke igen."
150
0 # Translations file for cyrus-sasl2.
1 # Copyright (C) 2007 Fabian Fagerholm
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # Note that Cyrus SASL itself is published under a different license.
9 #
10 # Fabian Fagerholm <fabbe@debian.org>, 2007.
11 # Helge Kreutzmann <debian@helgefjell.de>, 2007.
12 #
13 msgid ""
14 msgstr ""
15 "Project-Id-Version: cyrus-sasl2 2.1.22.dfsg1-16\n"
16 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
17 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
18 "PO-Revision-Date: 2007-10-06 22:40+0200\n"
19 "Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
20 "Language-Team: German <debian-l10n-german@lists.debian.org>\n"
21 "MIME-Version: 1.0\n"
22 "Content-Type: text/plain; charset=ISO-8859-15\n"
23 "Content-Transfer-Encoding: 8bit\n"
24
25 #. Type: boolean
26 #. Description
27 #: ../sasl2-bin.templates:2001
28 msgid "Remove /etc/sasldb2?"
29 msgstr "/etc/sasldb2 entfernen?"
30
31 #. Type: boolean
32 #. Description
33 #: ../sasl2-bin.templates:2001
34 msgid ""
35 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
36 "file."
37 msgstr ""
38 "Cyrus SASL kann Benutzernamen und Passwörter in der Datenbankdatei /etc/"
39 "sasldb2 speichern."
40
41 #. Type: boolean
42 #. Description
43 #: ../sasl2-bin.templates:2001
44 msgid ""
45 "If important data is stored in that file, you should back it up now or "
46 "choose not to remove the file."
47 msgstr ""
48 "Falls wichtige Daten in dieser Datei gespeichert werden, sollten Sie jetzt "
49 "eine Sicherungskopie anlegen oder auswählen, dass die Datei nicht entfernt "
50 "wird."
51
52 #. Type: string
53 #. Description
54 #: ../sasl2-bin.templates:3001
55 msgid "Backup file name for /etc/sasldb2:"
56 msgstr "Name der Sicherungskopie für /etc/sasldb2:"
57
58 #. Type: string
59 #. Description
60 #: ../sasl2-bin.templates:3001
61 msgid ""
62 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
63 "file."
64 msgstr ""
65 "Cyrus SASL hatte Benutzernamen und Passwörter in der Datenbankdatei /etc/"
66 "sasldb2 gespeichert."
67
68 #. Type: string
69 #. Description
70 #: ../sasl2-bin.templates:3001
71 msgid ""
72 "That file has to be upgraded to a newer database format. First, a backup of "
73 "the current file will be created. You can use that if you need to manually "
74 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
75 msgstr ""
76 "Es muss ein Upgrade dieser Datei auf ein neueres Datenbankformat vorgenommen "
77 "werden. Vorher wird eine Sicherungskopie der Datei erstellt. Sie können "
78 "diese verwenden, falls Sie Cyrus SASL aus irgendeinem Grund auf eine ältere "
79 "Version deaktualisieren möchten. Beachten Sie, dass automatische "
80 "Deaktualisierungen nicht unterstützt werden."
81
82 #. Type: string
83 #. Description
84 #: ../sasl2-bin.templates:3001
85 msgid ""
86 "Please specify the backup file name. You should check the available disk "
87 "space in that location. If the backup file already exists, it will be "
88 "overwritten. Leaving this field empty will select the default value (/var/"
89 "backups/sasldb2.bak)."
90 msgstr ""
91 "Bitte geben Sie den Namen der Sicherungskopie an. Sie sollten überprüfen, "
92 "dass an diesem Platz genug verfügbarer Plattenplatz vorhanden ist. Falls die "
93 "Sicherungsdatei bereits existiert, wird sie überschrieben. Falls Sie das "
94 "Feld leer lassen, wird der Vorgabewert (/var/backups/sasldb2.bak) verwendet."
95
96 #. Type: error
97 #. Description
98 #: ../sasl2-bin.templates:4001
99 msgid "Failed to back up /etc/sasldb2"
100 msgstr "Fehler beim Sichern von /etc/sasldb2"
101
102 #. Type: error
103 #. Description
104 #: ../sasl2-bin.templates:4001
105 msgid ""
106 "The /etc/sasldb2 file could not be backed up with the file name you "
107 "specified."
108 msgstr ""
109 "Die Datei /etc/sasldb2 konnte nicht mit dem von Ihnen angegebenen Dateinamen "
110 "gesichert werden."
111
112 #. Type: error
113 #. Description
114 #. Type: error
115 #. Description
116 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
117 msgid "This is a fatal error and will cause the package installation to fail."
118 msgstr "Dieser Fehler ist fatal und die Paketinstallation wird fehlschlagen."
119
120 #. Type: error
121 #. Description
122 #: ../sasl2-bin.templates:4001
123 msgid ""
124 "Please eliminate all possible reasons that might lead to this failure, and "
125 "try to configure this package again."
126 msgstr ""
127 "Bitte beseitigen Sie alle möglichen Gründe, die zu diesem Fehler geführt "
128 "haben könnten und versuchen Sie, das Paket noch einmal zu konfigurieren."
129
130 #. Type: error
131 #. Description
132 #: ../sasl2-bin.templates:5001
133 msgid "Failed to upgrade /etc/sasldb2"
134 msgstr "Upgrade von /etc/sasldb2 fehlgeschlagen"
135
136 #. Type: error
137 #. Description
138 #: ../sasl2-bin.templates:5001
139 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
140 msgstr ""
141 "Es konnte kein Upgrade der Datei /etc/sasldb2 auf das neue Datenbankformat "
142 "vorgenommen werden."
143
144 #. Type: error
145 #. Description
146 #: ../sasl2-bin.templates:5001
147 msgid ""
148 "The configuration process will attempt to restore the backup of this file to "
149 "its original location."
150 msgstr ""
151 "Der Konfigurationsprozess wird versuchen, die Sicherungskopie dieser Datei "
152 "an dem Ursprungsort wiederherzustellen."
153
154 #. Type: error
155 #. Description
156 #: ../sasl2-bin.templates:5001
157 msgid ""
158 "Please eliminate all possible reasons that might lead to this failure, then "
159 "try to configure this package again."
160 msgstr ""
161 "Bitte beseitigen Sie alle möglichen Gründe, die zu diesem Fehler geführt "
162 "haben könnten, versuchen Sie dann, das Paket noch einmal zu konfigurieren."
163
164 #~ msgid ""
165 #~ "Cyrus SASL can store usernames and passwords in the database file /etc/"
166 #~ "sasldb2. If you have stored important data in that file, then please make "
167 #~ "a backup now or choose not to remove the file."
168 #~ msgstr ""
169 #~ "Cyrus SASL kann Benutzernamen und Passwörter in der Datenbankdatei /etc/"
170 #~ "sasldb2 speichern. Falls Sie wichtige Daten in dieser Datei gespeichert "
171 #~ "haben, dann erstellen Sie jetzt eine Sicherungskopie oder lassen Sie die "
172 #~ "Datei nicht entfernen."
173
174 #~ msgid ""
175 #~ "If you have not stored important data in that file, it's safe to remove "
176 #~ "it."
177 #~ msgstr ""
178 #~ "Falls Sie keine wichtigen Daten in dieser Datei gespeichert haben, kann "
179 #~ "sie problemlos entfernt werden."
180
181 #~ msgid ""
182 #~ "Please eliminate all possible reasons that might lead to this failure, "
183 #~ "such as exhausted disk space, and then try to configure this package "
184 #~ "again."
185 #~ msgstr ""
186 #~ "Bitte beseitigen Sie alle möglichen Gründe, die zu diesem Fehler geführt "
187 #~ "haben könnten, wie beispielsweise ungenügender Plattenplatz, und "
188 #~ "versuchen Sie dann, das Paket noch einmal zu konfigurieren."
189
190 #~ msgid ""
191 #~ "For some reason, /etc/sasldb2 could not be upgraded to the new database "
192 #~ "format. This is a fatal error and will cause the package installation to "
193 #~ "fail. An attempt will be made to restore the backup of /etc/sasldb2 to "
194 #~ "its original location."
195 #~ msgstr ""
196 #~ "Aus irgendeinem Grund konnte kein Upgrade von /etc/sasldb2 auf das neue "
197 #~ "Datenbankformat durchgeführt werden. Dieser Fehler ist fatal und führt "
198 #~ "dazu, dass die Paketinstallation fehlschlägt. Es wird versucht, die "
199 #~ "Sicherungskopie von /etc/sasldb2 an seinem ursprünglichen Ort "
200 #~ "wiederherzustellen."
0 # Translations file for cyrus-sasl2.
1 # Copyright 2007 Fabian Fagerholm
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # Note that Cyrus SASL itself is published under a different license.
9 #
10 # Fabian Fagerholm <fabbe@debian.org>, 2007.
11 #
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: cyrus-sasl 2.1.22\n"
15 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
16 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
17 "PO-Revision-Date: 2007-09-07 22:04-0500\n"
18 "Last-Translator: Roberto C. Sánchez <roberto@connexer.com>\n"
19 "Language-Team: Spanish\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
24
25 #. Type: boolean
26 #. Description
27 #: ../sasl2-bin.templates:2001
28 msgid "Remove /etc/sasldb2?"
29 msgstr "Remover /etc/sasldb2?"
30
31 #. Type: boolean
32 #. Description
33 #: ../sasl2-bin.templates:2001
34 msgid ""
35 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
36 "file."
37 msgstr ""
38 "Cyrus SASL puede guardar nombres de usuarios y contraseñas en el fichero "
39 "base de datos /etc/sasldb2."
40
41 #. Type: boolean
42 #. Description
43 #: ../sasl2-bin.templates:2001
44 msgid ""
45 "If important data is stored in that file, you should back it up now or "
46 "choose not to remove the file."
47 msgstr ""
48 "Si datos importantes estan guardados en ese fichero, debes hacer una copia "
49 "de seguridad ahora o escoga no remover el fichero."
50
51 #. Type: string
52 #. Description
53 #: ../sasl2-bin.templates:3001
54 msgid "Backup file name for /etc/sasldb2:"
55 msgstr "Nombre de fichero para la copia de seguridad de /etc/sasldb2."
56
57 #. Type: string
58 #. Description
59 #: ../sasl2-bin.templates:3001
60 msgid ""
61 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
62 "file."
63 msgstr ""
64 "Cyrus SASL ha guardo nombres de usuarios y contraseñas en el fichero base de "
65 "datos /etc/sasldb2."
66
67 #. Type: string
68 #. Description
69 #: ../sasl2-bin.templates:3001
70 msgid ""
71 "That file has to be upgraded to a newer database format. First, a backup of "
72 "the current file will be created. You can use that if you need to manually "
73 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
74 msgstr ""
75 "Ese fichero tiene que ser actualizado a un formato nuevo de base de datos. "
76 "Antes de hacer eso, se haria una copia de seguridad del fichero actual. "
77 "Usted puede usar eso si tiene que manualmente degradar a Cyrus SASL. Nótese "
78 "que degradar automaticamente no es soportado."
79
80 #. Type: string
81 #. Description
82 #: ../sasl2-bin.templates:3001
83 msgid ""
84 "Please specify the backup file name. You should check the available disk "
85 "space in that location. If the backup file already exists, it will be "
86 "overwritten. Leaving this field empty will select the default value (/var/"
87 "backups/sasldb2.bak)."
88 msgstr ""
89 "Por favor indique el nombre de la copia de seguridad. Usted debe comprobar "
90 "que existe suficiente espacio libre en ese lugar. Si la copia de seguridad "
91 "ya existe en ese lugar, será sobreescrito. Un nombre vacío selecciona el "
92 "nombre de omisión (/var/backups/sasldb2.bak)."
93
94 #. Type: error
95 #. Description
96 #: ../sasl2-bin.templates:4001
97 msgid "Failed to back up /etc/sasldb2"
98 msgstr "Falló crear la copia de seguridad de /etc/sasldb2."
99
100 #. Type: error
101 #. Description
102 #: ../sasl2-bin.templates:4001
103 msgid ""
104 "The /etc/sasldb2 file could not be backed up with the file name you "
105 "specified."
106 msgstr ""
107 "No se pudo hacer una copia de seguridad del fichero /etc/sasldb2 con el "
108 "nombre de fichero indicado."
109
110 #. Type: error
111 #. Description
112 #. Type: error
113 #. Description
114 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
115 msgid "This is a fatal error and will cause the package installation to fail."
116 msgstr ""
117 "Esto es un error fatál and causará la instalación del paquete a fallar."
118
119 #. Type: error
120 #. Description
121 #: ../sasl2-bin.templates:4001
122 msgid ""
123 "Please eliminate all possible reasons that might lead to this failure, and "
124 "try to configure this package again."
125 msgstr ""
126 "Por favor elimine todas las razones posibles que podrán llegar a este fallo, "
127 "e intente a configurar el paquete otra vez."
128
129 #. Type: error
130 #. Description
131 #: ../sasl2-bin.templates:5001
132 msgid "Failed to upgrade /etc/sasldb2"
133 msgstr "Falló actualizar /etc/sasldb2."
134
135 #. Type: error
136 #. Description
137 #: ../sasl2-bin.templates:5001
138 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
139 msgstr ""
140 "El fichero /etc/sasldb2 no pudo ser actualizado al formato nuevo de base de "
141 "datos."
142
143 #. Type: error
144 #. Description
145 #: ../sasl2-bin.templates:5001
146 msgid ""
147 "The configuration process will attempt to restore the backup of this file to "
148 "its original location."
149 msgstr ""
150 "El proceso de configuración intentará restablecer la copia de seguridad de "
151 "este fichero a su lugar original."
152
153 #. Type: error
154 #. Description
155 #: ../sasl2-bin.templates:5001
156 msgid ""
157 "Please eliminate all possible reasons that might lead to this failure, then "
158 "try to configure this package again."
159 msgstr ""
160 "Por favor elimine todas las razones posibles que podrán llegar a este fallo, "
161 "entonces intente a configurar el paquete otra vez."
0 # translation of templates.po to Euskara
1 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the PACKAGE package.
3 #
4 # Piarres Beobide <pi@beobide.net>, 2008.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: templates\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2008-05-16 22:23+0200\n"
11 "Last-Translator: Piarres Beobide <pi@beobide.net>\n"
12 "Language-Team: Euskara <debian-l10n-basque@lists.debian.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "X-Generator: KBabel 1.11.4\n"
17
18 #. Type: boolean
19 #. Description
20 #: ../sasl2-bin.templates:2001
21 msgid "Remove /etc/sasldb2?"
22 msgstr "/etc/sasldb2 kendu?"
23
24 #. Type: boolean
25 #. Description
26 #: ../sasl2-bin.templates:2001
27 msgid ""
28 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
29 "file."
30 msgstr "Cyrus SASL-ek erabiltzaile-izen eta pasahitzak /etc/sasldb2 datu-base fitxategian gorde ditzake."
31
32 #. Type: boolean
33 #. Description
34 #: ../sasl2-bin.templates:2001
35 msgid ""
36 "If important data is stored in that file, you should back it up now or "
37 "choose not to remove the file."
38 msgstr ""
39 "Fitxategi honetan datu garrantzizkoak gordetzen badira, fitxategi horren "
40 "babeskopia egin eta ez ezabatzea hautatu beharko zenuke."
41
42 #. Type: string
43 #. Description
44 #: ../sasl2-bin.templates:3001
45 msgid "Backup file name for /etc/sasldb2:"
46 msgstr "/etc/sasldb2-ren babeskopia fitxategiaren izena:"
47
48 #. Type: string
49 #. Description
50 #: ../sasl2-bin.templates:3001
51 msgid ""
52 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
53 "file."
54 msgstr "Cyrus SASL-ek erabiltzaile-izen eta pasahitzak /etc/sasldb2 datu-base fitxategian gorde ditu."
55
56 #. Type: string
57 #. Description
58 #: ../sasl2-bin.templates:3001
59 msgid ""
60 "That file has to be upgraded to a newer database format. First, a backup of "
61 "the current file will be created. You can use that if you need to manually "
62 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
63 msgstr "Fitxategi hau datu-base formatu berriago batetara eguneratu behar da. Lehenengo uneko fitxategiaren babeskopia bat sortuko da. Zuk hori beharko duzu Cyrus SASL eskuz bertsio-atzeratu nahi baduzu. Baina bertsio-atzeratze automatikoak ez dira onartzen."
64
65 #. Type: string
66 #. Description
67 #: ../sasl2-bin.templates:3001
68 msgid ""
69 "Please specify the backup file name. You should check the available disk "
70 "space in that location. If the backup file already exists, it will be "
71 "overwritten. Leaving this field empty will select the default value (/var/"
72 "backups/sasldb2.bak)."
73 msgstr ""
74 "Mesedez zehaztu babeskopia fitxategi izena. Kokaleku horretan dagoen disko "
75 "leku erabilgarria egiaztatu beharko zenuke. Babeskopia fitxategia dagoeneko badago gainidatzia izango da. Eremu hau zurian uzten baduzu lehenetsiriko izena erabiliko da (/var/backup/sasldb2.bak)."
76
77 #. Type: error
78 #. Description
79 #: ../sasl2-bin.templates:4001
80 msgid "Failed to back up /etc/sasldb2"
81 msgstr "Huts /etc/sasldb2-ren babeskopia egitean"
82
83 #. Type: error
84 #. Description
85 #: ../sasl2-bin.templates:4001
86 msgid ""
87 "The /etc/sasldb2 file could not be backed up with the file name you "
88 "specified."
89 msgstr "Ezin da /etc/sasldb2 fitxategiaren babeskopia zuk zehaztutako izenarekin egin."
90
91 #. Type: error
92 #. Description
93 #. Type: error
94 #. Description
95 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
96 msgid "This is a fatal error and will cause the package installation to fail."
97 msgstr "Hau errore konponezin bat da eta pakete instalazioak huts egitea eragingo du."
98
99 #. Type: error
100 #. Description
101 #: ../sasl2-bin.templates:4001
102 msgid ""
103 "Please eliminate all possible reasons that might lead to this failure, and "
104 "try to configure this package again."
105 msgstr ""
106 "Mesedez konpondu errore honetara eraman duen arrazoia eta saiatu "
107 "paketea berriz konfiguratzen."
108
109 #. Type: error
110 #. Description
111 #: ../sasl2-bin.templates:5001
112 msgid "Failed to upgrade /etc/sasldb2"
113 msgstr "Huts /etc/sasldb2 bertsio-berritzeko"
114
115 #. Type: error
116 #. Description
117 #: ../sasl2-bin.templates:5001
118 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
119 msgstr "/etc/sasldb2 fitxategia ezin izan da datu-base formatu berrira bertsio-berritu."
120
121 #. Type: error
122 #. Description
123 #: ../sasl2-bin.templates:5001
124 msgid ""
125 "The configuration process will attempt to restore the backup of this file to "
126 "its original location."
127 msgstr "Konfigurazio prozesuak fitxategi honen babeskopia bere jatorrizko lekura berreskuratzen saiatuko da."
128
129 #. Type: error
130 #. Description
131 #: ../sasl2-bin.templates:5001
132 msgid ""
133 "Please eliminate all possible reasons that might lead to this failure, then "
134 "try to configure this package again."
135 msgstr ""
136 "Mesedez konpondu errore honetara eraman duen arrazoia, orduan saiatu "
137 "paketea berriz konfiguratzen."
138
0 msgid ""
1 msgstr ""
2 "Project-Id-Version: \n"
3 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
4 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
5 "PO-Revision-Date: 2007-10-08 18:23+0200\n"
6 "Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
7 "Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
8 "MIME-Version: 1.0\n"
9 "Content-Type: text/plain; charset=utf-8\n"
10 "Content-Transfer-Encoding: 8bit\n"
11 "X-Poedit-Language: Finnish\n"
12 "X-Poedit-Country: FINLAND\n"
13
14 #. Type: boolean
15 #. Description
16 #: ../sasl2-bin.templates:2001
17 msgid "Remove /etc/sasldb2?"
18 msgstr "Poistetaanko /etc/sasldb2?"
19
20 #. Type: boolean
21 #. Description
22 #: ../sasl2-bin.templates:2001
23 msgid ""
24 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
25 "file."
26 msgstr ""
27 "Cyrus SASL voi tallentaa käyttäjätunnukset ja salasanat "
28 "tietokantatiedostoon /etc/sasldb2."
29
30 #. Type: boolean
31 #. Description
32 #: ../sasl2-bin.templates:2001
33 msgid ""
34 "If important data is stored in that file, you should back it up now or "
35 "choose not to remove the file."
36 msgstr ""
37 "Jos kyseiseen tiedostoon on tallennettu tärkeää tietoa, älä poista tiedostoa "
38 "tai kopioi se talteen."
39
40 #. Type: string
41 #. Description
42 #: ../sasl2-bin.templates:3001
43 msgid "Backup file name for /etc/sasldb2:"
44 msgstr "Tiedoston /etc/sasldb2 varmuuskopiotiedosto:"
45
46 #. Type: string
47 #. Description
48 #: ../sasl2-bin.templates:3001
49 msgid ""
50 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
51 "file."
52 msgstr ""
53 "Cyrus SASL on tallentanut käyttäjätunnuksia ja salasanoja "
54 "tietokantatiedostoon /etc/sasldb2."
55
56 #. Type: string
57 #. Description
58 #: ../sasl2-bin.templates:3001
59 msgid ""
60 "That file has to be upgraded to a newer database format. First, a backup of "
61 "the current file will be created. You can use that if you need to manually "
62 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
63 msgstr ""
64 "Kyseinen tiedosto pitää päivittää uudempaan tietokantamuotoon. Ensin "
65 "tiedoston nykyisestä versiosta tehdään varmuuskopio. Sitä voidaan käyttää, "
66 "jos on tarpeen manuaalisesti varhentaa käytettävää Cyrus SASLin versiota. "
67 "Automaattisia varhennuksia ei kuitenkaan tueta."
68
69 #. Type: string
70 #. Description
71 #: ../sasl2-bin.templates:3001
72 msgid ""
73 "Please specify the backup file name. You should check the available disk "
74 "space in that location. If the backup file already exists, it will be "
75 "overwritten. Leaving this field empty will select the default value (/var/"
76 "backups/sasldb2.bak)."
77 msgstr ""
78 "Anna varmuuskopiotiedoston nimi. Varmista, että levyllä on tarpeeksi tilaa "
79 "kyseisessä paikassa. Jos varmuuskopiotiedosto on jo olemassa, uusi "
80 "kirjoitetaan sen päälle. Jos jätät kentän tyhjäksi, käytetään oletusarvoa (/"
81 "var/backups/sasldb2.bak)."
82
83 #. Type: error
84 #. Description
85 #: ../sasl2-bin.templates:4001
86 msgid "Failed to back up /etc/sasldb2"
87 msgstr "Varmuuskopion teko tiedostosta /etc/sasldb2 epäonnistui."
88
89 #. Type: error
90 #. Description
91 #: ../sasl2-bin.templates:4001
92 msgid ""
93 "The /etc/sasldb2 file could not be backed up with the file name you "
94 "specified."
95 msgstr ""
96 "Tiedostoa /etc/sasldb2 voi voitu kopioida tiedostonimelle, jonka annoit."
97
98 #. Type: error
99 #. Description
100 #. Type: error
101 #. Description
102 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
103 msgid "This is a fatal error and will cause the package installation to fail."
104 msgstr ""
105 "Tämä on vakava virhe ja aiheuttaa sen, että paketin asennus epäonnistuu."
106
107 #. Type: error
108 #. Description
109 #: ../sasl2-bin.templates:4001
110 msgid ""
111 "Please eliminate all possible reasons that might lead to this failure, and "
112 "try to configure this package again."
113 msgstr ""
114 "Poista kaikki mahdolliset syyt, jotka ovat voineet johtaa tähän "
115 "epäonnistumiseen ja yritä tehdä uudelleen tämän paketin asetukset."
116
117 #. Type: error
118 #. Description
119 #: ../sasl2-bin.templates:5001
120 msgid "Failed to upgrade /etc/sasldb2"
121 msgstr "Tiedoston /etc/sasldb2 päivitys epäonnistui"
122
123 #. Type: error
124 #. Description
125 #: ../sasl2-bin.templates:5001
126 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
127 msgstr "Tiedostoa /etc/sasldb2 ei voitu päivittää uuteen tietokantamuotoon."
128
129 #. Type: error
130 #. Description
131 #: ../sasl2-bin.templates:5001
132 msgid ""
133 "The configuration process will attempt to restore the backup of this file to "
134 "its original location."
135 msgstr ""
136 "Asennusprosessi yrittää palauttaa tiedoston varmuuskopion alkuperäiseen "
137 "sijaintiinsa."
138
139 #. Type: error
140 #. Description
141 #: ../sasl2-bin.templates:5001
142 msgid ""
143 "Please eliminate all possible reasons that might lead to this failure, then "
144 "try to configure this package again."
145 msgstr ""
146 "Poista kaikki mahdolliset syyt, jotka ovat voineet johtaa tähän "
147 "epäonnistumiseen ja yritä tehdä uudelleen tämän paketin asetukset."
0 # Translation file for cyrus-sasl2.
1 # Copyright (C) 2007 Odile Bénassy
2 # This file is licensed under the same license as the cyrus-sasl2
3 # package.
4 # Vincent Bernat <bernat@luffy.cx>, 2007.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: cyrus-sasl2 2.1.22.dfsg1-13\n"
9 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
10 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
11 "PO-Revision-Date: 2007-10-08 14:35+0200\n"
12 "Last-Translator: Odile Bénassy <odile.benassy@u-psud.fr>\n"
13 "Language-Team: French <debian-l10n-french@lists.debian.org\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. Type: boolean
19 #. Description
20 #: ../sasl2-bin.templates:2001
21 msgid "Remove /etc/sasldb2?"
22 msgstr "Faut-il supprimer le fichier /etc/sasldb ?"
23
24 #. Type: boolean
25 #. Description
26 #: ../sasl2-bin.templates:2001
27 msgid ""
28 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
29 "file."
30 msgstr ""
31 "Cyrus SASL peut enregistrer les identifiants et les mots de passe dans la "
32 "base de données /etc/sasldb2."
33
34 #. Type: boolean
35 #. Description
36 #: ../sasl2-bin.templates:2001
37 msgid ""
38 "If important data is stored in that file, you should back it up now or "
39 "choose not to remove the file."
40 msgstr ""
41 "Si ce fichier contient des données importantes, pensez à le sauvegarder dès "
42 "maintenant, ou bien choisissez de ne pas le supprimer."
43
44 #. Type: string
45 #. Description
46 #: ../sasl2-bin.templates:3001
47 msgid "Backup file name for /etc/sasldb2:"
48 msgstr "Nom du fichier de sauvegarde de /etc/sasldb2 :"
49
50 #. Type: string
51 #. Description
52 #: ../sasl2-bin.templates:3001
53 msgid ""
54 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
55 "file."
56 msgstr ""
57 "Cyrus SASL a enregistré les identifiants et les mots de passe dans la base "
58 "de données /etc/sasldb2."
59
60 #. Type: string
61 #. Description
62 #: ../sasl2-bin.templates:3001
63 msgid ""
64 "That file has to be upgraded to a newer database format. First, a backup of "
65 "the current file will be created. You can use that if you need to manually "
66 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
67 msgstr ""
68 "Ce fichier a été mis à jour et le format de données a changé. Une sauvegarde "
69 "du fichier actuel va d'abord être créée. Vous pourrez l'utiliser si vous "
70 "avez besoin de revenir à l'ancienne version de Cyrus SASL. Attention, le "
71 "retour à l'ancienne version n'est pas géré en mode automatique."
72
73 #. Type: string
74 #. Description
75 #: ../sasl2-bin.templates:3001
76 msgid ""
77 "Please specify the backup file name. You should check the available disk "
78 "space in that location. If the backup file already exists, it will be "
79 "overwritten. Leaving this field empty will select the default value (/var/"
80 "backups/sasldb2.bak)."
81 msgstr ""
82 "Veuillez indiquer le nom du fichier de sauvegarde. Vérifiez d'abord la place "
83 "disque disponible à l'emplacement en question. Si le fichier de sauvegarde "
84 "existe déjà, son contenu sera écrasé. Si vous ne remplissez pas ce champ, la "
85 "valeur par défaut sera choisie (/var/backups/sasldb2.bak"
86
87 #. Type: error
88 #. Description
89 #: ../sasl2-bin.templates:4001
90 msgid "Failed to back up /etc/sasldb2"
91 msgstr "Échec de la sauvegarde du fichier /etc/sasldb2"
92
93 #. Type: error
94 #. Description
95 #: ../sasl2-bin.templates:4001
96 msgid ""
97 "The /etc/sasldb2 file could not be backed up with the file name you "
98 "specified."
99 msgstr ""
100 "Le fichier /etc/sasldb2 n'a pas pu être sauvegardé avec le nom de fichier "
101 "que vous avez fourni."
102
103 #. Type: error
104 #. Description
105 #. Type: error
106 #. Description
107 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
108 msgid "This is a fatal error and will cause the package installation to fail."
109 msgstr "Cette erreur est fatale ; l'installation du paquet va échouer."
110
111 #. Type: error
112 #. Description
113 #: ../sasl2-bin.templates:4001
114 msgid ""
115 "Please eliminate all possible reasons that might lead to this failure, and "
116 "try to configure this package again."
117 msgstr ""
118 "Veuillez éliminer toutes les causes possibles de cet échec, puis essayez de "
119 "configurer le paquet à nouveau."
120
121 #. Type: error
122 #. Description
123 #: ../sasl2-bin.templates:5001
124 msgid "Failed to upgrade /etc/sasldb2"
125 msgstr "Échec de la mise à jour du fichier /etc/sasldb2"
126
127 #. Type: error
128 #. Description
129 #: ../sasl2-bin.templates:5001
130 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
131 msgstr ""
132 "Le fichier /etc/sasldb2 n'a pas pu être mis à jour vers le nouveau format de "
133 "données."
134
135 #. Type: error
136 #. Description
137 #: ../sasl2-bin.templates:5001
138 msgid ""
139 "The configuration process will attempt to restore the backup of this file to "
140 "its original location."
141 msgstr ""
142 "Le processus de configuration va essayer de restaurer la sauvegarde de ce "
143 "fichier à son emplacement d'origine."
144
145 #. Type: error
146 #. Description
147 #: ../sasl2-bin.templates:5001
148 msgid ""
149 "Please eliminate all possible reasons that might lead to this failure, then "
150 "try to configure this package again."
151 msgstr ""
152 "Veuillez éliminer toutes les causes possibles de cet échec, puis essayez de "
153 "configurer le paquet de nouveau."
154
155 #~ msgid ""
156 #~ "Cyrus SASL can store usernames and passwords in the database file /etc/"
157 #~ "sasldb2. If you have stored important data in that file, then please make "
158 #~ "a backup now or choose not to remove the file."
159 #~ msgstr ""
160 #~ "Cyrus SASL peut conserver les identifiants et les mots de passe dans le "
161 #~ "fichier /etc/sasldb2. Si ce fichier contient des données importantes, "
162 #~ "vous devriez le sauvegarder ou choisir de ne pas supprimer ce fichier."
163
164 #~ msgid ""
165 #~ "If you have not stored important data in that file, it's safe to remove "
166 #~ "it."
167 #~ msgstr "Dans le cas contraire, vous pouvez le supprimer sans risque."
0 # Galician translation of cyrus-sasl2's debconf templates
1 # This file is distributed under the same license as the cyrus-sasl2 package.
2 # Jacobo Tarrio <jtarrio@debian.org>, 2007.
3 #
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: cyrus-sasl2\n"
7 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
8 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
9 "PO-Revision-Date: 2007-10-03 23:12+0100\n"
10 "Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
11 "Language-Team: Galician <proxecto@trasno.net>\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15
16 #. Type: boolean
17 #. Description
18 #: ../sasl2-bin.templates:2001
19 msgid "Remove /etc/sasldb2?"
20 msgstr "¿Eliminar /etc/sasldb2?"
21
22 #. Type: boolean
23 #. Description
24 #: ../sasl2-bin.templates:2001
25 msgid ""
26 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
27 "file."
28 msgstr ""
29 "Cyrus SASL pode armacenar os nomes de usuario e contrasinais no ficheiro de "
30 "base de datos /etc/sasldb2 ."
31
32 #. Type: boolean
33 #. Description
34 #: ../sasl2-bin.templates:2001
35 msgid ""
36 "If important data is stored in that file, you should back it up now or "
37 "choose not to remove the file."
38 msgstr ""
39 "Se ten datos importantes armacenados nese ficheiro, debería facer unha copia "
40 "deles agora ou non borrar o ficheiro."
41
42 #. Type: string
43 #. Description
44 #: ../sasl2-bin.templates:3001
45 msgid "Backup file name for /etc/sasldb2:"
46 msgstr "Nome para o ficheiro coa copia de /etc/sasldb2:"
47
48 #. Type: string
49 #. Description
50 #: ../sasl2-bin.templates:3001
51 msgid ""
52 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
53 "file."
54 msgstr ""
55 "Cyrus SASL ten nomes de usuario e contrasinais armacenados no ficheiro de "
56 "base de datos /etc/sasldb2 ."
57
58 #. Type: string
59 #. Description
60 #: ../sasl2-bin.templates:3001
61 msgid ""
62 "That file has to be upgraded to a newer database format. First, a backup of "
63 "the current file will be created. You can use that if you need to manually "
64 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
65 msgstr ""
66 "É preciso actualizar ese ficheiro a unha versión máis recente do formato da "
67 "base de datos. Primeiro, hase crear unha copia do ficheiro actual. Pode "
68 "empregar esa copia se precisa de voltar á versión anterior de Cyrus SASL "
69 "(teña en conta que iso non se pode facer automaticamente)."
70
71 #. Type: string
72 #. Description
73 #: ../sasl2-bin.templates:3001
74 msgid ""
75 "Please specify the backup file name. You should check the available disk "
76 "space in that location. If the backup file already exists, it will be "
77 "overwritten. Leaving this field empty will select the default value (/var/"
78 "backups/sasldb2.bak)."
79 msgstr ""
80 "Indique o nome do ficheiro da copia. Debería comprobar o espazo dispoñible "
81 "no disco desa ubicación. Se o ficheiro xa existe, hase sobrescribir. Se "
82 "deixa o campo baleiro, hase escoller o valor por defecto (/var/backups/"
83 "sasldb2.bak)."
84
85 #. Type: error
86 #. Description
87 #: ../sasl2-bin.templates:4001
88 msgid "Failed to back up /etc/sasldb2"
89 msgstr "Non se puido copiar /etc/sasldb2"
90
91 #. Type: error
92 #. Description
93 #: ../sasl2-bin.templates:4001
94 msgid ""
95 "The /etc/sasldb2 file could not be backed up with the file name you "
96 "specified."
97 msgstr ""
98 "Non se puido copiar o ficheiro /etc/sasldb2 ao ficheiro co nome que indicou."
99
100 #. Type: error
101 #. Description
102 #. Type: error
103 #. Description
104 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
105 msgid "This is a fatal error and will cause the package installation to fail."
106 msgstr "Este é un erro grave e ha facer que falle a instalación do paquete."
107
108 #. Type: error
109 #. Description
110 #: ../sasl2-bin.templates:4001
111 msgid ""
112 "Please eliminate all possible reasons that might lead to this failure, and "
113 "try to configure this package again."
114 msgstr ""
115 "Arranxe tódolos posibles motivos polos que isto puido ter fallado, e volva "
116 "configurar o paquete."
117
118 #. Type: error
119 #. Description
120 #: ../sasl2-bin.templates:5001
121 msgid "Failed to upgrade /etc/sasldb2"
122 msgstr "Non se puido actualizar /etc/sasldb2"
123
124 #. Type: error
125 #. Description
126 #: ../sasl2-bin.templates:5001
127 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
128 msgstr ""
129 "Non se puido actualizar o ficheiro /etc/sasldb2 ao novo formato da base de "
130 "datos."
131
132 #. Type: error
133 #. Description
134 #: ../sasl2-bin.templates:5001
135 msgid ""
136 "The configuration process will attempt to restore the backup of this file to "
137 "its original location."
138 msgstr ""
139 "O procedemento de ocnfiguración ha tentar recuperar o contido orixinal do "
140 "ficheiro empregando a copia de seguridade."
141
142 #. Type: error
143 #. Description
144 #: ../sasl2-bin.templates:5001
145 msgid ""
146 "Please eliminate all possible reasons that might lead to this failure, then "
147 "try to configure this package again."
148 msgstr ""
149 "Arranxe tódolos posibles motivos polos que isto puido ter fallado, e volva "
150 "configurar o paquete."
0 # Italian (it) translation of debconf templates for cyrus-sasl2
1 # Copyright (C) 2007 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the cyrus-sasl2 package.
3 # Luca Monducci <luca.mo@tiscali.it>, 2007.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: cyrus-sasl2 italian debconf\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2007-10-10 10:33+0200\n"
11 "Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
12 "Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #. Type: boolean
18 #. Description
19 #: ../sasl2-bin.templates:2001
20 msgid "Remove /etc/sasldb2?"
21 msgstr "Rimuovere /etc/sasldb2?"
22
23 #. Type: boolean
24 #. Description
25 #: ../sasl2-bin.templates:2001
26 msgid ""
27 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
28 "file."
29 msgstr ""
30 "Cyrus SASL può memorizzare nomi utente e password nel file database /etc/"
31 "sasldb2."
32
33 #. Type: boolean
34 #. Description
35 #: ../sasl2-bin.templates:2001
36 msgid ""
37 "If important data is stored in that file, you should back it up now or "
38 "choose not to remove the file."
39 msgstr ""
40 "Se in quel file sono memorizzati dati importanti, si dovrebbe fare un backup "
41 "adesso oppure scegliere di non rimuovere il file."
42
43 #. Type: string
44 #. Description
45 #: ../sasl2-bin.templates:3001
46 msgid "Backup file name for /etc/sasldb2:"
47 msgstr "Nome del file di backup per /etc/sasldb2:"
48
49 #. Type: string
50 #. Description
51 #: ../sasl2-bin.templates:3001
52 msgid ""
53 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
54 "file."
55 msgstr ""
56 "Cyrus SASL ha memorizzato nomi utente e password nel file database /etc/"
57 "sasldb2."
58
59 #. Type: string
60 #. Description
61 #: ../sasl2-bin.templates:3001
62 msgid ""
63 "That file has to be upgraded to a newer database format. First, a backup of "
64 "the current file will be created. You can use that if you need to manually "
65 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
66 msgstr ""
67 "Questo file deve essere aggiornato a un nuovo formato; come prima cosa viene "
68 "effettuato una copia di backup del file attuale. Questa copia può essere "
69 "usata nel caso sia necessario il ripristino manuale della versione "
70 "precedente di Cyrus SASL. Questa operazione non è supportata automaticamente."
71
72 #. Type: string
73 #. Description
74 #: ../sasl2-bin.templates:3001
75 msgid ""
76 "Please specify the backup file name. You should check the available disk "
77 "space in that location. If the backup file already exists, it will be "
78 "overwritten. Leaving this field empty will select the default value (/var/"
79 "backups/sasldb2.bak)."
80 msgstr ""
81 "Specificare il nome del file di backup. Si deve controllare che sul disco ci "
82 "sia spazio sufficiente per il backup. Se il backup già esiste, viene "
83 "sovrascritto. Se non si inserisce un nome, viene usato il valore predefinito "
84 "(/var/backups/sasldb2.bak)."
85
86 #. Type: error
87 #. Description
88 #: ../sasl2-bin.templates:4001
89 msgid "Failed to back up /etc/sasldb2"
90 msgstr "Impossibile effettuare il backup di /etc/sasldb2"
91
92 #. Type: error
93 #. Description
94 #: ../sasl2-bin.templates:4001
95 msgid ""
96 "The /etc/sasldb2 file could not be backed up with the file name you "
97 "specified."
98 msgstr ""
99 "Non è possibile effettuare il backup del file /etc/sasldb2 con il nome "
100 "specificato."
101
102 #. Type: error
103 #. Description
104 #. Type: error
105 #. Description
106 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
107 msgid "This is a fatal error and will cause the package installation to fail."
108 msgstr ""
109 "Questo è un errore fatale e causa il fallimento dell'installazione del "
110 "pacchetto."
111
112 #. Type: error
113 #. Description
114 #: ../sasl2-bin.templates:4001
115 msgid ""
116 "Please eliminate all possible reasons that might lead to this failure, and "
117 "try to configure this package again."
118 msgstr ""
119 "Eliminare tutte le possibili cause che abbiano causato questo fallimento e "
120 "riprovare nuovamente a configurare questo pacchetto."
121
122 #. Type: error
123 #. Description
124 #: ../sasl2-bin.templates:5001
125 msgid "Failed to upgrade /etc/sasldb2"
126 msgstr "Impossibile aggiornare /etc/sasldb2"
127
128 #. Type: error
129 #. Description
130 #: ../sasl2-bin.templates:5001
131 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
132 msgstr "Il file /etc/sasldb2 non può essere aggiornato al nuovo formato."
133
134 #. Type: error
135 #. Description
136 #: ../sasl2-bin.templates:5001
137 msgid ""
138 "The configuration process will attempt to restore the backup of this file to "
139 "its original location."
140 msgstr ""
141 "Il processo di configurazione prova a ripristinare il backup di questo file "
142 "nella posizione originaria."
143
144 #. Type: error
145 #. Description
146 #: ../sasl2-bin.templates:5001
147 msgid ""
148 "Please eliminate all possible reasons that might lead to this failure, then "
149 "try to configure this package again."
150 msgstr ""
151 "Eliminare tutte le possibili cause che abbiano causato questo fallimento e "
152 "riprovare nuovamente a configurare questo pacchetto."
0 # Copyright (C) 2008 Debian Cyrus SASL Team <pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org>
1 # This file is distributed under the same license as the cyrus-sasl2 package.
2 # Hideki Yamane <henrich@debian.or.jp>, 2008.
3
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: cyrus-sasl2 2.1.22.dfsg1-21\n"
7 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
8 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
9 "PO-Revision-Date: 2008-07-22 00:03+0900\n"
10 "Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
11 "Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15
16 #. Type: boolean
17 #. Description
18 #: ../sasl2-bin.templates:2001
19 msgid "Remove /etc/sasldb2?"
20 msgstr "/etc/sasldb2 を削除しますか?"
21
22 #. Type: boolean
23 #. Description
24 #: ../sasl2-bin.templates:2001
25 msgid ""
26 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
27 "file."
28 msgstr ""
29 "Cyrus SASL では、ユーザ名とパスワードを /etc/sasldb2 データベースファイルに保存"
30 "できます。"
31
32 #. Type: boolean
33 #. Description
34 #: ../sasl2-bin.templates:2001
35 msgid ""
36 "If important data is stored in that file, you should back it up now or "
37 "choose not to remove the file."
38 msgstr ""
39 "重要なデータがこのファイルに保存されている場合、すぐにバックアップするか、ファイルを"
40 "削除しないようにしてください。"
41
42 #. Type: string
43 #. Description
44 #: ../sasl2-bin.templates:3001
45 msgid "Backup file name for /etc/sasldb2:"
46 msgstr "/etc/sasldb2 のバックアップファイル名:"
47
48 #. Type: string
49 #. Description
50 #: ../sasl2-bin.templates:3001
51 msgid ""
52 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
53 "file."
54 msgstr ""
55 "Cyrus SASL は、ユーザ名とパスワードを /etc/sasldb2 データベースファイルに保存して"
56 "います。"
57
58 #. Type: string
59 #. Description
60 #: ../sasl2-bin.templates:3001
61 msgid ""
62 "That file has to be upgraded to a newer database format. First, a backup of "
63 "the current file will be created. You can use that if you need to manually "
64 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
65 msgstr ""
66 "ファイルを新しいデータベース形式に更新する必要があります。まず、現在のファイルの"
67 "バックアップを作成します。これは Cyrus SASL を手動でダウングレードする必要があった"
68 "場合に使えます。しかし、自動ダウングレードはサポートされていません。"
69
70 #. Type: string
71 #. Description
72 #: ../sasl2-bin.templates:3001
73 msgid ""
74 "Please specify the backup file name. You should check the available disk "
75 "space in that location. If the backup file already exists, it will be "
76 "overwritten. Leaving this field empty will select the default value (/var/"
77 "backups/sasldb2.bak)."
78 msgstr ""
79 "バックアップファイル名を指定してください。保存する場所に十分なディスク容量があるか"
80 "を確認してください。バックアップファイルが既にある場合は上書きされます。"
81 "ここでの値を空のままにしておくと、デフォルト値 (/var/backups/sasldb2.bak) が"
82 "使われます。"
83
84 #. Type: error
85 #. Description
86 #: ../sasl2-bin.templates:4001
87 msgid "Failed to back up /etc/sasldb2"
88 msgstr "/etc/sasldb2 のバックアップに失敗しました"
89
90 #. Type: error
91 #. Description
92 #: ../sasl2-bin.templates:4001
93 msgid ""
94 "The /etc/sasldb2 file could not be backed up with the file name you "
95 "specified."
96 msgstr ""
97 "/etc/sasldb2 ファイルのバックアップを行おうとしましたが、あなたが指定した"
98 "ファイル名での保存ができませんでした。"
99
100 #. Type: error
101 #. Description
102 #. Type: error
103 #. Description
104 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
105 msgid "This is a fatal error and will cause the package installation to fail."
106 msgstr ""
107 "これは致命的なエラーであり、パッケージインストールの失敗を引き起こすと思われます。"
108
109 #. Type: error
110 #. Description
111 #: ../sasl2-bin.templates:4001
112 msgid ""
113 "Please eliminate all possible reasons that might lead to this failure, and "
114 "try to configure this package again."
115 msgstr ""
116 "この問題を引き起こした理由を可能な限り排除して、再度パッケージを設定してください。"
117
118 #. Type: error
119 #. Description
120 #: ../sasl2-bin.templates:5001
121 msgid "Failed to upgrade /etc/sasldb2"
122 msgstr "/etc/sasldb2 の更新に失敗しました"
123
124 #. Type: error
125 #. Description
126 #: ../sasl2-bin.templates:5001
127 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
128 msgstr "/etc/sasldb2 ファイルを新しいデータベース形式に更新できませんでした。"
129
130 #. Type: error
131 #. Description
132 #: ../sasl2-bin.templates:5001
133 msgid ""
134 "The configuration process will attempt to restore the backup of this file to "
135 "its original location."
136 msgstr ""
137 "今回の設定作業では、このファイルのバックアップを元の位置にリストアしようと試みます。"
138
139 #. Type: error
140 #. Description
141 #: ../sasl2-bin.templates:5001
142 msgid ""
143 "Please eliminate all possible reasons that might lead to this failure, then "
144 "try to configure this package again."
145 msgstr ""
146 "この問題を引き起こした理由を可能な限り排除して、再度パッケージを設定してください。"
147
0 # Dutch cyrus-sasl2 po-debconf translation,
1 # Copyright (C) 2008 THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the cyrus-sasl2 package.
3 # Vincent Zweije <zweije@xs4all.nl>, 2008.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: cyrus-sasl2 2.1.22.dfsg1-17\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2008-02-13 21:41+0000\n"
11 "Last-Translator: Vincent Zweije <zweije@xs4all.nl>\n"
12 "Language-Team: Debian-Dutch <debian-l10n-dutch@lists.debian.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ISO-8859-15\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #. Type: boolean
18 #. Description
19 #: ../sasl2-bin.templates:2001
20 msgid "Remove /etc/sasldb2?"
21 msgstr ""
22 "/etc/sasldb2 verwijderen?"
23
24 #. Type: boolean
25 #. Description
26 #: ../sasl2-bin.templates:2001
27 msgid ""
28 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
29 "file."
30 msgstr ""
31 "Cyrus SASL kan gebruikersnamen en wachtwoorden in /etc/sasldb2 opslaan."
32
33 #. Type: boolean
34 #. Description
35 #: ../sasl2-bin.templates:2001
36 msgid ""
37 "If important data is stored in that file, you should back it up now or "
38 "choose not to remove the file."
39 msgstr ""
40 "Indien dat bestand belangrijke gegevens bevat, dient u er nu een reservekopie "
41 "van te maken, of ervoor te kiezen het niet te verwijderen."
42
43 #. Type: string
44 #. Description
45 #: ../sasl2-bin.templates:3001
46 msgid "Backup file name for /etc/sasldb2:"
47 msgstr ""
48 "Bestandsnaam voor de reservekopie van /etc/sasldb2:"
49
50 #. Type: string
51 #. Description
52 #: ../sasl2-bin.templates:3001
53 msgid ""
54 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
55 "file."
56 msgstr ""
57 "Cyrus SASL heeft gebruikersnamen en wachtwoorden in /etc/sasldb2 opgeslagen."
58
59 #. Type: string
60 #. Description
61 #: ../sasl2-bin.templates:3001
62 msgid ""
63 "That file has to be upgraded to a newer database format. First, a backup of "
64 "the current file will be created. You can use that if you need to manually "
65 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
66 msgstr ""
67 "Dat bestand moet worden opgewaardeerd naar een nieuwer formaat. Eerst wordt "
68 "een reservekopie van het huidige bestand gemaakt. U kunt dit gebruiken als "
69 "u handmatig Cyrus SASL moet degraderen. Automatische degraderingen worden "
70 "echter niet ondersteund."
71
72 #. Type: string
73 #. Description
74 #: ../sasl2-bin.templates:3001
75 msgid ""
76 "Please specify the backup file name. You should check the available disk "
77 "space in that location. If the backup file already exists, it will be "
78 "overwritten. Leaving this field empty will select the default value (/var/"
79 "backups/sasldb2.bak)."
80 msgstr ""
81 "Gelieve de bestandsnaam van de reservekopie op te geven. Het is aan "
82 "te raden de beschikbare schijfruimte op die locatie te bekijken. Als het "
83 "bestand al bestaat zal het worden overschreven. Als u dit veld "
84 "leeg laat wordt de standaardwaarde /var/backups/sasldb2.bak gebruikt."
85
86 #. Type: error
87 #. Description
88 #: ../sasl2-bin.templates:4001
89 msgid "Failed to back up /etc/sasldb2"
90 msgstr ""
91 "Maken van reservekopie van /etc/sasldb2 mislukt"
92
93 #. Type: error
94 #. Description
95 #: ../sasl2-bin.templates:4001
96 msgid ""
97 "The /etc/sasldb2 file could not be backed up with the file name you "
98 "specified."
99 msgstr ""
100 "Er kon geen reservekopie van /etc/sasldb2 worden gemaakt met de door u "
101 "opgegeven naam."
102
103 #. Type: error
104 #. Description
105 #. Type: error
106 #. Description
107 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
108 msgid "This is a fatal error and will cause the package installation to fail."
109 msgstr ""
110 "Dit is een fatale fout, die de installatie van het pakket zal doen mislukken."
111
112 #. Type: error
113 #. Description
114 #: ../sasl2-bin.templates:4001
115 msgid ""
116 "Please eliminate all possible reasons that might lead to this failure, and "
117 "try to configure this package again."
118 msgstr ""
119 "Gelieve de mogelijke oorzaken van dit falen te verhelpen; probeer daarna "
120 "dit pakket opnieuw in te stellen."
121
122 #. Type: error
123 #. Description
124 #: ../sasl2-bin.templates:5001
125 msgid "Failed to upgrade /etc/sasldb2"
126 msgstr ""
127 "Opwaarderen van /etc/sasldb2 mislukt"
128
129 #. Type: error
130 #. Description
131 #: ../sasl2-bin.templates:5001
132 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
133 msgstr ""
134 "/etc/sasldb2 kon niet worden opgewaardeerd naar het nieuwe bestandsformaat."
135
136 #. Type: error
137 #. Description
138 #: ../sasl2-bin.templates:5001
139 msgid ""
140 "The configuration process will attempt to restore the backup of this file to "
141 "its original location."
142 msgstr ""
143 "Het installatieproces zal nu proberen de reservekopie van dit bestand terug "
144 "te zetten."
145
146 #. Type: error
147 #. Description
148 #: ../sasl2-bin.templates:5001
149 msgid ""
150 "Please eliminate all possible reasons that might lead to this failure, then "
151 "try to configure this package again."
152 msgstr ""
153 "Gelieve de mogelijke oorzaken van dit falen te verhelpen; probeer daarna "
154 "dit pakket opnieuw in te stellen."
0 # translation of cyrus-sasl2 debconf to Portuguese
1 # Copyright 2007 Américo Monteiro
2 # This program is free software; you can redistribute it and/or modify
3 # it under the terms of the GNU General Public License as published by
4 # the Free Software Foundation; either version 2 of the License, or
5 # (at your option) any later version.#
6 # Note that Cyrus SASL itself is published under a different license.#
7 #
8 # Fabian Fagerholm <fabbe@debian.org>, 2007.
9 # Américo Monteiro <a_monteiro@netcabo.pt>, 2007.
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: cyrus-sasl2 2.1.22.dfsg1-16\n"
13 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
14 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
15 "PO-Revision-Date: 2007-10-02 21:11+0100\n"
16 "Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n"
17 "Language-Team: Portuguese <traduz@debianpt.org>\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "X-Generator: KBabel 1.11.4\n"
22
23 #. Type: boolean
24 #. Description
25 #: ../sasl2-bin.templates:2001
26 msgid "Remove /etc/sasldb2?"
27 msgstr "Remover o /etc/sasldb2?"
28
29 #. Type: boolean
30 #. Description
31 #: ../sasl2-bin.templates:2001
32 msgid ""
33 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
34 "file."
35 msgstr ""
36 "Cyrus SASL pode guardar nomes de utilizadores e passwords no ficheiro base "
37 "de dados /etc/sasldb2."
38
39 #. Type: boolean
40 #. Description
41 #: ../sasl2-bin.templates:2001
42 msgid ""
43 "If important data is stored in that file, you should back it up now or "
44 "choose not to remove the file."
45 msgstr ""
46 "Se estiverem guardados dados importantes nesse ficheiro, você deverá criar "
47 "uma cópia de segurança agora ou escolher não remover o ficheiro."
48
49 #. Type: string
50 #. Description
51 #: ../sasl2-bin.templates:3001
52 msgid "Backup file name for /etc/sasldb2:"
53 msgstr "Nome do ficheiro cópia de segurança para o /etc/ssaldb2:"
54
55 #. Type: string
56 #. Description
57 #: ../sasl2-bin.templates:3001
58 msgid ""
59 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
60 "file."
61 msgstr ""
62 "Cyrus SASL guardou nomes de utilizadores e passwords no ficheiro base de "
63 "dados /etc/sasldb2."
64
65 #. Type: string
66 #. Description
67 #: ../sasl2-bin.templates:3001
68 msgid ""
69 "That file has to be upgraded to a newer database format. First, a backup of "
70 "the current file will be created. You can use that if you need to manually "
71 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
72 msgstr ""
73 "O ficheiro tem que ser actualizado para um novo formato de base de dados. "
74 "Primeiro será feita uma cópia de segurança do ficheiro actual. Você pode usá-"
75 "la se precisar de regredir manualmente de versão do Cyrus SASL. No entanto, "
76 "regressões automáticas não são suportadas."
77
78 #. Type: string
79 #. Description
80 #: ../sasl2-bin.templates:3001
81 msgid ""
82 "Please specify the backup file name. You should check the available disk "
83 "space in that location. If the backup file already exists, it will be "
84 "overwritten. Leaving this field empty will select the default value (/var/"
85 "backups/sasldb2.bak)."
86 msgstr ""
87 "Por favor indique o nome de ficheiro para a cópia de segurança. Deve "
88 "verificar o espaço de disco disponível nessa localização. Se o ficheiro de "
89 "cópia de segurança já existir, será sobre-escrito. Deixar este campo vazio "
90 "irá seleccionar o valor pré-definido (/var/backups/sasldb2.bak)."
91
92 #. Type: error
93 #. Description
94 #: ../sasl2-bin.templates:4001
95 msgid "Failed to back up /etc/sasldb2"
96 msgstr "Falha ao criar cópia de segurança do /etc/sasldb2"
97
98 #. Type: error
99 #. Description
100 #: ../sasl2-bin.templates:4001
101 msgid ""
102 "The /etc/sasldb2 file could not be backed up with the file name you "
103 "specified."
104 msgstr ""
105 "O ficheiro /etc/sasldb2 não pôde ser salvaguardado com o nome de ficheiro "
106 "que especificou."
107
108 #. Type: error
109 #. Description
110 #. Type: error
111 #. Description
112 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
113 msgid "This is a fatal error and will cause the package installation to fail."
114 msgstr "Este é um erro fatal e irá causar a falha da instalação deste pacote."
115
116 #. Type: error
117 #. Description
118 #: ../sasl2-bin.templates:4001
119 msgid ""
120 "Please eliminate all possible reasons that might lead to this failure, and "
121 "try to configure this package again."
122 msgstr ""
123 "Por favor, elimine todas as razões possíveis que possam levar a esta falha, "
124 "e depois tente configurar este pacote outra vez."
125
126 #. Type: error
127 #. Description
128 #: ../sasl2-bin.templates:5001
129 msgid "Failed to upgrade /etc/sasldb2"
130 msgstr "Falha ao actualizar o /etc/sasldb2."
131
132 #. Type: error
133 #. Description
134 #: ../sasl2-bin.templates:5001
135 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
136 msgstr ""
137 "O ficheiro /etc/sasldb2 não pôde ser actualizado para o novo formato de base "
138 "de dados."
139
140 #. Type: error
141 #. Description
142 #: ../sasl2-bin.templates:5001
143 msgid ""
144 "The configuration process will attempt to restore the backup of this file to "
145 "its original location."
146 msgstr ""
147 "O processo de configuração irá tentar restaurar a cópia de segurança deste "
148 "ficheiro para a sua localização original."
149
150 #. Type: error
151 #. Description
152 #: ../sasl2-bin.templates:5001
153 msgid ""
154 "Please eliminate all possible reasons that might lead to this failure, then "
155 "try to configure this package again."
156 msgstr ""
157 "Por favor, elimine todas as razões possíveis que possam levar a esta falha, "
158 "e depois tente configurar este pacote outra vez."
0 # cyrus-sasl2 Brazilian Portuguese po-debconf translation
1 #
2 # Translations file for cyrus-sasl2.
3 # Copyright 2007 Fabian Fagerholm
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # Note that Cyrus SASL itself is published under a different license.
11 #
12 # Fabian Fagerholm <fabbe@debian.org>, 2007.
13 #
14 # Jefferson Alexandre dos Santos <jefferson.alexandre@gmail.com>, 2007.
15 msgid ""
16 msgstr ""
17 "Project-Id-Version: cyrus-sasl2\n"
18 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
19 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
20 "PO-Revision-Date: 2007-10-06 15:29-0300\n"
21 "Last-Translator: Jefferson Alexandre dos Santos <jefferson.alexandre@gmail."
22 "com>\n"
23 "Language-Team: l10n portuguese <debian-l10n-portuguese@lists.debian.org>\n"
24 "MIME-Version: 1.0\n"
25 "Content-Type: text/plain; charset=UTF-8\n"
26 "Content-Transfer-Encoding: 8bit\n"
27 "pt_BR utf-8\n"
28
29 #. Type: boolean
30 #. Description
31 #: ../sasl2-bin.templates:2001
32 msgid "Remove /etc/sasldb2?"
33 msgstr "Remover /etc/sasldb2?"
34
35 #. Type: boolean
36 #. Description
37 #: ../sasl2-bin.templates:2001
38 msgid ""
39 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
40 "file."
41 msgstr ""
42 "Cyrus SASL pode armazenar nomes de usuários e senhas no arquivo banco de "
43 "dados /etc/sasldb2."
44
45 #. Type: boolean
46 #. Description
47 #: ../sasl2-bin.templates:2001
48 msgid ""
49 "If important data is stored in that file, you should back it up now or "
50 "choose not to remove the file."
51 msgstr ""
52 "Se dados importantes são armazenados nesse arquivo, você deveria fazer um "
53 "backup agora ou escolher não remover o arquivo."
54
55 #. Type: string
56 #. Description
57 #: ../sasl2-bin.templates:3001
58 msgid "Backup file name for /etc/sasldb2:"
59 msgstr "Nome do arquivo backup para /etc/sasldb2:"
60
61 #. Type: string
62 #. Description
63 #: ../sasl2-bin.templates:3001
64 msgid ""
65 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
66 "file."
67 msgstr ""
68 "Cyrus SASL possui nomes de usuários e senhas armazenados no arquivo de banco "
69 "de dados /etc/sasldb2."
70
71 #. Type: string
72 #. Description
73 #: ../sasl2-bin.templates:3001
74 msgid ""
75 "That file has to be upgraded to a newer database format. First, a backup of "
76 "the current file will be created. You can use that if you need to manually "
77 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
78 msgstr ""
79 "Esse arquivo será atualizado para um novo formato de banco de dados. "
80 "Primeiro, um backup do arquivo atual será criado. Você pode usá-lo caso "
81 "necessite reverter (\"downgrade\") manualmente o Cyrus SASL. Porém, "
82 "reversões (\"downgrades\") automáticos não são suportados."
83
84 #. Type: string
85 #. Description
86 #: ../sasl2-bin.templates:3001
87 msgid ""
88 "Please specify the backup file name. You should check the available disk "
89 "space in that location. If the backup file already exists, it will be "
90 "overwritten. Leaving this field empty will select the default value (/var/"
91 "backups/sasldb2.bak)."
92 msgstr ""
93 "Por favor, especifique o nome do arquivo backup. Você deveria verificar o "
94 "espaço em disco nesse local. Se o arquivo de backup já existir, ele será "
95 "sobrescrito. Deixar este campo em branco selecionará o nome padrão (/var/"
96 "backups/sasldb2.bak)."
97
98 #. Type: error
99 #. Description
100 #: ../sasl2-bin.templates:4001
101 msgid "Failed to back up /etc/sasldb2"
102 msgstr "Falha ao criar o backup de /etc/sasldb2"
103
104 #. Type: error
105 #. Description
106 #: ../sasl2-bin.templates:4001
107 msgid ""
108 "The /etc/sasldb2 file could not be backed up with the file name you "
109 "specified."
110 msgstr ""
111 "O arquivo /etc/sasldb2 não pode ser salvo com o nome que você especificou."
112
113 #. Type: error
114 #. Description
115 #. Type: error
116 #. Description
117 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
118 msgid "This is a fatal error and will cause the package installation to fail."
119 msgstr "Este é um erro fatal e causará a falha na instalação do pacote."
120
121 #. Type: error
122 #. Description
123 #: ../sasl2-bin.templates:4001
124 msgid ""
125 "Please eliminate all possible reasons that might lead to this failure, and "
126 "try to configure this package again."
127 msgstr ""
128 "Por favor, elimine todas as possíveis razões que possam ter levado a esta "
129 "falha, e então tente configurar este pacote novamente."
130
131 #. Type: error
132 #. Description
133 #: ../sasl2-bin.templates:5001
134 msgid "Failed to upgrade /etc/sasldb2"
135 msgstr "Falha ao atualizar /etc/sasldb2"
136
137 #. Type: error
138 #. Description
139 #: ../sasl2-bin.templates:5001
140 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
141 msgstr ""
142 "O arquivo /etc/sasldb2 não pode ser atualizado para o novo formato de banco "
143 "de dados."
144
145 #. Type: error
146 #. Description
147 #: ../sasl2-bin.templates:5001
148 msgid ""
149 "The configuration process will attempt to restore the backup of this file to "
150 "its original location."
151 msgstr ""
152 "O processo de configuração tentará restaurar o backup deste arquivo para a "
153 "sua localização original."
154
155 #. Type: error
156 #. Description
157 #: ../sasl2-bin.templates:5001
158 msgid ""
159 "Please eliminate all possible reasons that might lead to this failure, then "
160 "try to configure this package again."
161 msgstr ""
162 "Por favor, elimine todas as possíveis razões que possam ter levado a esta "
163 "falha, e então tente configurar este pacote novamente."
0 # translation of ru.po to Russian
1 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the PACKAGE package.
3 #
4 # Yuri Kozlov <kozlov.y@gmail.com>, 2007.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: 2.1.22.dfsg1-15\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2007-10-08 21:31+0400\n"
11 "Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
12 "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "X-Generator: KBabel 1.11.4\n"
17 "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
18 "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
19
20 #. Type: boolean
21 #. Description
22 #: ../sasl2-bin.templates:2001
23 msgid "Remove /etc/sasldb2?"
24 msgstr "Удалить /etc/sasldb2?"
25
26 #. Type: boolean
27 #. Description
28 #: ../sasl2-bin.templates:2001
29 msgid ""
30 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
31 "file."
32 msgstr ""
33 "Cyrus SASL может хранить имена пользователей и пароли в файле базы данных /"
34 "etc/sasldb2."
35
36 #. Type: boolean
37 #. Description
38 #: ../sasl2-bin.templates:2001
39 msgid ""
40 "If important data is stored in that file, you should back it up now or "
41 "choose not to remove the file."
42 msgstr ""
43 "Если данные в этом файле важны для вас, сделайте его резервную копию сейчас "
44 "или выберите не удалять этот файл."
45
46 #. Type: string
47 #. Description
48 #: ../sasl2-bin.templates:3001
49 msgid "Backup file name for /etc/sasldb2:"
50 msgstr "Имя файла резервной копии для /etc/sasldb2:"
51
52 #. Type: string
53 #. Description
54 #: ../sasl2-bin.templates:3001
55 msgid ""
56 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
57 "file."
58 msgstr ""
59 "Cyrus SASL хранит имена пользователей и пароли в файле базы данных /etc/"
60 "sasldb2."
61
62 #. Type: string
63 #. Description
64 #: ../sasl2-bin.templates:3001
65 msgid ""
66 "That file has to be upgraded to a newer database format. First, a backup of "
67 "the current file will be created. You can use that if you need to manually "
68 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
69 msgstr ""
70 "Требуется обновить формат этого файла. Для этого, во-первых, будет создана "
71 "резервная копия имеющего файла. Вы можете использовать её, если понадобится "
72 "вручную вернуться на старую версию Cyrus SASL. Автоматическое возвращение не "
73 "поддерживается."
74
75 #. Type: string
76 #. Description
77 #: ../sasl2-bin.templates:3001
78 msgid ""
79 "Please specify the backup file name. You should check the available disk "
80 "space in that location. If the backup file already exists, it will be "
81 "overwritten. Leaving this field empty will select the default value (/var/"
82 "backups/sasldb2.bak)."
83 msgstr ""
84 "Введите имя файла резервной копии. Проверьте, что есть достаточно места на "
85 "диске. Если файл резервной копии уже существует, то он будет перезаписан. "
86 "Если поле пустое, то используется значение по умолчанию (/var/backups/"
87 "sasldb2.bak)."
88
89 #. Type: error
90 #. Description
91 #: ../sasl2-bin.templates:4001
92 msgid "Failed to back up /etc/sasldb2"
93 msgstr "Ошибка при создании резервной копии /etc/sasldb2"
94
95 #. Type: error
96 #. Description
97 #: ../sasl2-bin.templates:4001
98 msgid ""
99 "The /etc/sasldb2 file could not be backed up with the file name you "
100 "specified."
101 msgstr ""
102 "Для файла /etc/sasldb2 не может быть сделана резервная копия с указанным "
103 "вами именем."
104
105 #. Type: error
106 #. Description
107 #. Type: error
108 #. Description
109 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
110 msgid "This is a fatal error and will cause the package installation to fail."
111 msgstr "Это серьёзная ошибка и поэтому установка пакета будет прервана."
112
113 #. Type: error
114 #. Description
115 #: ../sasl2-bin.templates:4001
116 msgid ""
117 "Please eliminate all possible reasons that might lead to this failure, and "
118 "try to configure this package again."
119 msgstr ""
120 "Устраните возможные причины данной ошибки и попробуйте настроить пакет ещё "
121 "раз."
122
123 #. Type: error
124 #. Description
125 #: ../sasl2-bin.templates:5001
126 msgid "Failed to upgrade /etc/sasldb2"
127 msgstr "Ошибка при обновлении /etc/sasldb2"
128
129 #. Type: error
130 #. Description
131 #: ../sasl2-bin.templates:5001
132 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
133 msgstr ""
134 "Файл /etc/sasldb2 не может быть обновлён до нового формата базы данных."
135
136 #. Type: error
137 #. Description
138 #: ../sasl2-bin.templates:5001
139 msgid ""
140 "The configuration process will attempt to restore the backup of this file to "
141 "its original location."
142 msgstr ""
143 "Будет предпринята попытка восстановить файл из резервной копии в прежний "
144 "каталог."
145
146 #. Type: error
147 #. Description
148 #: ../sasl2-bin.templates:5001
149 msgid ""
150 "Please eliminate all possible reasons that might lead to this failure, then "
151 "try to configure this package again."
152 msgstr ""
153 "Устраните возможные причины данной ошибки и попробуйте настроить пакет ещё "
154 "раз."
0 # Slovak translation of cyrus-sasl2.
1 # Copyright (C) 2005 THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the cyrus-sasl2 package.
3 # Ivan Masár <helix84@centrum.sk>, 2008.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: cyrus-sasl2\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2008-07-03 18:38+0100\n"
11 "Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
12 "Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #. Type: boolean
18 #. Description
19 #: ../sasl2-bin.templates:2001
20 msgid "Remove /etc/sasldb2?"
21 msgstr "Odstrániť /etc/sasldb2?"
22
23 #. Type: boolean
24 #. Description
25 #: ../sasl2-bin.templates:2001
26 msgid "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database file."
27 msgstr "Cyrus SASL môže uložiť používateľské mená a heslá v databáze /etc/sasldb2."
28
29 #. Type: boolean
30 #. Description
31 #: ../sasl2-bin.templates:2001
32 msgid "If important data is stored in that file, you should back it up now or choose not to remove the file."
33 msgstr "Ak sú v tomto súbore uložené dôležité údaje, mali by ste si ho teraz zálohovať alebo vybrať voľbu neodstraňovať súbor."
34
35 #. Type: string
36 #. Description
37 #: ../sasl2-bin.templates:3001
38 msgid "Backup file name for /etc/sasldb2:"
39 msgstr "Názov záložného súboru pre /etc/sasldb2:"
40
41 #. Type: string
42 #. Description
43 #: ../sasl2-bin.templates:3001
44 msgid "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database file."
45 msgstr "Cyrus SASL uložil používateľské mená a heslá v databáze /etc/sasldb2."
46
47 #. Type: string
48 #. Description
49 #: ../sasl2-bin.templates:3001
50 msgid "That file has to be upgraded to a newer database format. First, a backup of the current file will be created. You can use that if you need to manually downgrade Cyrus SASL. However, automatic downgrades are not supported."
51 msgstr "Tento súbor musí byť aktualizovaný na nový formát databázy. Najskôr sa vytvorí záloha aktuálneho súboru. Môžete ju použiť pri manuálnom downgrade Cyrus SASL, no automatický downgrade nie je podporovaný."
52
53 #. Type: string
54 #. Description
55 #: ../sasl2-bin.templates:3001
56 msgid "Please specify the backup file name. You should check the available disk space in that location. If the backup file already exists, it will be overwritten. Leaving this field empty will select the default value (/var/backups/sasldb2.bak)."
57 msgstr "Prosím, uveďte názov záložného súboru. Mali by ste skontrolovať dostupné miesto na disku na danom mieste. Ak záloha už existuje, bude prepísaná. Ak necháte toto pole prázdne, použije sa štandardná hodnota (/var/backups/sasldb2.bak)."
58
59 #. Type: error
60 #. Description
61 #: ../sasl2-bin.templates:4001
62 msgid "Failed to back up /etc/sasldb2"
63 msgstr "Nepodarilo sa vytvoriť zálohu /etc/sasldb2"
64
65 #. Type: error
66 #. Description
67 #: ../sasl2-bin.templates:4001
68 msgid "The /etc/sasldb2 file could not be backed up with the file name you specified."
69 msgstr "Súbor /etc/sasldb2 nebolo možné zálohovať s názvom súboru, ktorý ste zvolili."
70
71 #. Type: error
72 #. Description
73 #. Type: error
74 #. Description
75 #: ../sasl2-bin.templates:4001
76 #: ../sasl2-bin.templates:5001
77 msgid "This is a fatal error and will cause the package installation to fail."
78 msgstr "Toto je kritická chyba a spôsobí zlyhanie inštalácie balíka."
79
80 #. Type: error
81 #. Description
82 #: ../sasl2-bin.templates:4001
83 msgid "Please eliminate all possible reasons that might lead to this failure, and try to configure this package again."
84 msgstr "Prosím, eliminujte všetky možné dôvody zlyhania a pokúste sa znova nakonfigurovať balík."
85
86 #. Type: error
87 #. Description
88 #: ../sasl2-bin.templates:5001
89 msgid "Failed to upgrade /etc/sasldb2"
90 msgstr "Aktualizácia /etc/sasldb2 zlyhala"
91
92 #. Type: error
93 #. Description
94 #: ../sasl2-bin.templates:5001
95 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
96 msgstr "Súbor /etc/sasldb2 nebolo možné aktualizovať na nový formát súboru databázy."
97
98 #. Type: error
99 #. Description
100 #: ../sasl2-bin.templates:5001
101 msgid "The configuration process will attempt to restore the backup of this file to its original location."
102 msgstr "Konfiguračný proces sa pokúsi obnoviť zálohu tohto súboru na pôvodné miesto."
103
104 #. Type: error
105 #. Description
106 #: ../sasl2-bin.templates:5001
107 msgid "Please eliminate all possible reasons that might lead to this failure, then try to configure this package again."
108 msgstr "Prosím, eliminujte všetky možné dôvody zlyhania a pokúste sa znova nakonfigurovať balík."
109
0 # Swedish translation of cyrus-sasl2 debconf messages.
1 # Copyright (C) 2008 Fabian Fagerholm
2 # This file is distributed under the same license as the cyrus-sasl2 package.
3 # Christer Andersson <klamm@comhem.se>, 2008.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: cyrus-sasl2 2.1.22\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2008-01-13 08:50+0100\n"
11 "Last-Translator: Christer Andersson <klamm@comhem.se>\n"
12 "Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=iso-8859-1\n"
15 "Content-Transfer-Encoding: 8bit\n"
16
17 #. Type: boolean
18 #. Description
19 #: ../sasl2-bin.templates:2001
20 msgid "Remove /etc/sasldb2?"
21 msgstr "Ta bort /etc/sasldb2?"
22
23 #. Type: boolean
24 #. Description
25 #: ../sasl2-bin.templates:2001
26 msgid ""
27 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
28 "file."
29 msgstr "Cyrus SASL kan lagra användarnamn och lösenord i databasfilen /etc/sasldb2."
30
31 #. Type: boolean
32 #. Description
33 #: ../sasl2-bin.templates:2001
34 msgid ""
35 "If important data is stored in that file, you should back it up now or "
36 "choose not to remove the file."
37 msgstr "Om viktig data lagras i denna fil bör du säkerhetskopiera den nu eller välja att inte ta bort filen."
38
39 #. Type: string
40 #. Description
41 #: ../sasl2-bin.templates:3001
42 msgid "Backup file name for /etc/sasldb2:"
43 msgstr "Filnamn för säkerhetskopia av /etc/sasldb2:"
44
45 #. Type: string
46 #. Description
47 #: ../sasl2-bin.templates:3001
48 msgid ""
49 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
50 "file."
51 msgstr "Cyrus SASL har lagrat användarnamn och lösenord i databasfilen /etc/sasldb2."
52
53 #. Type: string
54 #. Description
55 #: ../sasl2-bin.templates:3001
56 msgid ""
57 "That file has to be upgraded to a newer database format. First, a backup of "
58 "the current file will be created. You can use that if you need to manually "
59 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
60 msgstr "Denna fil måste uppgraderas till ett nyare databasformat. Först kommer en säkerhetskopia av den nuvarande filen att skapas. Du kan använda den om du behöver nedgradera Cyrus SASL manuellt. Automatiska nedgraderingar stöds dock inte."
61
62 #. Type: string
63 #. Description
64 #: ../sasl2-bin.templates:3001
65 msgid ""
66 "Please specify the backup file name. You should check the available disk "
67 "space in that location. If the backup file already exists, it will be "
68 "overwritten. Leaving this field empty will select the default value (/var/"
69 "backups/sasldb2.bak)."
70 msgstr "Ange filnamnet för säkerhetskopian. Du bör kontrollera tillgängligt diskutrymme där. Om säkerhetskopian redan existerar kommer den att skrivas över. Standardvärdet (/var/backups/sasldb2.bak) används om fältet lämnas tomt."
71
72 #. Type: error
73 #. Description
74 #: ../sasl2-bin.templates:4001
75 msgid "Failed to back up /etc/sasldb2"
76 msgstr "Misslyckades med att säkerhetskopiera /etc/sasldb2"
77
78 #. Type: error
79 #. Description
80 #: ../sasl2-bin.templates:4001
81 msgid ""
82 "The /etc/sasldb2 file could not be backed up with the file name you "
83 "specified."
84 msgstr "Filen /etc/sasldb2 kunde inte säkerhetskopieras med det namn du angav."
85
86 #. Type: error
87 #. Description
88 #. Type: error
89 #. Description
90 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
91 msgid "This is a fatal error and will cause the package installation to fail."
92 msgstr "Detta är ett kritiskt fel som leder till att paketinstallationen misslyckas."
93
94 #. Type: error
95 #. Description
96 #: ../sasl2-bin.templates:4001
97 msgid ""
98 "Please eliminate all possible reasons that might lead to this failure, and "
99 "try to configure this package again."
100 msgstr "Eliminera alla möjliga orsaker som kan leda till detta misslyckande och försök konfigurera detta paket igen."
101
102 #. Type: error
103 #. Description
104 #: ../sasl2-bin.templates:5001
105 msgid "Failed to upgrade /etc/sasldb2"
106 msgstr "Misslyckades med att uppgradera /etc/sasldb2"
107
108 #. Type: error
109 #. Description
110 #: ../sasl2-bin.templates:5001
111 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
112 msgstr "Filen /etc/sasldb2 kunde inte uppgraderas till det nya databasformatet."
113
114 #. Type: error
115 #. Description
116 #: ../sasl2-bin.templates:5001
117 msgid ""
118 "The configuration process will attempt to restore the backup of this file to "
119 "its original location."
120 msgstr "Konfigurationsprocessen kommer att försöka återställa säkerhetskopian till dess ursprungliga plats."
121
122 #. Type: error
123 #. Description
124 #: ../sasl2-bin.templates:5001
125 msgid ""
126 "Please eliminate all possible reasons that might lead to this failure, then "
127 "try to configure this package again."
128 msgstr "Eliminera alla möjliga orsaker som kan leda till detta misslyckande och försök sedan konfigurera detta paket igen."
0 # translation of cyrus-sasl2.po to TAMIL
1 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the PACKAGE package.
3 #
4 # Dr.T.Vasudevan <agnihot3@gmail.com>, 2007.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: cyrus-sasl2\n"
8 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
9 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
10 "PO-Revision-Date: 2007-10-04 17:03+0530\n"
11 "Last-Translator: Dr.T.Vasudevan <agnihot3@gmail.com>\n"
12 "Language-Team: TAMIL <ubuntu-l10n-tam@lists.ubuntu.com>\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "X-Generator: KBabel 1.11.4\n"
17
18 #. Type: boolean
19 #. Description
20 #: ../sasl2-bin.templates:2001
21 msgid "Remove /etc/sasldb2?"
22 msgstr "/etc/sasldb2 ஐ நீக்கவா?"
23
24 #. Type: boolean
25 #. Description
26 #: ../sasl2-bin.templates:2001
27 msgid ""
28 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
29 "file."
30 msgstr ""
31 "ஸைரஸ் SASL பயனர் பெயர்கள் மற்றும் கடவுச்சொற்களை /etc/sasldb2 தரவுத்தள கோப்பில் சேமிக்க "
32 "இயலும்"
33
34 #. Type: boolean
35 #. Description
36 #: ../sasl2-bin.templates:2001
37 msgid ""
38 "If important data is stored in that file, you should back it up now or "
39 "choose not to remove the file."
40 msgstr ""
41 "முக்கியமான தரவு அந்த கோப்பில் சேமித்து இருந்தால் அதை நீங்கள் இப்போது பாதுகாப்பு பிரதி "
42 "எடுக்க வேன்டும் அல்லது அதை நீக்கக்கூடாது."
43
44 #. Type: string
45 #. Description
46 #: ../sasl2-bin.templates:3001
47 msgid "Backup file name for /etc/sasldb2:"
48 msgstr "/etc/sasldb2க்கு காப்புக்கோப்பு பெயர் :"
49
50 #. Type: string
51 #. Description
52 #: ../sasl2-bin.templates:3001
53 msgid ""
54 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
55 "file."
56 msgstr ""
57 "ஸைரஸ் SASL பயனர் பெயர்கள் மற்றும் கடவுச்சொற்களை /etc/sasldb2 தரவுத்தள கோப்பில் சேமித்து "
58 "உள்ளது."
59
60 #. Type: string
61 #. Description
62 #: ../sasl2-bin.templates:3001
63 msgid ""
64 "That file has to be upgraded to a newer database format. First, a backup of "
65 "the current file will be created. You can use that if you need to manually "
66 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
67 msgstr ""
68 "அந்த கோப்பு ஒரு புதிய முறைமைக்கு மேம்படுத்தப்பட வேன்டும். முதலில் ஒரு பாதுகாப்பு கோப்பு "
69 "உருவாக்கப்படும். ஒரு வேளை நீங்கள் ஸைரஸ் SASL ஐ கைமுரையாக பின்படுத்த விரும்பினால் அதை "
70 "பயன்ப்டுத்தலாம். ஆனால் தானியங்கி பின்படுத்தல் ஆதரிக்கப்படவில்லை."
71
72 #. Type: string
73 #. Description
74 #: ../sasl2-bin.templates:3001
75 msgid ""
76 "Please specify the backup file name. You should check the available disk "
77 "space in that location. If the backup file already exists, it will be "
78 "overwritten. Leaving this field empty will select the default value (/var/"
79 "backups/sasldb2.bak)."
80 msgstr ""
81 "தயவு செய்து பாதுகாப்பு கோப்பு பெயர் ஐ உள்ளிடவும். அவ்விடத்தில் வட்டு இடம் உள்ளதா என "
82 "சோதிக்க வேண்டும். பாதுகாப்பு கோப்பு ஏற்கெனவே இருந்தால் அது மேலெழுதப்படும். இந்த புலத்தை "
83 "காலியாக் விட்டால் முன்னிருப்பு மதிப்பு பயன்படுத்தப்படும். (/var/backups/sasldb2.bak)."
84
85 #. Type: error
86 #. Description
87 #: ../sasl2-bin.templates:4001
88 msgid "Failed to back up /etc/sasldb2"
89 msgstr "/etc/sasldb2 இன் பாதுகாப்பு கோப்பு உருவாக்குதல் தோல்வியுற்றது "
90
91 #. Type: error
92 #. Description
93 #: ../sasl2-bin.templates:4001
94 msgid ""
95 "The /etc/sasldb2 file could not be backed up with the file name you "
96 "specified."
97 msgstr "கோப்பு /etc/sasldb2 ஐ நீங்கள் கொடுத்த பெயரில் சேமிக்க முடியவில்லை."
98
99 #. Type: error
100 #. Description
101 #. Type: error
102 #. Description
103 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
104 msgid "This is a fatal error and will cause the package installation to fail."
105 msgstr "இது ஒரு பெரும் தவறு. மேலும் பொதி நிறுவல் தோல்வியுறும்."
106
107 #. Type: error
108 #. Description
109 #: ../sasl2-bin.templates:4001
110 msgid ""
111 "Please eliminate all possible reasons that might lead to this failure, and "
112 "try to configure this package again."
113 msgstr ""
114 "தயவு செய்து இந்த தவறு நிகழ அனைத்து வாய்ப்புகளையும் ஆராய்ந்து நீக்குங்கள். பின் இந்த பொதியை "
115 "உருவமைக்க முயலுங்கள்."
116
117 #. Type: error
118 #. Description
119 #: ../sasl2-bin.templates:5001
120 msgid "Failed to upgrade /etc/sasldb2"
121 msgstr "/etc/sasldb2 மேம்படுத்தல் தோல்வியுற்றது"
122
123 #. Type: error
124 #. Description
125 #: ../sasl2-bin.templates:5001
126 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
127 msgstr "/etc/sasldb2 கோப்பு புதிய முறைமைக்கு மேம்படுத்த இயலவில்லை."
128
129 #. Type: error
130 #. Description
131 #: ../sasl2-bin.templates:5001
132 msgid ""
133 "The configuration process will attempt to restore the backup of this file to "
134 "its original location."
135 msgstr ""
136 "இந்த வடிவமைப்பு செயல் இந்த கோப்பை பாதுகாப்பு பிரதியால் மீட்டெடுத்து பழைய இடத்தில் வைக்க "
137 "முயலும்."
138
139 #. Type: error
140 #. Description
141 #: ../sasl2-bin.templates:5001
142 msgid ""
143 "Please eliminate all possible reasons that might lead to this failure, then "
144 "try to configure this package again."
145 msgstr ""
146 "தயவு செய்து இந்த தவறு நிகழ அனைத்து வாய்ப்புகளையும் ஆராய்ந்து நீக்குங்கள். பின் இந்த பொதியை "
147 "உருவமைக்க முயலுங்கள்."
0 # SOME DESCRIPTIVE TITLE.
1 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
2 # This file is distributed under the same license as the PACKAGE package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
10 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. Type: boolean
19 #. Description
20 #: ../sasl2-bin.templates:2001
21 msgid "Remove /etc/sasldb2?"
22 msgstr ""
23
24 #. Type: boolean
25 #. Description
26 #: ../sasl2-bin.templates:2001
27 msgid ""
28 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
29 "file."
30 msgstr ""
31
32 #. Type: boolean
33 #. Description
34 #: ../sasl2-bin.templates:2001
35 msgid ""
36 "If important data is stored in that file, you should back it up now or "
37 "choose not to remove the file."
38 msgstr ""
39
40 #. Type: string
41 #. Description
42 #: ../sasl2-bin.templates:3001
43 msgid "Backup file name for /etc/sasldb2:"
44 msgstr ""
45
46 #. Type: string
47 #. Description
48 #: ../sasl2-bin.templates:3001
49 msgid ""
50 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
51 "file."
52 msgstr ""
53
54 #. Type: string
55 #. Description
56 #: ../sasl2-bin.templates:3001
57 msgid ""
58 "That file has to be upgraded to a newer database format. First, a backup of "
59 "the current file will be created. You can use that if you need to manually "
60 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
61 msgstr ""
62
63 #. Type: string
64 #. Description
65 #: ../sasl2-bin.templates:3001
66 msgid ""
67 "Please specify the backup file name. You should check the available disk "
68 "space in that location. If the backup file already exists, it will be "
69 "overwritten. Leaving this field empty will select the default value (/var/"
70 "backups/sasldb2.bak)."
71 msgstr ""
72
73 #. Type: error
74 #. Description
75 #: ../sasl2-bin.templates:4001
76 msgid "Failed to back up /etc/sasldb2"
77 msgstr ""
78
79 #. Type: error
80 #. Description
81 #: ../sasl2-bin.templates:4001
82 msgid ""
83 "The /etc/sasldb2 file could not be backed up with the file name you "
84 "specified."
85 msgstr ""
86
87 #. Type: error
88 #. Description
89 #. Type: error
90 #. Description
91 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
92 msgid "This is a fatal error and will cause the package installation to fail."
93 msgstr ""
94
95 #. Type: error
96 #. Description
97 #: ../sasl2-bin.templates:4001
98 msgid ""
99 "Please eliminate all possible reasons that might lead to this failure, and "
100 "try to configure this package again."
101 msgstr ""
102
103 #. Type: error
104 #. Description
105 #: ../sasl2-bin.templates:5001
106 msgid "Failed to upgrade /etc/sasldb2"
107 msgstr ""
108
109 #. Type: error
110 #. Description
111 #: ../sasl2-bin.templates:5001
112 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
113 msgstr ""
114
115 #. Type: error
116 #. Description
117 #: ../sasl2-bin.templates:5001
118 msgid ""
119 "The configuration process will attempt to restore the backup of this file to "
120 "its original location."
121 msgstr ""
122
123 #. Type: error
124 #. Description
125 #: ../sasl2-bin.templates:5001
126 msgid ""
127 "Please eliminate all possible reasons that might lead to this failure, then "
128 "try to configure this package again."
129 msgstr ""
0 # Vietnamese translation for Cyrus SASL 2.
1 # Copyright © 2007 Free Software Foundation, Inc.
2 # Clytie Siddall <clytie@riverland.net.au>, 2007
3 #
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: cyrus-sasl2\n"
7 "Report-Msgid-Bugs-To: pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org\n"
8 "POT-Creation-Date: 2007-10-02 07:23+0200\n"
9 "PO-Revision-Date: 2007-10-03 22:12+0930\n"
10 "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
11 "Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=1; plural=0;\n"
16 "X-Generator: LocFactoryEditor 1.7b1\n"
17
18 #. Type: boolean
19 #. Description
20 #: ../sasl2-bin.templates:2001
21 msgid "Remove /etc/sasldb2?"
22 msgstr "Gỡ bỏ « /etc/sasldb2 » không?"
23
24 #. Type: boolean
25 #. Description
26 #: ../sasl2-bin.templates:2001
27 msgid ""
28 "Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database "
29 "file."
30 msgstr ""
31 "Phần mềm Cyrus SASL có khả năng cất giữ các tên người dùng và mật khẩu đều "
32 "trong tập tin cơ sở dữ liệu « /etc/sasldb2 »."
33
34 #. Type: boolean
35 #. Description
36 #: ../sasl2-bin.templates:2001
37 msgid ""
38 "If important data is stored in that file, you should back it up now or "
39 "choose not to remove the file."
40 msgstr ""
41 "Tập tin này chứa dữ liệu quan trọng nên bạn sao lưu nó ngay bây giờ, hoặc "
42 "không gỡ bỏ nó."
43
44 #. Type: string
45 #. Description
46 #: ../sasl2-bin.templates:3001
47 msgid "Backup file name for /etc/sasldb2:"
48 msgstr "Tên tập tin sao lưu cho « /etc/sasldb2 »:"
49
50 #. Type: string
51 #. Description
52 #: ../sasl2-bin.templates:3001
53 msgid ""
54 "Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database "
55 "file."
56 msgstr ""
57 "Phần mềm Cyrus SASL đã cất giữ các tên người dùng và mật khẩu đều trong tập "
58 "tin cơ sở dữ liệu « /etc/sasldb2 »."
59
60 #. Type: string
61 #. Description
62 #: ../sasl2-bin.templates:3001
63 msgid ""
64 "That file has to be upgraded to a newer database format. First, a backup of "
65 "the current file will be created. You can use that if you need to manually "
66 "downgrade Cyrus SASL. However, automatic downgrades are not supported."
67 msgstr ""
68 "Tập tin này phải được nâng cấp lên định dạng cơ sở dữ liệu mới. Trước tiên, "
69 "bản sao lưu của tập tin hiện thời sẽ được tạo. Bạn có thể sử dụng tập tin "
70 "sao lưu này trong trường hợp bạn cần phải tự hạ cấp Cyrus SASL. Tuy nhiên, "
71 "phần mềm này không hỗ trợ khả năng tự động hạ cấp."
72
73 #. Type: string
74 #. Description
75 #: ../sasl2-bin.templates:3001
76 msgid ""
77 "Please specify the backup file name. You should check the available disk "
78 "space in that location. If the backup file already exists, it will be "
79 "overwritten. Leaving this field empty will select the default value (/var/"
80 "backups/sasldb2.bak)."
81 msgstr ""
82 "Hãy ghi rõ tên cho tập tin sao lưu. Khuyên bạn cũng kiểm tra có đủ chỗ trên "
83 "đĩa ở vị trí đó. Tập tin sao lưu đã tồn tại thì bị ghi đè. Bỏ trống trường "
84 "này thì chọn giá trị mặc định (/var/backups/sasldb2.bak)."
85
86 #. Type: error
87 #. Description
88 #: ../sasl2-bin.templates:4001
89 msgid "Failed to back up /etc/sasldb2"
90 msgstr "Lỗi sao lưu « /etc/sasldb2 »"
91
92 #. Type: error
93 #. Description
94 #: ../sasl2-bin.templates:4001
95 msgid ""
96 "The /etc/sasldb2 file could not be backed up with the file name you "
97 "specified."
98 msgstr ""
99 "Tập tin « /etc/sasldb2 » không thể được sao lưu dưới tên tập tin bạn đã ghi "
100 "rõ."
101
102 #. Type: error
103 #. Description
104 #. Type: error
105 #. Description
106 #: ../sasl2-bin.templates:4001 ../sasl2-bin.templates:5001
107 msgid "This is a fatal error and will cause the package installation to fail."
108 msgstr ""
109 "Đây là lỗi nghiêm trọng sẽ gây ra chạy không thành công tiến trình cài đặt "
110 "gói."
111
112 #. Type: error
113 #. Description
114 #: ../sasl2-bin.templates:4001
115 msgid ""
116 "Please eliminate all possible reasons that might lead to this failure, and "
117 "try to configure this package again."
118 msgstr ""
119 "Hãy loại ra mọi lý do có thể đưa tới vấn đề lỗi này, rồi thử lại cấu hình "
120 "gói."
121
122 #. Type: error
123 #. Description
124 #: ../sasl2-bin.templates:5001
125 msgid "Failed to upgrade /etc/sasldb2"
126 msgstr "Lỗi nâng cấp « /etc/sasldb2 »"
127
128 #. Type: error
129 #. Description
130 #: ../sasl2-bin.templates:5001
131 msgid "The /etc/sasldb2 file could not be upgraded to the new database format."
132 msgstr ""
133 "Tập tin « /etc/sasldb2 » không thể được nâng cấp lên định dạng cơ sở dữ liệu "
134 "mới."
135
136 #. Type: error
137 #. Description
138 #: ../sasl2-bin.templates:5001
139 msgid ""
140 "The configuration process will attempt to restore the backup of this file to "
141 "its original location."
142 msgstr ""
143 "Tiến trình cấu hình sẽ thử phục hồi bản sao lưu của tập tin này ở vị trí gốc "
144 "của nó."
145
146 #. Type: error
147 #. Description
148 #: ../sasl2-bin.templates:5001
149 msgid ""
150 "Please eliminate all possible reasons that might lead to this failure, then "
151 "try to configure this package again."
152 msgstr ""
153 "Hãy loại ra mọi lý do có thể đưa tới vấn đề lỗi này, rồi thử lại cấu hình "
154 "gói."
0 #!/bin/sh
1 #
2 # Repackage upstream source to exclude non-distributable files.
3 # Should be called as "repack sh --upstream-source <version> <file>
4 # (for example, via uscan).
5
6 set -e
7 set -u
8
9 if [ $# -ne 3 ]; then
10 echo "Usage: $0 --upstream-source <version> <file>"
11 exit 1
12 fi
13
14 OPT_VERSION=$2
15 OPT_FILE=$3
16 TMPDIR=`mktemp -d`
17 trap "rm -rf $TMPDIR" QUIT INT EXIT
18
19 echo "Repackaging $OPT_FILE"
20
21 tar xzf $OPT_FILE -C $TMPDIR
22
23 orig_file_path=`readlink --canonicalize $OPT_FILE`
24 upstream_directory=`ls -1 $TMPDIR | head -1`
25 package_name=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
26 dfsg_directory=${package_name}_${OPT_VERSION}.dfsg1
27 dfsg_file_path=`dirname $orig_file_path`/$dfsg_directory.orig.tar.gz
28
29 # Use a subshell to remove the non-dfsg-free files
30 (
31 set -e
32 set -u
33
34 cd $TMPDIR/$upstream_directory
35
36 # Individual files to remove
37 for file in \
38 doc/draft* \
39 doc/rfc* \
40 java/doc/draft* ; do
41 rm -v $file
42 done
43
44 # Whole directories to remove
45 for directory in \
46 dlcompat-20010505 ; do
47 rm -rfv $directory
48 done
49 )
50
51 # Rename upstream tarball root directory and repackage the file
52 (
53 cd $TMPDIR
54 mv $upstream_directory $dfsg_directory
55 tar czf $orig_file_path *
56 mv $orig_file_path $dfsg_file_path
57 )
58
59 echo "File $OPT_FILE repackaged successfully to $dfsg_file_path"
60
0 #!/usr/bin/make -f
1 # -*- makefile -*-
2 #
3 # debian/rules for CMU Cyrus SASL version 2.1
4 #
5 # Copyright (c) 2006 by Fabian Fagerholm.
6 # Based on previous work by Dima Barsky.
7 # Based on cyrus-imapd-2.2 packages by Henrique de Moraes Holshuch.
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version.
13 #
14 # Note that Cyrus SASL itself is published under a different license.
15
16
17 # Debhelper control.
18 export DH_ALWAYS_EXCLUDE=CVS
19 #export DH_VERBOSE=1 # uncomment this to turn on verbose mode
20 export DEB_BUILD_HARDENING=1
21
22 # These are used for cross-compiling and for saving the configure script
23 # from having to guess our platform (since we know it already).
24 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
25 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
26
27 include /usr/share/quilt/quilt.make
28
29 # Set proper compiler flags here.
30 CFLAGS = -Wall -g
31
32 # Optimization may be turned off during the build, but is on by default.
33 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
34 CFLAGS += -O0
35 else
36 CFLAGS += -O2
37 endif
38
39 # SQL support may be turned off during the build, but is on by default.
40 ifeq (,$(findstring no-sql,$(DEB_BUILD_OPTIONS)))
41 CONFIGURE_SQL=--enable-sql
42 else
43 CONFIGURE_SQL=--disable-sql
44 endif
45
46 # LDAP support may be turned off during the build, but is on by default.
47 ifeq (,$(findstring no-ldap,$(DEB_BUILD_OPTIONS)))
48 CONFIGURE_LDAP=--with-ldap
49 CONFIGURE_LDAPDB=--enable-ldapdb
50 else
51 CONFIGURE_LDAP=--without-ldap
52 CONFIGURE_LDAPDB=--disable-ldapdb
53 endif
54
55 # GSSAPI support may be turned off during the build, but is on by default
56 ifeq (,$(findstring no-gssapi,$(DEB_BUILD_OPTIONS)))
57 CONFIGURE_GSSAPI=--enable-gssapi
58 else
59 CONFIGURE_GSSAPI=--disable-gssapi
60 endif
61
62 CONFIGURE_COMMON_OPTIONS=--host=$(DEB_HOST_GNU_TYPE) \
63 --build=$(DEB_BUILD_GNU_TYPE) \
64 --prefix=/usr \
65 --mandir=\$${prefix}/share/man \
66 --infodir=\$${prefix}/share/info \
67 --enable-static \
68 --enable-shared \
69 --enable-alwaystrue \
70 --enable-checkapop \
71 --enable-cram \
72 --enable-digest \
73 --enable-otp \
74 --disable-srp \
75 --disable-srp-setpass \
76 --disable-krb4 \
77 $(CONFIGURE_GSSAPI) \
78 --enable-gss_mutexes \
79 --enable-auth-sasldb \
80 --enable-plain \
81 --enable-anon \
82 --enable-login \
83 --enable-ntlm \
84 --disable-passdss \
85 $(CONFIGURE_SQL) \
86 $(CONFIGURE_LDAPDB) \
87 --disable-macos-framework \
88 --with-pam \
89 --with-saslauthd=/var/run/saslauthd \
90 $(CONFIGURE_LDAP) \
91 --with-pgsql=/usr/include/postgresql \
92 --with-configdir=/etc/sasl:/usr/lib/sasl2 \
93 --sysconfdir=/etc \
94 --with-devrandom=/dev/urandom
95
96 # Prepare shared library version numbers.
97 version=`ls src/.libs/lib*.so.* | \
98 awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
99 major=`ls src/.libs/lib*.so.* | \
100 awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
101
102 # Some convenience variables
103 export TMPBUILD_MIT := $(CURDIR)/build-mit
104 export TMPBUILD_HEIMDAL := $(CURDIR)/build-heimdal
105 export TMPPKG_MIT := $(CURDIR)/debian/tmp-mit
106 export TMPPKG_HEIMDAL := $(CURDIR)/debian/tmp-heimdal
107
108 AUTOFILES=acinclude.m4 aclocal.m4 config/config.sub config/config.guess \
109 config/ltmain.sh config/libtool.m4
110 BUILD_TMP_SUFFIX=.debian-build.tmp
111 AUTOTOOLS=for i in $(AUTOFILES); do \
112 if [ -e $$i ]; then \
113 mv --verbose $$i `basename $$i`$(BUILD_TMP_SUFFIX) ; \
114 fi ; \
115 done && \
116 libtoolize --force && \
117 aclocal-1.9 -I $(CURDIR)/cmulocal -I $(CURDIR)/config && \
118 autoheader && \
119 autoconf && \
120 automake-1.9 --add-missing --include-deps && \
121 touch stamp-h.in
122 AUTOTOOLS_REVERSE=for i in $(AUTOFILES); do \
123 if [ -e `basename $$i`$(BUILD_TMP_SUFFIX) ]; then \
124 if [ -e $$i ]; then rm -fv $$i; fi ; \
125 mv --verbose `basename $$i`$(BUILD_TMP_SUFFIX) $$i ; \
126 fi ; \
127 done
128
129
130 ### The Makefile targets begin. ###
131
132
133 ###
134 # Clean up the source tree to prepare for building.
135 ###
136 clean: unpatch
137 dh_testdir
138 dh_testroot
139 rm -f build-stamp build-indep-stamp build-arch-stamp
140
141 rm -f $(CURDIR)/sample/sample-client \
142 $(CURDIR)/sample/sample-server
143 [ ! -f Makefile ] || $(MAKE) distclean
144 $(AUTOTOOLS_REVERSE)
145 (cd saslauthd && $(AUTOTOOLS_REVERSE) && cd ..)
146 -rm -f config.h config.log autom4ate.cache
147
148 # Remove symlinks that the CMU build sets up but never removes.
149 # They can be found by running find . -lname '*' -print in the
150 # source tree before and after a build and comparing the differences.
151 rm -f lib/sasldb.c lib/db_berkeley.c lib/allockey.c lib/cram.c \
152 lib/digestmd5.c lib/otp.c lib/gssapi.c lib/plain.c \
153 lib/anonymous.c lib/login.c lib/ntlm.c lib/sql.c lib/ldapdb.c
154
155 # Remove generated man pages
156 -rm -f sasl-sample-client.8 sasl-sample-server.8 gen-auth.1
157
158 # Remove build directories
159 rm -rf $(TMPBUILD_MIT) $(TMPBUILD_HEIMDAL) $(TMPPKG_MIT) $(TMPPKG_HEIMDAL)
160
161 dh_clean
162
163 ###
164 # Configure the package.
165 ###
166 config.status: configure-stamp
167 configure-stamp: $(QUILT_STAMPFN)
168 dh_testdir
169
170 # Avoid problems with timestamp skew and autotools.
171 touch configure
172 $(AUTOTOOLS)
173 (cd saslauthd && $(AUTOTOOLS) && cd ..)
174 mkdir $(TMPBUILD_MIT)
175 cd $(TMPBUILD_MIT) && \
176 LDFLAGS="$(LDFLAGS) -L/usr/lib/mit-krb5 -Wl,-z,defs" \
177 CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -I/usr/include/mit-krb5" \
178 ../configure $(CONFIGURE_COMMON_OPTIONS) --with-gss_impl=mit
179 # Cope with the way that ./configure creates symlinks
180 cp $(CURDIR)/sasldb/* $(TMPBUILD_MIT)/sasldb/
181 cp $(CURDIR)/plugins/* $(TMPBUILD_MIT)/plugins/
182 cp $(CURDIR)/lib/* $(TMPBUILD_MIT)/lib/
183 mkdir $(TMPBUILD_HEIMDAL)
184 cd $(TMPBUILD_HEIMDAL) && \
185 LDFLAGS="$(LDFLAGS) -L/usr/lib/heimdal -Wl,-z,defs" \
186 CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -I/usr/include/heimdal" \
187 ../configure $(CONFIGURE_COMMON_OPTIONS) --with-gss_impl=heimdal
188 # Cope with the way that ./configure creates symlinks
189 cp $(CURDIR)/sasldb/* $(TMPBUILD_HEIMDAL)/sasldb/
190 cp $(CURDIR)/plugins/* $(TMPBUILD_HEIMDAL)/plugins/
191 cp $(CURDIR)/lib/* $(TMPBUILD_HEIMDAL)/lib/
192
193 # Record the build-time settings for later reference
194 echo 'To build this package, configure was called as follows:' \
195 > debian/README.configure-options
196 grep with\ options $(TMPBUILD_MIT)/config.status | sed -e \
197 's/^.*options \\"/configure /;s/\\"$///' \
198 >> debian/README.configure-options
199
200 ###
201 # Build architecture-dependent files.
202 ###
203 build-arch: build-arch-stamp
204 build-arch-stamp: config.status
205 dh_testdir
206
207 # Ugly hack: the CMU build system is broken.
208 # Certain symlinks get created too late, resulting in a
209 # build failure. We work around this by running make twice,
210 # ignoring the first failure.
211 -cd $(TMPBUILD_MIT) && $(MAKE)
212 cd $(TMPBUILD_MIT) && $(MAKE)
213 -cd $(TMPBUILD_HEIMDAL) && $(MAKE)
214 cd $(TMPBUILD_HEIMDAL) && $(MAKE)
215
216 # Build sample-{client,server}
217 $(MAKE) -f $(CURDIR)/debian/sample/Makefile -C $(CURDIR)/sample T=$(TMPBUILD_MIT)
218
219 touch build-arch-stamp
220
221 ###
222 # Build architecture-independent files.
223 ###
224 build-indep: build-indep-stamp
225 build-indep-stamp:
226 # Build the sasl-sample-client and sasl-sample-server man pages.
227 /usr/bin/docbook-to-man debian/sasl-sample-client.sgml \
228 > sasl-sample-client.8
229 /usr/bin/docbook-to-man debian/sasl-sample-server.sgml \
230 > sasl-sample-server.8
231 # Build the gen-auth man page
232 /usr/bin/pod2man --stderr debian/gen-auth/gen-auth >gen-auth.1
233
234 touch build-indep-stamp
235
236 ###
237 # Install the built files in their corresponding package directories.
238 ###
239 install: build-arch build-indep test
240 dh_testdir
241 dh_testroot
242 dh_clean -k
243
244 cd $(TMPBUILD_MIT) && $(MAKE) install DESTDIR=$(TMPPKG_MIT)
245 cd $(TMPBUILD_HEIMDAL) && $(MAKE) install DESTDIR=$(TMPPKG_HEIMDAL)
246
247 # Alter the default location and names of files to fit Debian
248 # policy and better integrate with the Debian system.
249 mv $(TMPPKG_MIT)/usr/sbin/pluginviewer $(TMPPKG_MIT)/usr/sbin/saslpluginviewer
250 mv $(TMPPKG_MIT)/usr/share/man/man8/pluginviewer.8 \
251 $(TMPPKG_MIT)/usr/share/man/man8/saslpluginviewer.8
252 install -m 644 saslauthd/saslauthd.mdoc \
253 $(TMPPKG_MIT)/usr/share/man/man8/saslauthd.8
254 install -m 644 $(CURDIR)/debian/testsaslauthd.8 \
255 $(TMPPKG_MIT)/usr/share/man/man8/testsaslauthd.8
256 mv $(TMPPKG_MIT)/usr/sbin/dbconverter-2 $(TMPPKG_MIT)/usr/sbin/sasldbconverter2
257 install -m 644 utils/sasldbconverter2.8 \
258 $(TMPPKG_MIT)/usr/share/man/man8/sasldbconverter2.8
259
260 # Install sample-{client,server} with Debianized names
261 install -m 755 -D $(CURDIR)/sample/sample-client \
262 $(TMPPKG_MIT)/usr/bin/sasl-sample-client
263 install -m 755 -D $(CURDIR)/sample/sample-server \
264 $(TMPPKG_MIT)/usr/sbin/sasl-sample-server
265
266 # Alter the rpath of certain binaries and shared libraries.
267 chrpath -d $(TMPPKG_MIT)/usr/sbin/sasldblistusers2 \
268 $(TMPPKG_MIT)/usr/sbin/saslpasswd2
269 chrpath -d $(TMPPKG_MIT)/usr/lib/sasl2/libsql.so.2.0.23
270
271 # Install the sasl-sample-client and -server man pages.
272 dh_installman -psasl2-bin sasl-sample-client.8 sasl-sample-server.8
273
274 # Install saslfinger
275 install -m 644 -D $(CURDIR)/debian/saslfinger/saslfinger.1 \
276 $(TMPPKG_MIT)/usr/share/man/man1/saslfinger.1
277 install -m 755 -D $(CURDIR)/debian/saslfinger/saslfinger \
278 $(TMPPKG_MIT)/usr/bin/saslfinger
279
280 # Install gen-auth
281 install -m 755 -D $(CURDIR)/debian/gen-auth/gen-auth \
282 $(TMPPKG_MIT)/usr/bin/gen-auth
283
284 # Install the gen-auth man page
285 dh_installman -psasl2-bin gen-auth.1
286
287 ###
288 # Build architecture-dependent files.
289 ###
290 binary-arch: build-arch install
291 dh_testdir -s
292 dh_testroot -s
293 dh_installdebconf -s
294 dh_installchangelogs -s ChangeLog
295 dh_installdocs -s
296 dh_installexamples -s
297 dh_installdirs -s
298 cp debian/sasl2-bin.lintian-overrides \
299 debian/sasl2-bin/usr/share/lintian/overrides/sasl2-bin
300 cp debian/libsasl2-modules.lintian-overrides \
301 debian/libsasl2-modules/usr/share/lintian/overrides/libsasl2-modules
302 cp debian/libsasl2-modules-otp.lintian-overrides \
303 debian/libsasl2-modules-otp/usr/share/lintian/overrides/libsasl2-modules-otp
304 cp debian/libsasl2-modules-gssapi-heimdal.lintian-overrides \
305 debian/libsasl2-modules-gssapi-heimdal/usr/share/lintian/overrides/libsasl2-modules-gssapi-heimdal
306 dh_install -s --autodest --list-missing --sourcedir=$(TMPPKG_MIT) -psasl2-bin -plibsasl2-2 -plibsasl2-modules -plibsasl2-modules-ldap -plibsasl2-modules-otp -plibsasl2-modules-sql -plibsasl2-modules-gssapi-mit -plibsasl2-dev -Nlibsasl2-modules-gssapi-heimdal
307 dh_install -s --autodest --list-missing --sourcedir=$(TMPPKG_HEIMDAL) -plibsasl2-modules-gssapi-heimdal -Nsasl2-bin -Nlibsasl2-2 -Nlibsasl2-modules -Nlibsasl2-modules-ldap -Nlibsasl2-modules-otp -Nlibsasl2-modules-sql -Nlibsasl2-modules-gssapi-mit -Nlibsasl2-dev
308 dh_installinit --name=saslauthd start 20 2 3 4 5 . stop 20 1 .
309 dh_installman -s
310 dh_link -s
311 dh_strip -s -psasl2-bin -plibsasl2-2 -plibsasl2-modules -plibsasl2-modules-ldap -plibsasl2-modules-otp -plibsasl2-modules-sql -plibsasl2-modules-gssapi-mit -plibsasl2-dev -Nlibsasl2-modules-gssapi-heimdal --dbg-package=cyrus-sasl2-dbg
312 dh_strip -s -plibsasl2-modules-gssapi-heimdal -Nsasl2-bin -Nlibsasl2-2 -Nlibsasl2-modules -Nlibsasl2-modules-ldap -Nlibsasl2-modules-otp -Nlibsasl2-modules-sql -Nlibsasl2-modules-gssapi-mit -Nlibsasl2-dev --dbg-package=cyrus-sasl2-heimdal-dbg
313 mv debian/cyrus-sasl2-dbg/usr/lib/debug/usr/lib/sasl2/libgssapiv2.so.2.0.23 debian/cyrus-sasl2-mit-dbg/usr/lib/debug/usr/lib/sasl2/
314 dh_compress -s
315 dh_fixperms -s
316 dh_makeshlibs -s -X/usr/lib/sasl2
317 dh_installdeb -s
318 dh_shlibdeps -s
319 dh_gencontrol -s
320 dh_md5sums -s
321 dh_builddeb -s
322
323 ###
324 # Build architecture-independent files.
325 ###
326 binary-indep: build-indep install
327 dh_testdir -i
328 dh_testroot -i
329 dh_installchangelogs -i ChangeLog
330 dh_installdocs -i
331 dh_installexamples -i
332 dh_compress -i
333 dh_fixperms -i
334 dh_installdeb -i
335 dh_gencontrol -i
336 dh_md5sums -i
337 dh_builddeb -i
338
339 ###
340 # Run tests to check that the build is ok
341 ###
342 test: build-arch build-indep
343 dh_testdir
344 cd $(TMPBUILD_MIT)/saslauthd && $(MAKE) testsaslauthd
345 cd $(TMPBUILD_MIT)/utils && $(MAKE) testsuite
346
347 ###
348 # Assemble the binary packages.
349 ###
350 binary: binary-indep binary-arch
351 .PHONY: clean build-arch build-indep build install binary-arch binary-indep binary
352
0 #!/usr/bin/make -f
1
2 INCDIR1=$(T)/../include
3 INCDIR2=$(T)/include
4 LIBDIR=$(T)/lib/.libs
5
6 all: sample-server sample-client
7
8 sample-server: sample-server.c
9 gcc -g -o sample-server sample-server.c -I. -I$(T) -I$(INCDIR1) -I$(INCDIR2) -L$(LIBDIR) -lsasl2
10
11 sample-client: sample-client.c
12 gcc -g -o sample-client sample-client.c -I. -I$(T) -I$(INCDIR1) -I$(INCDIR2) -L$(LIBDIR) -lsasl2
0 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
1
2 <!-- Process this file with docbook-to-man to generate an nroff manual
3 page: `docbook-to-man manpage.sgml > manpage.1'. You may view
4 the manual page with: `docbook-to-man manpage.sgml | nroff -man |
5 less'. The docbook-to-man binary is found in the docbook-to-man
6 package. -->
7
8 <!ENTITY dhfirstname "<firstname>Fabian</firstname>">
9 <!ENTITY dhsurname "<surname>Fagerholm</surname>">
10
11 <!-- Please adjust the date whenever revising the manpage. -->
12 <!ENTITY dhdate "<date>Jul 10, 2007</date>">
13
14 <!ENTITY dhsection "<manvolnum>8</manvolnum>">
15 <!ENTITY dhemail "<email>fabbe@debian.org</email>">
16 <!ENTITY dhusername "Fabian Fagerholm">
17 <!ENTITY dhucpackage "<refentrytitle>SASL-SAMPLE-CLIENT</refentrytitle>">
18 <!ENTITY dhpackage "sasl-sample-client">
19 <!ENTITY debian "<productname>Debian</productname>">
20 <!ENTITY gnu "<acronym>GNU</acronym>">
21
22 ]>
23
24 <refentry>
25 <refentryinfo>
26 <address>&dhemail;</address>
27 <author>&dhfirstname; &dhsurname;</author>
28 <copyright>
29 <year>2007</year>
30 <holder>&dhusername;</holder>
31 </copyright>
32 &dhdate;
33 </refentryinfo>
34 <refmeta>
35 &dhucpackage;
36
37 &dhsection;
38 </refmeta>
39 <refnamediv>
40 <refname>&dhpackage;</refname>
41 <refpurpose>Sample client program for demonstrating and testing SASL authentication.</refpurpose>
42 </refnamediv>
43 <refsynopsisdiv>
44 <cmdsynopsis>
45 <command>&dhpackage;</command>
46 <arg>-b min=<replaceable>N</replaceable>,max=<replaceable>N</replaceable></arg>
47 <arg>-e ssf=<replaceable>N</replaceable>,id=<replaceable>ID</replaceable></arg>
48 <arg>-m <replaceable>MECH</replaceable></arg>
49 <arg>-f <replaceable>FLAGS</replaceable></arg>
50 <arg>-i local=<replaceable>IP</replaceable>,remote=<replaceable>IP</replaceable></arg>
51 <arg>-p <replaceable>PATH</replaceable></arg>
52 <arg>-s <replaceable>NAME</replaceable></arg>
53 <arg>-n <replaceable>FQDN</replaceable></arg>
54 <arg>-u <replaceable>ID</replaceable></arg>
55 <arg>-a <replaceable>ID</replaceable></arg>
56 </cmdsynopsis>
57 </refsynopsisdiv>
58 <refsect1>
59 <title>DESCRIPTION</title>
60
61 <para>This manual page documents briefly the
62 <command>&dhpackage;</command> command.</para>
63
64 <para>This manual page was written for the &debian; distribution
65 because the original program does not have a manual page.</para>
66
67 <para><command>&dhpackage;</command> is a program to demonstrate
68 and test SASL authentication. It implements the client part, and
69 the server part is available as sasl-sample-server.</para>
70 </refsect1>
71 <refsect1>
72 <title>OPTIONS</title>
73
74 <para>A summary of options is included below.</para>
75
76 <variablelist>
77
78 <varlistentry>
79 <term><option>-b</option></term>
80 <listitem>
81 <para>Number of bits to use for encryption.</para>
82 <variablelist>
83 <varlistentry>
84 <term>min=N</term>
85 <listitem>
86 <para>minimum number of bits to use (1 => integrity)</para>
87 </listitem>
88 </varlistentry>
89 <varlistentry>
90 <term>max=N</term>
91 <listitem>
92 <para>maximum number of bits to use</para>
93 </listitem>
94 </varlistentry>
95 </variablelist>
96 </listitem>
97 </varlistentry>
98
99
100 <varlistentry>
101 <term><option>-e</option></term>
102 <listitem>
103 <para>Assume external encryption.</para>
104 <variablelist>
105 <varlistentry>
106 <term>ssf=N</term>
107 <listitem>
108 <para>external mech provides N bits of encryption</para>
109 </listitem>
110 </varlistentry>
111 <varlistentry>
112 <term>id=ID</term>
113 <listitem>
114 <para>external mech provides authentication id ID</para>
115 </listitem>
116 </varlistentry>
117 </variablelist>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry>
122 <term><option>-m</option></term>
123 <listitem>
124 <para>Force use of MECH for security.</para>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry>
129 <term><option>-f</option></term>
130 <listitem>
131 <para>Set security flags.</para>
132 <variablelist>
133 <varlistentry>
134 <term>noplain</term>
135 <listitem>
136 <para>require security vs. passive attacks</para>
137 </listitem>
138 </varlistentry>
139 <varlistentry>
140 <term>noactive</term>
141 <listitem>
142 <para>require security vs. active attacks</para>
143 </listitem>
144 </varlistentry>
145 <varlistentry>
146 <term>nodict</term>
147 <listitem>
148 <para>require security vs. passive dictionary attacks</para>
149 </listitem>
150 </varlistentry>
151 <varlistentry>
152 <term>forwardsec</term>
153 <listitem>
154 <para>require forward secrecy</para>
155 </listitem>
156 </varlistentry>
157 <varlistentry>
158 <term>maximum</term>
159 <listitem>
160 <para>require all security flags</para>
161 </listitem>
162 </varlistentry>
163 <varlistentry>
164 <term>passcred</term>
165 <listitem>
166 <para>attempt to pass client credentials</para>
167 </listitem>
168 </varlistentry>
169 </variablelist>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry>
174 <term><option>-i</option></term>
175 <listitem>
176 <para>Set IP addresses (required by some mechs).</para>
177 <variablelist>
178 <varlistentry>
179 <term>local=IP;PORT</term>
180 <listitem>
181 <para>set local address to IP, port PORT</para>
182 </listitem>
183 </varlistentry>
184 <varlistentry>
185 <term>remote=IP;PORT</term>
186 <listitem>
187 <para>set remote address to IP, port PORT</para>
188 </listitem>
189 </varlistentry>
190 </variablelist>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry>
195 <term><option>-p</option></term>
196 <listitem>
197 <para>Colon-separated search path for mechanisms.</para>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry>
202 <term><option>-r</option></term>
203 <listitem>
204 <para>Realm to use.</para>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry>
209 <term><option>-s</option></term>
210 <listitem>
211 <para>Service name passed to mechanisms.</para>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry>
216 <term><option>-n</option></term>
217 <listitem>
218 <para>Server fully-qualified domain name.</para>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry>
223 <term><option>-u</option></term>
224 <listitem>
225 <para>User (authorization) id to request.</para>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry>
230 <term><option>-a</option></term>
231 <listitem>
232 <para>Id to authenticate as.</para>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry>
237 <term><option>-d</option></term>
238 <listitem>
239 <para>Disable client-send-first.</para>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry>
244 <term><option>-l</option></term>
245 <listitem>
246 <para>Enable server-send-last.</para>
247 </listitem>
248 </varlistentry>
249
250 </variablelist>
251 </refsect1>
252 <refsect1>
253 <title>SEE ALSO</title>
254
255 <para>For additional information, please see
256 /usr/share/doc/sasl2-bin/testing.txt</para>
257 </refsect1>
258 <refsect1>
259 <title>AUTHOR</title>
260
261 <para>This manual page was written by &dhusername; &dhemail; for
262 the &debian; system (but may be used by others). Permission is
263 granted to redistribute it and/or modify it under the terms of
264 the &gnu; General Public License as published by the Free
265 Software Foundation; either version 2 of the License, or (at
266 your option) any later version.</para>
267
268 </refsect1>
269 </refentry>
0 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
1
2 <!-- Process this file with docbook-to-man to generate an nroff manual
3 page: `docbook-to-man manpage.sgml > manpage.1'. You may view
4 the manual page with: `docbook-to-man manpage.sgml | nroff -man |
5 less'. The docbook-to-man binary is found in the docbook-to-man
6 package. -->
7
8 <!ENTITY dhfirstname "<firstname>Fabian</firstname>">
9 <!ENTITY dhsurname "<surname>Fagerholm</surname>">
10
11 <!-- Please adjust the date whenever revising the manpage. -->
12 <!ENTITY dhdate "<date>Jul 10, 2007</date>">
13
14 <!ENTITY dhsection "<manvolnum>8</manvolnum>">
15 <!ENTITY dhemail "<email>fabbe@debian.org</email>">
16 <!ENTITY dhusername "Fabian Fagerholm">
17 <!ENTITY dhucpackage "<refentrytitle>SASL-SAMPLE-SERVER</refentrytitle>">
18 <!ENTITY dhpackage "sasl-sample-server">
19 <!ENTITY debian "<productname>Debian</productname>">
20 <!ENTITY gnu "<acronym>GNU</acronym>">
21
22 ]>
23
24 <refentry>
25 <refentryinfo>
26 <address>&dhemail;</address>
27 <author>&dhfirstname; &dhsurname;</author>
28 <copyright>
29 <year>2007</year>
30 <holder>&dhusername;</holder>
31 </copyright>
32 &dhdate;
33 </refentryinfo>
34 <refmeta>
35 &dhucpackage;
36
37 &dhsection;
38 </refmeta>
39 <refnamediv>
40 <refname>&dhpackage;</refname>
41 <refpurpose>Sample server program for demonstrating and testing SASL authentication.</refpurpose>
42 </refnamediv>
43 <refsynopsisdiv>
44 <cmdsynopsis>
45 <command>&dhpackage;</command>
46 <arg>-b min=<replaceable>N</replaceable>,max=<replaceable>N</replaceable></arg>
47 <arg>-e ssf=<replaceable>N</replaceable>,id=<replaceable>ID</replaceable></arg>
48 <arg>-m <replaceable>MECH</replaceable></arg>
49 <arg>-f <replaceable>FLAGS</replaceable></arg>
50 <arg>-i local=<replaceable>IP</replaceable>,remote=<replaceable>IP</replaceable></arg>
51 <arg>-p <replaceable>PATH</replaceable></arg>
52 <arg>-d <replaceable>DOM</replaceable></arg>
53 <arg>-u <replaceable>DOM</replaceable></arg>
54 <arg>-s <replaceable>NAME</replaceable></arg>
55 <arg>-l</arg>
56 </cmdsynopsis>
57 </refsynopsisdiv>
58 <refsect1>
59 <title>DESCRIPTION</title>
60
61 <para>This manual page documents briefly the
62 <command>&dhpackage;</command> command.</para>
63
64 <para>This manual page was written for the &debian; distribution
65 because the original program does not have a manual page.</para>
66
67 <para><command>&dhpackage;</command> is a program to demonstrate
68 and test SASL authentication. It implements the server part, and
69 the client part is available as sasl-sample-client.</para>
70 </refsect1>
71 <refsect1>
72 <title>OPTIONS</title>
73
74 <para>A summary of options is included below.</para>
75
76 <variablelist>
77
78 <varlistentry>
79 <term><option>-b</option></term>
80 <listitem>
81 <para>Number of bits to use for encryption.</para>
82 <variablelist>
83 <varlistentry>
84 <term>min=N</term>
85 <listitem>
86 <para>minimum number of bits to use (1 => integrity)</para>
87 </listitem>
88 </varlistentry>
89 <varlistentry>
90 <term>max=N</term>
91 <listitem>
92 <para>maximum number of bits to use</para>
93 </listitem>
94 </varlistentry>
95 </variablelist>
96 </listitem>
97 </varlistentry>
98
99
100 <varlistentry>
101 <term><option>-e</option></term>
102 <listitem>
103 <para>Assume external encryption.</para>
104 <variablelist>
105 <varlistentry>
106 <term>ssf=N</term>
107 <listitem>
108 <para>external mech provides N bits of encryption</para>
109 </listitem>
110 </varlistentry>
111 <varlistentry>
112 <term>id=ID</term>
113 <listitem>
114 <para>external mech provides authentication id ID</para>
115 </listitem>
116 </varlistentry>
117 </variablelist>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry>
122 <term><option>-m</option></term>
123 <listitem>
124 <para>Force use of MECH for security.</para>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry>
129 <term><option>-f</option></term>
130 <listitem>
131 <para>Set security flags.</para>
132 <variablelist>
133 <varlistentry>
134 <term>noplain</term>
135 <listitem>
136 <para>require security vs. passive attacks</para>
137 </listitem>
138 </varlistentry>
139 <varlistentry>
140 <term>noactive</term>
141 <listitem>
142 <para>require security vs. active attacks</para>
143 </listitem>
144 </varlistentry>
145 <varlistentry>
146 <term>nodict</term>
147 <listitem>
148 <para>require security vs. passive dictionary attacks</para>
149 </listitem>
150 </varlistentry>
151 <varlistentry>
152 <term>forwardsec</term>
153 <listitem>
154 <para>require forward secrecy</para>
155 </listitem>
156 </varlistentry>
157 <varlistentry>
158 <term>maximum</term>
159 <listitem>
160 <para>require all security flags</para>
161 </listitem>
162 </varlistentry>
163 <varlistentry>
164 <term>passcred</term>
165 <listitem>
166 <para>attempt to pass client credentials</para>
167 </listitem>
168 </varlistentry>
169 </variablelist>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry>
174 <term><option>-i</option></term>
175 <listitem>
176 <para>Set IP addresses (required by some mechs).</para>
177 <variablelist>
178 <varlistentry>
179 <term>local=IP;PORT</term>
180 <listitem>
181 <para>set local address to IP, port PORT</para>
182 </listitem>
183 </varlistentry>
184 <varlistentry>
185 <term>remote=IP;PORT</term>
186 <listitem>
187 <para>set remote address to IP, port PORT</para>
188 </listitem>
189 </varlistentry>
190 </variablelist>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry>
195 <term><option>-p</option></term>
196 <listitem>
197 <para>Colon-separated search path for mechanisms.</para>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry>
202 <term><option>-s</option></term>
203 <listitem>
204 <para>Service name passed to mechanisms.</para>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry>
209 <term><option>-d</option></term>
210 <listitem>
211 <para>Local server domain.</para>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry>
216 <term><option>-u</option></term>
217 <listitem>
218 <para>User domain.</para>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry>
223 <term><option>-l</option></term>
224 <listitem>
225 <para>Enable server-send-last.</para>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230 </refsect1>
231 <refsect1>
232 <title>SEE ALSO</title>
233
234 <para>For additional information, please see
235 /usr/share/doc/sasl2-bin/testing.txt</para>
236 </refsect1>
237 <refsect1>
238 <title>AUTHOR</title>
239
240 <para>This manual page was written by &dhusername; &dhemail; for
241 the &debian; system (but may be used by others). Permission is
242 granted to redistribute it and/or modify it under the terms of
243 the &gnu; General Public License as published by the Free
244 Software Foundation; either version 2 of the License, or (at
245 your option) any later version.</para>
246
247 </refsect1>
248 </refentry>
0 Notes for Cyrus SASL programs
1 =============================
2
3 saslauthd
4 ---------
5
6 Using a single saslauthd instance with Postfix or another chrooted server:
7
8 NOTE: this applies only if you run Postfix or another server in
9 a chroot, which is the Debian default. If you run a mixed environment
10 (some instances of Postfix's smtpd in a chroot, some outside chroot,
11 for example) then see the section on multiple instances of saslauthd
12 below.
13
14 If you run a chrooted server such as Postfix and wish to use saslauthd, you
15 must place the saslauthd socket ("mux") inside the Postfix chroot. You must
16 also set correct overrides for the run directory inside the chroot, using
17 dpkg-statoverride. Finally, you must add the postfix user to the sasl group.
18 These steps ensure that the Debian subsystems know how you want things to be
19 laid out.
20
21 To know if your Postfix is running chroot, check /etc/postfix/master.cf.
22 If it has the line "smtp inet n - y - - smtpd" or "smtp inet n - - - - smtpd"
23 then your Postfix is running in a chroot.
24 If it has the line "smtp inet n - n - - smtpd" then your Postfix is NOT
25 running in a chroot.
26
27 To place the saslauthd socket inside the Postfix chroot, edit
28 /etc/default/saslauthd and set OPTIONS like this (you may omit -c):
29 OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
30
31 To set the run directory using dpkg-statoverride, run this command as root:
32 dpkg-statoverride --add root sasl 750 /var/spool/postfix/var/run/saslauthd
33
34 Finally, to add the postfix user to the sasl group:
35 adduser postfix sasl
36
37 The init script will automatically create the run directory with the
38 permissions you have set using dpkg-statoverride. Please note that you must
39 also configure Postfix correctly. There are many options related to SASL. See
40 the Postfix documentation for how to do this.
41
42 Running multiple instances of saslauthd:
43
44 By default, the Debian package runs a single instance of saslauthd.
45 However, the init script supports running several instances using the
46 method described subsequently. Note that it's your responsibility to keep
47 track of each instance: where its configuration file resides, where you
48 put its communication socket, and how you configure programs to look for
49 the right socket. The Debian infrastructure only provides a way to start,
50 stop, restart and reload these saslauthd instances, and nothing else.
51
52 By default, the start, stop, restart, force-reload and reload actions will
53 act on all your saslauthd instances. If you want to do something to a
54 single instance, use the following actions:
55 start-instance <name> -- start the instance <name>
56 stop-instance <name> -- stop the instance <name>
57 restart-instance <name> -- restart the instance <name>
58 force-reload-instance <name> -- force-reload the instance <name>
59 reload-instance <name> -- reload the instance <name>
60
61 Example: /etc/init.d/saslauthd start-instance saslauthd-postfix_chroot
62
63 To create a new instance of saslauthd, you must do three things:
64 1. Create a defaults file for the new instance,
65 2. create a statoverride for the run directory of that instance, and
66 3. configure programs to use the right socket.
67
68 1. To create a defaults file for the new instance, copy the file
69 /etc/default/saslauthd to /etc/default/saslauthd-<name>, where <name> is a
70 string describing your new instance. For example:
71 cp /etc/default/saslauthd /etc/default/saslauthd-postfix_chroot
72
73 NOTE: <name> MUST NOT include any characters that need escaping
74 to be a valid file name. You can't put spaces or any other strange
75 characters in it. The formal definition is that you can use only the
76 characters a-z, A-Z, numbers 0-9, and the characters - and _. Things
77 will break if you use characters that need escaping. The name is case-
78 sensitive.
79
80 Then, edit that file and set the following:
81 DESC -- a description of this saslauthd instance, for example
82 "Postfix chroot SASL Authentication Daemon"
83 NAME -- a short name for this saslauthd instance, for example
84 "saslauthd-postfix_chroot"
85 OPTIONS -- must include the -m flag and the run directory of this
86 instance, for example
87 "-c -m /var/spool/postfix/var/run/saslauthd"
88
89 It's *very* important that you set the -m option differently for each
90 instance! Also note that you MUST set the -m option for EVERY instance.
91 Things will break if you don't do these things.
92
93 If you don't set the NAME option, it will be set to "default" and you will
94 not be able to start, stop or reload that instance separately (using the
95 *-instance actions described above).
96
97 2. You must also create a statoverride entry to tell the init script
98 which permissions you want for the run directory. Example:
99 dpkg-statoverride --add root sasl 750 /var/spool/postfix/var/run/saslauthd
100
101 The init script will ensure that the directory exists, and create it with the
102 proper permissions if it doesn't. Note that the directory MUST match what you
103 specified for the -m option in step one.
104
105 3. Finally, you must configure your programs to communicate with each
106 saslauthd instance on their respective sockets. This is usually accomplished
107 by setting the saslauthd_path option in the sasl configuration of the
108 program. For example, Postfix uses the SASL application name "smtpd", and it
109 sets the SASL configuration file path to /etc/postfix/sasl. This means that
110 SASL will look for settings in /etc/postfix/sasl/smtpd.conf. So, to set the
111 socket path, put this in /etc/postfix/sasl/smtpd.conf:
112 saslauthd_path: /var/run/saslauthd
113
114 NOTE: If you run a chrooted server, such as Postfix with default Debian
115 settings, the saslauthd_path is relative to the chroot directory. You have to
116 take this into account when configuring the -m option in the saslauthd
117 default file (see above).
118
119 If all this seems daunting to you, then take one step at a time, and make
120 sure you understand what you've done, and why, before proceeding to the next
121 step. The interactions of the SASL software, the server software using SASL
122 and the Debian system are fairly complex, and it's easy to get confused if
123 you are in a hurry or try to do things too fast. It really does pay off to
124 spend the 5-15 minutes it takes to do this right, instead of rushing off and
125 breaking your system.
126
127 Running in debug mode
128 ---------------------
129
130 To run saslauthd in debug mode, use the -d option. However, avoid putting
131 this option into /etc/defaults/saslauthd, because it will break your system!
132 The -d option turns saslauthd into a foreground process instead of a
133 background daemon, which means that the boot (init) sequence will stop when
134 saslauthd is started. You will probably end up with a system that is only
135 partly started, and you'll be unable to log in through ssh to fix it.
136
137 When you do need to debug SASL, please stop saslauthd through the normal
138 init script and then run it by hand in debug mode with the -d option and
139 all other options that you wish to test.
140
141 -- Fabian Fagerholm <fabbe@debian.org>, Tue, 7 Apr 2008 19:34:12 +0300
0 #!/bin/sh
1 # Debconf config script for cyrus-sasl2
2 # Copyright (c) 2007 by Fabian Fagerholm <fabbe@debian.org>
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # Note that Cyrus SASL itself is published under a different license.
10
11 set -e
12
13 # Debconf hook.
14 . /usr/share/debconf/confmodule
15
16 case "$1" in
17 configure)
18 ok=''
19 while [ ! "$ok" ]; do
20 db_input medium cyrus-sasl2/backup-sasldb2 || true
21 db_go
22
23 db_get cyrus-sasl2/backup-sasldb2
24 if [ "$RET" ]; then
25 ok=1
26 fi
27 done
28 ;;
29 reconfigure)
30 ;;
31 *)
32 echo "config called with unknown argument $1" >&2
33 exit 0
34 esac
35
36 exit 0
0 usr/bin
1 usr/sbin
2 usr/share/doc
3 usr/share/man/man1
4 usr/share/man/man8
5 usr/share/lintian/overrides
0 doc/testing.txt
0 usr/bin
1 usr/sbin
2 usr/share/man/man1
3 usr/share/man/man8
0 sasl2-bin binary: possible-gpl-code-linked-with-openssl
0 #!/bin/sh
1 # postinst script for sasl2-bin
2 # Copyright (c) 2006 Fabian Fagerholm
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7
8 set -e
9
10 FALLBACK_RUN_DIR=/var/run/saslauthd
11 SASLDB_FILE=/etc/sasldb2
12
13 # Debconf hook.
14 . /usr/share/debconf/confmodule
15
16 case "$1" in
17 configure)
18 # Upgrade SASL database if needed
19 # The libdb dependency was updated in the following versions:
20 # 2.1.22.dfsg1-14 (db4.2 -> db4.4)
21 # 2.1.22.dfsg1-17 (db4.4 -> db4.6)
22 # 2.1.22.dfsg1-24 (db4.6 -> db4.7)
23 # 2.1.23.dfsg1-4 (db4.7 -> db4.8)
24 if dpkg --compare-versions "$2" "lt-nl" 2.1.23.dfsg1-4; then
25
26 # If the database contains no users, just wipe it out,
27 # it will be recreated later in the current format
28 if [ -e $SASLDB_FILE ] && \
29 [ `sasldblistusers2 | wc -l` -eq 0 ]; then
30 rm $SASLDB_FILE
31 elif [ -e $SASLDB_FILE ]; then
32 # The database exists and has users, begin upgrade procedure
33
34 # Make backup and handle errors
35 db_get cyrus-sasl2/backup-sasldb2
36 if ! cp --archive $SASLDB_FILE "$RET" >/dev/null 2>&1; then
37 db_input high cyrus-sasl2/upgrade-sasldb2-backup-failed || true
38 db_go || true
39 exit 1
40 fi
41
42 # Upgrade SASL database and handle errors
43 if ! db4.8_upgrade $SASLDB_FILE >/dev/null 2>&1; then
44 db_input high cyrus-sasl2/upgrade-sasldb2-failed || true
45 db_go || true
46 cp --archive "$RET" $SASLDB_FILE >/dev/null 2>&1
47 exit 1
48 fi
49 fi
50 fi
51
52 # Create a statoverride for the default saslauthd run directory,
53 # unless one already exists
54 if ! dpkg-statoverride --list $FALLBACK_RUN_DIR >/dev/null 2>&1; then
55 install -d --owner="root" --group="sasl" --mode="710" \
56 $FALLBACK_RUN_DIR
57 dpkg-statoverride --update --add root sasl 710 $FALLBACK_RUN_DIR
58 fi
59
60 # Create an empty sasldb file, unless one already exists
61 if [ ! -e $SASLDB_FILE ]; then
62 echo '!' | saslpasswd2 -c 'no:such:user'
63 saslpasswd2 -d 'no:such:user'
64 fi
65
66 # Create a statoverride for the sasldb file, unless one already exists
67 if ! dpkg-statoverride --list $SASLDB_FILE >/dev/null 2>&1; then
68 dpkg-statoverride --update --add root sasl 660 $SASLDB_FILE
69 fi
70
71 # In 2.1.23.dfsg1-4 and later versions, saslauthd is no longer
72 # explicitly stopped on shutdown and reboot.
73 if dpkg --compare-versions "$2" lt "2.1.23.dfsg1-4"; then
74 rm -f /etc/rc0.d/K20saslauthd /etc/rc6.d/K20saslauthd
75 fi
76
77 db_stop
78
79 ;;
80
81 abort-upgrade|abort-remove|abort-deconfigure)
82 ;;
83
84 *)
85 echo "postinst called with unknown argument $1" >&2
86 exit 0
87 ;;
88 esac
89
90 # dh_installdeb will replace this with shell code automatically
91 # generated by other debhelper scripts.
92
93 #DEBHELPER#
94
95 exit 0
0 #!/bin/sh
1 # postrm script for cyrus-sasl2
2 # Copyright (c) 2007 by Fabian Fagerholm <fabbe@debian.org>
3 # Parts based on cyrus-imapd-2.2 by Henrique de Moraes Holshuch and others.
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # Note that Cyrus SASL itself is published under a different license.
11
12 set -e
13
14 FALLBACK_RUN_DIR=/var/run/saslauthd
15
16 # Debconf hook. We don't rely on debconf being present at this time.
17 if [ -e /usr/share/debconf/confmodule ];then
18 # Source debconf library.
19 . /usr/share/debconf/confmodule
20 DEBCONFEXISTS="true"
21 export DEBCONFEXISTS
22 else
23 DEBCONFEXISTS="false"
24 export DEBCONFEXISTS
25 fi
26
27 case "$1" in
28 remove)
29 ;;
30 purge)
31 # Remove the default statoverride, if it exists
32 if dpkg-statoverride --list $FALLBACK_RUN_DIR >/dev/null 2>&1; then
33 dpkg-statoverride --remove $FALLBACK_RUN_DIR || true
34 fi
35
36 # Purge /etc/sasldb2? If Debconf is not installed, it will
37 # not be touched.
38 if [ "$DEBCONFEXISTS" = "true" ]; then
39 db_title "Cyrus SASL" || true
40 db_fset cyrus-sasl2/purge-sasldb2 seen false || true
41 db_input high cyrus-sasl2/purge-sasldb2 || true
42 db_go || true
43 db_get cyrus-sasl2/purge-sasldb2
44
45 if [ "$RET" = "true" ]; then
46 rm -f /etc/sasldb2
47 fi
48 fi
49 ;;
50 upgrade|failed-upgrade|disappear)
51 ;;
52 abort-upgrade)
53 ;;
54 abort-install)
55 ;;
56 *)
57 echo "postrm called with unknown argument $1" >&2
58 exit 0
59 esac
60
61 # dh_installdeb will replace this with automatically generated code.
62 #DEBHELPER#
63
64 exit 0
0 #
1 # Settings for saslauthd daemon
2 # Please read /usr/share/doc/sasl2-bin/README.Debian for details.
3 #
4
5 # Should saslauthd run automatically on startup? (default: no)
6 START=no
7
8 # Description of this saslauthd instance. Recommended.
9 # (suggestion: SASL Authentication Daemon)
10 DESC="SASL Authentication Daemon"
11
12 # Short name of this saslauthd instance. Strongly recommended.
13 # (suggestion: saslauthd)
14 NAME="saslauthd"
15
16 # Which authentication mechanisms should saslauthd use? (default: pam)
17 #
18 # Available options in this Debian package:
19 # getpwent -- use the getpwent() library function
20 # kerberos5 -- use Kerberos 5
21 # pam -- use PAM
22 # rimap -- use a remote IMAP server
23 # shadow -- use the local shadow password file
24 # sasldb -- use the local sasldb database file
25 # ldap -- use LDAP (configuration is in /etc/saslauthd.conf)
26 #
27 # Only one option may be used at a time. See the saslauthd man page
28 # for more information.
29 #
30 # Example: MECHANISMS="pam"
31 MECHANISMS="pam"
32
33 # Additional options for this mechanism. (default: none)
34 # See the saslauthd man page for information about mech-specific options.
35 MECH_OPTIONS=""
36
37 # How many saslauthd processes should we run? (default: 5)
38 # A value of 0 will fork a new process for each connection.
39 THREADS=5
40
41 # Other options (default: -c -m /var/run/saslauthd)
42 # Note: You MUST specify the -m option or saslauthd won't run!
43 #
44 # WARNING: DO NOT SPECIFY THE -d OPTION.
45 # The -d option will cause saslauthd to run in the foreground instead of as
46 # a daemon. This will PREVENT YOUR SYSTEM FROM BOOTING PROPERLY. If you wish
47 # to run saslauthd in debug mode, please run it by hand to be safe.
48 #
49 # See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific information.
50 # See the saslauthd man page and the output of 'saslauthd -h' for general
51 # information about these options.
52 #
53 # Example for chroot Postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
54 # Example for non-chroot Postfix users: "-c -m /var/run/saslauthd"
55 #
56 # To know if your Postfix is running chroot, check /etc/postfix/master.cf.
57 # If it has the line "smtp inet n - y - - smtpd" or "smtp inet n - - - - smtpd"
58 # then your Postfix is running in a chroot.
59 # If it has the line "smtp inet n - n - - smtpd" then your Postfix is NOT
60 # running in a chroot.
61 OPTIONS="-c -m /var/run/saslauthd"
0 #! /bin/sh
1 ### BEGIN INIT INFO
2 # Provides: saslauthd
3 # Required-Start: $local_fs $remote_fs
4 # Required-Stop: $local_fs $remote_fs
5 # Default-Start: 2 3 4 5
6 # Default-Stop: 1
7 # Short-Description: saslauthd startup script
8 # Description: This script starts the saslauthd daemon. It is
9 # configured using the file /etc/default/saslauthd.
10 ### END INIT INFO
11
12 # Author: Fabian Fagerholm <fabbe@debian.org>
13
14 # Do NOT "set -e"
15
16 # PATH should only include /usr/* if it runs after the mountnfs.sh script
17 PATH=/sbin:/usr/sbin:/bin:/usr/bin
18
19 # Global variables
20 DAEMON=/usr/sbin/saslauthd
21 DEFAULT_FILES=`find /etc/default -regex '/etc/default/saslauthd[_a-zA-Z0-9\-]*$' -print | sort`
22
23 # Exit if the package is not installed
24 [ -x "$DAEMON" ] || exit 0
25
26 # Load the VERBOSE setting and other rcS variables
27 . /lib/init/vars.sh
28
29 # Define LSB log_* functions.
30 # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
31 . /lib/lsb/init-functions
32
33 # Function that starts all saslauthd instances
34 # Parameters: none
35 # Return value: none
36 do_startall()
37 {
38 for instance in $DEFAULT_FILES
39 do
40 start_instance $instance
41 done
42 }
43
44 # Function that stops all saslauthd instances
45 # Parameters: none
46 # Return value: none
47 do_stopall()
48 {
49 for instance in $DEFAULT_FILES
50 do
51 stop_instance $instance
52 done
53 }
54
55 # Function that sends a SIGHUP to all saslauthd instances
56 # Parameters: none
57 # Return value: none
58 do_reloadall()
59 {
60 for instance in $DEFAULT_FILES
61 do
62 reload_instance $instance
63 done
64 }
65
66 # Function that sends a SIG0 to all saslauthd instances
67 # Parameters: none
68 # Return value: none
69 do_checkall()
70 {
71 for instance in $DEFAULT_FILES
72 do
73 check_instance $instance
74 done
75 }
76
77 # Function that starts a single saslauthd instance
78 # Parameters:
79 # $1 = path of default file for this instance
80 # Return value:
81 # 0 on success (does not mean the instance started)
82 # 1 on failure
83 start_instance()
84 {
85 # Load defaults file for this instance.
86 . $1
87
88 # If the daemon is not enabled, give the user a warning and stop.
89 if [ "$START" != "yes" ]; then
90 log_warning_msg "To enable $NAME, edit $1 and set START=yes"
91 return 0
92 fi
93
94 # If the short name of this instance is undefined, warn the user
95 # but choose a default name.
96 if [ -z "$NAME" ]; then
97 log_warning_msg "Short name (NAME) undefined in $1, using default"
98 NAME=default
99 fi
100
101 log_daemon_msg "Starting $DESC" "$NAME"
102
103 # Set OPTIONS to a default value, as noted in the defaults file
104 if [ -z "$OPTIONS" ]; then
105 log_warning_msg "Options (OPTIONS) undefined in $1, using default (-c -m /var/run/saslauthd)"
106 OPTIONS="-c -m /var/run/saslauthd"
107 fi
108
109 # Determine run directory and pid file location by looking
110 # for an -m option.
111 RUN_DIR=`echo "$OPTIONS" | xargs -n 1 echo | sed -n '/^-m$/{n;p}'`
112 if [ -z "$RUN_DIR" ]; then
113 # No run directory defined in defaults file, fail.
114 log_failure_msg "No run directory defined for $NAME (did you forget to set OPTIONS=\"-c -m /var/run/saslauthd\" in the defaults file?), not starting"
115 return 1
116 fi
117 PIDFILE=$RUN_DIR/saslauthd.pid
118
119 # If no mechanisms are defined, fail.
120 if [ -z "$MECHANISMS" ]; then
121 log_failure_msg "No mechanisms defined in $1, not starting $NAME"
122 return 1
123 fi
124
125 # If there are mechanism options defined, prepare them for use with
126 # the -O flag.
127 if [ -n "$MECH_OPTIONS" ]; then
128 MECH_OPTIONS="-O $MECH_OPTIONS"
129 fi
130
131 # If there is a threads option defined, prepare it for use with
132 # the -n flag.
133 if [ -n "$THREADS" ]; then
134 THREAD_OPTIONS="-n $THREADS"
135 fi
136
137 # Construct argument string.
138 DAEMON_ARGS="-a $MECHANISMS $MECH_OPTIONS $OPTIONS $THREAD_OPTIONS"
139
140 # If there is a statoverride for the run directory, then pull
141 # permission and ownership information from it and create the directory.
142 # Otherwise, we create the directory with default permissions and
143 # ownership (root:sasl, 710).
144 if dpkg-statoverride --list $RUN_DIR > /dev/null; then
145 createdir `dpkg-statoverride --list $RUN_DIR`
146 else
147 createdir root sasl 710 $RUN_DIR
148 fi
149
150 # Start the daemon, phase 1: see if it is already running.
151 start-stop-daemon --start --quiet --pidfile $PIDFILE --name $NAME \
152 --exec $DAEMON --test > /dev/null
153 if [ "$?" != "0" ]; then
154 log_progress_msg "(already running)"
155 log_end_msg 0
156 return 0
157 fi
158
159 # Start the daemon, phase 2: it was not running, so actually start it now.
160 start-stop-daemon --start --quiet --pidfile $PIDFILE --name $NAME \
161 --exec $DAEMON -- $DAEMON_ARGS
162 if [ "$?" -ne "0" ]; then
163 log_end_msg 1
164 return 1
165 fi
166
167 # Started successfully.
168 log_end_msg 0
169 return 0
170 }
171
172 # Function that stops a single saslauthd instance
173 # Parameters:
174 # $1 = path of default file for this instance
175 # Return value:
176 # 0 on success (daemon was stopped)
177 # 1 if the daemon was already stopped
178 # 2 if the daemon could not be stopped
179 stop_instance()
180 {
181 # Load defaults file for this instance.
182 . $1
183
184 # If the short name of this instance is undefined, warn the user
185 # but choose a default name.
186 if [ -z "$NAME" ]; then
187 log_warning_msg "Short name (NAME) undefined in $1, using default"
188 NAME=default
189 fi
190
191 # Set OPTIONS to a default value, as noted in the defaults file
192 if [ -z "$OPTIONS" ]; then
193 log_warning_msg "Options (OPTIONS) undefined in $1, using default (-c -m /var/run/saslauthd)"
194 OPTIONS="-c -m /var/run/saslauthd"
195 fi
196
197 # Determine run directory and pid file location by looking
198 # for an -m option.
199 RUN_DIR=`echo "$OPTIONS" | xargs -n 1 echo | sed -n '/^-m$/{n;p}'`
200 if [ -z "$RUN_DIR" ]; then
201 # No run directory defined in defaults file, fail.
202 log_failure_msg "No run directory defined for $NAME (did you forget to set OPTIONS=\"-c -m /var/run/saslauthd\" in the defaults file?), not starting"
203 return 2
204 fi
205 PIDFILE=$RUN_DIR/saslauthd.pid
206
207 log_daemon_msg "Stopping $DESC" "$NAME"
208
209 start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \
210 --pidfile $PIDFILE --exec $DAEMON
211
212 if [ "$?" -eq "2" ]; then
213 # Failed to stop.
214 log_end_msg 1
215 return 2
216 fi
217
218 if [ "$?" -eq "1" ]; then
219 # Already stopped.
220 log_progress_msg "(not running)"
221 fi
222
223 # Many daemons don't delete their pidfiles when they exit.
224 rm -f $PIDFILE
225
226 # Stopped successfully.
227 log_end_msg 0
228 return $RETVAL
229 }
230
231 # Function that sends a SIGHUP to a single saslauthd instance
232 # Parameters:
233 # $1 = path of default file for this instance
234 # Return value:
235 # 0 on success (does not mean the daemon was reloaded)
236 # other values on failure
237 reload_instance()
238 {
239 # Load defaults file for this instance.
240 . $1
241
242 # If the short name of this instance is undefined, warn the user
243 # but choose a default name.
244 if [ -z "$NAME" ]; then
245 log_warning_msg "Short name (NAME) undefined in $1, using default"
246 NAME=default
247 fi
248
249 # Set OPTIONS to a default value, as noted in the defaults file
250 if [ -z "$OPTIONS" ]; then
251 log_warning_msg "Options (OPTIONS) undefined in $1, using default (-c -m /var/run/saslauthd)"
252 OPTIONS="-c -m /var/run/saslauthd"
253 fi
254
255 # Determine run directory and pid file location by looking
256 # for an -m option.
257 RUN_DIR=`echo "$OPTIONS" | xargs -n 1 echo | sed -n '/^-m$/{n;p}'`
258 if [ -z "$RUN_DIR" ]; then
259 # No run directory defined in defaults file, fail.
260 log_failure_msg "No run directory defined for $NAME (did you forget to set OPTIONS=\"-c -m /var/run/saslauthd\" in the defaults file?), not starting"
261 return 2
262 fi
263 PIDFILE=$RUN_DIR/saslauthd.pid
264
265 log_daemon_msg "Reloading $DESC" "$NAME"
266
267 # Reload the daemon. First, see if it is already running.
268 start-stop-daemon --start --quiet --pidfile $PIDFILE \
269 --exec $DAEMON --test > /dev/null
270
271 if [ "$?" -eq "0" ]; then
272 # Not running, signal this and stop.
273 log_progress_msg "(not running)"
274 log_end_msg 0
275 return 0
276 fi
277
278 start-stop-daemon --stop --signal 1 \
279 --pidfile $PIDFILE --exec $DAEMON
280 log_end_msg $?
281 }
282
283 # Function that sends a SIG0 to a single saslauthd instance
284 # Parameters:
285 # $1 = path of default file for this instance
286 # Return value:
287 # 0 on success (does not mean the daemon was reloaded)
288 # other values on failure
289 check_instance()
290 {
291 # Load defaults file for this instance.
292 . $1
293
294 # If the short name of this instance is undefined, warn the user
295 # but choose a default name.
296 if [ -z "$NAME" ]; then
297 log_warning_msg "Short name (NAME) undefined in $1, using default"
298 NAME=default
299 fi
300
301 # Determine run directory and pid file location by looking
302 # for an -m option.
303 RUN_DIR=`echo "$OPTIONS" | xargs -n 1 echo | sed -n '/^-m$/{n;p}'`
304 if [ -z "$RUN_DIR" ]; then
305 # No run directory defined in defaults file, fail.
306 log_failure_msg "No run directory defined for $NAME, cannot check"
307 return 2
308 fi
309 PIDFILE=$RUN_DIR/saslauthd.pid
310
311 log_daemon_msg "Checking $DESC" "$NAME"
312
313 # Reload the daemon. First, see if it is already running.
314 start-stop-daemon --start --quiet --pidfile $PIDFILE \
315 --exec $DAEMON --test > /dev/null
316
317 if [ "$?" -eq "0" ]; then
318 # Not running, signal this and stop.
319 log_progress_msg "(not running)"
320 log_end_msg 3
321 return 3
322 fi
323
324 log_progress_msg "(running)"
325 log_end_msg $?
326 return 0
327 }
328
329 # Function that creates a directory with the specified
330 # ownership and permissions
331 # Parameters:
332 # $1 = user
333 # $2 = group
334 # $3 = permissions (octal)
335 # $4 = path to directory
336 # Return value: none
337 createdir()
338 {
339 # In the future, use -P/-Z to have SE Linux enhancement
340 install -d --group="$2" --mode="$3" --owner="$1" "$4"
341 }
342
343 # Action switch
344 case "$1" in
345 start)
346 do_startall
347 ;;
348 stop)
349 do_stopall
350 ;;
351 reload|force-reload)
352 do_reloadall
353 ;;
354 restart)
355 do_stopall
356 do_startall
357 ;;
358 status)
359 do_checkall
360 exit $?
361 ;;
362 start-instance)
363 if [ -f /etc/default/$2 ]; then
364 start_instance /etc/default/$2
365 else
366 log_failure_msg "Instance $2 does not exist."
367 fi
368 ;;
369 stop-instance)
370 if [ -f /etc/default/$2 ]; then
371 stop_instance /etc/default/$2
372 else
373 log_failure_msg "Instance $2 does not exist."
374 fi
375 ;;
376 reload-instance|force-reload-instance)
377 if [ -f /etc/default/$2 ]; then
378 reload_instance /etc/default/$2
379 else
380 log_failure_msg "Instance $2 does not exist."
381 fi
382 ;;
383 restart-instance)
384 if [ -f /etc/default/$2 ]; then
385 stop_instance /etc/default/$2
386 start_instance /etc/default/$2
387 else
388 log_failure_msg "Instance $2 does not exist."
389 fi
390 ;;
391 *)
392 SCRIPTNAME=$0
393 echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
394 echo " or {start-instance|stop-instance|restart-instance|" >&2
395 echo " reload-instance|force-reload-instance} " \
396 "<instance name>" >&2
397 exit 3
398 ;;
399 esac
400
401 :
0 # These templates have been reviewed by the debian-l10n-english
1 # team
2 #
3 # If modifications/additions/rewording are needed, please ask
4 # debian-l10n-english@lists.debian.org for advice.
5 #
6 # Even minor modifications require translation updates and such
7 # changes should be coordinated with translators and reviewers.
8
9 Template: cyrus-sasl2/purge-sasldb2
10 Type: boolean
11 Default: false
12 _Description: Remove /etc/sasldb2?
13 Cyrus SASL can store usernames and passwords in the /etc/sasldb2 database
14 file.
15 .
16 If important data is stored in that file, you should back it up
17 now or choose not to remove the file.
18
19 Template: cyrus-sasl2/backup-sasldb2
20 Type: string
21 Default: /var/backups/sasldb2.bak
22 _Description: Backup file name for /etc/sasldb2:
23 Cyrus SASL has stored usernames and passwords in the /etc/sasldb2 database
24 file.
25 .
26 That file has to be upgraded to a newer database
27 format. First, a backup of the current file will be created.
28 You can use that if you need to manually downgrade Cyrus SASL.
29 However, automatic downgrades are not supported.
30 .
31 Please specify the backup file name. You should check the available
32 disk space in that location. If the backup file already exists, it will be overwritten.
33 Leaving this field empty will select the default value
34 (/var/backups/sasldb2.bak).
35
36 Template: cyrus-sasl2/upgrade-sasldb2-backup-failed
37 Type: error
38 _Description: Failed to back up /etc/sasldb2
39 The /etc/sasldb2 file could not be backed up with the file name you
40 specified.
41 .
42 This is a fatal error and will cause the package installation
43 to fail.
44 .
45 Please eliminate all possible reasons that might lead to this failure,
46 and try to configure this package again.
47
48 Template: cyrus-sasl2/upgrade-sasldb2-failed
49 Type: error
50 _Description: Failed to upgrade /etc/sasldb2
51 The /etc/sasldb2 file could not be upgraded to the new database
52 format.
53 .
54 This is a fatal error and will cause the package installation
55 to fail.
56 .
57 The configuration process will attempt to restore the backup of this
58 file to its original location.
59 .
60 Please eliminate all possible reasons that might lead to this failure,
61 then try to configure this package again.
0 GNU GENERAL PUBLIC LICENSE
1 Version 3, 29 June 2007
2
3 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4 Everyone is permitted to copy and distribute verbatim copies
5 of this license document, but changing it is not allowed.
6
7 Preamble
8
9 The GNU General Public License is a free, copyleft license for
10 software and other kinds of works.
11
12 The licenses for most software and other practical works are designed
13 to take away your freedom to share and change the works. By contrast,
14 the GNU General Public License is intended to guarantee your freedom to
15 share and change all versions of a program--to make sure it remains free
16 software for all its users. We, the Free Software Foundation, use the
17 GNU General Public License for most of our software; it applies also to
18 any other work released this way by its authors. You can apply it to
19 your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22 price. Our General Public Licenses are designed to make sure that you
23 have the freedom to distribute copies of free software (and charge for
24 them if you wish), that you receive source code or can get it if you
25 want it, that you can change the software or use pieces of it in new
26 free programs, and that you know you can do these things.
27
28 To protect your rights, we need to prevent others from denying you
29 these rights or asking you to surrender the rights. Therefore, you have
30 certain responsibilities if you distribute copies of the software, or if
31 you modify it: responsibilities to respect the freedom of others.
32
33 For example, if you distribute copies of such a program, whether
34 gratis or for a fee, you must pass on to the recipients the same
35 freedoms that you received. You must make sure that they, too, receive
36 or can get the source code. And you must show them these terms so they
37 know their rights.
38
39 Developers that use the GNU GPL protect your rights with two steps:
40 (1) assert copyright on the software, and (2) offer you this License
41 giving you legal permission to copy, distribute and/or modify it.
42
43 For the developers' and authors' protection, the GPL clearly explains
44 that there is no warranty for this free software. For both users' and
45 authors' sake, the GPL requires that modified versions be marked as
46 changed, so that their problems will not be attributed erroneously to
47 authors of previous versions.
48
49 Some devices are designed to deny users access to install or run
50 modified versions of the software inside them, although the manufacturer
51 can do so. This is fundamentally incompatible with the aim of
52 protecting users' freedom to change the software. The systematic
53 pattern of such abuse occurs in the area of products for individuals to
54 use, which is precisely where it is most unacceptable. Therefore, we
55 have designed this version of the GPL to prohibit the practice for those
56 products. If such problems arise substantially in other domains, we
57 stand ready to extend this provision to those domains in future versions
58 of the GPL, as needed to protect the freedom of users.
59
60 Finally, every program is threatened constantly by software patents.
61 States should not allow patents to restrict development and use of
62 software on general-purpose computers, but in those that do, we wish to
63 avoid the special danger that patents applied to a free program could
64 make it effectively proprietary. To prevent this, the GPL assures that
65 patents cannot be used to render the program non-free.
66
67 The precise terms and conditions for copying, distribution and
68 modification follow.
69
70 TERMS AND CONDITIONS
71
72 0. Definitions.
73
74 "This License" refers to version 3 of the GNU General Public License.
75
76 "Copyright" also means copyright-like laws that apply to other kinds of
77 works, such as semiconductor masks.
78
79 "The Program" refers to any copyrightable work licensed under this
80 License. Each licensee is addressed as "you". "Licensees" and
81 "recipients" may be individuals or organizations.
82
83 To "modify" a work means to copy from or adapt all or part of the work
84 in a fashion requiring copyright permission, other than the making of an
85 exact copy. The resulting work is called a "modified version" of the
86 earlier work or a work "based on" the earlier work.
87
88 A "covered work" means either the unmodified Program or a work based
89 on the Program.
90
91 To "propagate" a work means to do anything with it that, without
92 permission, would make you directly or secondarily liable for
93 infringement under applicable copyright law, except executing it on a
94 computer or modifying a private copy. Propagation includes copying,
95 distribution (with or without modification), making available to the
96 public, and in some countries other activities as well.
97
98 To "convey" a work means any kind of propagation that enables other
99 parties to make or receive copies. Mere interaction with a user through
100 a computer network, with no transfer of a copy, is not conveying.
101
102 An interactive user interface displays "Appropriate Legal Notices"
103 to the extent that it includes a convenient and prominently visible
104 feature that (1) displays an appropriate copyright notice, and (2)
105 tells the user that there is no warranty for the work (except to the
106 extent that warranties are provided), that licensees may convey the
107 work under this License, and how to view a copy of this License. If
108 the interface presents a list of user commands or options, such as a
109 menu, a prominent item in the list meets this criterion.
110
111 1. Source Code.
112
113 The "source code" for a work means the preferred form of the work
114 for making modifications to it. "Object code" means any non-source
115 form of a work.
116
117 A "Standard Interface" means an interface that either is an official
118 standard defined by a recognized standards body, or, in the case of
119 interfaces specified for a particular programming language, one that
120 is widely used among developers working in that language.
121
122 The "System Libraries" of an executable work include anything, other
123 than the work as a whole, that (a) is included in the normal form of
124 packaging a Major Component, but which is not part of that Major
125 Component, and (b) serves only to enable use of the work with that
126 Major Component, or to implement a Standard Interface for which an
127 implementation is available to the public in source code form. A
128 "Major Component", in this context, means a major essential component
129 (kernel, window system, and so on) of the specific operating system
130 (if any) on which the executable work runs, or a compiler used to
131 produce the work, or an object code interpreter used to run it.
132
133 The "Corresponding Source" for a work in object code form means all
134 the source code needed to generate, install, and (for an executable
135 work) run the object code and to modify the work, including scripts to
136 control those activities. However, it does not include the work's
137 System Libraries, or general-purpose tools or generally available free
138 programs which are used unmodified in performing those activities but
139 which are not part of the work. For example, Corresponding Source
140 includes interface definition files associated with source files for
141 the work, and the source code for shared libraries and dynamically
142 linked subprograms that the work is specifically designed to require,
143 such as by intimate data communication or control flow between those
144 subprograms and other parts of the work.
145
146 The Corresponding Source need not include anything that users
147 can regenerate automatically from other parts of the Corresponding
148 Source.
149
150 The Corresponding Source for a work in source code form is that
151 same work.
152
153 2. Basic Permissions.
154
155 All rights granted under this License are granted for the term of
156 copyright on the Program, and are irrevocable provided the stated
157 conditions are met. This License explicitly affirms your unlimited
158 permission to run the unmodified Program. The output from running a
159 covered work is covered by this License only if the output, given its
160 content, constitutes a covered work. This License acknowledges your
161 rights of fair use or other equivalent, as provided by copyright law.
162
163 You may make, run and propagate covered works that you do not
164 convey, without conditions so long as your license otherwise remains
165 in force. You may convey covered works to others for the sole purpose
166 of having them make modifications exclusively for you, or provide you
167 with facilities for running those works, provided that you comply with
168 the terms of this License in conveying all material for which you do
169 not control copyright. Those thus making or running the covered works
170 for you must do so exclusively on your behalf, under your direction
171 and control, on terms that prohibit them from making any copies of
172 your copyrighted material outside their relationship with you.
173
174 Conveying under any other circumstances is permitted solely under
175 the conditions stated below. Sublicensing is not allowed; section 10
176 makes it unnecessary.
177
178 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
179
180 No covered work shall be deemed part of an effective technological
181 measure under any applicable law fulfilling obligations under article
182 11 of the WIPO copyright treaty adopted on 20 December 1996, or
183 similar laws prohibiting or restricting circumvention of such
184 measures.
185
186 When you convey a covered work, you waive any legal power to forbid
187 circumvention of technological measures to the extent such circumvention
188 is effected by exercising rights under this License with respect to
189 the covered work, and you disclaim any intention to limit operation or
190 modification of the work as a means of enforcing, against the work's
191 users, your or third parties' legal rights to forbid circumvention of
192 technological measures.
193
194 4. Conveying Verbatim Copies.
195
196 You may convey verbatim copies of the Program's source code as you
197 receive it, in any medium, provided that you conspicuously and
198 appropriately publish on each copy an appropriate copyright notice;
199 keep intact all notices stating that this License and any
200 non-permissive terms added in accord with section 7 apply to the code;
201 keep intact all notices of the absence of any warranty; and give all
202 recipients a copy of this License along with the Program.
203
204 You may charge any price or no price for each copy that you convey,
205 and you may offer support or warranty protection for a fee.
206
207 5. Conveying Modified Source Versions.
208
209 You may convey a work based on the Program, or the modifications to
210 produce it from the Program, in the form of source code under the
211 terms of section 4, provided that you also meet all of these conditions:
212
213 a) The work must carry prominent notices stating that you modified
214 it, and giving a relevant date.
215
216 b) The work must carry prominent notices stating that it is
217 released under this License and any conditions added under section
218 7. This requirement modifies the requirement in section 4 to
219 "keep intact all notices".
220
221 c) You must license the entire work, as a whole, under this
222 License to anyone who comes into possession of a copy. This
223 License will therefore apply, along with any applicable section 7
224 additional terms, to the whole of the work, and all its parts,
225 regardless of how they are packaged. This License gives no
226 permission to license the work in any other way, but it does not
227 invalidate such permission if you have separately received it.
228
229 d) If the work has interactive user interfaces, each must display
230 Appropriate Legal Notices; however, if the Program has interactive
231 interfaces that do not display Appropriate Legal Notices, your
232 work need not make them do so.
233
234 A compilation of a covered work with other separate and independent
235 works, which are not by their nature extensions of the covered work,
236 and which are not combined with it such as to form a larger program,
237 in or on a volume of a storage or distribution medium, is called an
238 "aggregate" if the compilation and its resulting copyright are not
239 used to limit the access or legal rights of the compilation's users
240 beyond what the individual works permit. Inclusion of a covered work
241 in an aggregate does not cause this License to apply to the other
242 parts of the aggregate.
243
244 6. Conveying Non-Source Forms.
245
246 You may convey a covered work in object code form under the terms
247 of sections 4 and 5, provided that you also convey the
248 machine-readable Corresponding Source under the terms of this License,
249 in one of these ways:
250
251 a) Convey the object code in, or embodied in, a physical product
252 (including a physical distribution medium), accompanied by the
253 Corresponding Source fixed on a durable physical medium
254 customarily used for software interchange.
255
256 b) Convey the object code in, or embodied in, a physical product
257 (including a physical distribution medium), accompanied by a
258 written offer, valid for at least three years and valid for as
259 long as you offer spare parts or customer support for that product
260 model, to give anyone who possesses the object code either (1) a
261 copy of the Corresponding Source for all the software in the
262 product that is covered by this License, on a durable physical
263 medium customarily used for software interchange, for a price no
264 more than your reasonable cost of physically performing this
265 conveying of source, or (2) access to copy the
266 Corresponding Source from a network server at no charge.
267
268 c) Convey individual copies of the object code with a copy of the
269 written offer to provide the Corresponding Source. This
270 alternative is allowed only occasionally and noncommercially, and
271 only if you received the object code with such an offer, in accord
272 with subsection 6b.
273
274 d) Convey the object code by offering access from a designated
275 place (gratis or for a charge), and offer equivalent access to the
276 Corresponding Source in the same way through the same place at no
277 further charge. You need not require recipients to copy the
278 Corresponding Source along with the object code. If the place to
279 copy the object code is a network server, the Corresponding Source
280 may be on a different server (operated by you or a third party)
281 that supports equivalent copying facilities, provided you maintain
282 clear directions next to the object code saying where to find the
283 Corresponding Source. Regardless of what server hosts the
284 Corresponding Source, you remain obligated to ensure that it is
285 available for as long as needed to satisfy these requirements.
286
287 e) Convey the object code using peer-to-peer transmission, provided
288 you inform other peers where the object code and Corresponding
289 Source of the work are being offered to the general public at no
290 charge under subsection 6d.
291
292 A separable portion of the object code, whose source code is excluded
293 from the Corresponding Source as a System Library, need not be
294 included in conveying the object code work.
295
296 A "User Product" is either (1) a "consumer product", which means any
297 tangible personal property which is normally used for personal, family,
298 or household purposes, or (2) anything designed or sold for incorporation
299 into a dwelling. In determining whether a product is a consumer product,
300 doubtful cases shall be resolved in favor of coverage. For a particular
301 product received by a particular user, "normally used" refers to a
302 typical or common use of that class of product, regardless of the status
303 of the particular user or of the way in which the particular user
304 actually uses, or expects or is expected to use, the product. A product
305 is a consumer product regardless of whether the product has substantial
306 commercial, industrial or non-consumer uses, unless such uses represent
307 the only significant mode of use of the product.
308
309 "Installation Information" for a User Product means any methods,
310 procedures, authorization keys, or other information required to install
311 and execute modified versions of a covered work in that User Product from
312 a modified version of its Corresponding Source. The information must
313 suffice to ensure that the continued functioning of the modified object
314 code is in no case prevented or interfered with solely because
315 modification has been made.
316
317 If you convey an object code work under this section in, or with, or
318 specifically for use in, a User Product, and the conveying occurs as
319 part of a transaction in which the right of possession and use of the
320 User Product is transferred to the recipient in perpetuity or for a
321 fixed term (regardless of how the transaction is characterized), the
322 Corresponding Source conveyed under this section must be accompanied
323 by the Installation Information. But this requirement does not apply
324 if neither you nor any third party retains the ability to install
325 modified object code on the User Product (for example, the work has
326 been installed in ROM).
327
328 The requirement to provide Installation Information does not include a
329 requirement to continue to provide support service, warranty, or updates
330 for a work that has been modified or installed by the recipient, or for
331 the User Product in which it has been modified or installed. Access to a
332 network may be denied when the modification itself materially and
333 adversely affects the operation of the network or violates the rules and
334 protocols for communication across the network.
335
336 Corresponding Source conveyed, and Installation Information provided,
337 in accord with this section must be in a format that is publicly
338 documented (and with an implementation available to the public in
339 source code form), and must require no special password or key for
340 unpacking, reading or copying.
341
342 7. Additional Terms.
343
344 "Additional permissions" are terms that supplement the terms of this
345 License by making exceptions from one or more of its conditions.
346 Additional permissions that are applicable to the entire Program shall
347 be treated as though they were included in this License, to the extent
348 that they are valid under applicable law. If additional permissions
349 apply only to part of the Program, that part may be used separately
350 under those permissions, but the entire Program remains governed by
351 this License without regard to the additional permissions.
352
353 When you convey a copy of a covered work, you may at your option
354 remove any additional permissions from that copy, or from any part of
355 it. (Additional permissions may be written to require their own
356 removal in certain cases when you modify the work.) You may place
357 additional permissions on material, added by you to a covered work,
358 for which you have or can give appropriate copyright permission.
359
360 Notwithstanding any other provision of this License, for material you
361 add to a covered work, you may (if authorized by the copyright holders of
362 that material) supplement the terms of this License with terms:
363
364 a) Disclaiming warranty or limiting liability differently from the
365 terms of sections 15 and 16 of this License; or
366
367 b) Requiring preservation of specified reasonable legal notices or
368 author attributions in that material or in the Appropriate Legal
369 Notices displayed by works containing it; or
370
371 c) Prohibiting misrepresentation of the origin of that material, or
372 requiring that modified versions of such material be marked in
373 reasonable ways as different from the original version; or
374
375 d) Limiting the use for publicity purposes of names of licensors or
376 authors of the material; or
377
378 e) Declining to grant rights under trademark law for use of some
379 trade names, trademarks, or service marks; or
380
381 f) Requiring indemnification of licensors and authors of that
382 material by anyone who conveys the material (or modified versions of
383 it) with contractual assumptions of liability to the recipient, for
384 any liability that these contractual assumptions directly impose on
385 those licensors and authors.
386
387 All other non-permissive additional terms are considered "further
388 restrictions" within the meaning of section 10. If the Program as you
389 received it, or any part of it, contains a notice stating that it is
390 governed by this License along with a term that is a further
391 restriction, you may remove that term. If a license document contains
392 a further restriction but permits relicensing or conveying under this
393 License, you may add to a covered work material governed by the terms
394 of that license document, provided that the further restriction does
395 not survive such relicensing or conveying.
396
397 If you add terms to a covered work in accord with this section, you
398 must place, in the relevant source files, a statement of the
399 additional terms that apply to those files, or a notice indicating
400 where to find the applicable terms.
401
402 Additional terms, permissive or non-permissive, may be stated in the
403 form of a separately written license, or stated as exceptions;
404 the above requirements apply either way.
405
406 8. Termination.
407
408 You may not propagate or modify a covered work except as expressly
409 provided under this License. Any attempt otherwise to propagate or
410 modify it is void, and will automatically terminate your rights under
411 this License (including any patent licenses granted under the third
412 paragraph of section 11).
413
414 However, if you cease all violation of this License, then your
415 license from a particular copyright holder is reinstated (a)
416 provisionally, unless and until the copyright holder explicitly and
417 finally terminates your license, and (b) permanently, if the copyright
418 holder fails to notify you of the violation by some reasonable means
419 prior to 60 days after the cessation.
420
421 Moreover, your license from a particular copyright holder is
422 reinstated permanently if the copyright holder notifies you of the
423 violation by some reasonable means, this is the first time you have
424 received notice of violation of this License (for any work) from that
425 copyright holder, and you cure the violation prior to 30 days after
426 your receipt of the notice.
427
428 Termination of your rights under this section does not terminate the
429 licenses of parties who have received copies or rights from you under
430 this License. If your rights have been terminated and not permanently
431 reinstated, you do not qualify to receive new licenses for the same
432 material under section 10.
433
434 9. Acceptance Not Required for Having Copies.
435
436 You are not required to accept this License in order to receive or
437 run a copy of the Program. Ancillary propagation of a covered work
438 occurring solely as a consequence of using peer-to-peer transmission
439 to receive a copy likewise does not require acceptance. However,
440 nothing other than this License grants you permission to propagate or
441 modify any covered work. These actions infringe copyright if you do
442 not accept this License. Therefore, by modifying or propagating a
443 covered work, you indicate your acceptance of this License to do so.
444
445 10. Automatic Licensing of Downstream Recipients.
446
447 Each time you convey a covered work, the recipient automatically
448 receives a license from the original licensors, to run, modify and
449 propagate that work, subject to this License. You are not responsible
450 for enforcing compliance by third parties with this License.
451
452 An "entity transaction" is a transaction transferring control of an
453 organization, or substantially all assets of one, or subdividing an
454 organization, or merging organizations. If propagation of a covered
455 work results from an entity transaction, each party to that
456 transaction who receives a copy of the work also receives whatever
457 licenses to the work the party's predecessor in interest had or could
458 give under the previous paragraph, plus a right to possession of the
459 Corresponding Source of the work from the predecessor in interest, if
460 the predecessor has it or can get it with reasonable efforts.
461
462 You may not impose any further restrictions on the exercise of the
463 rights granted or affirmed under this License. For example, you may
464 not impose a license fee, royalty, or other charge for exercise of
465 rights granted under this License, and you may not initiate litigation
466 (including a cross-claim or counterclaim in a lawsuit) alleging that
467 any patent claim is infringed by making, using, selling, offering for
468 sale, or importing the Program or any portion of it.
469
470 11. Patents.
471
472 A "contributor" is a copyright holder who authorizes use under this
473 License of the Program or a work on which the Program is based. The
474 work thus licensed is called the contributor's "contributor version".
475
476 A contributor's "essential patent claims" are all patent claims
477 owned or controlled by the contributor, whether already acquired or
478 hereafter acquired, that would be infringed by some manner, permitted
479 by this License, of making, using, or selling its contributor version,
480 but do not include claims that would be infringed only as a
481 consequence of further modification of the contributor version. For
482 purposes of this definition, "control" includes the right to grant
483 patent sublicenses in a manner consistent with the requirements of
484 this License.
485
486 Each contributor grants you a non-exclusive, worldwide, royalty-free
487 patent license under the contributor's essential patent claims, to
488 make, use, sell, offer for sale, import and otherwise run, modify and
489 propagate the contents of its contributor version.
490
491 In the following three paragraphs, a "patent license" is any express
492 agreement or commitment, however denominated, not to enforce a patent
493 (such as an express permission to practice a patent or covenant not to
494 sue for patent infringement). To "grant" such a patent license to a
495 party means to make such an agreement or commitment not to enforce a
496 patent against the party.
497
498 If you convey a covered work, knowingly relying on a patent license,
499 and the Corresponding Source of the work is not available for anyone
500 to copy, free of charge and under the terms of this License, through a
501 publicly available network server or other readily accessible means,
502 then you must either (1) cause the Corresponding Source to be so
503 available, or (2) arrange to deprive yourself of the benefit of the
504 patent license for this particular work, or (3) arrange, in a manner
505 consistent with the requirements of this License, to extend the patent
506 license to downstream recipients. "Knowingly relying" means you have
507 actual knowledge that, but for the patent license, your conveying the
508 covered work in a country, or your recipient's use of the covered work
509 in a country, would infringe one or more identifiable patents in that
510 country that you have reason to believe are valid.
511
512 If, pursuant to or in connection with a single transaction or
513 arrangement, you convey, or propagate by procuring conveyance of, a
514 covered work, and grant a patent license to some of the parties
515 receiving the covered work authorizing them to use, propagate, modify
516 or convey a specific copy of the covered work, then the patent license
517 you grant is automatically extended to all recipients of the covered
518 work and works based on it.
519
520 A patent license is "discriminatory" if it does not include within
521 the scope of its coverage, prohibits the exercise of, or is
522 conditioned on the non-exercise of one or more of the rights that are
523 specifically granted under this License. You may not convey a covered
524 work if you are a party to an arrangement with a third party that is
525 in the business of distributing software, under which you make payment
526 to the third party based on the extent of your activity of conveying
527 the work, and under which the third party grants, to any of the
528 parties who would receive the covered work from you, a discriminatory
529 patent license (a) in connection with copies of the covered work
530 conveyed by you (or copies made from those copies), or (b) primarily
531 for and in connection with specific products or compilations that
532 contain the covered work, unless you entered into that arrangement,
533 or that patent license was granted, prior to 28 March 2007.
534
535 Nothing in this License shall be construed as excluding or limiting
536 any implied license or other defenses to infringement that may
537 otherwise be available to you under applicable patent law.
538
539 12. No Surrender of Others' Freedom.
540
541 If conditions are imposed on you (whether by court order, agreement or
542 otherwise) that contradict the conditions of this License, they do not
543 excuse you from the conditions of this License. If you cannot convey a
544 covered work so as to satisfy simultaneously your obligations under this
545 License and any other pertinent obligations, then as a consequence you may
546 not convey it at all. For example, if you agree to terms that obligate you
547 to collect a royalty for further conveying from those to whom you convey
548 the Program, the only way you could satisfy both those terms and this
549 License would be to refrain entirely from conveying the Program.
550
551 13. Use with the GNU Affero General Public License.
552
553 Notwithstanding any other provision of this License, you have
554 permission to link or combine any covered work with a work licensed
555 under version 3 of the GNU Affero General Public License into a single
556 combined work, and to convey the resulting work. The terms of this
557 License will continue to apply to the part which is the covered work,
558 but the special requirements of the GNU Affero General Public License,
559 section 13, concerning interaction through a network will apply to the
560 combination as such.
561
562 14. Revised Versions of this License.
563
564 The Free Software Foundation may publish revised and/or new versions of
565 the GNU General Public License from time to time. Such new versions will
566 be similar in spirit to the present version, but may differ in detail to
567 address new problems or concerns.
568
569 Each version is given a distinguishing version number. If the
570 Program specifies that a certain numbered version of the GNU General
571 Public License "or any later version" applies to it, you have the
572 option of following the terms and conditions either of that numbered
573 version or of any later version published by the Free Software
574 Foundation. If the Program does not specify a version number of the
575 GNU General Public License, you may choose any version ever published
576 by the Free Software Foundation.
577
578 If the Program specifies that a proxy can decide which future
579 versions of the GNU General Public License can be used, that proxy's
580 public statement of acceptance of a version permanently authorizes you
581 to choose that version for the Program.
582
583 Later license versions may give you additional or different
584 permissions. However, no additional obligations are imposed on any
585 author or copyright holder as a result of your choosing to follow a
586 later version.
587
588 15. Disclaimer of Warranty.
589
590 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
591 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
592 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
593 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
594 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
595 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
596 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
597 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
598
599 16. Limitation of Liability.
600
601 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
602 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
603 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
604 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
605 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
606 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
607 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
608 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
609 SUCH DAMAGES.
610
611 17. Interpretation of Sections 15 and 16.
612
613 If the disclaimer of warranty and limitation of liability provided
614 above cannot be given local legal effect according to their terms,
615 reviewing courts shall apply local law that most closely approximates
616 an absolute waiver of all civil liability in connection with the
617 Program, unless a warranty or assumption of liability accompanies a
618 copy of the Program in return for a fee.
619
620 END OF TERMS AND CONDITIONS
621
622 How to Apply These Terms to Your New Programs
623
624 If you develop a new program, and you want it to be of the greatest
625 possible use to the public, the best way to achieve this is to make it
626 free software which everyone can redistribute and change under these terms.
627
628 To do so, attach the following notices to the program. It is safest
629 to attach them to the start of each source file to most effectively
630 state the exclusion of warranty; and each file should have at least
631 the "copyright" line and a pointer to where the full notice is found.
632
633 <one line to give the program's name and a brief idea of what it does.>
634 Copyright (C) <year> <name of author>
635
636 This program is free software: you can redistribute it and/or modify
637 it under the terms of the GNU General Public License as published by
638 the Free Software Foundation, either version 3 of the License, or
639 (at your option) any later version.
640
641 This program is distributed in the hope that it will be useful,
642 but WITHOUT ANY WARRANTY; without even the implied warranty of
643 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
644 GNU General Public License for more details.
645
646 You should have received a copy of the GNU General Public License
647 along with this program. If not, see <http://www.gnu.org/licenses/>.
648
649 Also add information on how to contact you by electronic and paper mail.
650
651 If the program does terminal interaction, make it output a short
652 notice like this when it starts in an interactive mode:
653
654 <program> Copyright (C) <year> <name of author>
655 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
656 This is free software, and you are welcome to redistribute it
657 under certain conditions; type `show c' for details.
658
659 The hypothetical commands `show w' and `show c' should show the appropriate
660 parts of the General Public License. Of course, your program's commands
661 might be different; for a GUI interface, you would use an "about box".
662
663 You should also get your employer (if you work as a programmer) or school,
664 if any, to sign a "copyright disclaimer" for the program, if necessary.
665 For more information on this, and how to apply and follow the GNU GPL, see
666 <http://www.gnu.org/licenses/>.
667
668 The GNU General Public License does not permit incorporating your program
669 into proprietary programs. If your program is a subroutine library, you
670 may consider it more useful to permit linking proprietary applications with
671 the library. If this is what you want to do, use the GNU Lesser General
672 Public License instead of this License. But first, please read
673 <http://www.gnu.org/philosophy/why-not-lgpl.html>.
0 2007-01-29 23:29 p
1
2 * install.sh: Fixed sha-bang in file
3
4 2005-11-28 22:55 p
5
6 * saslfinger: Added Gentoo paths contributed by Tuan Van
7
8 2005-01-10 23:10 p
9
10 * HISTORY, INSTALL, TODO, index.html, install.sh, saslfinger,
11 saslfinger.1, saslfinger.1.xml: Added properties to all files,
12 changed source paths for install script
13
14 2005-01-10 23:04 p
15
16 * man, saslfinger, saslfinger.1, saslfinger.1.xml, script: Moved
17 saslfinger.1.xml saslfinger.1 and saslfinger to top dir
18
19 2005-01-10 23:02 p
20
21 * html, index.html: Moved index.html to top dir.
22
23 2005-01-10 22:13 p
24
25 * CHANGES, HISTORY, script/saslfinger: Moved telnet test to the end
26 of the script until I've found a solution to stop the script from
27 stopping if the telnet test fails
28
29 2005-01-10 21:50 p
30
31 * branches, tags, trunk: Removed stupid SVN default files
32
33 2005-01-10 21:49 p
34
35 * script/saslfinger: fighting the telnet test...
36
37 2004-11-22 14:35 p
38
39 * script/saslfinger: Added /etc/slackware-version as system
40 descriptor to look for
41
42 2004-11-03 08:53 p
43
44 * html/index.html: update for 0.9.8 downloads
45
46 2004-11-03 08:53 p
47
48 * CHANGES: update of changes
49
50 2004-11-03 08:52 p
51
52 * script/saslfinger: + Added netcat as alternative for the unstable
53 telnet based SMTP test routine + Fixed "command not found" message
54 when nc or netcat are not present + Fixed a typo in the routine
55 that replaces sql_passwd entries with blanks; it used to grep for
56 sql_pass, but not sql_passwd.
57
58 2004-11-02 19:33 p
59
60 * CHANGES: Update of changes
61
62 2004-11-02 19:32 p
63
64 * script/saslfinger: Fixed a misleading message when smtpd.conf is
65 missing.
66
67 2004-10-29 10:21 p
68
69 * CHANGES, TODO: Update for release 0.9.6
70
71 2004-10-29 10:20 p
72
73 * script/saslfinger: Added nc as alternative for the instable telnet
74 test
75
76 2004-10-28 14:57 p
77
78 * script/saslfinger: Added support for FreeBSD Fixed a typo in the
79 client debug section
80
81 2004-10-28 14:56 p
82
83 * CHANGES, TODO: Created a Changelog and a todo list
84
85 2004-10-07 07:58 p
86
87 * script/saslfinger: Added path for SASL on NetBSD Added search
88 parameters for TLS configuration
89
90 2004-09-15 00:17 p
91
92 * INSTALL: Another change...
93
94 2004-09-15 00:15 p
95
96 * INSTALL: Just to test the mail script...
97
98 2004-09-14 23:58 p
99
100 * INSTALL, html, html/index.html, install.sh, man, man/saslfinger.1,
101 man/saslfinger.1.xml, script, script/saslfinger: Initial import
102
103 2004-09-14 20:36 root
104
105 * branches, tags, trunk: Initial repository layout
106
0 # $Id: INSTALL 21 2005-01-10 23:10:54Z p $
1
2 Run ./install.sh to install saslfinger and its man page.
3 Read "man 1 saslfinger", choose the mode, and type "saslfinger" to start collecting data.
0 # $Id: TODO 21 2005-01-10 23:10:54Z p $
1 TODO list for saslfinger
2
3 + SASL pwcheck_method debugging
4 Add routines to identify the choosen pwcheck_method and run debug
5 tests on them e.g. "saslauthd -a foo -d"
6
0 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
1 <html>
2 <head>
3 <title>saslfinger - debugging SMTP AUTH in Postfix</title>
4 <!-- $Id: index.html 21 2005-01-10 23:10:54Z p $ -->
5 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6 <meta name="author" content="Patrick Koetter, patrick.koetter@state-of-mind.de">
7 <meta name="keywords" content="postfix smtp auth, postfix sasl, smtp auth postfix, postfix configuration, saslfinger, postfix, Cyrus SASL, SMTP AUTH">
8 <meta name="description" content="saslfinger collects SMTP AUTH related data from your system and prints it to stdout. You can use it to debug your SMTP AUTH setup and to get help on the Postfix mailing lists.">
9 <style media="screen" type="text/css">
10 a: { text-decoration: none }
11 body { margin: 1em 1em 1em 1em; color: #000000; background-color: #ffffff; font-weight: normal; font-size: 0.8em; font-family: Verdana, Helvetica, Geneva, Swiss, SunSans-Regular}
12 h1 { margin: 1em 0em 1em 0em; color: #000000; font-weight: bold; font-size: 1.2em; font-family: Verdana, Helvetica, Geneva, Swiss, SunSans-Regular}
13 h2 { margin: 1em 0em 0.3em 0em; color: #000000; font-weight: bold; font-size: 1.0em; font-family: Verdana, Helvetica, Geneva, Swiss, SunSans-Regular}
14 p { margin: 0em 0em 0.5em 0em; color: #000000; font-size: 0.9em; font-family: Verdana, Helvetica, Geneva, Swiss, SunSans-Regular}
15 dl { margin: 0em 0em 0.5em 0em; color: #000000; font-size: 1.0em; font-family: Verdana, Helvetica, Geneva, Swiss, SunSans-Regular}
16 dt {font-style:italic; font-weight: normal; color: #000000; font-family: Verdana, Helvetica, Geneva, Swiss, SunSans-Regular}
17 dd { color: #000000; font-size: 1.0em; font-family: Verdana, Helvetica, Geneva, Swiss, SunSans-Regular}
18 code {font-weight: normal; font-size: 1.0em; font-family: "Courier New", Courier;}
19 </style>
20 </head>
21
22 <body bgcolor="#ffffff" text="#000000" link="#ff0000" vlink="#800000" alink="#ff00ff" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
23 <h1>saslfinger</h1>
24 <p><code>saslfinger</code> is a bash utility script that seeks to help you debugging your SMTP AUTH setup. It gathers various informations about Cyrus SASL and Postfix from your system and sends it to <code>stdout</code>.</p>
25 <p><code>saslfinger</code> is released under the <a href="http://www.gnu.org/licenses/gpl-3.0.html">GNU General Public License</a>.</p>
26 <h2>Requirements</h2>
27 <p><code>saslfinger</code> has been tested with bash version 2.04 or greater on the following plattforms:</p>
28 <ul>
29 <li>RedHat Linux</li>
30 <li>Fedora Core</li>
31 <li>Debian Linux</li>
32 <li>SuSe Linux</li>
33 <li>Gentoo Linux</li>
34 <li>Mandrake Linux</li>
35 <li>FreeBSD</li>
36 </ul>
37 <h2>Usage</h2>
38 <p>You <em>must</em> run <code>saslfinger</code> with one of the following options:</p>
39 <dl>
40 <dt>-c</dt>
41 <dd><p>If you run <code>saslfinger</code> with the option <code>-c</code> it will collect data required for client-side SMTP AUTH. Client-side SMTP AUTH is when Postfix smtp daemon uses SMTP AUTH to authenticate itself with a remote mail server that offers SMTP AUTH.</p>
42
43 <p><code>saslfinger</code> will try to telnet to all hosts listed in <strong>smtp_sasl_password_maps</strong>, if it may read <code>smtp_sasl_password_maps</code></p>
44
45 <p>The telnet test verifies your host is able to reach the remote servers and shows what AUTH mechanisms they offer - in some cases this is required to debug client-side SMTP AUTH.</p>
46
47 <p>Important: By default <code>smtp_sasl_password_maps</code> must be read-only to root, since these maps contain the usernames and passwords to authenticate. If you run <code>saslfinger</code> as root access will be no problem, but saslfinger will fail if you lack the permissions to access <code>smtp_sasl_password_maps</code>.</p>
48
49 <p>If you want to run the telnet test, but don't want to run <code>saslfinger</code> as root change permissions of <strong>smtp_sasl_password_maps</strong> so that the user running <code>saslfinger</code> may access <b>smtp_sasl_password_maps</b> while you debug.</p>
50
51 <p>*note: You don't need to worry about saslfinger doing anything with the username or password stored next to the remote hosts in your <b>smtp_sasl_password_maps</b>; saslfinger completely ignores these informations!</p>
52 </dd>
53 <dt>-h</dt>
54 <dd>
55 <p>If you run <code>saslfinger</code> with the option <code>-h</code> it will print a little help message that tells you about the options you can use.</p>
56 </dd>
57 <dt>-s</dt>
58 <dd>
59 <p>If you run <code>saslfinger</code> with the option <code>-s</code> it will collect data required for server-side SMTP AUTH. Server-side SMTP AUTH is when Postfix smtpd daemon offers SMTP AUTH to mail clients.</p>
60 </dd>
61 </dl>
62 <address>Patrick Koetter, patrick.koetter@state-of-mind.de</address>
63 </body>
64 </html>
65
0 #!/bin/bash
1
2 scriptname="saslfinger"
3 man_paths=(/usr/share/man)
4
5 if [ ! -z "$DESTDIR" ] ; then
6 echo "DESTDIR ($DESTDIR) found in the environment. Will be used as install prefix."
7 fi
8
9 # verify_man_page ()
10 # Check if the man page for this script has been installed and install it
11 # if it isn't there.
12
13 verify_man_page ()
14 {
15 for man_path in ${man_paths[@]}
16 do
17 local man_source="${scriptname}.1"
18 local man_dest="$DESTDIR${man_path}/man1/${scriptname}.1"
19 if ! [[ -e ${man_dest} ]]; then
20 echo "Installing man page..."
21 $(cp ${man_source} ${man_dest})
22 elif [[ ${man_dest} -ot ${man_source} ]]; then
23 echo "Updating ${scriptname} man page..."
24 $(cp ${man_source} ${man_dest})
25 else
26 echo "${scriptname} man page is up to date. Nothing to do."
27 fi
28 done
29 }
30
31
32 verify_script ()
33 {
34 local source_dir="${scriptname}"
35 local install_dir="$DESTDIR/usr/bin/${scriptname}"
36 if ! [[ -e ${install_dir} ]]; then
37 echo "Installing ${scriptname}..."
38 `cp ${source_dir} ${install_dir}`
39 `chmod 755 ${install_dir}`
40 elif [[ ${install_dir} -ot ${source_dir} ]]; then
41 echo "Updating ${scriptname}..."
42 `cp -p -f ${source_dir} ${install_dir}`
43 `chmod 755 ${install_dir}`
44 else
45 echo "${scriptname} is up to date. Nothing to do."
46 fi
47 }
48
49 verify_script
50 verify_man_page
51 exit 0
0 #!/bin/bash
1 #
2 # Copyright © 2004 Patrick Koetter
3 #
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or (at
7 # your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 #
17
18 #####################################################################
19 # VARIABLES #
20 #####################################################################
21 # set -e
22 scriptname="${0##*/}"
23 scriptversion=1.0.4
24
25 declare -a sasl_dirs valid_sasl_lib_names
26
27 sasl_dirs=(/usr/lib/sasl \
28 /usr/lib64/sasl2 \
29 /var/lib/sasl \
30 /opt/lib/sasl \
31 /usr/lib/sasl2 \
32 /var/lib/sasl2 \
33 /opt/lib/sasl2 \
34 /usr/local/lib/sasl2 \
35 /etc/sasl2 \
36 /etc/postfix/sasl \
37 /etc/cyrus-sasl \
38 /usr/pkg/lib)
39
40 sasl_libs=(libsasl.so libsasl2.so)
41
42 #####################################################################
43 # COMMANDS AND FUNCTIONS #
44 #####################################################################
45
46 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:$PATH"
47
48 function start () {
49 echo "${scriptname} - postfix Cyrus sasl configuration $(date)"
50 echo "version: ${scriptversion}"
51 echo "mode: ${mode} SMTP AUTH"
52 }
53
54 function end () {
55 echo "-- end of ${scriptname} output --"
56 }
57
58 function postconf_get () {
59 postconf -h ${1};
60 }
61
62 function get_saslpasswd () {
63 postconf -h smtp_sasl_password_maps | sed -e s/^.*://;
64 }
65
66 function get_mail_version () {
67 declare -a systems
68 local systems=("/etc/redhat-release" "/etc/fedora-release" "/etc/slackware-version" "/etc/gentoo-release" "/etc/issue" "/etc/motd")
69 echo "-- basics --"
70 echo "Postfix: $(postconf_get mail_version)"
71 for system in ${systems[@]}; do
72 if [[ -e ${system} ]]; then
73 echo "System: $(cat ${system})"
74 break
75 else
76 continue
77 fi
78 done
79 }
80
81 function get_sasl_dirs () {
82 local i=0
83 local sasldir=""
84 for sasldir in ${sasl_dirs[@]}; do
85 if [ -d ${sasldir} ]; then
86 valid_sasldirs[$i]=${sasldir}
87 let "i = $i + 1"
88 fi
89 done
90 if ! [[ ${valid_sasldirs[@]} ]]; then
91 echo -e "\aCould not find any valid Cyrus SASL directories."
92 echo "Cyrus SASL is required to setup SMTP AUTH!"
93 exit 72
94 fi
95 }
96
97
98 function get_sasl_support () {
99 local sasllib=""
100 echo "-- $1 is linked to --"
101 for sasllib in ${sasl_libs[@]}; do
102 local ldd_res="$(ldd "$(postconf_get daemon_directory)/${1}" | egrep -e "${sasllib}" 2>/dev/null)"
103 if [ -n "${ldd_res}" ]; then
104 echo "${ldd_res}"
105 fi
106 done
107 }
108
109
110 function get_smtp_dialogue () {
111 echo "-- mechanisms on ${1} --"
112 if echo "EHLO $HOSTNAME\r\nQUIT\r\n" | nc -w 1 -v ${1} 25 2>/dev/null | egrep "AUTH" 2>/dev/null; then
113 echo
114 elif echo "EHLO $HOSTNAME\r\nQUIT\r\n" | netcat -w 1 -v ${1} 25 2>/dev/null | egrep "AUTH" 2>/dev/null; then
115 echo
116 else
117 (echo "EHLO $HOSTNAME"; sleep 2) | telnet ${1} 25 2>/dev/null | egrep "(AUTH)"
118 fi
119 }
120
121
122 function get_maincf () {
123 if test ${1} = "smtpd"; then
124 local authparams="(^smtpd_sasl_*|broken_sasl_auth_clients|^smtpd_use_tls|^smtpd_tls_*)"
125 elif test ${1} = "smtp"; then
126 local authparams="(^smtp_sasl_*|^relayhost|^smtp_use_tls|^smtp_tls_*)"
127 fi
128
129 for daemon in ${1}; do
130 echo "-- active SMTP AUTH and TLS parameters for ${1} --"
131 if postconf -n | egrep -i ${authparams} 2> /dev/null; then
132 continue
133 else
134 echo -e "\aNo active SMTP AUTH and TLS parameters for ${1} in main.cf!"
135 echo "SMTP AUTH can't work!"
136 exit 72
137 fi
138 done
139 }
140
141
142 function get_sasl_apps () {
143 active_services[0]=""
144 if [[ $(egrep -v "^#.*smtpd_sasl_application_name" $(postconf_get config_directory)/master.cf |\
145 egrep "^.*smtpd_sasl_application_name" 2>/dev/null) ]]; then
146 active_services=$(egrep -v "^#.*smtpd_sasl_application_name" $(postconf_get config_directory)/master.cf |\
147 egrep "^.*smtpd_sasl_application_name" | sed 's/.*-o smtpd_sasl_application_name=//g' | awk '{print $1}')
148 else
149 active_services[0]="smtpd"
150 fi
151 }
152
153 function get_service_config () {
154 # Add /etc/postfix/sasl to valid_sasldirs for Debian users.
155 sasl_dirs[100]="/etc/postfix/sasl"
156 local o=1
157 local sasldir=""
158 local service=""
159 for sasldir in ${sasl_dirs[@]}; do
160 local i=1
161 for service in ${active_services[@]}; do
162 if [ -e ${sasldir}/${service}.conf ]; then
163 valid_services[$i$o]=${sasldir}/${service}.conf
164 let "i = $i + 1"
165 elif ! [ -e ${sasldir}/${service}.conf ]; then
166 continue
167 fi
168 done
169 let "o+=1"
170 done
171 if ! [[ ${valid_services[@]} ]]; then
172 echo; echo -e "\aThere is no smtpd.conf that defines what SASL should do for Postfix."
173 echo "SMTP AUTH can't work!"; echo
174 exit 72
175 fi
176 }
177
178
179 function list_service_configs () {
180 local smtpdconf=""
181 for smtpdconf in ${valid_services[@]}; do
182 echo "-- content of ${smtpdconf} --"
183 cat ${smtpdconf} | sed -e 's/.*ldapdb_id.*/ldapdb_id: --- replaced ---/;s/.*sql_user:.*/sql_user: --- replaced ---/g;'\
184 -e 's/.*ldapdb_pw:.*/ldapdb_pw: --- replaced ---/g;s/.*sql_passwd:.*/sql_passwd: --- replaced ---/g'
185 echo
186 done
187 }
188
189
190 function list_sasl_dirs () {
191 local sasldir=""
192 for sasldir in ${valid_sasldirs[@]}; do
193 echo "-- listing of ${sasldir} --"; ls -alL ${sasldir}; echo
194 done
195 }
196
197
198 function get_mastercf () {
199 echo "-- active services in $(postconf_get config_directory)/master.cf --"
200 echo "$(egrep "(^# service type|\(yes\))" $(postconf_get config_directory)/master.cf)"
201 echo "$(cat $(postconf_get config_directory)/master.cf | egrep -v "^#")"
202 }
203
204
205 function check_saslpasswd () {
206 saslpasswd=$(postconf_get smtp_sasl_password_maps | sed -e s/^.*://)
207 if ! [ $(get_saslpasswd) ]; then
208 echo -e "\aCannot find the smtp_sasl_password_maps parameter in main.cf."
209 echo "Client-side SMTP AUTH cannot work without this parameter!"
210 exit 78
211 elif [ -e $(get_saslpasswd) ]; then
212 echo "-- permissions for $(get_saslpasswd) --"; echo "`ls -al ${saslpasswd}`"; echo
213 if [ -e $(get_saslpasswd).db ]; then
214 echo "-- permissions for $(get_saslpasswd).db --"; echo "`ls -al ${saslpasswd}.db`"; echo
215 if [ $(get_saslpasswd) -nt $(get_saslpasswd).db ]; then
216 echo -e "\a$(get_saslpasswd).db is older than $(get_saslpasswd)!"
217 echo "Run the following command as root to sync $(get_saslpasswd).db:"
218 echo; echo -e "\tpostmap `postconf -h smtp_sasl_password_maps`"; echo
219 exit 65
220 else
221 echo "$(get_saslpasswd).db is up to date."
222 fi
223 else
224 echo; echo -e "\aThere is no $(get_saslpasswd).db!"
225 exit 78
226 fi
227 elif ! [ -e $(get_saslpasswd) ]; then
228 echo; echo -e "\aYou have set smtp_sasl_password_maps = ${saslpasswd}"
229 echo "in main.cf, but $(get_saslpasswd) does not seem to be there."
230 echo "Please check and run ${scriptname} again."
231 exit 78
232 fi
233 }
234
235
236 function get_smtp_dialogue_wrapper () {
237 local host=""
238 if [ -r $(get_saslpasswd) ]; then
239 for host in $(awk '!/^#/ {print $1}' ${saslpasswd}); do
240 get_smtp_dialogue ${host}; echo
241 done
242 elif ! [ -r $(get_saslpasswd) ]; then
243 echo -e "\aYou don't have the correct permissions to read $(get_saslpasswd)."
244 echo "The telnet test, which gets the AUTH mechanisms offered by your remote"
245 echo "MTA(s), requires reading this file. Become either root to access"
246 echo "$(get_saslpasswd), or allow your current user, ${USER}, to read it."; echo
247 exit 0
248 fi
249 }
250
251
252
253 function server () {
254 mode="server-side"
255 start; echo
256 get_mail_version; echo
257 get_sasl_support smtpd; echo
258 get_maincf smtpd; echo
259 get_sasl_dirs; echo
260 list_sasl_dirs; echo
261 get_sasl_apps; echo
262 get_service_config; echo
263 list_service_configs; echo
264 get_mastercf; echo
265 get_smtp_dialogue localhost; echo
266 end; echo
267 exit 0
268 }
269
270
271 function client () {
272 mode="client-side"
273 start; echo
274 get_mail_version; echo
275 get_sasl_support smtp; echo
276 get_maincf smtp; echo
277 get_sasl_dirs; echo
278 list_sasl_dirs; echo
279 check_saslpasswd; echo
280 get_mastercf; echo
281 get_smtp_dialogue_wrapper; echo
282 end; echo
283 exit 0
284 }
285
286
287 function usage () {
288 echo; echo "saslfinger -s"; echo -e "\tCheck server-side SMTP AUTH configuration"
289 echo; echo "saslfinger -c"; echo -e "\tCheck client-side SMTP AUTH configuration"
290 echo; echo "saslfinger -h"; echo -e "\tPrint this message."
291 echo; echo "Read man (1) saslfinger for a detailed discussion on what"; echo "${scriptname} may do for you."
292 echo; exit 0
293 }
294
295 no_args=0
296 if [ ${#} -eq ${no_args} ]; then
297 echo; echo -e "\aUsage: `basename ${0}` [-chs]"
298 echo "Use \"`basename ${0}` -h\" to find out what the options mean."
299 echo; exit 65
300 fi
301
302 while getopts "chs" option; do
303 case ${option} in
304 c ) client;;
305 s ) server;;
306 h ) usage;;
307 esac
308 done
309 shift $(($OPTIND - 1))
310
311 exit 0
0 .TH saslfinger 1 User Manuals
1 .SH NAME
2 saslfinger \- A utility to collect SMTP AUTH relevant configuration for Postfix
3 .SH SYNOPSIS
4 \fBsaslfinger [-chs]
5 \f1
6 .SH DESCRIPTION
7 saslfinger is a utility to collect SMTP AUTH relevant configuration for Postfix. Depending on how you run it, it will search for information on server-side or client-side SMTP AUTH configuration settings in Postfix and Cyrus SASL.
8 .SH OPTIONS
9 .TP
10 \fB-c\f1
11 If you run saslfinger with the option \fB-c\f1 it will collect data required for client-side SMTP AUTH. Client-side SMTP AUTH is when Postfix smtp daemon uses SMTP AUTH to authenticate itself with a remote mail server that offers SMTP AUTH.
12
13 saslfinger will try to telnet to all hosts listed in smtp_sasl_password_maps, if it may read smtp_sasl_password_maps
14
15 The telnet test verifies your host is able to reach the remote servers and shows what AUTH mechanisms they offer - in some cases this is required to debug client-side SMTP AUTH.
16
17 Important: By default smtp_sasl_password_maps must be read-only to root, since these maps contain the usernames and passwords to authenticate. If you run saslfinger as root access will be no problem, but saslfinger will fail if you lack the permissions to access smtp_sasl_password_maps.
18
19 If you want to run the telnet test, but don't want to run saslfinger as root change permissions of smtp_sasl_password_maps so that the user running saslfinger may access smtp_sasl_password_maps while you debug.
20
21 *note: You don't need to worry about saslfinger doing anything with the username or password stored next to the remote hosts in your smtp_sasl_password_maps; saslfinger completely ignores these informations!
22 .TP
23 \fB-h\f1
24 If you run saslfinger with the option \fB-h\f1 it will print a little help message that tells you about the options you can use.
25 .TP
26 \fB-s\f1
27 If you run saslfinger with the option \fB-s\f1 it will collect data required for server-side SMTP AUTH. Server-side SMTP AUTH is when Postfix smtpd daemon offers SMTP AUTH to mail clients.
28 .SH FILES
29 \fIsaslfinger\f1 - the script you need to run.
30
31 \fIsaslfinger.1\f1 - the man page you are currently reading.
32 .SH AUTHOR
33 Patrick Koetter, <patrick.koetter@state-of-mind.de>, \fBhttp://www.state-of-mind.de\f1
34
35 You will find the newest version of saslfinger at \fBhttp://postfix.state-of-mind.de/patrick.koetter/saslfinger/\f1.
36 .SH BUGS
37 Please report bugs to <patrick.koetter@state-of-mind.de>
0 <?xml version="1.0" standalone='no'?>
1 <!DOCTYPE manpage SYSTEM "http://masqmail.cx/xmltoman/xmltoman.dtd">
2 <?xml-stylesheet type="text/xsl" href="http://masqmail.cx/xmltoman/xmltoman.xsl" ?>
3 <!-- $Id: saslfinger.1.xml 21 2005-01-10 23:10:54Z p $ -->
4
5 <manpage name="saslfinger" section="1" desc="A utility to collect SMTP AUTH relevant configuration for Postfix">
6
7 <synopsis>
8 <cmd>saslfinger [-chs]</cmd>
9 </synopsis>
10
11 <description>
12 <p>saslfinger is a utility to collect SMTP AUTH relevant configuration
13 for Postfix. Depending on how you run it, it will search for information
14 on server-side or client-side SMTP AUTH configuration settings in
15 Postfix and Cyrus SASL.</p>
16 </description>
17
18 <options>
19 <option>
20 <p><opt>-c</opt></p>
21 <optdesc>
22 <p>If you run saslfinger with the option <opt>-c</opt> it will collect
23 data required for client-side SMTP AUTH. Client-side SMTP AUTH is when
24 Postfix smtp daemon uses SMTP AUTH to authenticate itself with a remote
25 mail server that offers SMTP AUTH.</p>
26
27 <p>saslfinger will try to telnet to all hosts listed in
28 smtp_sasl_password_maps, if it may read smtp_sasl_password_maps</p>
29
30 <p>The telnet test verifies your host is able to reach the remote
31 servers and shows what AUTH mechanisms they offer - in some cases this
32 is required to debug client-side SMTP AUTH.</p>
33
34 <p>Important: By default smtp_sasl_password_maps must be read-only to
35 root, since these maps contain the usernames and passwords to
36 authenticate. If you run saslfinger as root access will be no problem,
37 but saslfinger will fail if you lack the permissions to access
38 smtp_sasl_password_maps.</p>
39
40 <p>If you want to run the telnet test, but don't want to run saslfinger
41 as root change permissions of smtp_sasl_password_maps so that the user
42 running saslfinger may access <b>smtp_sasl_password_maps</b> while you
43 debug.</p>
44
45 <p>*note: You don't need to worry about saslfinger doing anything with
46 the username or password stored next to the remote hosts in your
47 <b>smtp_sasl_password_maps</b>; saslfinger completely ignores these
48 informations!</p>
49 </optdesc>
50 </option>
51
52 <option>
53 <p><opt>-h</opt></p>
54 <optdesc>
55 <p>If you run saslfinger with the option <opt>-h</opt> it will print a
56 little help message that tells you about the options you can use.</p>
57 </optdesc>
58 </option>
59
60 <option>
61 <p><opt>-s</opt></p>
62 <optdesc>
63 <p>If you run saslfinger with the option <opt>-s</opt> it will collect
64 data required for server-side SMTP AUTH. Server-side SMTP AUTH is when
65 Postfix smtpd daemon offers SMTP AUTH to mail clients.</p>
66 </optdesc>
67 </option>
68
69 </options>
70
71 <section name = "Files">
72 <p><file>saslfinger</file> - the script you need to run.</p>
73 <p><file>saslfinger.1</file> - the man page you are currently reading.</p>
74 </section>
75
76 <section name = "Author">
77 <p>Patrick Koetter, &lt;patrick.koetter@state-of-mind.de&gt;, <url
78 href="http://www.state-of-mind.de"/></p>
79
80 <p>You will find the newest version of saslfinger at <url
81 href="http://postfix.state-of-mind.de/patrick.koetter/saslfinger/"/>.</p>
82 </section>
83
84 <section name = "Bugs">
85 <p>Please report bugs to &lt;patrick.koetter@state-of-mind.de&gt;</p>
86 </section>
87 <!--
88 <section name = "See also">
89 <p>
90 <manref name="masqmail.conf" section="5" href="masqmail.conf.5.html"/>, <manref name="masqmail.route" section="5" href="masqmail.route.5.html"/>, <manref name="masqmail.get" section="5" href="masqmail.get.5.html"/>, <manref name="masqmail.aliases" section="5" href="masqmail.aliases.5.html"/>
91 </p>
92 </section>
93 -->
94 </manpage>
0 3.0 (quilt)
0 .\" Hey, EMACS: -*- nroff -*-
1 .TH TESTSASLAUTHD 8 "14 October 2006"
2 .SH NAME
3 testsaslauthd \- test utility for the SASL authentication server
4 .SH SYNOPSIS
5 .B testsaslauthd
6 .RI "[ " \(hyr " " realm " ] [ " \(hys " " servicename " ] [ " \(hyf " " socket " " path " ] [ " \(hyR " " repeatnum " ]"
7 .SH DESCRIPTION
8 This manual page documents briefly the
9 .B testsaslauthd
10 command.
11 .PP
12 .SH SEE ALSO
13 .BR saslauthd (8).
14 .br
15 .SH AUTHOR
16 testsaslauthd was written by Carnegie Mellon University.
17 .PP
18 This manual page was written by Roberto C. Sanchez <roberto@connexer.com>,
19 for the Debian project (but may be used by others).
0 version=3
1
2 opts="dversionmangle=s/\.dfsg1//" http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-(.*)\.tar\.gz debian debian/repack.sh
3