ldap

register new users in openfire??

Is there anyway to register new users through an HTTP request in OpenFire. I want users to be able to sign up for my messaging service from within an app written in cocoa. Can this be done?? ...

Need help parsing results from ldap to csv

Hi, I am trying to create a script to generate a csv file with the results of some ldap queries using Net::LDAP but I'm having troubles skipping incomplete lines if one element of the @attributes array is blank. my @attributes = ('cn', 'mail', 'telephoneNumber'); So for example, if a user has no mail listed, or no telephoneNumber li...

Representing RBAC actors in LDAP

When implementing an RBAC model using an LDAP store (I'm using Apache Directory 1.0.2 as a testbed), some of the actors are obviously mappable to specific objectClasses: Resources - I don't see a clear mapping for this one. applictionEntity seems only tangentially intended for this purposePermissions - a Permission can be viewed as a si...

LDAP query syntax to compare to a list

Hi, is there a way to query LDAP with a syntax similar to the "IN" statement in SQL? I mean by providing a list of value instead of repeating the field name again and again. Let me explain:) I have a query similar to: (&(name=joe)(name=bill)(name=mark)(name=john)(name=rob)) Is there a way to shrink this query to get something lik...

Search Open Directory (LDAP) With Objective-C

Does anyone have any sample code in objective-c for connecting to an external Open Directory server and searching a specific node like /Users/? I looked through the OD guide on Apple and I couldn't figure it out. Thanks! ...

Contact information web standard

Is the a standard which I can use for our contacts? I want to build an application which hosts our clients contact information. Is there a standard I should use so it is possible to sync with as many clients as possible? In Outlook I can find something about "LDAP" can you give any tutorials maybe? I would want to support 2 way syncing...

LDAP server access via VBscript/ADO

Can ADO access attributes other that ADsPath and Name when bound to an LDAP server? Below is the code I use to bind to and query a LDAP server on the internet: Set ado = CreateObject("ADODB.Connection") ado.Provider = "ADSDSOObject" ado.Properties("User ID") = "" ado.Properties("Pass...

How do I accomplish the following in LDAP?

I would like to accomplish this goal using AD/ADAM The ability to make an email or other attributeClass as part of inetOrgPerson globally unique across entries The ability to attach a regular expression to an attribute for validation purposes The ability to provide a constraint of enumerated choices such as choosing from a list of vali...

LDAPS works on Visual Studio 2008 but does not work on IIS 5.1

I am using C# to authenticate users to my app as follows: LdapConnection connection = null; try { using (connection = new LdapConnection(Configuration.JonahLdapServer)) { connection.Credential = new NetworkCredential(userName, password, Configuration.JonahDomain); ...

scalable user directory architecture

I was recently tasked with architecting a new scalablable user phone directory. Basically you'll have phone resellers logging into a portal and selling their phones to customers (who also need to be added into the system). So if I bought 3 phones from the reseller for my family, then each phone is automatically on the network (done by ...

Python LDAP Authentication from remote web server

I have a django application hosted on webfaction which now has a static/private ip. Our network in the office is obviously behind a firewall and the AD server is running behind this firewall. From inside the network i can authenticate using python-ldap with the AD's internal IP address and the port 389 and all works well. When i move t...

Active Directory vs OpenLDAP

What are the main diffrences between these two implementations of LDAP protocol? Which is better for heterogenous environment? Any good websites about this topic? ...

LDAP AD - range attribute, how to use it?

Hi, I'm trying to use the range attribute. For testing, I use a search that without range return 3 entries, and I set the range to 0-1, which should return only the first 2. However, I get all 3 results. This is how I do it: String rangeStr = attribute + ";range=0-1"; String returnedAttrs[] = {rangeStr, attribute}; _searchControls.se...

Modify data in LDAP server using Outlook or Thunderbird

Hi both Outlook and Thunderbird are able to find contacts in a LDAP server, but none of them are able to modify contacts data. Is there a plug-in or anything else to allow such thing? Regards, Cédric ...

Active Directory get users in role

I get the members of a AD group, but instead of the user name, im getting the display name. How can i get the user name? ...

Error while trying to connect AD using LDAP connection

Trying to use this code to connect the AD PrincipalContext context = new PrincipalContext(ContextType.Domain, domain) but i got the error saying: "The LDAP server is unavailable." Any idea? ...

Is there a standalone Java library which provides LDAP style parsing?

I'm looking for a standalone Java library which allows me to parse LDAP style filter expressions Is such thing available, or is it advisable to use ANTLR instead and build it by one self? As background: the filter itself is submitted through a network, and I want to create say, the appropriate hibernate Criteria. I'm not doing anything ...

How to write LDAP query to test if user is member of a group?

I want to write an LDAP query which tests whether a user (sAMAccountName) is a member of a particular group. Is it possible to do that so that I get either 0 or 1 result records? I guess I can get all groups for the user and test each one for a match but I was wondering if I could pack it into one LDAP expression. Any ideas? Thanks ...

ADSI query to return an object's parent

Does anyone know what property I can query for in an ADSI query that would return the object's parent OU? I know I can bind to the AD object and then use object.Parent to return it's parent OU, but if I ask for "parent" in a ADSI query it returns back as a invalid query I would rather not do bind unless absolutely necessary. (i.e. "SEL...

What LDAP book do you recommend?

I'm going to work on a project with requires extensive knowledge about LDAP. I do already know the basis of LDAP concepts and I have used LDAP for very simple stuff. I'd like a book that makes a quick introduction to LDAP and then enter the hardcore stuff like security, schemas, replication, multiple directories and such things. What L...