summaryrefslogtreecommitdiffstats
path: root/rules/samba.in
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2007-10-17 10:36:59 +0000
committerLuotao Fu <l.fu@pengutronix.de>2007-10-17 10:36:59 +0000
commitf4c2b500ac1fc94338c460b253ec2b1a12a9246d (patch)
tree9cf2a1cb8702c7eacc4f8554ed0c7da03451acef /rules/samba.in
parentd7332140e8607529ece78fc0ef4695a95b868879 (diff)
downloadptxdist-f4c2b500ac1fc94338c460b253ec2b1a12a9246d.tar.gz
ptxdist-f4c2b500ac1fc94338c460b253ec2b1a12a9246d.tar.xz
fixed samba.in
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7439 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/samba.in')
-rw-r--r--rules/samba.in68
1 files changed, 52 insertions, 16 deletions
diff --git a/rules/samba.in b/rules/samba.in
index 6762fe503..7184059b1 100644
--- a/rules/samba.in
+++ b/rules/samba.in
@@ -85,6 +85,7 @@ menuconfig SAMBA
config SAMBA_COMMON
bool
depends on SAMBA
+ default y
prompt "Samba common files"
help
Install smbd daemon on target.
@@ -93,37 +94,72 @@ menuconfig SAMBA
bool
depends on SAMBA
depends on SAMBA_SERVER
- default y
- prompt "Samba config files"
- help
- This uses a user defined config file. Will use
- the file out of projectroot/etc/samba/smb.conf
+ choice
+ prompt "Kind of samba config file"
+ depends on SAMBA
+ depends on SAMBA_COMMON
+ default ROOTFS_ETC_SAMBA_CONFIG_DEFAULT
+
+ config ROOTFS_ETC_SAMBA_CONFIG_DEFAULT
+ bool
+ prompt "Use generic"
+ help
+ Installs a generic /etc/samba/smb.conf file.
+
+ config ROOTFS_ETC_SAMBA_CONFIG_USER
+ bool
+ prompt "User defined"
+ help
+ This uses a user defined config file. Will use
+ the file out of projectroot/etc/samba/smb.conf
+ endchoice
+
config SAMBA_SERVER
bool
depends on SAMBA
select SAMBA_COMMON
prompt "Samba server"
help
- Installs samba server
+ Installs samba server. ATTENTION: You need rw access to your
+ rootfs before starting the samba server!
- config ROOTFS_ETC_INITD_SAMBA
+ config ROOTFS_ETC_SAMBA_SECRETS_USER
bool
depends on SAMBA
depends on SAMBA_SERVER
- select BB_CONFIG_START_STOP_DAEMON if BUSYBOX
- default y
- prompt "Samba Server startup script"
+ prompt "User defined smb password Database"
help
- Startup script for samba
+ This will install the /etc/samba/secrets.tdb from
+ projectroot/etc/samba/secrets.tdb. If you wish to run samba
+ in user security level and use you own userdatabase. You will
+ have to enable this. If you say n here. The samba server will
+ generates his own secrets.tdb after initialisation.
- config ROOTFS_ETC_SAMBA_SECRETS
+ config ROOTFS_ETC_INITD_SAMBA
bool
depends on SAMBA
depends on SAMBA_SERVER
+ select BB_CONFIG_START_STOP_DAEMON if BUSYBOX
default y
- prompt "Userdefined Samba Password database"
- help
- installs projectroot/etc/samba/secrets.tdb
+ choice
+ prompt "Kind of samba start script"
+ depends on SAMBA
+ depends on SAMBA_SERVER
+ default ROOTFS_ETC_INITD_SAMBA_DEFAULT
+
+ config ROOTFS_ETC_INITD_SAMBA_DEFAULT
+ bool
+ prompt "Use generic"
+ help
+ Installs a generic /etc/init.d/samba file.
+
+ config ROOTFS_ETC_INITD_SAMBA_USER
+ bool
+ prompt "User defined"
+ help
+ This uses a user defined init file. Will use
+ the file out of projectroot/etc/init.d/samba
+ endchoice
config SAMBA_CLIENT
bool
@@ -152,8 +188,8 @@ menuconfig SAMBA
config SAMBA_CUPS
bool
depends on SAMBA
+ depends on BROKEN
prompt "cups support"
help
Turn on CUPS support
-# FIXME: we might want smbfs also