Comment 3 for bug 147276

Revision history for this message
Oleksij Rempel (olerem) wrote : Re: smb.conf doesn't include dhcp.conf by default

Hmm... how this issue should be fixed?
- debconf can't and should not ask user in desktop install. This mean or debconf should know, we making desktop install and not server install. or we need an other package which depend for example on ubuntu-desktop.deb and can configure samba to use dhcp.

- in first example, we need one more entry in /etc/lsb-release like "DISTRIB_CONFIG="Ubuntu Desktop"". and one script in debconf check it.

- in a second, we need package which will parse smb.conf and correctly add it correct place and not brake in changed .conf. or wee need to make smb.conf from beginning modular. for example:
-----------------------------------------------------------------------------------------
smb.conf:
.......
include = /etc/samba/extras.conf
......

extras.conf:
......
include = /etc/samba/dhcp.conf

this file will be empty after normal install and after installing samba-use-dhcp.deb will include dhcp.conf
-----------------------------------------------------------------------------------------
But this is too match tricky, to install one more conf to include other conf.

Any other suggestions... it will be nice to fix it for hardy.