Post thumbnail of Brute force openldap backup script
4 November 2009
Continue reading Brute force openldap backup script

Brute force openldap backup script

Reliable, effective, and simple. If you don’t mind a blip in ldap service for a minute or two in the wee hours of the night, it works like a charm.

Post thumbnail of LDAP Authentication in PHP made simple
2 July 2009
Continue reading LDAP Authentication in PHP made simple

LDAP Authentication in PHP made simple

Using Auth.php which everyone should have, authenticating with Active Directory is pretty simple. I’ve tried this on an OpenLDAP directory and AD.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of Use openssl to see if TLS/SSL is working between Linux and Active Directory
16 March 2009
Continue reading Use openssl to see if TLS/SSL is working between Linux and Active Directory

Use openssl to see if TLS/SSL is working between Linux and Active Directory

So now I know this certificate is blessed by my client, I can try to use it to connect. But let’s say I try to use a self-signed certificate or another cert that’s not trusted… And using a self-signed certificate, you should see something like this… If it’s a trust issue, perhaps the certificate is valid, but it just can’t find the CA or intermediate certificate… But, if everythings working correctly, your client should connect just fine. And it will look something like this, with a big fat Verify return code: 0 (ok) at the end.

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Post thumbnail of Create a self-signed SSL certificate with a single command
29 September 2008
Continue reading Create a self-signed SSL certificate with a single command

Create a self-signed SSL certificate with a single command

This doesn’t have to be complicated at all.  This was what I did on my ldap servers:
[user@ldap-primary /etc/openldap/cacerts ]$ sudo openssl req -newkey rsa:1024 -x509 -nodes -out ldap-primary.pem -keyout ldap-primary.pem -days 3650
[user@ldap-slave1 /etc/openldap/cacerts ]$ sudo openssl req -newkey rsa:1024 -x509 -nodes -out ldap-slave1.pem -keyout ldap-slave1.pem -days 3650
That’s it!  No messing …

Share this:
  • Digg
  • Facebook
  • Reddit
  • LinkedIn
  • Google Bookmarks
Powered by Wordpress   |   Lunated designed by ZenVerse