After making some adjustments to Samba via the Control Center, the System Settings | Server Settings | Samba (my preferred) no longer will display. Can I fix this or do I need to reinstall Centos 4.4? Todd -- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523
On Sat, 2007-01-06 at 12:56 -0800, Todd Cary wrote:> After making some adjustments to Samba via the Control Center, the > System Settings | Server Settings | Samba (my preferred) no longer will > display. > > Can I fix this or do I need to reinstall Centos 4.4? >I've never used that thing (the file name is system-config-samba) as it can mangle the /etc/samba/smb.conf file .... I have never liked system- config-samba. You shouldn't reinstall ... that program only works half the time anyway ... if it was not in the upstream distro and if we were not trying to mirror the upstream distro as closely as possible I would have taken it out already. Your best bet is to learn how to edit that file (/etc/samba/smb.conf) by hand. You can test the file for errors with this command (as root) from the command line: testparm If there is an error with the smb.conf file that should show it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20070106/a0aad999/attachment-0001.sig>
Johnny - Thanks for info! Fortunately I have a printout of smb.conf plus Samba working on another Centos server. My needs fall into that no man's land between the system oriented users and the newbie who bought his first computer. About once a year I need to put a new server online or make some tweaks. The rest of the time the server(s) just run while I forget everything I may have known (except for those things I wrote down). It is curious that "system-config-samba" no longer works and smb.conf is correct (as well as Samba is working). "find / -name system-config-samba" does bring up several items, but I do not know enough to figure out what may be amiss. Todd Johnny Hughes wrote:> On Sat, 2007-01-06 at 12:56 -0800, Todd Cary wrote: > >> After making some adjustments to Samba via the Control Center, the >> System Settings | Server Settings | Samba (my preferred) no longer will >> display. >> >> Can I fix this or do I need to reinstall Centos 4.4? >> >> > > I've never used that thing (the file name is system-config-samba) as it > can mangle the /etc/samba/smb.conf file .... I have never liked system- > config-samba. > > > You shouldn't reinstall ... that program only works half the time > anyway ... if it was not in the upstream distro and if we were not > trying to mirror the upstream distro as closely as possible I would have > taken it out already. > > Your best bet is to learn how to edit that file (/etc/samba/smb.conf) by > hand. > > You can test the file for errors with this command (as root) from the > command line: > > testparm > > If there is an error with the smb.conf file that should show it. > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523
Johnny Hughes wrote:> On Sat, 2007-01-06 at 12:56 -0800, Todd Cary wrote: >> After making some adjustments to Samba via the Control Center, the >> System Settings | Server Settings | Samba (my preferred) no longer will >> display. >> >> Can I fix this or do I need to reinstall Centos 4.4? >> > > I've never used that thing (the file name is system-config-samba) as it > can mangle the /etc/samba/smb.conf file .... I have never liked system- > config-samba. > > > You shouldn't reinstall ... that program only works half the time > anyway ... if it was not in the upstream distro and if we were not > trying to mirror the upstream distro as closely as possible I would have > taken it out already. > > Your best bet is to learn how to edit that file (/etc/samba/smb.conf) by > hand. > > You can test the file for errors with this command (as root) from the > command line:I think Johnny's comments apply to several of the RH configuration tools. They're fairly basic and seem to me to be present just so that some beancounter can check a box, "Got that: [X]." I have over 20 system-config-* tools installed; only one (system-config-network) seems useful, and the TUI version of that's broken. The LVM and SELinux tools might be useful, I've never had their need. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list