[Pkg-samba-maint] r862 - branches/samba4

Steinar H. Gunderson sesse at costa.debian.org
Wed Jan 4 01:16:39 UTC 2006


Author: sesse
Date: 2006-01-04 01:16:37 +0000 (Wed, 04 Jan 2006)
New Revision: 862

Modified:
   branches/samba4/README.Debian
   branches/samba4/changelog
   branches/samba4/control
   branches/samba4/samba.config
   branches/samba4/samba.postinst
   branches/samba4/samba.templates
Log:
* Don't ask about an administrator password -- just let the provisioning
  scripts make up a random one.
* Updated README.Debian to show the user how to change the password.
* Make samba recommend ldb-tools.



Modified: branches/samba4/README.Debian
===================================================================
--- branches/samba4/README.Debian	2006-01-04 01:09:23 UTC (rev 861)
+++ branches/samba4/README.Debian	2006-01-04 01:16:37 UTC (rev 862)
@@ -5,4 +5,20 @@
 and definitely not finished yet. You do not want to use these in a production
 environment unless you're unusually brave, stupid or both.
 
+Administrator password
+----------------------
+
+If you let the Debian packages set up your Samba 4 domain for you, they will
+be set up by default with a random administrator password. If you want to
+change this, you'll need ldbedit from the ldb-tools package. Run
+
+  ldbedit -H /etc/samba/sam.ldb cn=administrator
+
+Somewhere in the LDIF, add a new line like this:
+
+  unicodePwd: PASSWORD
+
+where PASSWORD is the new administrator password. Save and quit, and the
+password is changed for you.
+
   -- Steinar H. Gunderson <sesse at debian.org>,  Wed, 04 Jan 2006 02:07:52 +0100

Modified: branches/samba4/changelog
===================================================================
--- branches/samba4/changelog	2006-01-04 01:09:23 UTC (rev 861)
+++ branches/samba4/changelog	2006-01-04 01:16:37 UTC (rev 862)
@@ -29,6 +29,10 @@
     (adapted from the Samba 3 packaging).
   * Copied Uploaders: line from Samba 3 packaging, adding myself.
   * Updated README.debian somewhat, and renamed to use a capital D.
+  * Don't ask about an administrator password -- just let the provisioning
+    scripts make up a random one.
+    * Updated README.Debian to show the user how to change the password.
+    * Make samba recommend ldb-tools.
 
  -- Steinar H. Gunderson <sesse at debian.org>  Wed,  4 Jan 2006 01:50:11 +0100
 

Modified: branches/samba4/control
===================================================================
--- branches/samba4/control	2006-01-04 01:09:23 UTC (rev 861)
+++ branches/samba4/control	2006-01-04 01:16:37 UTC (rev 862)
@@ -62,7 +62,7 @@
  
 Package: samba
 Architecture: any
-Recommends: swat
+Recommends: swat, ldb-tools
 Depends: ${shlibs:Depends}, samba-common, debconf
 Description: LanManager-like file and printer server for Unix (version 4)
  The Samba software suite is a collection of programs that

Modified: branches/samba4/samba.config
===================================================================
--- branches/samba4/samba.config	2006-01-04 01:09:23 UTC (rev 861)
+++ branches/samba4/samba.config	2006-01-04 01:16:37 UTC (rev 862)
@@ -31,9 +31,6 @@
 	db_input medium samba/domain || true
 	db_go || true
 
-	db_input medium samba/password || true
-	db_go || true
-	
 	db_input medium samba/done || true
 	db_go || true
 fi

Modified: branches/samba4/samba.postinst
===================================================================
--- branches/samba4/samba.postinst	2006-01-04 01:09:23 UTC (rev 861)
+++ branches/samba4/samba.postinst	2006-01-04 01:16:37 UTC (rev 862)
@@ -34,7 +34,7 @@
 
 			db_stop
 
-			/usr/lib/samba/setup/provision --realm="$REALM" --domain="$DOMAIN" --adminpass="$PASSWORD"
+			/usr/lib/samba/setup/provision --realm="$REALM" --domain="$DOMAIN"
 		else
 			db_stop
 		fi

Modified: branches/samba4/samba.templates
===================================================================
--- branches/samba4/samba.templates	2006-01-04 01:09:23 UTC (rev 861)
+++ branches/samba4/samba.templates	2006-01-04 01:16:37 UTC (rev 862)
@@ -30,10 +30,3 @@
  What will be the domain of your server? This is also known as the
  "workgroup" of your server, and is typically a short name without any dots
  (ie. DOMAIN).
-
-Template: samba/password
-Type: password
-_Description: Administrator password
- You will need a password for the "Administrator" account. Note that in the
- current version of the packaging, this will be echoed back in cleartext later,
- so you might not want to use a very sensitive password here.




More information about the Pkg-samba-maint mailing list