OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/table_passwd.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12, Mon Nov 30 19:54:25 2015 UTC (8 years, 6 months ago) by jung
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED

remove table-passwd, table-sqlite, and table-ldap
about 4k lines seldom used code

people who rely on this install mail/opensmtpd-extras

direction discussed (and agreed) with many

ok gilles

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 11 12:50:00 2015 UTC (8 years, 8 months ago) by sunil
Branch: MAIN
Changes since 1.10: +10 -18 lines
Diff to previous 1.10 (colored)

Convert some fgetln to getline.

Ok gilles@, giovanni@, millert@

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 20 17:37:54 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored)

use <limits.h> comprehensively.  For now try to push <> includes to
each .c file, and out of the .h files.  To avoid overinclude.
ok gilles, in principle.  If this has been done right, -portable should
become easier to maintain.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:21 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 29 08:41:55 2014 UTC (9 years, 8 months ago) by gilles
Branch: MAIN
Changes since 1.7: +12 -7 lines
Diff to previous 1.7 (colored)

during a small refactor, we broke table_passwd.

lookup function rely on a parsing function to have a struct passwd members
point to the appropriate position in a buffer... but instead of passing the
buffer, the parsing function uses its own internal buffer which will no
longer be valid upon return.

turns out to work by luck in my tests, not so much when Daniel Adolfsson
tried to use it.

spotted by Daniel Adolfsson <daniel@priv.nu>

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 8 13:49:09 2014 UTC (9 years, 11 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.6: +7 -7 lines
Diff to previous 1.6 (colored)

Update the table API: lookup functions can take an optional parameters
dictionnary (currently not set). While there, add a helper for forking
external backends, and remove unused table functions.

ok gilles@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 1 17:33:51 2014 UTC (9 years, 11 months ago) by matthieu
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Fix snprintf() return value tests. ok gilles@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 18 11:47:16 2013 UTC (10 years, 6 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

change dict_poproot() prototype: do not take key placeholder parameter as
it can't work that way.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 26 12:27:59 2013 UTC (10 years, 7 months ago) by eric
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

%i -> %d in format strings

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 24 20:07:16 2013 UTC (10 years, 7 months ago) by eric
Branch: MAIN
Changes since 1.2: +10 -5 lines
Diff to previous 1.2 (colored)

fix leaks on update

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 22 13:14:49 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

use unistd.h instead of getopt.h

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 21 09:38:52 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN

Add a "passwd" table backend. Useful for sharing vusers with other programs.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.