News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ThinkPHP Blog:
Using LDIF to simulate LDAP transactions with PHP
July 01, 2008 @ 08:45:18

On the ThinkPHP blog today, there's a new post from Stephanie Ehrling about simulating an LDAP connection and data request to PHP with LDIF.

An LDIF file is a simple text file that can contain those LDAP information, which can be separated into two groups. On the one hand, it can hold exported LDAP data in a text format. The other purpose of LDIF is to use it for importing data into an LDAP based system. So it can contain data to be imported or just commands that shall be processed. This is an important fact, because that opens the door to an interesting workaround.

This workaround allows you to import large amounts of data quickly and easy by dumping it into the server via a simple PHP script. The code is included in the post, but you'll need to have the binaries to get the LDIF and LDAP functionality working together.

0 comments voice your opinion now!
ldif simulate ldap connection data import binaries ldapmodify


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso's Blog: Database connection pooling with PHP and React (node.php)

Harry Fuecks' Blog: Using OpenSSL, RSA and RC4 to exchange encrypted data from PHP to Java

Federico Cargnelutti's Blog: Domain-Driven Design (Series)

Christopher Jones' Blog: PHP Connection Pooling Whitepaper with Benchmark Available

PHPMaster.com: Simplifying Test Data Generation with Faker


Community Events





Don't see your event here?
Let us know!


library symfony tool podcast framework introduction series artisanfiles interview composer conference list laravel opinion release version community language voicesoftheelephpant security

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework