diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-12-23 12:50:32 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-12-23 12:50:32 +0100 |
commit | 30263a59daa22a7f6814d36dde96e6f9d3188438 (patch) | |
tree | f4bf5a6ac38dbd3df33eaf730564a06dea841639 | |
parent | 428a3fd2d4b895717bf493304b09fe39ab1f447f (diff) |
get files ready for 0.1 release0.1
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@201 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | ChangeLog | 60 | ||||
-rw-r--r-- | NEWS | 33 | ||||
-rw-r--r-- | TODO | 171 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | debian/changelog | 21 |
5 files changed, 121 insertions, 166 deletions
@@ -1,3 +1,39 @@ +2006-12-22 23:23 arthur + + * [r200] nslcd.8: fix name of configuration file and update date + and version number + +2006-12-22 23:20 arthur + + * [r199] NEWS, TODO, nslcd/alias.c, nslcd/dnsconfig.c, + nslcd/dnsconfig.h, nslcd/ether.c, nslcd/group.c, nslcd/host.c, + nslcd/ldap-nss.c, nslcd/ldap-nss.h, nslcd/ldap-schema.c, + nslcd/ldap-schema.h, nslcd/netgroup.c, nslcd/network.c, + nslcd/pagectrl.c, nslcd/pagectrl.h, nslcd/passwd.c, + nslcd/protocol.c, nslcd/resolve.c, nslcd/resolve.h, nslcd/rpc.c, + nslcd/service.c, nslcd/shadow.c, nslcd/util.c, nslcd/util.h, + nss-ldapd.conf, nss-ldapd.conf.5, nss/exports.linux: remove last + keyword and disable keyword expansion + +2006-12-22 10:56 arthur + + * [r198] nslcd/Makefile.am: make list of source files a little + clearer + +2006-12-22 07:35 arthur + + * [r197] HACKING: change reference to directory name + +2006-12-21 19:55 arthur + + * [r196] Makefile.am, configure.ac, debian/copyright, nslcd, + server: rename server directory to nslcd + +2006-12-21 19:53 arthur + + * [r195] ChangeLog, Makefile.am: add code for generating ChangeLog + and add initial ChangeLog + 2006-12-21 19:04 arthur * [r194] libnss_ldapd, .: change trunk location in repository to @@ -232,8 +268,8 @@ libnss_ldapd/debian/libnss-ldapd.postrm, libnss_ldapd/debian/libnss-ldapd.templates, libnss_ldapd/debian/rules, libnss_ldapd/debian/templates: redid - debian packaging: on installation a search is done for any - reasonable configuration informatio (existing nss_ldap config, + Debian packaging: on installation a search is done for any + reasonable configuration information (existing nss_ldap config, hostname info, etc), configuring nsswitch.conf is also done and all files in the debian directory have more logical names @@ -269,7 +305,7 @@ * [r152] libnss_ldapd/Makefile.am, libnss_ldapd/debian/changelog, libnss_ldapd/debian/control, libnss_ldapd/debian/libnss-ldapd.postinst, - libnss_ldapd/debian/rules: clean up debian packaging a bit + libnss_ldapd/debian/rules: clean up Debian packaging a bit 2006-12-08 21:45 arthur @@ -313,8 +349,8 @@ 2006-12-08 19:04 arthur * [r146] libnss_ldapd/Makefile.am, libnss_ldapd/README, - libnss_ldapd/doc: get rid of unneeded docs and integrate useful - parts in topleven README + libnss_ldapd/doc: reasonable configuration information (existing + nss_ldap config, parts in top-level README 2006-12-08 18:37 arthur @@ -336,7 +372,7 @@ 2006-12-08 16:26 arthur * [r143] libnss_ldapd/debian/control: get rid of cdbs build - depenency + dependency 2006-12-07 12:18 arthur @@ -471,7 +507,7 @@ 2006-11-28 09:45 arthur * [r128] libnss_ldapd/nslcd-common.h: implement more detailed - protocol logging (dunping the actual byte values read and + protocol logging (dumping the actual byte values read and written) 2006-11-27 09:59 arthur @@ -699,8 +735,8 @@ libnss_ldapd/nss/ethers.c, libnss_ldapd/nss/group.c, libnss_ldapd/nss/hosts.c, libnss_ldapd/nss/networks.c, libnss_ldapd/nss/passwd.c, libnss_ldapd/nss/shadow.c: switch to a - simler and more compact framework to generate methods (one reader - function to deserialize a struct from the stream and + simpler and more compact framework to generate methods (one + reader function to deserialize a struct from the stream and auto-generated functions) 2006-11-15 15:06 arthur @@ -718,7 +754,7 @@ 2006-11-14 14:41 arthur * [r89] libnss_ldapd/xmalloc.h: add xxmalloc() macro to simply - allocate a structure of a ceirtain type + allocate a structure of a certain type 2006-11-14 14:40 arthur @@ -1323,7 +1359,7 @@ libnss_ldapd/resolve.h, libnss_ldapd/snprintf.c, libnss_ldapd/snprintf.h, libnss_ldapd/util.c, libnss_ldapd/util.h: first round of cleanups, all non-glibc NSS - stuff has been removed, beacause we are going to do some major + stuff has been removed, because we are going to do some major restructuring it will not likely remain valid anyway and we can always re-add it later @@ -1367,7 +1403,7 @@ libnss_ldapd/tests/testpw4.c, libnss_ldapd/tests/testpw5.c, libnss_ldapd/tests/testpw6.c, libnss_ldapd/util.c, libnss_ldapd/util.h: add keyword expansion (svn:keywords) to all - files containting keywords + files containing keywords 2006-10-12 07:50 arthur @@ -1,12 +1,21 @@ -changes from nss_ldap to nss-ldapd 0.1 --------------------------------------- +changes from nss_ldap 251 to nss-ldapd 0.1 +------------------------------------------ + +* initial release of nss-ldapd (should be functional but not yet stable enough + for production use) +* fork from the nss_ldap which was originally written by Luke Howard of PADL + Software Pty Ltd. changing package name to nss-ldapd and versioning scheme +* the functionality was split into a thin NSS library and a simple daemon + proxying the requests to the LDAP server (see README for rationale) +* a lot of dead and old compatibility code was removed (about 25% of the code + was removed) (more simplifications to come) +* the test code was rewritten +* build script simplifications +* default configuration file has been changed to /etc/nss-ldapd.conf +* most documentation has been updated and rewritten +* dropped support for non-glibc NSS interfaces and assumed OpenLDAP compatible + library -* split code in NSS part and daemon part -* new test code -* many thanks to my employer, West Consulting, for allowing me - to spend some work time on this fork -* default configuration file location is changed to /etc/nss-ldapd.conf - changes from 250 to 251 ----------------------- @@ -228,7 +237,7 @@ changes from 226 to 227 * separate initializing LDAP session with actually connecting to the DSA, so that we don't try to bind until we actually need to search (which allows the retry logic in the search function to also apply to binding). NB: this will - only provide improved behaviour for LDAP client libraries that support + only provide improved behavior for LDAP client libraries that support ldap_init() or ldap_initialize() rather than ldap_open * fix for BUG#183: support pw_change and pw_expire on BSD * fix for BUG#187: NSS_BUFLEN_DEFAULT causing problems on IRS platforms @@ -586,7 +595,7 @@ changes from 181 to 183 ----------------------- * return error strings in AIX authentication routine -* initialise schema in getgroupsbymember() +* initialize schema in getgroupsbymember() * fix for tls_checkpeer; pass NULL session in to set global option * BUG#77: configurable config file locations @@ -753,7 +762,7 @@ changes from 159 to 160 ----------------------- * patch from RedHat to check for DB3, override install user/group optionally -* use synchoronous searches for _nss_ldap_getbyname() +* use synchronous searches for _nss_ldap_getbyname() * only set SSL options if we have values for those options @@ -849,7 +858,7 @@ changes from 146 to 147 changes from 145 to 146 ----------------------- -* mass reindentation, GNU style +* mass re-indentation, GNU style * patch from Simon Wilkinson <sxw@sxw.org.uk> for compatibility with old initgroups entry point * request authPassword attribute if --enable-authpassword @@ -1,149 +1,44 @@ - -before next release -------------------- -* add a ChangeLog -* fix permissions of created socket (so that non-root users will have access to nslcd) -* debian package: install in /lib, not in /usr/lib (move in rules, this was hidden in debian/libnss-ldap.install in the old package) -* add nslcd manual page -* update all documentation -* only set herrno on errors to fix hostname lookups? - probably before we can call this stable --------------------------------------- * implement _nss_ldap_initgroups_dyn() * split out configuration part into own source file -* clean up ldap server code -* reserve some threads in the server for root +* clean up and refactor ldap server code * FIXME: strerror() is not reentrant * align stuff in buffer (e.g. arrays of pointers) -* add HACKING document describing how to make modifications +* resolve.[ch] has license: BSD WITH ADVERTISING CLAUSE - LGPL problem? +* get rootbindpw in Debian package working again +* rewrite nss-ldapd.conf(5) manual page other items ----------- * another way to prevent deadlocks is to pass some flag from nsldc to nss_ldap -* set up connection to LDAP server before making NSLCD mechanims available (e.g. before creating socket) -* debian packaging: maybe remove stuff from /etc/nsswitch.conf on purge -* make lintian and linda clean -* support ipv6? - - -assorted --------- -* rootdb is not much use in most nslcd configurations anyway since all nss - requests are done as root (except shadow) -* apparently shadow lookups are not done through nscd and will be done by the - original process -* probably disable this functionality for now and document the fact that you - should use libpam-ldap for authentication without exposing the passwords - through LDAP -* FIXME: strerror() is not reentrant -- remove dots from copyright statements -- update copyright statements to be consistent throughout all files -- change FSF address -- add a warning somewhere as to when the NSS functions are available -- set up a threading mechanism in the server process -- reserve some threads in the server for root -* IDEA - set up connection to LDAP server before making NSLCD mechanims available (e.g. before creating socket) -* another way to prevent deadlocks is to pass some flag from nsldc to nss_ldap -* look at packaging of libnss-mysql for lintian overrides and other things -* look at http://svn.asta.mh-hannover.de/categories/python/pyauthd/ -* in all server modules add sanity checking code (e.g. not too large buffer allocation and checking that host, user, etc do not contain funky characters) -* storing IPv6 address in LDAP is currently not supported (this needs to be implemented in the LDAP parsing end) -* add netmask to network structure -* rename server directory to nslcd -* fix alignment problems in buffers -* ISSUE: resolve.[ch] has license: BSD WITH ADVERTISING CLAUSE - GPL PROBLEM + (this however will not work if nscd is used) +* set up connection to LDAP server before making NSLCD mechanism available + (e.g. before creating socket) +* Debian packaging: maybe remove stuff from /etc/nsswitch.conf on purge +* support ipv6 in name (host address) lookups +* support ipv6 in LDAP connections (investigate if OpenLDAP supports it) +* set up a compat directory where we can have compatibility wrappers +* probably disable rootbinddn for now and document the fact that you should + use libpam-ldap for authentication without exposing the passwords through + LDAP +* redo the attribute mapping stuff +* make a test suite (instructions for setting up environment (server), LDIF + file, nsswitch.conf and nss-ldapd.conf) +* support bootparams (check README also) +* support publickey (check README also) +* support netmasks (check README also) +* add a warning somewhere as to when the NSS functions are available +* reserve some threads in the server for root users +* check FSF address +* add sanity checking code (e.g. not too large buffer allocation and checking + that host, user, etc do not contain funky characters) in all server modules * implement running under a different uid/gid (maybe chroot jail) - -Please see http://bugzilla.padl.com for more information! -http://bugzilla.padl.com/buglist.cgi?short_desc_type=allwordssubstr&short_desc=&product=nss_ldap&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Bug+Number&field0-0-0=noop&type0-0-0=noop&value0-0-0= - -BUGZILLA BUGS: -============== - -BUGS 18, 19, 20, 34 would be good to fix soon. - -[BUG#12] -- we should probably put the session, under Solaris, in the backend. - We need to do so in a way that remains compatible with the GNU NSS, - where I expect we need to open a connection for every lookup. - In nscd, where the backends are cached, it doesn't make sense to keep - opening and closing sockets to the LDAP server, particularly as the - rebinding logic was put there to *allow* the connection to be long - lived (marked RESOLVED LATER; a single connection is now used per - process) - -[BUG#12] -- ditto for IRS: the private data should contain the session and be long - lived. - -[BUG#13] -- we could clean up the text segment a bit by generating filters on the - fly from object classes and attributes, instead of storing them. This - seems to be important under Solaris as the linker doesn't intern strings (?) - All that filter-constructing stuff in the ldap-*.h headers is UGLY. - (marked RESOLVED LATER) - -[BUG#14] -- infinite recursion is host lookup -- libldap uses gethostbyname(). Perhaps - we should link with a custom gethostbyname() which uses DNS only??? (This - is nominally the LDAP client library's problem but we could short-circuit - by resolving the IP addresses ourselves). (marked RESOLVED INVALID) - -[BUG#16] -- finish implementing dl-*.c (LOW priority). In fact I'm tempted to remove - this from the line up: SGI have their own LDAP C library support, and - so do DEC (with SIA). (removed dl-*.c; marked RESOLVED WONTFIX) - -[BUG#17] -- implement gethostbyname2() and - debug IPv6 support in ldap-hosts.c (and ldap-network.c?) (Uli?) - -[BUG#19] -- add support for DHCP and coldstart configuration. Coldstart should - update /etc/ldap.conf (/var/ldap/LDAP_CLIENT_CACHE?). Should probably - add support for the HP/Sun server profile schema (marked RESOLVED - LATER) - -[BUG#21] -- write testsuite (marked RESOLVED LATER) - -[BUG#22] -- support for bootparams map (marked RESOLVED LATER) - -[BUG#34] -- shells hang on Solaris for LDAP users (marked RESOLVED LATER; -Solaris 7 users get patch cluster 106541-12) - -[BUG#49] -- race condition in ldap-nss.c (FIXED in nss_ldap-121) - -[BUG#50] -- check return value of ldap_simple_bind() (FIXED in nss_ldap-122) - -[BUG#63] -- integrate support for runtime schema mapping (FIXED in nss_ldap-168) - -To: linux-ldap@rage.net -Cc: ldap-nis@padl.com -Subject: Re: Netgroups [in nss_ldap] -Fcc: +outgoing -Reply-To: lukeh@padl.com - -[ ldap-nis readers may find this interesting. ] - -Matt, - ->Ok, i am going to see if I can do something with netgroups. Which of ->the services would be best to model ldap-netgrp.c after? -> ->I am not familiar with adding a new service to nss_ldap. What is ->involved? Do you think you could give a general overview of what has ->to happen to get the netgroup service doing SOMETHING? - -First, you need to familiarize yourself with the netgroup resolution -APIs. It's important that you implement something that works for both -Solaris and the GNU C Library (and, possibly, the BIND IRS, although -no one seems to be particularly interested in that switch). I haven't -looked into them in great detail. You'll need to create ldap-netgrp.c -(rip off ldap-pwd.c for starters). and implement the following: +* probably switch version numbering scheme back to three numbers with a 1.0.0 + release +* think of a way to preserve the case-sensitive nature of NSS (while + maintaining the case insensitive LDAP) +* maybe remove dh_makeshlibs from debian/rules (probably not needed) +* maybe move library to /usr/lib +* include a generic init script +* debconf: see if we can read shared values as default in case of missing config diff --git a/configure.ac b/configure.ac index b7b4209..84fcabc 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ configure.ac file for more details.]) # initialize and set version and bugreport address AC_INIT([nss-ldapd],[0.1],[arthur@ch.tudelft.nl]) -RELEASE_MONTH="Nov 2006" +RELEASE_MONTH="Dec 2006" AC_SUBST(RELEASE_MONTH) AC_CONFIG_SRCDIR([nslcd.h]) diff --git a/debian/changelog b/debian/changelog index 83d1e00..e0948c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,23 @@ nss-ldapd (0.1) unstable; urgency=low - * This is a fork from the libnss-ldap package. - - -- Arthur de Jong <adejong@debian.org> Thu, 7 Dec 2006 12:04:11 +0100 + * initial release of nss-ldapd (should be functional but not yet stable + enough for production use) + * fork from the nss_ldap which was originally written by Luke Howard of PADL + Software Pty Ltd. changing package name to nss-ldapd and changing + versioning schema + * the functionality was split into a thin NSS library and a simple daemon + proxying the requests to the LDAP server (see README for rationale) + * a lot of dead and old compatibility code was removed (about 25% of the + code was removed) (more simplifications to come) + * the test code was rewritten + * build script simplifications + * default configuration file has been changed to /etc/nss-ldapd.conf + * most documentation has been updated and rewritten + * improved Debian packaging configuration with auto-detection of proper + default settings + * switched to native package (no deviation from "upstream") + + -- Arthur de Jong <adejong@debian.org> Fri, 22 Dec 2006 23:00:00 +0100 libnss-ldap (251-5.2) unstable; urgency=high |