edirectory

What's the difference in using distinguished name with cn or uid when logging into LDAP?

旧巷老猫 提交于 2020-01-21 11:35:12
问题 I'm running into a problem using LDAP to authenticate logins. We are using a Novell edirectory for authentication of other applications like Jira. ( Jira works perfect ). I have this application that allow these basic LDAP configurations: My problem is, when I try to log in, it takes my username XXXXXXXX and pre-pends it to the search base as uid. So it tries to log me in as : uid=XXXXXXXX,ou=people,o=mycompany Which would work on our Sun LDAP server, but doesn't work on our Novell edirectory

LDAP Bind Error using node.js and ldapjs

五迷三道 提交于 2019-12-23 09:29:15
问题 I am trying to implement a basic ldap bind with the following node.js file. Unfortunately, I keep getting a bind error with code 128. I looked online and found no references of code 128. The LDAP server I am trying to search is an eDirectory. Does anyone have any experience with this or have you had similar problems? My node version is v0.10.22 and my ldapjs version is v0.7.1 var ldap = require('ldapjs'); var creds = { url: "ldaps://ldap.url.com:636", bindDN: "cn=ldap,o=com" }; var opts = {

Assign unique UID value dynamically based upon 3 character of sn and givenname

久未见 提交于 2019-12-12 19:33:25
问题 How to check whether the UID are present already. If it's present increment one value for the new user with 3 letters of first name and last name. If UId are not present Assign the value of UID ...and store in eDirectory.. public class searchattribute { public static void main (String[] args) { Hashtable env = new Hashtable(); String adminName = "cn=admin,o=novell"; String adminPassword = "Happiest1"; String ldapURL = "ldaps://10.18.26.192:636"; //Access the keystore, this is where the Root

How to change passwords using System.DirectoryServices.Protocols

落爺英雄遲暮 提交于 2019-12-11 05:34:31
问题 Our user store is an LDAP server called eDirectory. How do you change user passwords using System.DirectoryServices.Protocols? 回答1: I've used code similar to this to connect to a Sun One-based LDAP to change a user's password. (Shouldn't be that different from Novell eDirectory...) using System.DirectoryServices.Protocols; using System.Net; //... // Connect to the directory: LdapDirectoryIdentifier ldi = new LdapDirectoryIdentifier("theServerOrDirectoryName"); // You might need to specify a

What's the difference in using distinguished name with cn or uid when logging into LDAP?

本秂侑毒 提交于 2019-12-01 17:55:23
I'm running into a problem using LDAP to authenticate logins. We are using a Novell edirectory for authentication of other applications like Jira. ( Jira works perfect ). I have this application that allow these basic LDAP configurations: My problem is, when I try to log in, it takes my username XXXXXXXX and pre-pends it to the search base as uid. So it tries to log me in as : uid=XXXXXXXX,ou=people,o=mycompany Which would work on our Sun LDAP server, but doesn't work on our Novell edirectory LDAP server. edirectory only works when I try to log in as the distinguished name : cn=XXXXXXXX,ou

How to save the LDAP SSL Certificate from OpenSSL

不羁岁月 提交于 2019-11-28 03:48:28
I wanted the SSL Certificate of my LDAP Server which is Novell eDirectory. I have used openssl to connect to ldap to view the certificate. openssl s_client -connect 192.168.1.225:636 It is just printing the certificate. How can I save this to some certificate format file? Copy everything between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- (including these delimiters) and paste it in a new text file (usually with the extension .pem or .crt ). You can use your favourite (plain) text editor for this, for example Notepad, Gedit, Vim, Emacs (depending on the system you're using).

Connecting to LDAP from C# using DirectoryServices

蓝咒 提交于 2019-11-27 12:53:46
I am trying to connect to an edirectory 8.8 server running LDAP. How would I go about doing that in .Net? Can I still use the classes in System.DirectoryService such as DirectoryEntry and DirectorySearcher or are they AD specific? Do I need to specify the "Connection String" any differently? I am trying something like the code below but it doesn't seem to work... DirectoryEntry de = new DirectoryEntry ("LDAP://novellBox.sample.com","admin","password",AuthenticationTypes.None); DirectorySearcher ds = new DirectorySearcher(de); var test = ds.FindAll(); Any ideas? marc_s Well, I think your

Set callback for System.DirectoryServices.DirectoryEntry to handle self-signed SSL certificate?

非 Y 不嫁゛ 提交于 2019-11-27 09:19:39
I have an application replicating data from a directory service using typical System.DirectoryServices.DirectoryEntry code. I now have a requirement to replicate from Novell eDirectory using SSL with a self-signed certificate. I suspect that the existing code would work with a valid certificate that could be verified, or perhaps if the self-signed cert is added to the local machine keystore. In order to make it work for sure with a self-signed cert however, the only solution I can find is to use the System.DirectoryServices.Protocols namespace and the LdapConnection class, whereby I can wire

How to save the LDAP SSL Certificate from OpenSSL

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 05:15:19
问题 I wanted the SSL Certificate of my LDAP Server which is Novell eDirectory. I have used openssl to connect to ldap to view the certificate. openssl s_client -connect 192.168.1.225:636 It is just printing the certificate. How can I save this to some certificate format file? 回答1: Copy everything between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- (including these delimiters) and paste it in a new text file (usually with the extension .pem or .crt ). You can use your favourite

Set callback for System.DirectoryServices.DirectoryEntry to handle self-signed SSL certificate?

我的梦境 提交于 2019-11-26 17:49:52
问题 I have an application replicating data from a directory service using typical System.DirectoryServices.DirectoryEntry code. I now have a requirement to replicate from Novell eDirectory using SSL with a self-signed certificate. I suspect that the existing code would work with a valid certificate that could be verified, or perhaps if the self-signed cert is added to the local machine keystore. In order to make it work for sure with a self-signed cert however, the only solution I can find is to