- It's nice looking. Seriously.
Changing the value of an attribute in an LDAP directory via php generally uses the ldap_mod_replace function. Something like:
$newvals = array('attribute' => 'value);
ldap_mod_replace($ldap_connection, $dn, $newvals);
The problem I ran into was when the attribute was a boolean type. I kept getting:
ldap_mod_replace(): Modify: Invalid syntax
I've found it incredibly useful to be able to just start typing in an input box, and have a long table get pared down to only what I'm looking for. See Drupal's Module Filter for an example. Since I have an app I'm working on that will eventually need similar functionality, I wrote a quick proof of concept. It's rough, and I have no idea how well it will perform on large tables. But it might come in handy. Visit it on GitHub: https://gist.github.com/4028731
One of my current projects requires authenticating against an LDAP directory. I initially assumed that you would get the password from the directory, then compare it with the user supplied password. That's the wrong way.
The correct way is simpler. Just try to bind the user to the LDAP directory. If it works, you have the correct password, if it doesn't, the password or username is wrong.
As you can see, I have migrated my personal blog to this site. It's now here: Personal Blog. I tried a couple methods, I used Feeds and was able to easily import posts, but I couldn't figure out how to get the comments as well. After a bit of searching, I found the Wordpress Migrate module. And it worked quite well.
NOTE: Before you try this, go here. I haven't tested the answer, but you likely have to compile some stuff to get LDAP auth working bug free. So, don't use the instructions below they are old and unlikely to work.
Just a quick note about enabling LDAP Authentication on Ubuntu 11.10.
So, this is just a quick note to inform any readers that I am still alive. Unfortunately, or maybe not, I have been quite busy working at Lane Community College. Thus, this site has taken the back burner.
So, we'll see if I find time to do anything here. Until then, thanks for visiting!
It's a great day for Drupal Devs everywhere, the latest major version upgrade was finally released this morning! :D
First, Merry Christmas! It's that time of year! Remember that it isn't all about the presents and money, Christmas is a great time to remember that Jesus was born to save us all. That's where the real joy of these Holidays comes from. :D