parent
6d3de80b28
commit
a9b1898532
@ -0,0 +1,11 @@
|
|||||||
|
--- 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
|
Loading…
Reference in new issue