Difference between revisions of "Samba and LDAP"
|(One intermediate revision by one other user not shown)|
Latest revision as of 17:45, 26 November 2010OpenLDAP system. The purpose of this page is to provide a procedure for installation and configuration of Samba 3.0 with an LDAP backend for authentication and certain configuration. The document was written using FreeBSD 7.0, OpenLDAP 2.4, and Samba 3.0.32.
Samba is a powerful file sharing utility that has, over the years, become supported on most common platforms. Mac OS X, Windows, Linux, and other Unix-like operating systems offer direct support, or support through add-on utilities and packages. Couple this with LDAP on the back end, you can build a centralized authentication and file sharing system approaching single-sign-on (SSO).
While this document was written using FreeBSD as the host system, the majority of these steps are relatively OS-agnostic. Simply apply your appropriate package manager for installation steps. File locations will vary from one OS to another.
The first step is to install Samba, and its dependencies on your system. On FreeBSD, I accomplished this with:
# cd /usr/ports/net/samba3 && make install clean
- Be sure to select LDAP from the list. Non FreeBSD users, add --with-ldap to your ./configure