Bug 74678 - Samba config bad when no interfaces present in service
Samba config bad when no interfaces present in service
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: clumanager (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Lon Hohberger
Depends On:
  Show dependency treegraph
Reported: 2002-09-30 12:38 EDT by Lon Hohberger
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-09-30 12:40:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Lon Hohberger 2002-09-30 12:38:29 EDT
Description of Problem:
When a service is created without at least one service IP address, SMB shares on
that service do not work.  This is because the default smb.conf.<sharename> is
generated with the expectation that at least one IP address in the service

So, instead of the line:

        interfaces =

this is placed in the default smb.conf.<sharename>:

        interfaces = NULL

Version-Release number of selected component (if applicable): 1.0.11

How Reproducible: Always.

Steps to Reproduce: Add a service with no IP addresses and one disk device.  Be
sure to enable samba sharing.

Actual Results: Share does not work properly because nmbd does not start.

Expected Results: Clean start; working share.
Comment 1 Lon Hohberger 2002-09-30 12:40:25 EDT
This can be fixed one of two ways:

(1) Don't specify a Samba share without specifying an IP address.
(2) Remove the following line from smb.conf.<sharename>:

        interfaces = NULL

Cluadmin explicitly notes to modify the configuration file when it is first created.
Comment 2 Lon Hohberger 2002-11-12 08:43:42 EST
Since this is a user/configuration error, I won't fix this unless it becomes a
real problem.

Note You need to log in before you can comment on or make changes to this bug.