🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #266

users as data

#266
From: Scott Gross
Date: Thu, 26 Apr 2001 15:15
29 lines
2240 bytes
I am writing a Java program that authenticates users and passwords against
profile objects stored in
an LDAP server.  In most of the sample code I've seen where people are
accessing LDAP via JNDI,
this sort of username / password matching is accomplished right inside the
initial BIND method.

This strikes me as something of a shortcut that relies upon a particular
assumption: that users of the LDAP
system, clients, objects to which access control policies apply, are ALSO
stored as data within the
directory.  In most other databases, authenticatable clients are stored as
some sort of meta-data, apart from
the actual contents of the tables and rows -- which may have nothing to do
with people.  In fact, when LDAP
is used to host SNMP information, this is actually the case -- the actual
contents of the directory have nothing
to do with human beings.  How do 'bind' operations translate into
dn/password lookups then?  Is this 'users as data' assumption always true
for LDAP -- or does it arise from a particular configuration of the server?
Is doing a 'bind'
basically the equivalent of searching for the object corresponding to a
particular dn -- and if that thing is of the 'person' objectClass or one of
its subclasses, looking for a 'password' attribute?

Any insight onto these questions would be greatly appreciated.

-Scott Gross
scott@thinairapps.com
Technical Details
Message-ID: <PWWF6.86$R33.221904@news.uswest.net>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103627,4feef8b2d7a00cfc,start
X-Google-Attributes: gid103627,public
X-Google-ArrivalTime: 2001-04-26 08:13:55 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
From: "Scott Gross" <scott@thinairapps.com>
Newsgroups: fj.net.ldap
Subject: users as data
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <PWWF6.86$R33.221904@news.uswest.net>
Date: Thu, 26 Apr 2001 11:15:16 -0400
NNTP-Posting-Host: 63.145.27.67
X-Trace: news.uswest.net 988298031 63.145.27.67 (Thu, 26 Apr 2001 10:13:51 CDT)
NNTP-Posting-Date: Thu, 26 Apr 2001 10:13:51 CDT