summaryrefslogtreecommitdiffstats
path: root/rules/samba.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2007-10-16 22:55:28 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2007-10-16 22:55:28 +0000
commit78e75473173992cd21c904537e4c07ea89233299 (patch)
tree844970975608209e0bee99ed69a917f10c58ec49 /rules/samba.in
parent266eb3d1bb6a277c9ebf647c2d0d80d1e661d321 (diff)
downloadptxdist-78e75473173992cd21c904537e4c07ea89233299.tar.gz
ptxdist-78e75473173992cd21c904537e4c07ea89233299.tar.xz
* samba: backport from TechPool
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7435 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/samba.in')
-rw-r--r--rules/samba.in70
1 files changed, 16 insertions, 54 deletions
diff --git a/rules/samba.in b/rules/samba.in
index 8ad63c137..6762fe503 100644
--- a/rules/samba.in
+++ b/rules/samba.in
@@ -85,7 +85,6 @@ menuconfig SAMBA
config SAMBA_COMMON
bool
depends on SAMBA
- default y
prompt "Samba common files"
help
Install smbd daemon on target.
@@ -94,72 +93,37 @@ menuconfig SAMBA
bool
depends on SAMBA
depends on SAMBA_SERVER
- 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
-
+ 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
config SAMBA_SERVER
bool
depends on SAMBA
select SAMBA_COMMON
prompt "Samba server"
help
- Installs samba server. ATTENTION: You need rw access to your
- rootfs before starting the samba server!
+ Installs samba server
- config ROOTFS_ETC_SAMBA_SECRETS_USER
+ config ROOTFS_ETC_INITD_SAMBA
bool
depends on SAMBA
depends on SAMBA_SERVER
- prompt "User defined smb password Database"
+ select BB_CONFIG_START_STOP_DAEMON if BUSYBOX
+ default y
+ prompt "Samba Server startup script"
help
- 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.
+ Startup script for samba
- config ROOTFS_ETC_INITD_SAMBA
+ config ROOTFS_ETC_SAMBA_SECRETS
bool
depends on SAMBA
depends on SAMBA_SERVER
- select BB_CONFIG_START_STOP_DAEMON if BUSYBOX
default y
- 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
+ prompt "Userdefined Samba Password database"
+ help
+ installs projectroot/etc/samba/secrets.tdb
config SAMBA_CLIENT
bool
@@ -188,10 +152,8 @@ menuconfig SAMBA
config SAMBA_CUPS
bool
depends on SAMBA
- depends on BROKEN
prompt "cups support"
help
Turn on CUPS support
-# TODO: We might want to provide alternative smb.conf file for i.E. other security
-# level
+# FIXME: we might want smbfs also