Bug 8695 - Setting share parameters in [global] does not set defaults for shares
Summary: Setting share parameters in [global] does not set defaults for shares
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 regression (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks: 8622
  Show dependency treegraph
 
Reported: 2012-01-10 20:45 UTC by Volker Lendecke
Modified: 2012-01-17 20:20 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 Volker Lendecke 2012-01-10 20:45:23 UTC
In 3.6, setting

[global]
aio read size = 1
[tmp]
path = /tmp

made the aio read size setting in [global], which is a per-share parameter the default for all shares. This does not work in master:


> bin/testparm
Load smb config files from /home/vlendec/git/inst/etc/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[tmp]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        idmap config * : backend = tdb
        aio read size = 1

[tmp]   
        path = /tmp
        allocation roundup size = 0
        aio read size = 0
        block size = 0


This is a must-fix before we do the next release, this will break a TON of configurations.

Volker
Comment 1 Volker Lendecke 2012-01-17 20:20:02 UTC
Fixed with a325e7b560502ce43c78a7c6c8d692e872f262ae