Questions tagged [ldap]

Lightweight Directory Access Protocol (LDAP) for reading and editing directories over an IP network

The Lightweight Directory Access Protocol is an application protocol for reading and editing directories that follow the Directory Information Model over an IP network using unsecured TCP/IP, TLS or SSL. LDAP is a binary protocol described in terms of ASN.1 and transmitted using ASN.1 Basic Encoding Rules (BER).

A directory is a hierarchical collection of records known as a Directory Information Base, or when visualized, as a Directory Information Tree. The directory model should be visualized as an upside-down tree, much like a UNIX file-system. The root of the Directory Information Tree is known as the prefix or namingContext. The namingContext, supported versions of the protocol, supported features and supported controls (operation semantics modifiers) and other information can be discovered by querying the root DSE, though the information might be protected by access controls.

Clients (Directory User Agents) issue requests to the directory server (Directory System Agent) and the directory server returns an appropriate response, which could be success (which might include requested entries from the Directory Information Tree in the case of a search), or an indication of success or failure of a search, add, modify, delete, moddn (rename) or extended operation. Controls might be used to alter the semantics of a request, for example, a sort control might be included with a search request to sort the returned entries (known as a server-side sort). Without the inclusion of the sort control in the search request, entries returned from search operations are not ordered, and must not be ordered. Clients must not expect that entries are ordered in any way.

Modern directory servers support a high-speed replication mechanism which is not defined by the standard, though there have been some attempts at defining a replication standard. Therefore, replication and the protocol used for replication is vendor-specific. If data must be synchronized between directory servers from different vendors, a synchronization device must be used.

Most modern programming languages have an LDAP SDK, including Java, PHP, Perl, C/C++, and others. Directory Server software usually comes equipped with a set of command line tools such as ldapsearch, ldapmodify, and others.

Directory Information Trees accessed by the LDAP protocol are used in authentication and authorization applications, configuration storage, profile storage, public-key infrastructure and other applications requiring:

  • speed of access
  • a small, light-weight protocol
  • A simple programming model
  • easily configured replication, redundancy, and failover

Questions that are specific to Active Directory should not be tagged with the LDAP tag unless the question is specifically related to the protocol or the Directory Information Model. Active Directory provides an LDAP interface, but that interface does not fully implement the LDAP standard, and deviates from it in important ways. Therefore, there are questions that can be answered specific to Active Directory that are not applicable to standards-compliant LDAP servers and vice versa. Correctly tagging a questions will result in a higher probability of an accurate, timely response.

2728 questions
1
vote
0 answers

Does qmail-ldap provide functionality equivalent to the qmail validrcptto patch?

We are using qmail with the validrcptto patch to route incoming mail to our Domino server. However, that requires us to maintain the validrcptto file with the list of all allowed email addresses. Since Domino provides an LDAP directory, does…
T. Fabre
  • 220
  • 2
  • 13
1
vote
1 answer

Can I link proxy users from a single LDS instance to multiple domains?

I have an Active Directory Lightweight Directory Services set up. I have objects that represent users in the Active Directory (Domain_A). I have set their objectSID attribute, and users can authenticate to LDS with their Active Directory password. I…
ixe013
  • 1,018
  • 2
  • 10
  • 26
1
vote
1 answer

Guest Internet access for an hotel

First of all, thanks so much for all the help from all the techies on this site. We have to implement the ability for guests to use the internet over wireless for an hotel. When guests check into the hotel, if they scan for wireless networks they…
neolix
  • 528
  • 7
  • 20
1
vote
1 answer

Login Client (pGina in Window Vista) with LDAP Server (FDS)

Currently, I have setup my Fedora Directory Server (FDS) and a Windows Vista workstation (using pGina). I created several users in FDS (all under ou=People) initially. As I want to divide my users into 'admin_group' and 'user_group', I created these…
tanlccc
  • 141
  • 3
1
vote
2 answers

ldap.conf file and /etc/openldap/ldap.conf file ? which one to use ?

I am using centos 6 and I want to configure ldap server.I need your kind guidence regarding to ldap.conf file. Well if we explore /etc we can see a file ldap.conf and there is a folder openldap which also has ldap.conf file. The question which I…
garden air
  • 147
  • 2
  • 3
  • 9
1
vote
2 answers

How do I get a server-side count on an LDAP query from Sun Java System Directory Server?

I wish to count the number of objects returned from a query (but I do not need the actual objects themselves) from Sun Java System Directory Server 5.2. E.g., if I want to find all people with surname Smith, I would want something like ldapsearch…
cubetwo1729
  • 196
  • 1
  • 2
  • 4
1
vote
0 answers

Connect from iphone to LDAP on a non-standard port

I asked on superuser, it was migrate to the apple stack exchange site and it was suggested I ask here. This feels like cross posting but... I've tried a quite a few different sequences, such as appending the port to the server address, but all to…
datatoo
  • 351
  • 3
  • 12
1
vote
3 answers

ldap allows only one login per user id

i am newbie with openldap, i would like to store user name and password a in ldap system. How can i ensure that each login can be only login on one machine at any one time? "my application should limit the number of user sessions to one" Thanks
user11599
  • 121
  • 6
1
vote
2 answers

Apache2 and redundant LDAP configuration Problems

According to instructions, I have configured multiple LDAP sources for redundancy. I have found some problems with the configuration. If an ldap service is not working on the designated ldap server instead of going to the next server in the list,…
mdpc
  • 11,856
  • 28
  • 53
  • 67
1
vote
1 answer

Strange data returned from Exchange Web Services SDK. How do I update the CAS SCP data?

I'm using the Exchange Web Services SDK and am getting strange results after these lines run: ScpUrlGuidString = @"77378F46-2C66-4aa9-A6A6-3E7A48B19596"; ScpPtrGuidString = @"67661d7F-8FC4-4fa7-BFAC-E1D7794C1F68"; configSearcher.Filter = …
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
1
vote
2 answers

How can I ensure Liferay uses TLS for authentication

Please note, this is about communication between Liferay and the LDAP server, not communication between the user's browser and Liferay I'm asking this here since I got zero views (other than my own) in 30 minutes at the liferay forums, and I'd like…
Gus
  • 127
  • 2
  • 11
1
vote
1 answer

"AUTHENTICATE_"environment variables missing in Apache + LDAP authentication

According to the Apache 2.2 documentation, after a successful authentication against Active Directory the LDAP attributes specified in the AuthLDAPUrl directive should be available as environment variables with the default prefix…
alexandrul
  • 1,435
  • 2
  • 19
  • 25
1
vote
1 answer

DebianEDU repaire broken ldap database & dhcp server

We a have DebianEDU 5.0.9 codename lenny Last week it crashed, DHCP I get error: Cannot find host LDAP entry dhcp (&(objectClass=dhcpServer)(cn=dhcp)) LDAP: no space left on device, cannot be recovered, err 28 .** First I noticed was that the…
Seb
  • 13
  • 2
1
vote
2 answers

"Password Server: Stopped" on Mac OS Lion Server. Stops with error -1 during startup

Since I've restored the Open Directory from an archive because my Server crashed and the DB was corrupt. The password server does not start anymore. The log looks like this: Feb 14 2012 21:41:20 156746us Mac OS X Password Service version 376.1…
V1ru8
  • 151
  • 1
  • 2
  • 6
1
vote
0 answers

Cisco ASA Dynamic Access Policies with LDAP

When setting up a Dynamic Access Policy on an ASA that is already configured to use SLDAP for authentication, can attributes other than groups be used? Say a single user?
volatile900
  • 173
  • 7
1 2 3
99
100