[Samba] Fwd: Can't understand differences between testparm output and smb.conf
Rowland penny
rpenny at samba.org
Thu Jan 21 15:28:27 UTC 2016
On 21/01/16 15:10, Andres Tarallo wrote:
> I'm running Samba 4.3.3-3.1 on SLES 11. I'm debugging a configuration as
> Domain member.
>
> I've configured some read only shares. This is my configuration in smb.conf
>
> [to_company]
> comment = Tray to company
> path = /home/company/interfaces/bandejas/to_company
> browseable = yes
> guest ok = yes
> writeable = no
> force user = company
> force group = cust_mis
>
> When I run testparm I get:
>
> [to_company]
> comment = Tray to company
> path = /home/company/interfaces/bandejas/to_company
> force user = company
> force group = cust_mis
> group = cust_mis
> guest ok = Yes
>
> Any ideas will be appreciated.
>
> Andrés
Fairly obvious really, 'browseable = yes' & 'writeable = no' are both
default values and as such are not shown by 'testparm', you could use
'-v' , this will show them (along with every other default value).
Rowland
More information about the samba
mailing list