These errors occur during the authentication.
plz help me .

[/usr/bin/net join -w rupizinfotech -S 172.16.0.4 -U r.kumar]
r.kumar's password:<...>

Using short domain name -- RUPIZINFOTECH
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Deleted account for 'ABC' in realm 'RUPIZINFOTECH.COM'
Failed to join domain: Type or value exists
ADS join did not work, falling back to RPC...
[2008/10/01 21:37:32, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(350)
Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME

Unable to join domain RUPIZINFOTECH.

Shutting down Winbind services: [ OK ]
Starting Winbind services: [ OK ]




vi /etc/samba/smb.conf

workgroup = rupizinfotech
password server = 172.16.0.4
realm = RUPIZINFOTECH.COM
security = ads
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
winbind use default domain = false
winbind offline logon = false

#--authconfig--end-line--
;security = ADS
;realm = rupizinfotech.com
;workgroup = rupizinfotech
;password server = rupizinfotech.com
wins support = no
wins server = 172.16.0.4
invalid users = root
# Winbind settings
;idmap uid = 10000-20000
;idmap gid = 10000-20000
# For testing
debuglevel = 2



vi /etc/krb5.conf

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

[libdefaults]
default_realm = rupizinfotech.com
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
forwardable = yes

[realms]
rupizinfotech.com = {
kdc = rupizinfotech.com
admin_server = rupizinfotech.com
default_domain = rupizinfotech.com
}



RUPIZINFOTECH.COM = {
kdc = 172.16.0.4
}

[domain_realm]
.rupizinfotech.com = RUPIZINFOTECH.COM
rupizinfotech.com = RUPIZINFOTECH.COM

[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}