[Ultrapossum-cvs 1218] projects/samba ...

Back to archive index

Masato Taruishi taru****@users*****
2005年 2月 8日 (火) 12:42:33 JST


===================================================================
RCS file: projects/samba/10samba,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- projects/samba/10samba	2005/02/07 06:47:04	1.1
+++ projects/samba/10samba	2005/02/08 03:42:33	1.2
@@ -27,6 +27,8 @@
   LDAP_GROUPSUFFIX=$(ultrapossum_getconf LDAP_GROUPSUFFIX "ou=Group")
   LDAP_MACHINESUFFIX=$(ultrapossum_getconf LDAP_MACHINESUFFIX "ou=Computers")
 
+  SAMBA_SID=$(ultrapossum_getconf SAMBA_SID "`net getlocalsid | cut -d' ' -f6`")
+
   SAMBA_DOMAINLOGONS=$(ultrapossum_getconf SAMBA_DOMAINLOGONS "Yes")
   SAMBA_OSLEVEL=$(ultrapossum_getconf SAMBA_OSLEVEL "65")
   SAMBA_PREFERREDMASTER=$(ultrapossum_getconf SAMBA_PREFERREDMASTER "Yes")
===================================================================
RCS file: projects/samba/samba.cf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- projects/samba/samba.cf	2005/02/07 06:47:04	1.1
+++ projects/samba/samba.cf	2005/02/08 03:42:33	1.2
@@ -17,6 +17,9 @@
 ### Samba NT domain Configuration
 ###
 
+# SID
+#SAMBA_SID="`net getlocalsid | cut -d' ' -f6`"
+
 # Domain Logon
 #SAMBA_DOMAINLOGONS="Yes"
 
===================================================================
RCS file: projects/samba/smbldap.conf.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- projects/samba/smbldap.conf.in	2005/02/07 06:47:04	1.1
+++ projects/samba/smbldap.conf.in	2005/02/08 03:42:33	1.2
@@ -34,7 +34,7 @@
 
 # Put your own SID
 # to obtain this number do: net getlocalsid
-SID="S-1-5-21-1911238739-97561441-2706018148"
+SID="#SAMBA_SID#"
 
 ##############################################################################
 #



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