LDAP and Samba Server Configuration
May 21, 2011 3 Comments
This tutorial shows how to setup a LDAP server so you can work with LDAP and SAMBA accounts. I assume you have an up-to-date Debian based system running.
Before starting:
- Backup your configuration files first!!!
- There are people using db4.8 instead 4.2, try it at your own risk.
- I don’t work with ldap-utils, but you may want to, that’s why I put it as last software to be installed.
- You can work with phpldapadmin or lam (LDAP Account Manager). I rather work with LAM, but I’m giving you another good choice.
- This tutorial aims Debian 5.0 (Lenny). On Debian 6 (Squeeze), which I like very much, there are several differences.
Step 1: Install the needed packages (You’ll need root privileges):
- aptitude install nss-updatedb libpam-ldap libnss-ldap lam phpldapadmin db4.2-util libdb4.2 libdb4.2-dev samba samba-doc ldap-utils smbldap-tools Read more of this post