[Samba] Joining Samba4 to Domain as DC with Small Business Server 2008 - error with Exchange ldap entries
Paul Rogers
paul.rogers6 at gmail.com
Tue Jan 28 12:37:04 MST 2014
Hi All
I'm trying to join and existing Windows domain with Samba4, on Centos 6.5
Final. I initially tried with the Centos rpm's but it seems the
samba-tools didn't exist so I am now using the rpms from SerNet Enterprise
SAMBA.
The current DC is a Windows Small Business Server 2008 that provides file,
print, DNS, DHCP, AD and MS exchange/Outlook Web access.
The domain Company.local is a substitute for the real domain name [Company
name].local
I have installed the server using the instructions here:
https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
The rpm versions are:
sernet-samba-libwbclient-devel-4.1.4-7.el6.x86_64
sernet-samba-ad-4.1.4-7.el6.x86_64
sernet-samba-client-4.1.4-7.el6.x86_64
sernet-samba-debuginfo-4.1.4-7.el6.x86_64
sernet-samba-common-4.1.4-7.el6.x86_64
sernet-samba-4.1.4-7.el6.x86_64
sernet-samba-libs-4.1.4-7.el6.x86_64
sernet-samba-winbind-4.1.4-7.el6.x86_64
sernet-samba-libsmbclient0-4.1.4-7.el6.x86_64
sernet-samba-libsmbclient-devel-4.1.4-7.el6.x86_64
I have then started following the instructions here:
https://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
At the point at which I run the command:
/usr/bin/samba-tool domain join Company.local DC -Uadministrator
--realm=company.local
I receive the error message:
Failed to apply records: attribute 'msExchOWATranscodingFileTypes': value
#1 on 'CN=owa (Default Web
Site),CN=HTTP,CN=Protocols,CN=SRVMUL01,CN=Servers,CN=Exchange
Administrative Group (FYDIBOHF23SPDLT),CN=Administrative
Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=Company,DC=local' provided more
than once: Attribute or value exists
Failed to commit objects: WERR_GENERAL_FAILURE
Join failed - cleaning up
checking sAMAccountName
Deleted CN=SVRMUL03,OU=Domain Controllers,DC=Company,DC=local
Deleted CN=NTDS
Settings,CN=SVRMUL03,CN=Servers,CN=Default-First-Site,CN=Sites,CN=Configuration,DC=Company,DC=local
Deleted
CN=SVRMUL03,CN=Servers,CN=Default-First-Site,CN=Sites,CN=Configuration,DC=Company,DC=local
ERROR(<type 'exceptions.TypeError'>): uncaught exception - Failed to
process chunk: NT_STATUS_UNSUCCESSFUL
A search on the error message turned up the following:
https://lists.samba.org/archive/samba/2012-December/170653.html
but no response after Andrew Bartlett's initial query.
I have run the suggested query:
ldbsearch -Uadministrator -H ldap://srvmul01 -s base -b "CN=owa (Default
Web Site),CN=HTTP,CN=Protocols,CN=SRVMUL01,CN=Servers,CN=Exchange
Administrative Group (FYDIBOHF23SPDLT),CN=Administrative
Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=Company,DC=local"
msExchOWATranscodingFileTypes
Password for [COMPANY\administrator]:
# record 1
dn: CN=owa (Default Web
Site),CN=HTTP,CN=Protocols,CN=SRVMUL01,CN=Servers,CN=Exchange
Administrative Group (FYDIBOHF23SPDLT),CN=Administrative
Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:5:.xlsx:CN=owa (Default Web
Site),CN=HTTP,CN=
Protocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23
SPDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,
CN=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:5:.pptx:CN=owa (Default Web
Site),CN=HTTP,CN=
Protocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23
SPDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,
CN=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:5:.docx:CN=owa (Default Web
Site),CN=HTTP,CN=
Protocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23
SPDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,
CN=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:4:.xls:CN=owa (Default Web
Site),CN=HTTP,CN=P
rotocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23S
PDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,C
N=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:4:.rtf:CN=owa (Default Web
Site),CN=HTTP,CN=P
rotocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23S
PDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,C
N=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:4:.ppt:CN=owa (Default Web
Site),CN=HTTP,CN=P
rotocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23S
PDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,C
N=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:4:.pps:CN=owa (Default Web
Site),CN=HTTP,CN=P
rotocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23S
PDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,C
N=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:4:.pdf:CN=owa (Default Web
Site),CN=HTTP,CN=P
rotocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23S
PDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,C
N=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:4:.dot:CN=owa (Default Web
Site),CN=HTTP,CN=P
rotocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23S
PDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,C
N=Configuration,DC=Company,DC=local
msExchOWATranscodingFileTypes: S:4:.doc:CN=owa (Default Web
Site),CN=HTTP,CN=P
rotocols,CN=SRVMUL01,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23S
PDLT),CN=Administrative Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,C
N=Configuration,DC=Company,DC=local
# returned 1 records
# 1 entries
# 0 referrals
Has any progress been made on resolving this error? If not is it possible
to try and resolve it?
Many thanks
Regards
Paul
More information about the samba
mailing list