[fedfs-utils] [PATCH 0/8] Bug fixes and simpler NCE discovery

Chuck Lever chuck.lever at oracle.com
Wed Nov 13 13:53:27 PST 2013


Another round of 0.10 patches.  The first six are bug fixes.

The last two implement "simpler NCE discovery."  NCE discovery is
what NSDB clients do to find out where on an NSDB to search for FSNs
and FSLs.

The current NCE discovery mechanism relies on the fedfsNceDN
attribute, which is added to each root suffix entry in an LDAP
server's rootDSE that hosts FedFS records.

Altering an LDAP server's rootDSE is a high bar, and we'd like to
remove that requirement.  To that end, Simo Sorce has invented a
mechanism for NCE discovery that doesn't require rootDSE alteration.

I've implemented it here in libnsdb.  The 0.10 NSDB client should
be backwards compatible with old-style NSDBs.  The nsdb-jumpstart
tool I posted last week implements both new- and old-style NCE
discovery (which can co-exist on LDAP servers).

Review period ends midnight ET on Wednesday, November 20, 2013.

---

Chuck Lever (8):
      libnsdb: Remove unused DN manipulation functions
      libnsdb: Fix nsdb_ping_contexts_s()
      libnsdb: Pass correct search scope to ldap_search_ext_s(3)
      libnsdb: Fix a few comments
      fedfsc: Remove fedfs-delete-replication's "-p" option
      libnsdb: Avoid constructing the FSN DN on NSDB clients
      libnsdb: create new-style NCEs
      libnsdb: simplify NCE discovery


 src/fedfsc/fedfs-delete-replication.c |    3 
 src/libnsdb/administrator.c           |   58 ++++++++
 src/libnsdb/fileserver.c              |  241 ++++++++++++++++++++++++++++-----
 src/libnsdb/ldap.c                    |  142 -------------------
 src/libnsdb/nsdb-internal.h           |    5 -
 src/libnsdb/nsdb.c                    |    4 -
 6 files changed, 266 insertions(+), 187 deletions(-)

-- 
Chuck Lever



More information about the fedfs-utils-devel mailing list