[Samba] Samba AD replication on new installation of Samba 4.0

Justin Clacherty justin at redfish.com.au
Thu Jan 10 00:39:31 MST 2013


> From: samba-bounces at lists.samba.org [mailto:samba-
> bounces at lists.samba.org] On Behalf Of Justin Clacherty
> 
> > From: Andrew Bartlett [mailto:abartlet at samba.org]
> >
> > As to why things are failing, and your mention of a schema mismatch,
> > if the import of the exchange schema has caused problems, this might be
> an issue.
> > Are there any more details in the logs?
> 
> I don't see anything else in the logs.
> 
> > You might want to try current master, if you are in an experimental
> > mood, as we have some DRS improvements, but otherwise I'm sorry I can't
> help more.
> 
> Happy to give that a go.  Will let you all know how it goes.  Perhaps not
> tonight though.
> 

I've tried the current master but am seeing the same problem.  I've run it in interactive mode at debug level 5, you'll see the output when replication is done below.  It looks as though samba is adding some fields to the schema which Windows 2k8 doesn't like (even though schema replication appears to be successful).

../source4/rpc_server/drsuapi/getncchanges.c:1426: getncchanges on DC=redfish,DC=local using filter (uSNChanged>=1)
../source4/dsdb/samdb/ldb_modules/operational.c:295: Object DC=redfish,DC=local is NC
No element 'sn' for attributeID 4 in message
No element 'givenName' for attributeID 42 in message
No element 'displayName' for attributeID 131085 in message
No element 'codePage' for attributeID 589840 in message
No element 'countryCode' for attributeID 589849 in message
No element 'unicodePwd' for attributeID 589914 in message
No element 'ntPwdHistory' for attributeID 589918 in message
No element 'pwdLastSet' for attributeID 589920 in message
No element 'primaryGroupID' for attributeID 589922 in message
No element 'supplementalCredentials' for attributeID 589949 in message
No element 'accountExpires' for attributeID 589983 in message
No element 'lmPwdHistory' for attributeID 589984 in message
No element 'sAMAccountType' for attributeID 590126 in message
No element 'userPrincipalName' for attributeID 590480 in message
No element 'objectCategory' for attributeID 590606 in message
DsGetNCChanges with uSNChanged >= 1 flags 0x00201070 on DC=redfish,DC=local gave 2 objects (done 357/357) 113 links (done 113/113 (as S-1-5-21-2891700502-2178176344-4046082489-1613))
../source4/rpc_server/drsuapi/getncchanges.c:1426: getncchanges on CN=Schema,CN=Configuration,DC=redfish,DC=local using filter (uSNChanged>=3744)
DsGetNCChanges with uSNChanged >= 3744 flags 0x00000070 on <GUID=91f93976-a4ad-4a75-a982-1e53c2be3317>;CN=Schema,CN=Configuration,DC=redfish,DC=local gave 0 objects (done 0/0) 0 links (done 0/0 (as S-1-5-21-2891700502-2178176344-4046082489-1613))
../source4/rpc_server/drsuapi/getncchanges.c:1426: getncchanges on DC=redfish,DC=local using filter (uSNChanged>=1)
../source4/dsdb/samdb/ldb_modules/operational.c:295: Object DC=redfish,DC=local is NC
No element 'sn' for attributeID 4 in message
No element 'givenName' for attributeID 42 in message
No element 'displayName' for attributeID 131085 in message
No element 'codePage' for attributeID 589840 in message
No element 'countryCode' for attributeID 589849 in message
No element 'unicodePwd' for attributeID 589914 in message
No element 'ntPwdHistory' for attributeID 589918 in message
No element 'pwdLastSet' for attributeID 589920 in message
No element 'primaryGroupID' for attributeID 589922 in message
No element 'supplementalCredentials' for attributeID 589949 in message
No element 'accountExpires' for attributeID 589983 in message
No element 'lmPwdHistory' for attributeID 589984 in message
No element 'sAMAccountType' for attributeID 590126 in message
No element 'userPrincipalName' for attributeID 590480 in message
No element 'objectCategory' for attributeID 590606 in message
DsGetNCChanges with uSNChanged >= 1 flags 0x00201070 on DC=redfish,DC=local gave 2 objects (done 357/357) 113 links (done 113/113 (as S-1-5-21-2891700502-2178176344-4046082489-1613))
../source4/rpc_server/drsuapi/getncchanges.c:1426: getncchanges on CN=Schema,CN=Configuration,DC=redfish,DC=local using filter (uSNChanged>=3744)
DsGetNCChanges with uSNChanged >= 3744 flags 0x00000070 on <GUID=91f93976-a4ad-4a75-a982-1e53c2be3317>;CN=Schema,CN=Configuration,DC=redfish,DC=local gave 0 objects (done 0/0) 0 links (done 0/0 (as S-1-5-21-2891700502-2178176344-4046082489-1613))



More information about the samba mailing list