dsdb: Relax the check for the RID set DN
commitc1c25b493947e4fff8ed69a801a6c1f07cfd8571
authorAndrew Bartlett <abartlet@samba.org>
Wed, 18 Feb 2015 21:19:37 +0000 (19 10:19 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 May 2015 05:25:07 +0000 (28 07:25 +0200)
tree23c717c80390faf8b79b623531c70a05db881400
parentcaf74b7df54d2f9d38083ab519159fcc746d07ee
dsdb: Relax the check for the RID set DN

This was preventing the correct generation of error messages and referrals on an RODC.

An RODC does not have a RID set.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/objectclass.c