If you are trying to bind a Linux machine to Active Directory, a very simple tool to use is ADCLI. You can use it to join servers, query AD, and also add/delete objects. It is not currently available through the yum repos, however. Here’s how to get past that:
- Download http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/adcli-0.8.1-1.el6.src.rpm
- You’ll need to rebuild the source rpm like this:
- rpmbuild –rebuild adcli-0.8.1-1.el6.src.rpm
- You may end up with needing other dependencies such as openldap-devel and xmlto (and potentially others). You can install these through yum:
- yum install -y openldap-devel xmlto
- To bind a new server:
- adcli join -U <ADadminUser> domain
- Enter password
- Verify the bind was a success by querying AD:
- adcli info <domain>
You should now be able to login with any AD user on that machine and do application level Active Directory integration
Advertisements