You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-1/install/profile/desktop/etc/init.d/xdm.diff?linuxver>10.3

12 lines
467 B

--- xdm.orig 2010-04-02 17:28:48.000000000 +0400
+++ xdm 2010-04-02 17:28:32.000000000 +0400
@@ -174,7 +174,7 @@
local server=`sed -rn 's/^cl_remote_host\s*=\s*(.*)$/\1/p' ${calculateenv}`
local binddn=`sed -nr 's/^binddn (.*)$/\1/p' /etc/ldap.conf`
local bindpw=`sed -nr 's/^bindpw (.*)$/\1/p' /etc/ldap.conf`
- for i in `seq 0 20`
+ for i in `seq 0 40`
do
ldapsearch -h ${server} -D ${binddn} -w ${bindpw} &>/dev/null
[[ $? -eq 32 ]] && break