Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#94 closed defect (fixed)

WPI: pwd_mkdb.exe is not called

Reported by: dmik Owned by: Herwig Bauernfeind
Priority: minor Milestone: WarpIN archive
Component: Samba Server WarpIN archive Version: 3.0.34
Keywords: Cc:

Description

The WarpIn? installer (http://msplins06.bon.at/%7Eadmin139/files/samba-1-0-0-4-rc5.wpi) doesn't seem to call pwd_mkdb.exe to initially create pwd.db and spwd.db from master.passwd.

As a result, the initial Samba server configuration GUI dialog doesn't finish correctly complaining with the following messages:

Failed to modify password entry for user root
Failed to modify password entry for user guest

Any attempt to call smbpasswd afterwards gives the same error message.

As a consequence to the above, smbd.exe cannot start (complains about the missing guest account) and Samba looks unusable in general :)

Change History (7)

comment:1 Changed 15 years ago by dmik

As a workaround, one can run

C:\PROGRAMS\Samba\pwd_mkdb.exe %UNIXROOT%\etc\master.passwd

manually when the first page of the initial configuration dialog (root password promtp) appears before continuing further with the configuration.

comment:2 Changed 15 years ago by Herwig Bauernfeind

Owner: changed from nobody to Herwig Bauernfeind

pwd_mkdb.exe is called by usermod.cmd script (which is run by the WPI in order to create root and guest account) and updates pwd.db and spwd.db from master.passwd.

This works here in my test system.

It appears that usermod fails for some reason to find pwd_mkdb.exe in your case.

comment:3 Changed 15 years ago by Herwig Bauernfeind

I am in the process of moving the initial creation of pwd.db and spwd.sb directly into sscc.exe, so at least we should get a proper error message what exactly goes wrong in your situation.

Please stand by, a new WPI will be out in a few days.

comment:4 Changed 15 years ago by Herwig Bauernfeind

Component: UnknownWarpIN archive
Milestone: Samba Server for eCS (OS/2) 1.0.1

comment:5 Changed 15 years ago by dmik

Okay. I can give you the .vdi of this eCS installation if necessary.

BTW, thanks to you, Paul and everybody else who supports Samba on OS/2. Thanks to it, I managed to get quite a usable eCS development box under VirtualBox/Linux? (before it, the outdated IBM LAN Server/Peer? sucked greatly since few to no Linux apps could correctly work with shares it provided: constant permission/timestamp/oplock problems and so on).

comment:6 Changed 15 years ago by Herwig Bauernfeind

Resolution: fixed
Status: newclosed

This issue has been fixed in rc7 or better.

comment:7 Changed 15 years ago by Herwig Bauernfeind

Milestone: Samba Server for eCS (OS/2) 1.0.1WarpIN archive
Note: See TracTickets for help on using tickets.