Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 20878 invoked from network); 19 Oct 2006 20:02:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2006 20:02:10 -0000 Received: (qmail 65387 invoked by uid 500); 19 Oct 2006 20:02:09 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 65279 invoked by uid 500); 19 Oct 2006 20:02:09 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 65270 invoked by uid 99); 19 Oct 2006 20:02:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 13:02:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [137.65.250.26] (HELO victor.provo.novell.com) (137.65.250.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 13:02:08 -0700 Received: from [137.65.62.53] (prv-dmz-foundry1.gns.novell.com [::ffff:137.65.251.211]) by victor.provo.novell.com with ESMTP (TLS encrypted); Thu, 19 Oct 2006 14:01:47 -0600 Message-ID: <4537DA35.3020000@joe-lewis.com> Date: Thu, 19 Oct 2006 14:04:05 -0600 From: Joe Lewis User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Using util_ldap to retrieve attributes on a DC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've been reviewing the archives looking for information on using util_ldap to retrieve attributes from an object out of an LDAP connection. However, I haven't really seen any postings on it in there, and thought I'd try and propose the question to the list. First, a little background. I have a functional module for pushing pages through a template mechanism, parsing in menu's, etc. I wrote it about three or four years ago. Last spring, I added in a component to retrieve the location of where the template file is located with respect to the ServerName from a domain context in an LDAP source. That works. Here's the question, though. Is there any way to use util_ldap to retrieve the attribute instead of relying completely on my own ldap functions? I've looked through the util_ldap.c code, and don't really see any functions that would allow the retrieval of attributes from an object (non-user) in LDAP. Plenty of util_ldap_getuserdn and util_ldap_checkuserid, but nothing for util_ldap_getdn or anything similar. Is this even possible, or, should I implement all of the #if declarations for the proper SDK? Joe