LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-20-2013, 01:24 PM   #1
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Rep: Reputation: 28
Using authconfig to fully integrate with Active Directory


Is there a way to use authconfig to fully integrate with Active Directory? I have a command with the options to bounch already existing user accounts on the box against the Active Directory, but not use what is already on active directory without adding each user on the box itself.

Is there a way to do that, without going through and editing all the config files for Samba, Krb5, and Winbind?
 
Old 05-21-2013, 06:10 PM   #2
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
This is the quickest way I have seen: https://www.dalemacartney.com/2012/0...ive-directory/

I have not tested it.

I personally have always like doing it the long way.

A mate sent me this a while back: Again I have not tested it:

Code:
yum install samba-common samba-winbind
Code:
cat /etc/hosts
x.x.x.x     server    server.domain

Code:
authconfig 
--update 
--kickstart 
--enablewinbind 
--enablewinbindauth 
--smbsecurity=ads 
--smbworkgroup=NETBIOS_DOMAIN
--smbrealm=DOMAIN.COM
--smbservers=$ADServer 
--winbindjoin=$AdminUser 
--winbindtemplatehomedir=/home/%U 
--winbindtemplateshell=/bin/bash 
--enablewinbindusedefaultdomain 
--enablelocauthorize
let me know if works.
 
Old 05-21-2013, 09:36 PM   #3
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
I will try it when I get back into the office. I can attempt to write a chef recipe to help automate some of the long way tasks. I can't personally afford to go the long way because of time, and the sheer amount of systems I am going to be putting this on.
 
Old 05-21-2013, 09:48 PM   #4
Predatorian
Member
 
Registered: Mar 2008
Location: currently, where ever the army takes me
Distribution: Debian Lenny/Ubuntu or Arch Linux
Posts: 145

Original Poster
Rep: Reputation: 28
Quote:
This is the quickest way I have seen: https://www.dalemacartney.com/2012/0...ive-directory/
This tutorial is exactly what I am looking for. Instaead of editing a bunch of files and stuff by hand, this seems much easier.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to integrate request tracker 4.0.8 with active directory 2008 server decenter Linux - Server 1 01-03-2013 07:34 AM
integrate Windows Active Directory with LDAP yasir.iqbal Linux - Server 1 05-14-2010 06:28 AM
Samba integrate with Active Directory on RHEL 5.3 and 5.4 bathrinath Linux - Server 3 10-17-2009 12:32 AM
LXer: How to Integrate windows Active Directory and Samba in Ubuntu LXer Syndicated Linux News 0 11-12-2008 09:40 AM
integrate active directory with linux dns ssnagwekar Linux - Newbie 3 01-09-2006 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration