Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-22-2013, 10:50 PM   #1
Registered: Feb 2013
Posts: 212

Rep: Reputation: Disabled
samba server as a member of an Active Directory domain

am trying to configure samba server as a member of an Active Directory domain but am getting following error

root@RHEL6 Desktop]# net ads join -U administrator
Enter administrator's password:
[2013/02/22 23:32:31.813372, 0] libads/kerberos.c:333(ads_kinit_password)
kerberos_kinit_password administrator@DECCANHERALD.CO.IN failed: Cannot find KDC for requested realm
Failed to join domain: failed to connect to AD: Cannot find KDC for requested realm
[root@RHEL6 Desktop]#

Here is the my configure files


under global

workgroup = deccanherald
server string = Samba Server Version %v

security = ads
realm =
server string = samba
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
template homedir = /home/%D/%U

under share

comment = ras
path = /ras
writable = yes
guest ok = yes
public = yes
browseable = yes

comment = share
path = /sales
writable = yes
browseable = yes

default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

default_realm =
dns_lookup_realm = false
dns_lookup_kdc = false

[realms] = {
kdc =
admin_server =
default_domain =

[domain_realm] = samba.COM =


#group: db files nisplus nis

passwd: files winbind
shadow: files winbind
group: files winbind

#hosts: db files nisplus nis dns
hosts: files dns winbind
Old 02-25-2013, 08:41 AM   #2
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
check it:

if i were you, i would go with enterprise samba (1), fully compitable with windows AD
including group policy support. it comes with samba4



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
samba to active directory domain Radioactiveman Red Hat 2 03-20-2009 02:18 AM
Join Samba to Active Directory Domain xudonw1 Debian 0 05-04-2007 08:17 AM
connecting samba to a windows 2003 active directory domain Jcrofton Linux - Networking 8 09-17-2006 06:07 PM
Samba 3 in MS Active Directory domain psychobyte Linux - Software 3 10-16-2004 04:14 PM
Samba 3 domain member or W2k Active Directory Navtive Mode treedstang Linux - Networking 2 07-30-2004 10:04 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:06 AM.

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