Opened 3 years ago

Closed 3 years ago

#311 closed defect (fixed)

Error with sscc /install

Reported by: abwillis Owned by:
Priority: minor Milestone:
Component: Unknown Version: Server 3.6.x
Keywords: Cc:

Description

sscc /install results in: ====================== Line 21 of Installer_Create in sscc.VRM: +++ Call _PasswordDBRewrite; ===================== and quits. Apparently, it does manage to change "/install" to "/config", and starting it again, pops up the message: ===================== Line 25 of Installer_Create in sscc.VRM: +++ Call _PasswordDBRewrite; ===================== and it quits. Fixed by:

Index: sscc.vrx
===================================================================
--- sscc.vrx    (revision 1019)
+++ sscc.vrx    (working copy)
@@ -89,12 +89,13 @@
 /*:VRX         __VXREXX____APPENDS__
 */
 __VXREXX____APPENDS__:
-/*
+
 #append ..\shared\swat.vrs
 #append ..\shared\nlv.vrs
 #append ..\shared\inittempdir.vrs
 #append ..\shared\sambainit.vrs
-*/
+#append ..\shared\masterpasswd.vrs
+
 return
 /*:VRX         _ActiveGroup
 */

Change History (3)

comment:1 Changed 3 years ago by Herwig Bauernfeind

Resolution: fixed
Status: newclosed

The above is only part of the solution, as masterpasswd.vrs was incomplete.

This has been fixed in changeset #1020 and #1021.

http://rpm.netlabs.org/test/samba-1-3-0-1021.wpi

comment:2 Changed 3 years ago by abwillis

Resolution: fixed
Status: closedreopened

If started fresh (i.e. no smb.conf, no files in \etc) there is an error, time() is the issue (may work in orexx, not sure).

Index: shared/masterpasswd.vrs
===================================================================
--- shared/masterpasswd.vrs	(revision 1021)
+++ shared/masterpasswd.vrs	(working copy)
@@ -140,7 +140,7 @@
 /*:VRX         _MasterPasswdCreate */
 _MasterPasswdCreate: 
     IF options.!debug == 1 THEN say '_MasterPasswdCreate() started.'
-    call lineout samba.!masterpasswd, '# Created by Samba GUI Tools 'date('E')' 'time('')
+    call lineout samba.!masterpasswd, '# Created by Samba GUI Tools 'date('E')' 'time()
     call lineout samba.!masterpasswd, '# syntax:'
     call lineout samba.!masterpasswd, '# username:passwd:UID:GID:login-class:chg pw x sec:deact x sec:GECOS:home:shell'
     call lineout samba.!masterpasswd, 'root:*:0:512::0:0:root:/nonexistent:/usr/sbin/nologin'

comment:3 Changed 3 years ago by Herwig Bauernfeind

Resolution: fixed
Status: reopenedclosed

Fixed 2nd time() occurrence in masterpasswd.vrs.

http://rpm.netlabs.org/test/samba-1-3-0-1022.wpi

Note: See TracTickets for help on using tickets.