ldap

Azure Active Directory/Ldap use inside web-app

♀尐吖头ヾ 提交于 2019-12-25 03:16:27
问题 We are currently testing azure web-app functionality for our own apache application. The application works with non security, but the application itself needs direct active directory access via ldap. Example settings inside the application: <ldap> <connectionUrl>wehavenoidea:389</connectionUrl> <roleBase>OU=AADDC Users,DC=ourdomain,DC=onmicrosoft,DC=com</roleBase> <userPattern>{0},OU=AADDC Users,DC=ourdomain,DC=onmicrosoft,DC=com</userPattern> <roleSearch>member={0}</roleSearch>

LdapRepository update spring-ldap

泄露秘密 提交于 2019-12-25 03:02:18
问题 Spring LdapRepository save() method throws exception when I'm trying to update an existing object in LDAP database. org.apache.directory.api.ldap.model.exception.LdapEntryAlreadyExistsException: ERR_250_ENTRY_ALREADY_EXISTS What method should I use to update existing ldap objects? Person class: @Entry(objectClasses = { "inetOrgPerson", "organizationalPerson", "person", "top" }) public class Person implements Serializable { public Person() { } @Id private Name dn; @Attribute(name = "cn")

Configure ldap in grails 2.2.4 spring security core 2.0?

偶尔善良 提交于 2019-12-25 02:39:16
问题 Im currently working on integration of my app with company ldap. While i was able to make application actually check users on ldap for authentication, users are not able to overcome spring security ROLES configuration. Im getting: "Denied Sorry, you're not authorized to view this page." Every time i try to enter page that has @Secured(['ROLE_USER']) on it. I would like to know how to add every user on LDAP to have ROLE_USER so he will be able to fully use application. My ldap configuration is

Worklight WAS Liberty profile configuration based on Tomcat configuration

白昼怎懂夜的黑 提交于 2019-12-25 02:25:08
问题 For a Pilot project we've set up a Worklight server on a WAS using the Liberty profile. We're basing it on the configuration LDAP configuration of a Tomcat server (used for RTC) on the same machine, but they don't seem to map propertly to each other (in the sense that we can't just "copy-paste" the configuration. We've come to the point where logging into the LDAP server (An Active Directory server) works, but the login doesn't work and doesn't return any error message apart from a failed

Can I retrieve the domain name and user name by searching Active Directoy using C#

邮差的信 提交于 2019-12-25 01:51:09
问题 All, I have a big list of user emails, and I need to get the username and domain name for each one of them. My organization contains lots of domains and our users log on to their machine using usernames that are different from their email addresses. Please advise if we can write a C# utility that can search AD using the email of each user, or if we can do it in a simpler way. 回答1: Are you on .NET 3.5 ? If so - AD has great new features in .NET 3.5 - check out this article Managing Directory

Change AD password using PHP [closed]

北慕城南 提交于 2019-12-24 20:10:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I am trying to access my ad server(for entry/User modification) remotely, I got connection using port 389 with my public IP but it doesn't let me to make modification in entry(able to retrieve entry). So, I try to make connection using port 636 but I am not able to connect using this port. So, can you please let

Find BASE DN from LDAP directory context object

谁说胖子不能爱 提交于 2019-12-24 19:27:27
问题 I have directory context for LDAP but i need to find out the BASE DN from that directory context object. I have following code to get Directory context object, // Configure our directory context environment. Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, "ldap://test.mycomp.com:389"); env.put(Context.SECURITY_AUTHENTICATION, "Simple"); env.put(Context.SECURITY_PRINCIPAL,"uid=test.gen,OU=Generics,O

Active Directory: The Principal Class - S.DS.AM vs S.DS.AD

泄露秘密 提交于 2019-12-24 19:18:20
问题 I am working on an access audit report for Active Directory. I am extracting data via a C# script component in SSIS, using LDAP, into a SQL Server database. This is my first major foray into AD, so I freely admit a lack of intimate knowledge. I am trying to remove the blinders by asking those with experience on the topic. Pardon me in advance if I have mixed any of my metaphors. With respect to retrieving data for all users, is it best just to stick with the Principal Class, and access

Django request.method automatically set to GET and not POST

本秂侑毒 提交于 2019-12-24 19:13:54
问题 I'd like to setup an LDAP Authentication Backend in Django, and I've already used ldap3 to confirm a bind, with success. I'm now realising that writing a class for my LDAP Backend with just ldap3 is not so straightforward, and that installing django_auth_ldap could be another route to explore. I've tested already some code to create a bind to the LDAP "server", and then perform a simple search. All okay. This method I tested is outside of my Django framework. When implementing the same method

OpenLDAP - Add open-ldap defined attributes to custom class

不想你离开。 提交于 2019-12-24 18:43:34
问题 I want to create an object class called request , it would have fields like requestID , requestType and timestamp (among others). requestType is string, created like this: attributetype ( <some oid> NAME 'requestType' DESC 'the type of the request' EQUALITY caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{250} ) instead of defining custom attributes requestID and timestamp I want to use the attributes defined by openldap like entryUUID and createTimestamp, so that I don't have to deal with