Questions tagged [dn]

Ldap Distinguished Name

Every entry in the directory has a distinguished name (DN). The DN is the name that uniquely identifies an entry in the directory.

A distinguished name, which specifies the complete path to the object through the hierarchy of containers can be used to uniquely reference an object. Distinguished names are defined in the LDAP standard as a means of referring to any object in the directory. Distinguished names for Active Directory objects are normally represented using the syntax and rules defined in the LDAP standards.

25 questions
0
votes
1 answer

LDAP Search for User DN Returns a Hash - Perl

All I am trying to do is search for a user and return the user's DN in a Perl script. However, my script is printing a reference to a hash instead of the actual DN of the user. The DN needs to be put into another variable later on so I need the DN…
Alan Wilson
  • 121
  • 11
0
votes
1 answer

LDAP SPRING : How to authenticate users belonging to different bases

I'm wondering about how to authenticates users belonging to different bases in LDAP Directory My file configuration is:
isedrof
  • 33
  • 1
  • 9
0
votes
1 answer

Python LDAP error with spaces:ldap.INVALID_DN_SYNTAX: info -00002081: NameErr: DSID-03050C42

import ldap import base64 import ldap.modlist as modlist server = "ldaps://X.X.X.X:636" who = 'administrator@bru.com' cred = base64.b64decode(XXXXXXXXXXXXXX) path = 'dc=bru,dc=com' dn ='CN=saauto\…
0
votes
1 answer

"Not scheduling suspect block" spams hdfs datanode log

when checking a dn log, we found there were lots of logs as follows: 2016-07-01 05:53:29,328 INFO org.apache.hadoop.hdfs.server.datanode.VolumeScanner: VolumeScanner(/data12/hadoop/dfs, DS-086bc494-d862-470c-86e8-9cb7929985c6): Not scheduling…
Dengzh
  • 23
  • 1
  • 7
0
votes
2 answers

Retrieving a JNDI dn with its proper case

I want to retrieve a user DN as stored in the LDAP server, keeping the original characters case. For example, let's assume the DN in my server is "cn=Bob, o=MyOrg". I want to query the server using "cn=bob, o=myorg" and retrieve the original…
Philippe Riand
  • 673
  • 4
  • 12
0
votes
1 answer

How to add DN for liferay LDAP configuration

I want to configure LDAP for my portal. I have added the connection details such as: Connection Base Provider URL : ldap://SBS.ecompany.local:300(example) Base DN: ecompany.local Principal : myldap username Credentials: myldap password. also did…
Shruthi
  • 325
  • 7
  • 27
0
votes
1 answer

LDAP : exclude a domain from search query

I an trying to exclude a domain controller from my LDAP search. I have 3 DC : staff, student and exams. So I can use on of the following search DN…
Yann39
  • 14,285
  • 11
  • 56
  • 84
0
votes
2 answers

dn syntax error for ldap authentication

I am having difficulty writing a module that can perform LDAP authentication. When I put the following line in my browser and hit enter, Windows Contacts application will show me the record from the server so I know this is the correct location to…
Amir Tofighi
  • 287
  • 2
  • 4
-1
votes
2 answers

construct DN with groovy

I need to replace below code value with location value . string str = "OU=Contractors,OU=Users,OU=Code,OU=Sites,DC=xyz,DC=com" ; DN = str.replaceAll( "Code" , LOCATION ) ; I am getting incorrect signature of the method as string definition consist…
Nag
  • 21
  • 4
-2
votes
1 answer

cannot convert 'const wchar_t*' to 'LPCSTR' {aka 'const char*'}

Please help me with this code, I don't know how to change it so I can fix it and run it std::wstring stemp = std::wstring(filename.begin(), filename.end()); hBitmapG = (HBITMAP)LoadImage(GetModuleHandle(NULL), stemp.c_str(), IMAGE_BITMAP, …
1
2