how can we join redhat 5 machine in  windows 2000 domain as a member server?.

chandar_bhandari
chandar_bhandari used Ask the Experts™
on
how can we join redhat 5 machine in  windows 2000 domain as a member server?.
and i used below link to join redhat machine.

http://www.howtoforge.com/samba_ads_security_mode

when i run the command  "net ads join -U administrator" i reveived the error-
'using short domain name  --xyz
Failed to set servicePrincipalNames. Please ensure that
>> the DNS domain of this server matches the AD domain'.

can anyone help me?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

Commented:
What is the domain name on the AD and what is the domain you are using in the smb conf.
i.e. your domain is domain.private, but within smb.conf you only use the domain part.

It might get complicated if your AD domain uses public suffix i.e. .com etc.

Author

Commented:
hi arnold

domain name is xyz.com
Distinguished Expert 2017

Commented:
Does the redhat box have its own DNS server or is it pointing to the DC for dns resolution?
This might be the problem.

See if following the steps in http://www.linuxmail.info/active-directory-integration-samba-centos-5/ gets your system setup.
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
yes it's pointing to the windows DC for dns resolution
Distinguished Expert 2017
Commented:
Have a look at the link posted, do you have your DC listed in the winbind configuration file?
Is winbind running?

try using the full domain name versus the short to see whether that addresses the issue.

Author

Commented:
thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial