On Mon, 3 Dec 2001, Darrell May wrote:
> > Gordon Rowell <[EMAIL PROTECTED]> said: > > > Better yet, set the admin password from the console or manager. > > I can confirm that is is an error in the console code. Not quite. It's not an error in the console code. > After a completely fresh install, the console does not populate > /etc/smbpasswd. Confirmed here. This shows only that the console does not populate /etc/smbpasswd, not that there is an error in the console code. > As shown below, it is a zero byte file: > > [root@sme5 /root]# ll /etc/smbpasswd > -rw-r--r-- 1 admin root 0 Dec 2 23:29 /etc/smbpasswd > > I can confirm that the server-manager > Password panel does correctly > update /etc/smbpasswd: > > [root@sme5 /root]# ll /etc/smbpasswd > -rw------- 1 admin root 104 Dec 2 23:40 /etc/smbpasswd > > I wonder if it is something to do with your console password checking > code? No. Gordon correctly guessed the problem. The conf-samba action was removed from the post-install event, since samba is not started until after the console runs, and samba is configured by the bootstrap-console-save and console-save events. However this means that there is no valid /etc/smb.conf file when the console runs, and that prevents smbpasswd from running properly. Re-instating conf-samba in the post-install event fixes the problem. Thanks for the report. -- Charlie Brady [EMAIL PROTECTED] Lead Product Developer Network Server Solutions Group http://www.e-smith.com/ Mitel Networks Corporation http://www.mitel.com/ Phone: +1 (613) 368 4376 or 564 8000 Fax: +1 (613) 564 7739 -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
