Difference between revisions of "Samba and LDAP"

From Secure Computing Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
[[image:samba_logo.png|right]][[image:ldap_logo.gif|right]]This how-to assumes you have a working [[OpenLDAP]] 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.
 
[[image:samba_logo.png|right]][[image:ldap_logo.gif|right]]This how-to assumes you have a working [[OpenLDAP]] 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.
 
+
<br style="clear:both">
 
== Introduction ==
 
== Introduction ==
 
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).
 
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).

Revision as of 11:08, 29 October 2008

Samba logo.png
Ldap logo.gif
This how-to assumes you have a working OpenLDAP 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.


Introduction

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.

Installation

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