[Samba] samba 3.0.23 integrating with Active Directory + Failed to
set ServicePrincipalNames
mallapadi niranjan
niranjan.ashok at gmail.com
Sat Sep 23 13:54:37 GMT 2006
Hi all
I have a linux server with RHEL 4.0 ES with Samba 3.0.23c . I am trying to
integrate it with our Windows 2003 Active directory.
our Windows domain is EXAMPLE.COM and netbios name of the server is
EXAMPLE. The hostname of our Active directory is lesl-dom.
when we are joining to the domain we are getting the following error.
##########################################################
[root at linuxads samba-3c]# /usr/local/samba-3c/bin/net ads join
-UAdministrator
Administrator's password:
Using short domain name -- EXAMPLE
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 'LINUXADS' in realm 'EXAMPLE.COM'
##########################################################
linuxads is the hostname of the linux machine where samba-3.0.23c is
installed.
my krb5.conf is
########################################################
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = EXAMPLE.COM
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
forwardable = yes
[realms]
EXAMPLE.COM = {
kdc = 10.129.149.4
admin_server = 10.129.149.4
default_domain = EXAMPLE.COM
}
EXAMPLE.COM = {
kdc = 10.129.149.4
}
[domain_realm]
.example.com = EXAMPLE.COM
.example.com = EXAMPLE.COM
[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf
[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}
############################################################
my smb.conf is
##########################################################
[global]
workgroup = LOCUZHYD
realm = LOCUZHYD.COM
server string = Linux Additional Domain Controller
security = ADS
log level = 10
log file = /usr/local/samba-3c/var/smbd.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
preferred master = No
dns proxy = No
template shell = /bin/bash
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
##########################################################
please guide me
Regards
Niranjan
More information about the samba
mailing list