[Ultrapossum-cvs 475] ultrapossum/init.d 1.5,1.6,10config

Back to archive index

Masato Taruishi taru****@users*****
2004年 9月 17日 (金) 20:52:18 JST


===================================================================
RCS file: ultrapossum/init.d/10config,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ultrapossum/init.d/10config	2004/09/17 11:26:25	1.5
+++ ultrapossum/init.d/10config	2004/09/17 11:52:18	1.6
@@ -84,11 +84,13 @@
 ultrapossum_removeconf() {
   case "$ULTRAPOSSUM_CONFIG_BACKEND" in
     ldap)
+      if test "x${!2}" != "x"; then
         ldapmodify -x -H "$ULTRAPOSSUM_CONFIG_BACKEND_LDAP_URI" -D "$ULTRAPOSSUM_CONFIG_BACKEND_LDAP_BINDDN" -w "$ULTRAPOSSUM_CONFIG_BACKEND_LDAP_BINDPW" > /dev/null <<EOF
 dn: cn=$2,$ULTRAPOSSUM_CONFIG_BACKEND_LDAP_BASEDN
 changetype: modify
 delete: description
 EOF
+      fi
     ;;
     *)
       ultrapossum_removeconf_shell "$1" "$2"



Ultrapossum-cvs メーリングリストの案内
Back to archive index