RMerl/asuswrt-merlin — pull request #37 by DHowett (2012-08-07 00:41:13+00:00)
Title: Fix the auxiliary Samba modes.

`st_samba_mode == 2` is incorrectly handled as being a `USER` sharing mode, but the smb.conf generator writes no authentication lines and claims that it is `samba mode: share`. `st_samba_mode == 3` is the `USER` sharing mode that should be coupled with mode 4. (1/2 are share, 3/4 are user.)

This fixes the aforementioned discrepancy, making `st_samba_mode == 2` a useful configuration: shares are accessible without authentication, and they are granular at the folder level instead of at the disk level.