[Ultrapossum-cvs 796] plugin/sasl ...

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 12日 (火) 00:53:43 JST


===================================================================
RCS file: plugin/sasl/sasl-account,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin/sasl/sasl-account	2004/10/07 14:43:33	1.4
+++ plugin/sasl/sasl-account	2004/10/11 15:53:42	1.5
@@ -7,6 +7,10 @@
 
 echo -n "Creating account..." 1>&2
 
+authcid="`echo $ROOTDN | cut -d, -f1 | cut -d= -f2`"
+echo -n " $authcid" 1>&2
+echo "$ROOTPW" | saslpasswd2 -p -u $PACKAGE $authcid
+
 if test "x$CREDENTIALS" != "x"; then
   authcid="`echo $UPDATEDN | cut -d, -f1 | cut -d= -f2`"
   echo -n " $authcid" 1>&2
===================================================================
RCS file: plugin/sasl/sasl-md5.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin/sasl/sasl-md5.in	2004/09/24 03:09:23	1.3
+++ plugin/sasl/sasl-md5.in	2004/10/11 15:53:42	1.4
@@ -6,6 +6,11 @@
 # by SASL bind.
 password-hash	{CLEARTEXT}
 
+# SASL/Digest-MD5 Map for RootDN
+sasl-regexp
+	uid=#ROOT#@#PACKAGE#,cn=digest-md5,cn=auth
+	#ROOTDN#
+
 # Application SASL/Digest-MD5 to real DN map
 sasl-regexp
 	uid=([^@]+)@#PACKAGE#,cn=digest-md5,cn=auth
===================================================================
RCS file: plugin/sasl/update-sasl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- plugin/sasl/update-sasl	2004/09/27 09:09:50	1.4
+++ plugin/sasl/update-sasl	2004/10/11 15:53:42	1.5
@@ -29,7 +29,10 @@
     id="SASL"
     add_startmark "##" $id > $tmp
     SYNCRDN="`echo $SYNCDN | cut -d, -f1 | cut -d= -f2`"
+    ROOT="`echo $ROOTDN | cut -d, -f1 | cut -d= -f2`"
     sed -e "s/#SUFFIX#/$SUFFIX/" \
+    	-e "s/#ROOTDN#/$ROOTDN/" \
+	-e "s/#ROOT#/$ROOT/" \
    	-e "s/#APPLICATION#/$APPLICATION/" \
 	-e "s/#PACKAGE#/$PACKAGE/" \
 	-e "s/#SYNCDN#/$SYNCDN/" -e "s/#SYNCRDN#/$SYNCRDN/" \



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