selftest: Advertise as PDC and time server during make test
authorKai Blin <kai@samba.org>
Mon, 5 May 2008 13:26:11 +0000 (15:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jun 2008 12:17:25 +0000 (14:17 +0200)
(cherry picked from commit 65c619b36d08ac2f24b622c71b7e05d50bdeea50)
(cherry picked from commit 1b24a06502a910909cf889916423c94aca92b1cf)

source/script/tests/selftest.sh

index 5f07e2d76e18b06e0f4c1e790dc2cd1208f1ed60..26dd0cbbee91d3747e9f4c474307fe2fb34daf67 100755 (executable)
@@ -162,6 +162,10 @@ cat >$SERVERCONFFILE<<EOF
 
        passdb backend = tdbsam
 
+       domain master = yes
+       domain logons = yes
+       time server = yes
+
        add user script = $PERL $SRCDIR/lib/nss_wrapper/nss_wrapper.pl --path $NSS_WRAPPER_PASSWD --type passwd --action add --name %u
        add machine script = $PERL $SRCDIR/lib/nss_wrapper/nss_wrapper.pl --path $NSS_WRAPPER_PASSWD --type passwd --action add --name %u
        delete user script = $PERL $SRCDIR/lib/nss_wrapper/nss_wrapper.pl --path $NSS_WRAPPER_PASSWD --type passwd --action delete --name %u