Questions tagged [ldap]
LDAP is Lightweight Directory Access Protocol.
311 questions
0
votes
0
answers
66
views
How do I enable LDAP over SSL?
On my domain controller, I added the Certificate Manager role, created the certificate template, created a new certificate, exported the certificate, and assigned the certificate to the Active ...
3
votes
1
answer
212
views
How to search LDAP entries for attribute values that match other attributes?
If I want an LDAP search filter that finds entries with specific attribute values, that is easy.
For example, entries with a specific last name:
sn=Smith
But what if I want to search for attributes ...
1
vote
1
answer
289
views
What are the required TCP/UCP ports for Kerberos communication?
I'm implementing Kerberos authentication for a business application layer access to let the users authenticate with an external active directory using LDAPS protocol. My implementation follows the ...
0
votes
1
answer
137
views
Why does user CN (Common Name) contain spaces?
I have a user with sAMAccountName=VasyaSecond and displayName=Vasya Second in domain other.local.
LDAP query
ldapsearch -H ldap://$ad_ip:389 -x -D $ad_user -w $ad_password -b "CN=Vasya Second,CN=...
4
votes
1
answer
865
views
Why are computers users in Active Directory?
I was able to run the following LDAP query against my Active Directory:
ldapsearch -H ldap://$ad_ip:389 -x -D $ad_user -w $ad_password -b "DC=itdrde,DC=local" \
-s sub -a always -z 1000 &...
0
votes
0
answers
64
views
ldap client tools don't work with anonymous
New to ldap here. I have samba-ldap working (docker-compose andrespp/samba-ldap), but can't get ldap lookups to work on host system. The lookups will work if I specify the admin cn and enter password, ...
6
votes
2
answers
697
views
How to replicate 'ssh -t ⟨gateway⟩ ssh ⟨destination⟩' in '~/.ssh/config'
I use ssh -t ⟨AD user⟩@⟨gateway IP⟩ ssh ⟨destination hostname⟩ to connect to ⟨destination hostname⟩. The gateway asks for Active Directory credentials and then logs me into ⟨destination⟩.
I'm trying ...
1
vote
1
answer
476
views
File Permission Error when using WebDAV on Docker with mounted volumes
I've been stuck for two days now because I can't figure how to properly setup my WebDAV server on docker so users can access the stored data.
The context is that I have a Nginx server working as ...
0
votes
1
answer
351
views
Alpine Linux+ldap_pam: can login through ssh, can't su or sudo with ldap accounts
I've installed nss-pam-ldapd on an Alpine Linux server, edited nslcd.conf to use an ldap server I have running elsewhere, and added "UsePAM yes" to /etc/ssh/sshd_config. I have two local ...
0
votes
1
answer
555
views
How to do bind operation in ldap without explicitly using credentials (anonymous bind is not allowed)
I have built portal for my company and due to some requirement we need to query ldap server to fetch some details. However, I am not allowed to use/store any credentials for query ldap. Also the ldap ...
0
votes
0
answers
585
views
Windows Server AD DS LDAP switched servers
I have a Windows Server 2022, there's 2 DCs, 192.168.1.9 and 192.168.1.20.
The main one is supposed to be 192.168.1.9 and as far as I've been told the 192.168.1.20 is to isolate connections coming ...
2
votes
0
answers
228
views
ldapsearch command suddenly stopped working on my Mac
I used to be able to run ldapsearch commands from my mac. But it suddenly stopped working since yesterday
Below is how my config file looks and it has remained like this for sometime now.
$ cat /etc/...
0
votes
1
answer
791
views
LDAP manipulation - Powershell or any other langage?
For a synchronization script, I need to connect to a LDAP (not an AD), search for few users then extract their usercertificate.
As the rest of the script is already written in PowerShell, I thought it ...
0
votes
1
answer
725
views
How can I create SMB shares accessible from Windows/Mac/Linux clients which are hosted on a linux server (with login via LDAP)?
I currently replace old NAS systems with a fileserver. I am looking for a solution to create CIFS/SMB shares on the fileserver (Debian 12) which shall be protected by a login which works via LDAP ...
0
votes
1
answer
474
views
How to skip the password typing when installing library
I installed the library with.
$sudo apt-get install slapd ldap-utils
While installing it stops and asks,
please enter the password for the admin entry in your ldap directory.
I am using Dockerfile, ...