diff options
| author | Chunrong Guo <b40290@freescale.com> | 2012-03-12 15:06:08 +0000 |
|---|---|---|
| committer | Matthew McClintock <msm@freescale.com> | 2012-03-12 13:24:15 -0500 |
| commit | 85027ad120fd2c322ae91cf29d194f647eced6f3 (patch) | |
| tree | 3c477fdc0d14072ed97d11bb203bf83b6ebd0b34 /recipes-append | |
| parent | ed62691918d6570aee146de7f4ec09430d8b6d40 (diff) | |
| download | meta-fsl-ppc-85027ad120fd2c322ae91cf29d194f647eced6f3.tar.gz | |
Overide smb configuration file
Signed-off-by: Chunrong Guo <b40290@freescale.com>
Diffstat (limited to 'recipes-append')
| -rw-r--r-- | recipes-append/samba/files/smb.conf | 22 | ||||
| -rw-r--r-- | recipes-append/samba/samba_3.5.6.bbappend | 4 |
2 files changed, 26 insertions, 0 deletions
diff --git a/recipes-append/samba/files/smb.conf b/recipes-append/samba/files/smb.conf new file mode 100644 index 0000000..c13df31 --- /dev/null +++ b/recipes-append/samba/files/smb.conf | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | [global] | ||
| 2 | interfaces = eth0, eth1 | ||
| 3 | map to guest = Bad User | ||
| 4 | client NTLMv2 auth = Yes | ||
| 5 | client lanman auth = No | ||
| 6 | client plaintext auth = No | ||
| 7 | max xmit = 2097152 | ||
| 8 | socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=262142 SO_SNDBUF=262142 | ||
| 9 | dns proxy = No | ||
| 10 | use sendfile = Yes | ||
| 11 | guest account = root | ||
| 12 | pre-reply write = No | ||
| 13 | min receivefile size = 1 | ||
| 14 | dos charset = UTF-8 | ||
| 15 | unix charset = UTF-8 | ||
| 16 | display charset = UTF-8 | ||
| 17 | |||
| 18 | [public] | ||
| 19 | path = /smbshare | ||
| 20 | read only = No | ||
| 21 | guest ok = Yes | ||
| 22 | |||
diff --git a/recipes-append/samba/samba_3.5.6.bbappend b/recipes-append/samba/samba_3.5.6.bbappend new file mode 100644 index 0000000..7277e47 --- /dev/null +++ b/recipes-append/samba/samba_3.5.6.bbappend | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | FILEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
| 2 | |||
| 3 | PR .= "+${DISTRO}.0" | ||
| 4 | |||
