Install prerequisite packages – Using Debian in an Active Directory environment
These are the packages you will need to set up a simple Samba fileserver using Debian Lenny and authenticating to a Microsoft Active Directory.
Lets get the samba and kerberos software packages installed. This command will install the softare and its dependents:
aptitude install samba ntpdate smbclient winbind krb5-config krb5-user
Put in the Workgroup/domain info when prompted if you like. They will set up some .conf files for you, but we’re not going to use them anyways. We wont worry about WINS for now.
Once the process is finished, The Daemons (services) will be started automatically. We need to stop them while we configure them. Stop samba and winbind with this command:
/etc/init.d/samba stop
/etc/init.d/winbind stop
This page is part of a series named “Using Debian in an Active Directory environment“. It is meant to be followed in that context.

No comments yet.