代码搜索:SAMBA
找到约 3,600 项符合「SAMBA」的源代码
代码结果 3,600
www.eeworm.com/read/273665/4201071
templates samba.templates
Template: samba/generate_smbpasswd
Type: boolean
Default: false
_Description: Create samba password database, /var/lib/samba/passdb.tdb?
To be compatible with the defaults in most versions of Windows
www.eeworm.com/read/273665/4201077
init samba.init
#!/bin/sh
#
# Start/stops the Samba daemons (nmbd and smbd).
#
#
# Defaults
RUN_MODE="daemons"
# Reads config file (will override defaults above)
[ -r /etc/default/samba ] && . /etc/default/samba
N
www.eeworm.com/read/273665/4201079
logrotate samba.logrotate
/var/log/samba/log.smbd {
weekly
missingok
rotate 7
postrotate
invoke-rc.d --quiet samba reload > /dev/null
endscript
compress
notifempty
}
/var/log/samba/log.nmbd {
weekly
missingok
rota
www.eeworm.com/read/273665/4201087
patch samba.patch
diff -uNr samba-3.0.0beta1.orig/source/client/smbmount.c samba-3.0.0beta1/source/client/smbmount.c
--- samba-3.0.0beta1.orig/source/client/smbmount.c 2003-06-07 12:57:32.000000000 -0500
+++ samba-3.0.
www.eeworm.com/read/273665/4201109
postinst samba.postinst
#!/bin/sh -e
#
# Post-installation script for the Samba package for Debian GNU/Linux
#
#
case "$1" in
configure)
# continue below
;;
abort-upgrade|abort-remove|abort-deconfigure)
exit 0
;;
www.eeworm.com/read/273665/4201119
config samba.config
#/bin/sh -e
#
#
# Source debconf library.
. /usr/share/debconf/confmodule
# Function for grabbing a parameter from an smb.conf file
smbconf_retr() {
if [ -z "$1" ]; then
return
fi
if [ -n "$2"
www.eeworm.com/read/273665/4201126
dirs samba.dirs
etc/samba
usr/bin
usr/sbin
usr/lib/samba
var/log/samba
var/lib/samba/printers/W32X86
var/lib/samba/printers/WIN40
var/run/samba
var/cache/samba
www.eeworm.com/read/273665/4201131
prerm samba.prerm
#!/bin/sh -e
if [ "$1" = upgrade -a -n "$2" ] && dpkg --compare-versions "$2" lt 2.99 \
&& [ -e /var/lib/samba/passdb.tdb -a ! -e /etc/samba/smbpasswd ]
then
pdbedit -i tdbsam -e smbpasswd
rm -f
www.eeworm.com/read/273665/4201135
postrm samba.postrm
#!/bin/sh -e
#
#
if [ "$1" = purge ]; then
# Remove Samba's state files, both volatile and non-volatile
rm -Rf /var/run/samba/ /var/cache/samba/ /var/lib/samba
# Remove log files
rm -Rf /var/lo