This outlines what I've done to setup Samba on Linux to use the campus Active Directory for authentication and authorization. My setup was done on Red Hat 7.3, with Samba 2.2.7, but the information should be applicable to other versions.


Unified Logons between Windows NT and Unix using Winbind

Basic Instructions

I will assume from to this point that you have installed the samba software, and that you have the configuration files updated, using the examples below as a guide.

Start the samba daemons:

# service smb start

A domain admin will have to join the server to the domain just like a Windows server would:

Samba 2.x:

# smbpasswd -j IOWA -r -u <admin name>

Samba 3.x:

# net ads join -w IOWA.UIOWA.EDU -S -U <admin name>

Start the winbind daemon:

# service winbind start


# (/usr/sbin/winbindd&)

Article number: 
Last updated: 
May 19, 2016