Bug 5291 - new sanity check for testparm
Summary: new sanity check for testparm
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.28
Hardware: x86 Linux
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 14:39 UTC by Remko Christ
Modified: 2008-02-29 15:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remko Christ 2008-02-29 14:39:16 UTC
the long version:
after spending a good couple of hours of setting up samba with a fedora ds ldap backend, shares seemed to behave strangely.
I could only add directories but not files....
checked rights on shares, double checked em and they seemed fine. All users resolved ok in the LDAP directory (and authenticated  ok).
Since I based my smb.conf on my old one i was sure that share definitions were allright. I decided to browse my server from a Windows PC and all it showed me were shared printers.....

short version:
the 'error' was a global definition of:
printable = yes
in my 'old' smb.conf this didn't affect my shares (the only difference seems to be that i now connect to an LDAP backend).

solution:
print something when testparm is run (when a global 'printable = yes' has been found):

> You have defined 'printable = yes' on a global level (all your shares will be seen as printers). Are you sure this is what you want?
Comment 1 Gerald (Jerry) Carter (dead mail address) 2008-02-29 15:05:54 UTC
That is a valid configuration for some servers.