Operating System - Linux
1748124 Members
3249 Online
108758 Solutions
New Discussion

Joining Debian Linux to Domain Problem

 
Brahnda Eleazar
Frequent Advisor

Joining Debian Linux to Domain Problem

Peace all,

I'm using a Debian Linux 4r2 (kernel 2.6.18-5-686). I wanted to join my Debian server to my existing domain (my PDC is a Windows 2003 server).

In summary, this is the error I always received:

tserver:~# net ads join -U "brahnda.e"
brahnda.e's password:
Using short domain name -- HERMIS
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Disabled account for 'TSERVER' in realm 'HERMISCONSULTING.COM'

Below is what I have configured for my krb5.conf file:
[libdefaults]
default_realm = HERMISCONSULTING.COM

[realms]
HERMISCONSULTING.COM = {
kdc = hermisdc2.hermisconsulting.com
}

[domain_realm]
.kerberos.server = HERMISCONSULTING.COM


And this is what my smb.conf file looks like:
realm = HERMISCONSULTING.COM
workgroup = HERMIS
security = ads
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
template homedir = /home/%D/%U
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes

As for nsswitch.conf, I changed it to:
passwd: files winbind compat
group: files winbind compat

As for the resolv.conf file, I modified it to:
search localdomain

nameserver a.b.c.d
nameserver e.f.g.h


Any help or tips would be much appreciated.

Thanks,
=adley=
1 REPLY 1
Brahnda Eleazar
Frequent Advisor

Re: Joining Debian Linux to Domain Problem

Closed.