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

Notices


Reply
  Search this Thread
Old 01-03-2016, 04:41 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Linux Domain Server and Join Linux Client to it.


Hello.
I launched a Linux Domain with CentOS 7 and joined Windows clients to it but I can't join my Linux clients to it :

My Domain name is "linux.dj" and smb.conf on Linux client is :

workgroup = Linux.DJ
realm = LINUX.DJ
security = ads
idmap config * : range = 16777216-33554431
template homedir = /home/%U
template shell = /bin/bash
kerberos method = secrets only
winbind use default domain = true
winbind offline logon = true

preferred master = no
dns proxy = yes
wins server = DC.Linux.DJ


krb5.conf is :

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

[libdefaults]
dns_lookup_realm = false
dns_lookup_kdc = true
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm = LINUX.DJ
default_ccache_name = KEYRINGersistent:%{uid}

[realms]
LINUX.DJ = {
kdc = xxx.xxx.xxx.xxx
}

[domain_realm]
.linux.DJ = .LINUX.DJ
Linux.DJ = .LINUX.DJ


But when I run "net ads join" show me :

Enter test's password:
Failed to join domain: failed to find DC for domain LINUX.DJ


Linux client can't find my Domain . For more information I did :


# net ads info
LDAP server: 192.168.72.1
LDAP server name: fileserver.linux.dj
Realm: LINUX.DJ
Bind Path: dc=LINUX,dc=DJ
LDAP port: 389
Server time: Tue, 22 Dec 2015 05:33:53 EST
KDC server: 192.168.72.1
Server time offset: 0


# smbclient -L 192.168.72.1 -U%
Domain=[LINUX] OS=[Windows 6.1] Server=[Samba 4.2.3-SerNet-RedHat-18.el7]

Sharename Type Comment
--------- ---- -------
netlogon Disk
sysvol Disk
my-share Disk Linux File Server
IPC$ IPC IPC Service (Samba 4.2.3-SerNet-RedHat-18.el7)
Domain=[LINUX] OS=[Windows 6.1] Server=[Samba 4.2.3-SerNet-RedHat-18.el7]

Server Comment
--------- -------

Workgroup Master
--------- -------


# smbclient //192.168.72.1/netlogon -Uadministrator -c 'ls'
Enter administrator's password:
Domain=[LINUX] OS=[Windows 6.1] Server=[Samba 4.2.3-SerNet-RedHat-18.el7]
. D 0 Tue Sep 8 04:46:06 2015
.. D 0 Tue Sep 8 04:50:49 2015

51175 blocks of size 1048576. 46878 blocks available


# host -t SRV _ldap._tcp.Linux.DJ
_ldap._tcp.Linux.DJ has SRV record 0 100 389 localhost.linux.dj.

# host -t SRV _kerberos._udp.Linux.DJ
_kerberos._udp.Linux.DJ has SRV record 0 100 88 localhost.linux.dj.

# host -t A fileserver.Linux.DJ
Host fileserver.Linux.DJ not found: 3(NXDOMAIN)



It seems that wins server is defined as "DC.Linux.DJ" but my dc is "fileserver.Linux.DJ".

How can I solve it?
 
  


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
how join linux client to linux domain mania2211 Linux - Server 1 08-31-2010 06:38 AM
Linux 5 join win server 2003 domain sitha sophanarith Linux - Newbie 1 03-18-2010 09:33 AM
Unable to join domain using Net Join command in FC3 client jeb083079 Linux - Networking 9 07-30-2007 02:41 AM
Can linux join (as a client) Windows 2000 domain?? halo14 Red Hat 2 11-01-2004 07:40 PM
Cannot join a Linux computer to a Windows 2000 server domain Linh Linux - Networking 10 08-13-2003 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:42 AM.

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