Give slapd a second to startup
authorHoward Chu <hyc@symas.com>
Tue, 17 Sep 2013 15:19:47 +0000 (08:19 -0700)
committerNadezhda Ivanova <nivanova@samba.org>
Wed, 18 Sep 2013 05:43:09 +0000 (07:43 +0200)
commitff886940272354743cd6eb50717891454d8e5500
tree2fc244490fe1db05e6582d50a06069394eac8aa2
parent68a4081dd47344651cb4dfdf57247ce8e893a96e
Give slapd a second to startup

Moving the sleep to the beginning of the loop avoids most
occurrences of the "connection failed" message

Signed-off-by: Howard Chu <hyc@symas.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
Autobuild-User(master): Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date(master): Wed Sep 18 07:43:09 CEST 2013 on sn-devel-104
python/samba/provision/backend.py