[Ultrapossum-cvs 1220] projects/samba/debian 1.1,1.2,postinst

Back to archive index

Masato Taruishi taru****@users*****
2005年 2月 8日 (火) 13:21:21 JST


===================================================================
RCS file: projects/samba/debian/postinst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- projects/samba/debian/postinst	2005/02/07 06:48:00	1.1
+++ projects/samba/debian/postinst	2005/02/08 04:21:21	1.2
@@ -38,6 +38,11 @@
           else
                  /etc/init.d/samba restart
           fi
+	  echo -n "Setting SID... " 1>&2
+          sid="`net getlocalsid | cut -d' ' -f6`"
+	  ultrapossum-config set samba SAMBA_SID="$sid"
+	  /usr/share/ultrapossum/update.d/update-samba configure 2> /dev/null
+	  echo "$sid" 1>&2
         fi
 
     ;;



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