Skip to main content

Questions tagged [ldap]

Lightweight Directory Access Protocol, an application protocol for reading and editing directories over an IP network.

2 votes
0 answers
43 views

As i am learning bash, i have written a small code which is nothing but a simple ldapsearch query which lists all the...
user2023's user avatar
0 votes
1 answer
437 views

I have got a request from a client to fetch all client user details from AD and finally dump to a db so that they can use it for reporting. I have used ...
TheSacredKiller's user avatar
6 votes
2 answers
7k views

Given all the times I need to perform LDAP searches in the work I do, I wrote a helper and I want to clean it up and publish it to Nuget. What are peoples opinions of the approaches used? ...
Ritmo2k's user avatar
  • 186
5 votes
2 answers
2k views

I have a custom AuthenticationProvider for getting authentication via LDAP and authorization via JDBC. It's running but I think it's not the best way. My custom ...
BokC's user avatar
  • 151
3 votes
0 answers
482 views

Below's some code I knocked up to escape the account name to be used in creating an ADSI reference to an account (e.g. escaping $sAmAccountName before using in <...
JohnLBevan's user avatar
  • 1,419
5 votes
2 answers
5k views

This is my first time ever having code peer reviewed! This is just the main function I'm concerned about. Edit Apologies for the initial vagueness of my question, this is the "login" part of my ...
Dan's user avatar
  • 530
4 votes
0 answers
884 views

I have a GUI file which is currently being ran by VBS, but I have a few issues: PowerShell v2 is what is being run on every machine and I cant change that, runs very slow on first time launch. it ...
Visar Baci's user avatar
7 votes
4 answers
724 views

This section of code reside in a utility class (LDAPUtility). It's purpose is to subscribe or unsubscribe a user from an LDAP group. My main questions are if I am using the LDAP library correctly and ...
picciano's user avatar
  • 199
4 votes
2 answers
247 views

I'm a sysadmin writing a tool to perform administrative tasks on our upcoming new account management system that runs over LDAP. I want the tool to be highly flexible, configurable, and reliable, so I'...
jayhendren's user avatar
5 votes
3 answers
23k views

The code I have wrote works fine, this inquiry being purely for educational purposes. I want to know how others would do this better and cleaner. I especially hate the way I add the list items to ...
M.G.'s user avatar
  • 53
7 votes
2 answers
724 views

I have a very simple helper class to validate credentials. Sometimes the domain has a value, sometimes not. Depending on this, a different constructor for ...
Espo's user avatar
  • 171
3 votes
1 answer
2k views

I have this class, which helps me to connect to LDAP: ...
Alex Szabo's user avatar
5 votes
2 answers
5k views

I have a project (ldaplib) I am working on that needs to do ASN1-BER decoding and encoding. The function I have for the decoding portion is slightly more complex but neither are all that complicated. ...
clutton's user avatar
  • 839
3 votes
1 answer
174 views

I have started working on my first open source project making an LDAP library in Python. I have coded quite a bit and am starting to think about a couple of the details related to design. I have ...
clutton's user avatar
  • 839
1 vote
1 answer
2k views

I'm whitelisting the input data to an LDAP/AD search on 'sn' (=surname). The purpose is to stop penetration attacks through the app and into the LDAP servers (i.e. no brackets, please). ...
Boggin's user avatar
  • 198

15 30 50 per page