mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r731: add the current debian directory for debian stable (woody) targeted releases
(This used to be commit 4b9f891319
)
This commit is contained in:
parent
c32c36d96f
commit
658d069b16
397
packaging/Debian/debian-stable/README.build
Normal file
397
packaging/Debian/debian-stable/README.build
Normal file
@ -0,0 +1,397 @@
|
||||
From: Steve Langasek <vorlon@netexpress.net>
|
||||
To: "Eloy A. Paris" <eloy.paris@usa.net>
|
||||
Date: Thu, 23 Aug 2001 21:20:05 -0500 (CDT)
|
||||
Subject: Re: autobuilder failure on arm for samba-2.2.1a-3
|
||||
In-Reply-To: <20010823100906.A1092@antenas>
|
||||
Message-ID: <Pine.LNX.4.30.0108231744090.11071-100000@tennyson.netexpress.net>
|
||||
MIME-Version: 1.0
|
||||
Content-Type: TEXT/PLAIN; charset=US-ASCII
|
||||
|
||||
On Thu, 23 Aug 2001, Eloy A. Paris wrote:
|
||||
|
||||
> On Wed, Aug 22, 2001 at 03:01:01PM -0500, Steve Langasek wrote:
|
||||
|
||||
> > Hmm. Maybe the thing to do is to focus on getting config.cache (not log,
|
||||
> > cache) support into the package. Issues like this are frequent enough with
|
||||
> > Samba, and the configure tests add enough time to the build process, that I
|
||||
> > think there'd be much benefit in being able to step past a lot of these.
|
||||
|
||||
> Uhhmmm... I don't know, I guess I don't like much the idea of
|
||||
> maintaining a config.cache. It looks like extra work plus a
|
||||
> compilation process that is "synthetic" or atificial. What happens if
|
||||
> the Samba Team adds a new test, or modifies the configure script, will
|
||||
> the config.cache pick those up?
|
||||
|
||||
> In any case, you are the expert, so if you think that's the way to go,
|
||||
> and the burden far exceeds the problems we have right now I say let's
|
||||
> go for it. I am not well versed on autoconf and the configure process,
|
||||
> that's all...
|
||||
|
||||
Well, I'll attach my work to the bottom of this message and let you judge it
|
||||
for yourself.
|
||||
|
||||
The config.cache I'm trying to generate here is not equivalent to what
|
||||
a configure script outputs. The only values I'm including are those which 1)
|
||||
are no-brainers on any glibc-based platform, 2) are questions we need to force
|
||||
a particular value for regardless of the kernel being built against, or 3) are
|
||||
questions about specific bizarre features of proprietary Unices that we'll
|
||||
always get an answer of 'no' to.
|
||||
|
||||
I've removed all of the config.cache variables related to headers, or to
|
||||
checks for particular libraries; I think it's pretty safe to assert that glibc
|
||||
provides basic C functions like select(), setenv(), and waitpid() on all our
|
||||
build targets, but I think it's less safe to assert that they'll always be
|
||||
provided by particular header files.
|
||||
|
||||
So the config.cache won't automatically be updated with answers to new
|
||||
configure tests, but it also doesn't need to in order to be useful. There's
|
||||
really only a handful of variables in there that we /need/ in order to
|
||||
guarantee correctly-built packages, and if you want to leave out everything
|
||||
else, that's perfectly ok too. Everything from the fifth stanza on down is
|
||||
just a build-time speed-up for some of the slower architectures. Well, it
|
||||
also has the fringe benefit that the packages will FAIL to build if someone
|
||||
tries rebuilding for a really bizarre (non-Linux, non-glibc) architecture. I
|
||||
see that as a plus :), you may disagree, but in any case my next trick would
|
||||
be to add a global variable developers can set to bypass the provided
|
||||
config.cache.
|
||||
|
||||
|
||||
It is a little artificial, but the whole point of .debs is to be able to build
|
||||
binaries in a controlled environment. Right now, we don't really have control
|
||||
over what happens in the autobuilders. We have even /less/ control over what
|
||||
happens in a stable release: it's been two weeks now since I built binaries
|
||||
for bug #94380, and they haven't been uploaded to security.d.o yet. I'm
|
||||
guessing they won't be uploaded until Wichert is back from vacation, either --
|
||||
which is fine, but it would be nice if we didn't have to worry about
|
||||
mis-builds by the security team, or about putting the security team to extra
|
||||
trouble after the fact to get packages fixed.
|
||||
|
||||
With a pre-loaded config.cache, we can ensure that bugs of this kind don't
|
||||
happen in woody. We can take the arm autobuilder problem into our own hands,
|
||||
and not have to worry about quirkiness in the build environment. We can even
|
||||
close bug #109773, since we no longer have to worry about detecting the
|
||||
setuid() routines.
|
||||
|
||||
|
||||
So to me, it definitely seems worth it. But you're the maintainer, and I
|
||||
won't ask you to put anything in the package that you're not comfortable with.
|
||||
|
||||
|
||||
> By the way, I think I remember someone was able to build 2.2.x succesfully on
|
||||
> the ARM. If this is the case, could it be that there's something weird
|
||||
> with Phillip's setup?
|
||||
|
||||
It could be. There are arm packages for 2.2.1a-1, so at /some/ point the
|
||||
autobuilder was able to pass the locking test.
|
||||
|
||||
|
||||
> P.S. How did you know about the ARM build problems? I don't see any
|
||||
> bugs about this...
|
||||
|
||||
<http://ftp-master.debian.org/testing/>, follow the links for samba... The
|
||||
exact reference for the arm autobuilder is at
|
||||
<http://buildd.armlinux.org/~buildd/build.php?pkg=samba&ver=2.2.1a-4&arch=arm>.
|
||||
|
||||
Regards,
|
||||
Steve Langasek
|
||||
postmodern programmer
|
||||
|
||||
|
||||
diff -uNrw samba-2.2.1a-bak/debian/changelog samba-2.2.1a/debian/changelog
|
||||
--- samba-2.2.1a-bak/debian/changelog Thu Aug 23 10:27:54 2001
|
||||
+++ samba-2.2.1a/debian/changelog Thu Aug 23 10:28:08 2001
|
||||
@@ -1,3 +1,12 @@
|
||||
+samba (2.2.1a-4.1) unstable; urgency=low
|
||||
+
|
||||
+ * Fix up the build system to avoid needing to run configure as root to
|
||||
+ answer questions we already know the answers to.
|
||||
+ * In the process, make surprising progress towards being able to
|
||||
+ cross-compile the samba packages.
|
||||
+
|
||||
+ -- Steve Langasek <vorlon@debian.org> Wed, 22 Aug 2001 23:35:00 -0500
|
||||
+
|
||||
samba (2.2.1a-4) unstable; urgency=low
|
||||
|
||||
* Fixed typo in smbmount's mount page.
|
||||
diff -uNrw samba-2.2.1a-bak/debian/config.cache samba-2.2.1a/debian/config.cache
|
||||
--- samba-2.2.1a-bak/debian/config.cache Wed Dec 31 18:00:00 1969
|
||||
+++ samba-2.2.1a/debian/config.cache Thu Aug 23 10:28:08 2001
|
||||
@@ -0,0 +1,231 @@
|
||||
+#
|
||||
+# 22 August 2001 Steve Langasek <vorlon@debian.org>
|
||||
+#
|
||||
+# This file is a shell script that caches the results of configure
|
||||
+# tests run on this system so they can be shared between configure
|
||||
+# scripts and configure runs. It is not useful on other systems.
|
||||
+# If it contains results you don't want to keep, you may remove or edit it.
|
||||
+#
|
||||
+# By default, configure uses ./config.cache as the cache file,
|
||||
+# creating it if it does not exist already. You can give configure
|
||||
+# the --cache-file=FILE option to use a different cache file; that is
|
||||
+# what configure does when it calls configure scripts in
|
||||
+# subdirectories, so they share the cache.
|
||||
+# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
||||
+# config.status only pays attention to the cache file if you give it the
|
||||
+# --recheck option to rerun configure.
|
||||
+#
|
||||
+#
|
||||
+# This config.cache file contains a list of acceptable autoconf
|
||||
+# values which can be used in compiling Samba for Debian woody/sid.
|
||||
+#
|
||||
+# Autoconf sorts options alphabetically in its output. This file
|
||||
+# groups options logically.
|
||||
+
|
||||
+
|
||||
+# Load any architecture-specific settings
|
||||
+if [ -n "$DEB_HOST_GNU_TYPE" \
|
||||
+ -a -f ../debian/config.cache.${DEB_HOST_GNU_TYPE} ]; then
|
||||
+ . ../debian/config.cache.${DEB_HOST_GNU_TYPE}
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+# This is at the top because it's most in need of regular tweaking.
|
||||
+# These are options which are supported on 2.4 kernels, but not on 2.2
|
||||
+# kernels.
|
||||
+
|
||||
+samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no}
|
||||
+samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no}
|
||||
+samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=no}
|
||||
+
|
||||
+
|
||||
+# These are present in 2.2 kernels, but not in 2.0...
|
||||
+
|
||||
+samba_cv_have_setresuid=${samba_cv_have_setresuid=yes}
|
||||
+samba_cv_have_setresgid=${samba_cv_have_setresgid=yes}
|
||||
+samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes}
|
||||
+
|
||||
+
|
||||
+# POSIX ACL support not present in Linux 2.2; not allowed in the
|
||||
+# Debian packages, even if present on the build machine.
|
||||
+
|
||||
+ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=no}
|
||||
+
|
||||
+
|
||||
+# Various basic libc/compiler stuff that it's blindingly obvious that
|
||||
+# Linux supports (now watch me get bitten for saying that)
|
||||
+
|
||||
+ac_cv_c_const=${ac_cv_c_const=yes}
|
||||
+ac_cv_c_inline=${ac_cv_c_inline=inline}
|
||||
+samba_cv_volatile=${samba_cv_volatile=yes}
|
||||
+ac_cv_dirent_d_off=${ac_cv_dirent_d_off=yes}
|
||||
+ac_cv_func_bzero=${ac_cv_func_bzero=yes}
|
||||
+ac_cv_func_chmod=${ac_cv_func_chmod=yes}
|
||||
+ac_cv_func_chown=${ac_cv_func_chown=yes}
|
||||
+ac_cv_func_chroot=${ac_cv_func_chroot=yes}
|
||||
+ac_cv_func_connect=${ac_cv_func_connect=yes}
|
||||
+ac_cv_func_dup2=${ac_cv_func_dup2=yes}
|
||||
+ac_cv_func_execl=${ac_cv_func_execl=yes}
|
||||
+ac_cv_func_fchmod=${ac_cv_func_fchmod=yes}
|
||||
+ac_cv_func_fchown=${ac_cv_func_fchown=yes}
|
||||
+ac_cv_func_fstat=${ac_cv_func_fstat=yes}
|
||||
+ac_cv_func_fsync=${ac_cv_func_fsync=yes}
|
||||
+ac_cv_func_ftruncate=${ac_cv_func_ftruncate=yes}
|
||||
+ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
|
||||
+ac_cv_func_getgrent=${ac_cv_func_getgrent=yes}
|
||||
+ac_cv_func_getgrnam=${ac_cv_func_getgrnam=yes}
|
||||
+ac_cv_func_getspnam=${ac_cv_func_getspnam=yes}
|
||||
+ac_cv_func_glob=${ac_cv_func_glob=yes}
|
||||
+ac_cv_func_grantpt=${ac_cv_func_grantpt=yes}
|
||||
+ac_cv_func_initgroups=${ac_cv_func_initgroups=yes}
|
||||
+ac_cv_func_llseek=${ac_cv_func_llseek=yes}
|
||||
+ac_cv_func_memcmp_clean=${ac_cv_func_memcmp_clean=yes}
|
||||
+ac_cv_func_memmove=${ac_cv_func_memmove=yes}
|
||||
+ac_cv_func_memset=${ac_cv_func_memset=yes}
|
||||
+ac_cv_func_mktime=${ac_cv_func_mktime=yes}
|
||||
+ac_cv_func_pipe=${ac_cv_func_pipe=yes}
|
||||
+ac_cv_func_poll=${ac_cv_func_poll=yes}
|
||||
+ac_cv_func_pread=${ac_cv_func_pread=yes}
|
||||
+ac_cv_func_pwrite=${ac_cv_func_pwrite=yes}
|
||||
+ac_cv_func_rand=${ac_cv_func_rand=yes}
|
||||
+ac_cv_func_random=${ac_cv_func_random=yes}
|
||||
+ac_cv_func_readlink=${ac_cv_func_readlink=yes}
|
||||
+ac_cv_func_rename=${ac_cv_func_rename=yes}
|
||||
+ac_cv_func_select=${ac_cv_func_select=yes}
|
||||
+ac_cv_func_setenv=${ac_cv_func_setenv=yes}
|
||||
+ac_cv_func_setgroups=${ac_cv_func_setgroups=yes}
|
||||
+ac_cv_func_setsid=${ac_cv_func_setsid=yes}
|
||||
+ac_cv_func_sigaction=${ac_cv_func_sigaction=yes}
|
||||
+ac_cv_func_sigblock=${ac_cv_func_sigblock=yes}
|
||||
+ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes}
|
||||
+ac_cv_func_snprintf=${ac_cv_func_snprintf=yes}
|
||||
+ac_cv_func_srand=${ac_cv_func_srand=yes}
|
||||
+ac_cv_func_srandom=${ac_cv_func_srandom=yes}
|
||||
+ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
|
||||
+ac_cv_func_strchr=${ac_cv_func_strchr=yes}
|
||||
+ac_cv_func_strdup=${ac_cv_func_strdup=yes}
|
||||
+ac_cv_func_strerror=${ac_cv_func_strerror=yes}
|
||||
+ac_cv_func_strftime=${ac_cv_func_strftime=yes}
|
||||
+ac_cv_func_strpbrk=${ac_cv_func_strpbrk=yes}
|
||||
+ac_cv_func_strtoul=${ac_cv_func_strtoul=yes}
|
||||
+ac_cv_func_symlink=${ac_cv_func_symlink=yes}
|
||||
+ac_cv_func_usleep=${ac_cv_func_usleep=yes}
|
||||
+ac_cv_func_utime=${ac_cv_func_utime=yes}
|
||||
+ac_cv_func_utimes=${ac_cv_func_utimes=yes}
|
||||
+ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes}
|
||||
+ac_cv_func_waitpid=${ac_cv_func_waitpid=yes}
|
||||
+ac_cv_type_ino_t=${ac_cv_type_ino_t=yes}
|
||||
+ac_cv_type_mode_t=${ac_cv_type_mode_t=yes}
|
||||
+ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
|
||||
+ac_cv_type_size_t=${ac_cv_type_size_t=yes}
|
||||
+ac_cv_type_uid_t=${ac_cv_type_uid_t=yes}
|
||||
+samba_cv_socklen_t=${samba_cv_socklen_t=yes}
|
||||
+
|
||||
+# Yes, we know Linux supports fcntl locking. Just ignore
|
||||
+# any errors caused by building on an NFS mount.
|
||||
+samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes}
|
||||
+
|
||||
+
|
||||
+# smbwrapper doesn't work because the glibc maintainers don't want
|
||||
+# to support transparent userland VFS. We might as well preempt
|
||||
+# any checks for shadowed symbols that are only useful for smbwrapper.
|
||||
+
|
||||
+ac_cv_func___acl=${ac_cv_func___acl=no}
|
||||
+ac_cv_func__acl=${ac_cv_func__acl=no}
|
||||
+ac_cv_func___chdir=${ac_cv_func___chdir=no}
|
||||
+ac_cv_func__chdir=${ac_cv_func__chdir=no}
|
||||
+ac_cv_func___close=${ac_cv_func___close=no}
|
||||
+ac_cv_func__close=${ac_cv_func__close=no}
|
||||
+ac_cv_func___closedir=${ac_cv_func___closedir=no}
|
||||
+ac_cv_func__closedir=${ac_cv_func__closedir=no}
|
||||
+ac_cv_func___dup=${ac_cv_func___dup=no}
|
||||
+ac_cv_func__dup=${ac_cv_func__dup=no}
|
||||
+ac_cv_func___dup2=${ac_cv_func___dup2=no}
|
||||
+ac_cv_func__dup2=${ac_cv_func__dup2=no}
|
||||
+ac_cv_func___facl=${ac_cv_func___facl=no}
|
||||
+ac_cv_func__facl=${ac_cv_func__facl=no}
|
||||
+ac_cv_func___fchdir=${ac_cv_func___fchdir=no}
|
||||
+ac_cv_func__fchdir=${ac_cv_func__fchdir=no}
|
||||
+ac_cv_func___fcntl=${ac_cv_func___fcntl=no}
|
||||
+ac_cv_func__fcntl=${ac_cv_func__fcntl=no}
|
||||
+ac_cv_func___fork=${ac_cv_func___fork=no}
|
||||
+ac_cv_func__fork=${ac_cv_func__fork=no}
|
||||
+ac_cv_func___fstat=${ac_cv_func___fstat=no}
|
||||
+ac_cv_func__fstat=${ac_cv_func__fstat=no}
|
||||
+ac_cv_func___fstat64=${ac_cv_func___fstat64=no}
|
||||
+ac_cv_func__fstat64=${ac_cv_func__fstat64=no}
|
||||
+ac_cv_func___fxstat=${ac_cv_func___fxstat=no}
|
||||
+ac_cv_func___getcwd=${ac_cv_func___getcwd=no}
|
||||
+ac_cv_func__getcwd=${ac_cv_func__getcwd=no}
|
||||
+ac_cv_func___getdents=${ac_cv_func___getdents=no}
|
||||
+ac_cv_func__getdents=${ac_cv_func__getdents=no}
|
||||
+ac_cv_func___llseek=${ac_cv_func___llseek=no}
|
||||
+ac_cv_func___sys_llseek=${ac_cv_func___sys_llseek=no}
|
||||
+ac_cv_func__llseek=${ac_cv_func__llseek=no}
|
||||
+ac_cv_func___lseek=${ac_cv_func___lseek=no}
|
||||
+ac_cv_func__lseek=${ac_cv_func__lseek=no}
|
||||
+ac_cv_func___lstat=${ac_cv_func___lstat=no}
|
||||
+ac_cv_func__lstat=${ac_cv_func__lstat=no}
|
||||
+ac_cv_func___lstat64=${ac_cv_func___lstat64=no}
|
||||
+ac_cv_func__lstat64=${ac_cv_func__lstat64=no}
|
||||
+ac_cv_func___lxstat=${ac_cv_func___lxstat=no}
|
||||
+ac_cv_func___open=${ac_cv_func___open=no}
|
||||
+ac_cv_func__open=${ac_cv_func__open=no}
|
||||
+ac_cv_func___open64=${ac_cv_func___open64=no}
|
||||
+ac_cv_func__open64=${ac_cv_func__open64=no}
|
||||
+ac_cv_func___opendir=${ac_cv_func___opendir=no}
|
||||
+ac_cv_func__opendir=${ac_cv_func__opendir=no}
|
||||
+ac_cv_func___pread=${ac_cv_func___pread=no}
|
||||
+ac_cv_func__pread=${ac_cv_func__pread=no}
|
||||
+ac_cv_func___pread64=${ac_cv_func___pread64=no}
|
||||
+ac_cv_func__pread64=${ac_cv_func__pread64=no}
|
||||
+ac_cv_func___pwrite=${ac_cv_func___pwrite=no}
|
||||
+ac_cv_func__pwrite=${ac_cv_func__pwrite=no}
|
||||
+ac_cv_func___pwrite64=${ac_cv_func___pwrite64=no}
|
||||
+ac_cv_func__pwrite64=${ac_cv_func__pwrite64=no}
|
||||
+ac_cv_func___read=${ac_cv_func___read=no}
|
||||
+ac_cv_func__read=${ac_cv_func__read=no}
|
||||
+ac_cv_func___readdir=${ac_cv_func___readdir=no}
|
||||
+ac_cv_func__readdir=${ac_cv_func__readdir=no}
|
||||
+ac_cv_func___readdir64=${ac_cv_func___readdir64=no}
|
||||
+ac_cv_func__readdir64=${ac_cv_func__readdir64=no}
|
||||
+ac_cv_func___seekdir=${ac_cv_func___seekdir=no}
|
||||
+ac_cv_func__seekdir=${ac_cv_func__seekdir=no}
|
||||
+ac_cv_func___stat=${ac_cv_func___stat=no}
|
||||
+ac_cv_func__stat=${ac_cv_func__stat=no}
|
||||
+ac_cv_func___stat64=${ac_cv_func___stat64=no}
|
||||
+ac_cv_func__stat64=${ac_cv_func__stat64=no}
|
||||
+ac_cv_func___telldir=${ac_cv_func___telldir=no}
|
||||
+ac_cv_func__telldir=${ac_cv_func__telldir=no}
|
||||
+ac_cv_func___write=${ac_cv_func___write=no}
|
||||
+ac_cv_func__write=${ac_cv_func__write=no}
|
||||
+ac_cv_func___xstat=${ac_cv_func___xstat=no}
|
||||
+
|
||||
+
|
||||
+
|
||||
+# Miscellaneous stuff that isn't, and shouldn't be, available
|
||||
+# in Debian. Those interested in building debs for other systems may
|
||||
+# need to remove some of these defines.
|
||||
+
|
||||
+ac_cv_func_bigcrypt=${ac_cv_func_bigcrypt=no}
|
||||
+ac_cv_func_crypt16=${ac_cv_func_crypt16=no}
|
||||
+ac_cv_func_getauthuid=${ac_cv_func_getauthuid=no}
|
||||
+ac_cv_func_getprpwnam=${ac_cv_func_getprpwnam=no}
|
||||
+ac_cv_func_getpwanam=${ac_cv_func_getpwanam=no}
|
||||
+ac_cv_func_putprpwnam=${ac_cv_func_putprpwnam=no}
|
||||
+ac_cv_func_rdchk=${ac_cv_func_rdchk=no}
|
||||
+ac_cv_func_set_auth_parameters=${ac_cv_func_set_auth_parameters=no}
|
||||
+ac_cv_func_setgidx=${ac_cv_func_setgidx=no}
|
||||
+ac_cv_func_setluid=${ac_cv_func_setluid=no}
|
||||
+ac_cv_func_setpriv=${ac_cv_func_setpriv=no}
|
||||
+ac_cv_func_setuidx=${ac_cv_func_setuidx=no}
|
||||
+ac_cv_lib_sec_bigcrypt=${ac_cv_lib_sec_bigcrypt=no}
|
||||
+ac_cv_lib_sec_getprpwnam=${ac_cv_lib_sec_getprpwnam=no}
|
||||
+ac_cv_lib_sec_getspnam=${ac_cv_lib_sec_getspnam=no}
|
||||
+ac_cv_lib_sec_putprpwnam=${ac_cv_lib_sec_putprpwnam=no}
|
||||
+ac_cv_lib_sec_set_auth_parameters=${ac_cv_lib_sec_set_auth_parameters=no}
|
||||
+ac_cv_lib_security_bigcrypt=${ac_cv_lib_security_bigcrypt=no}
|
||||
+ac_cv_lib_security_getprpwnam=${ac_cv_lib_security_getprpwnam=no}
|
||||
+ac_cv_lib_security_getspnam=${ac_cv_lib_security_getspnam=no}
|
||||
+ac_cv_lib_security_putprpwnam=${ac_cv_lib_security_putprpwnam=no}
|
||||
+ac_cv_lib_security_set_auth_parameters=${ac_cv_lib_security_set_auth_parameters=no}
|
||||
diff -uNrw samba-2.2.1a-bak/debian/config.cache.alpha-linux samba-2.2.1a/debian/config.cache.alpha-linux
|
||||
--- samba-2.2.1a-bak/debian/config.cache.alpha-linux Wed Dec 31 18:00:00 1969
|
||||
+++ samba-2.2.1a/debian/config.cache.alpha-linux Thu Aug 23 10:28:08 2001
|
||||
@@ -0,0 +1,12 @@
|
||||
+# 22 Aug 2001 Steve Langasek <vorlon@debian.org>
|
||||
+
|
||||
+# This file contains autoconf settings specific to the alpha-linux
|
||||
+# platform that should be preloaded when building for this architecture.
|
||||
+
|
||||
+
|
||||
+# Linux 2.2 on Alpha doesn't have a functional setresgid() call, but
|
||||
+# Linux 2.4 does. Ensure that packages compiled for woody remain
|
||||
+# compatible with 2.2 kernels, even if the build machine is running 2.4.
|
||||
+samba_cv_have_setresgid=${samba_cv_have_setresgid=no}
|
||||
+samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=no}
|
||||
+samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
|
||||
diff -uNrw samba-2.2.1a-bak/debian/rules samba-2.2.1a/debian/rules
|
||||
--- samba-2.2.1a-bak/debian/rules Thu Aug 23 10:27:54 2001
|
||||
+++ samba-2.2.1a/debian/rules Thu Aug 23 10:28:08 2001
|
||||
@@ -15,6 +15,14 @@
|
||||
# This has to be exported to make some magic below work.
|
||||
export DH_OPTIONS
|
||||
|
||||
+# Set the host and build architectures for use with config.cache loading,
|
||||
+# cross-building, etc.
|
||||
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
+
|
||||
+export DEB_HOST_GNU_TYPE
|
||||
+export DEB_BUILD_GNU_TYPE
|
||||
+
|
||||
BVARS = SMBLOGFILE=/var/log/smb NMBLOGFILE=/var/log/nmb
|
||||
|
||||
DESTDIR=`pwd`/debian/samba
|
||||
@@ -48,8 +56,11 @@
|
||||
# ./configure --with-fhs --prefix=/usr --sysconfdir=/etc \
|
||||
# --localstatedir=/var
|
||||
|
||||
+ if [ -f debian/config.cache ]; then \
|
||||
+ cp -f debian/config.cache source/config.cache; \
|
||||
+ fi
|
||||
# [ -f source/Makefile ] || (cd source && ./configure --with-fhs --prefix=/usr --exec-prefix=/usr --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp)
|
||||
- [ -f source/Makefile ] || (cd source && ./configure --with-fhs --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba --with-lockdir=/var/state/samba --localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp --with-readline --with-pam_smbpass)
|
||||
+ [ -f source/Makefile ] || (cd source && ./configure --host=$(DEB_HOST_GNU_TYPE)-gnu --build=$(DEB_BUILD_GNU_TYPE)-gnu --with-fhs --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba --with-lockdir=/var/state/samba --localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp --with-readline --with-pam_smbpass)
|
||||
|
||||
touch configure-stamp
|
||||
|
78
packaging/Debian/debian-stable/README.build-upstream
Normal file
78
packaging/Debian/debian-stable/README.build-upstream
Normal file
@ -0,0 +1,78 @@
|
||||
Building Samba Packages for Debian GNU/Linux
|
||||
--------------------------------------------
|
||||
|
||||
Building Debian packages is not as hard as some people might think.
|
||||
The following instructions will allow you to build your own Samba
|
||||
Debian packages. These instructions and the files in packaging/Debian/
|
||||
are current as of Samba 3.0.0, and allow you to build Debian packages
|
||||
for Debian unstable (so you need some development packages available
|
||||
only in Debian unstable.) If you are using something newer than 3.0.0
|
||||
you might want to try to follow the instructions to see if patches
|
||||
apply cleanly. If some patches don't apply cleanly please e-mail
|
||||
samba@packages.debian.org since we might have fixed patches that we have
|
||||
not yet integrated into upstream Samba.
|
||||
|
||||
We try to maintain as much compatibility with previous releases
|
||||
of Debian as possible, so it is possible that the files in
|
||||
packaging/Debian/ can also be used to build Samba Debian packages for
|
||||
other Debian releases. However, sometimes this is just not possible
|
||||
because we need to use stuff that is only available on Debian unstable.
|
||||
|
||||
Instructions
|
||||
------------
|
||||
|
||||
If you want to build Samba packages for Debian and you just want to use
|
||||
upstream sources, i.e. you don't want to wait for us to put official
|
||||
packages out, or you want packages for a Debian version for which we
|
||||
don't provide deb's, or you don't want to use official packages, or
|
||||
you want to add --this-cool-switch to configure, or whatever, follow
|
||||
these instructions:
|
||||
|
||||
0) Make sure you have the following packages installed (in addition
|
||||
to the normal Debian development packages -- dpkg-dev, libc6-dev,
|
||||
devscripts, etc.):
|
||||
|
||||
autoconf
|
||||
debhelper
|
||||
libpam0g-dev
|
||||
libreadline4-dev
|
||||
libcupsys2-dev
|
||||
acl-dev, libacl1
|
||||
libkrb5-dev
|
||||
libldap2-dev
|
||||
python2.2-dev
|
||||
|
||||
Notes regarding the packages required to build Samba Debian packages:
|
||||
|
||||
* The libcupsys2-dev is not available in Debian Potato (Debian 2.2).
|
||||
That's fine; the configure script won't detect CUPS support and the
|
||||
resulting binaries won't support CUPS.
|
||||
|
||||
* The list above is current as of samba-3.0.0rc2, but it can get
|
||||
out of date. The best way to check what packages are required to
|
||||
build the samba packages on Debian is to look for the Build-Depends:
|
||||
field in the file debian/control.
|
||||
|
||||
1) cd samba[-<version>]. For example, "cd samba-3.0.0rc2".
|
||||
2) cp -a packaging/Debian/debian/ debian
|
||||
It's important that you copy instead of symlink because the build
|
||||
tools in Potato have a problem that prevents the build to work with
|
||||
a symlink.
|
||||
3) dch -i (this is completely optional - only do it if you understand
|
||||
Debian version numbers! Don't complain later if you can't upgrade
|
||||
to official versions of the Samba packages for Debian.)
|
||||
- Edit the changelog and make sure the version is right. For example,
|
||||
for Samba 3.0.0beta3, the version number should something like
|
||||
3.0.0beta3-0.1.
|
||||
4) Run 'debian/rules binary'.
|
||||
- It is better that you prefix the above command with 'fakeroot'.
|
||||
If you have problems you might try building as root.
|
||||
5) That's it. Your new packages should be in ../. Install with dpkg.
|
||||
|
||||
Please e-mail samba@packages.debian.org with comments, questions or
|
||||
suggestions. Please talk to us and not to the Samba Team. They have
|
||||
better things to do and know nothing about the Debian packaging system.
|
||||
|
||||
Eloy A. Paris <peloy@debian.org>
|
||||
Steve Langasek <vorlon@debian.org>
|
||||
|
183
packaging/Debian/debian-stable/README.debian
Normal file
183
packaging/Debian/debian-stable/README.debian
Normal file
@ -0,0 +1,183 @@
|
||||
0. Samba Team Notes:
|
||||
This package is targeted at the current stable release of debian distribution
|
||||
(woody) running on a 2.4.x kernel.
|
||||
This package has been made by Simo Sorce on behalf of the Samba Team.
|
||||
Do not use Debian BTS to report bugs, it's not a debian project package.
|
||||
Thanks to Eloy Paris and Steve "Vorlon" Langasek for the work they've done
|
||||
and continue to do on debian unstable packages. That made me possible to
|
||||
build up debian packages for the Team.
|
||||
|
||||
|
||||
ATTENTION: This package works correctly only with recent 2.4.x kernels due to
|
||||
deep optimizations that samba uses when compiled on such kernels.
|
||||
|
||||
|
||||
Original README.Debian foolows.
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
Samba for Debian
|
||||
----------------
|
||||
|
||||
This package was built by Eloy Paris <peloy@debian.org> and Steve Langasek
|
||||
<vorlon@debian.org>, current maintainers of the Samba packages for Debian,
|
||||
based on previous work from Bruce Perens <Bruce@Pixar.com>, Andrew
|
||||
Howell <andrew@it.com.au>, Klee Dienes <klee@debian.org> and Michael
|
||||
Meskes <meskes@topsystem.de>, all previous maintainers of the packages
|
||||
samba and sambades (merged together for longer than we can remember.)
|
||||
|
||||
Contents of this README file:
|
||||
|
||||
1. Notes
|
||||
2. Upgrading from Samba 2.2
|
||||
3. Packages Generated from the Samba Sources
|
||||
4. Support for NT Domains
|
||||
5. Reporting bugs
|
||||
|
||||
|
||||
1. Notes
|
||||
--------
|
||||
|
||||
- As of Samba 2.0.6-1, the Debian version of Samba is compiled with
|
||||
Pluggable Authentication Modules (PAM) support. PAM support was
|
||||
discontinued during the libc5 -> libc6 migration process and I never
|
||||
brought it back until 2.0.6-1.
|
||||
|
||||
- The smbfs package does not support the 2.0.x Linux kernels anymore.
|
||||
This has been the case since the very first packages of the CVS sources
|
||||
that eventually became Samba 2.2. To use the smbfs package you need to
|
||||
run a 2.2.x kernel or later.
|
||||
|
||||
- Starting with the Debian packages for Samba 2.2, the Samba log files (for
|
||||
nmbd and smbd) have been moved to a new location: /var/log/samba/. The
|
||||
files also have new names: log.nmbd and log.smbd. The old files
|
||||
(/var/log/{nmb,smb} were moved to the new location.
|
||||
|
||||
|
||||
2. Upgrading from Samba 2.2
|
||||
---------------------------
|
||||
|
||||
Samba 3.0 provides greatly improved support for modern Windows systems,
|
||||
including support for Unicode and LDAP. In the process, Samba 3.0
|
||||
necessarily also breaks backward compatiblity with past releases. These
|
||||
issues are documented herein; if you are aware of other problems related
|
||||
to upgrading from Samba 2.2, please let us know at
|
||||
<samba@packages.debian.org>.
|
||||
|
||||
Samba and LDAP
|
||||
--------------
|
||||
Starting with Samba 2.999+3.0cvs20020723-1 we are building Samba with
|
||||
LDAP support. However, the LDAP schema for Samba 3.0 differs
|
||||
substantially from the schema used by many sites with Samba 2.2 (not
|
||||
enabled in the Debian packages). If upgrading from an LDAP-enabled 2.2,
|
||||
you will need to run the convertSambaAccount script found in
|
||||
/usr/share/doc/samba-doc/examples/LDAP. A copy of the schema itself can
|
||||
also be found at /usr/share/doc/samba-doc/examples/LDAP/samba.schema.
|
||||
|
||||
Character Sets
|
||||
--------------
|
||||
Samba 3.0 introduces support for negotiating Unicode (UCS-2LE) with
|
||||
Windows clients. Owing to the close similarity between Windows and Unix
|
||||
NLS charsets, in the past, many users were able to pass filenames
|
||||
containing non-ASCII characters between clients and servers without
|
||||
configuring Samba to know what character set was in use. Now, Samba
|
||||
must be able to convert Unix filenames to Unicode before sending to the
|
||||
client, so Samba must know what character set the filenames are being
|
||||
converted from. If you will be sharing files with non-ASCII names, and
|
||||
the filenames are not encoded with UTF-8, you will need to tell Samba
|
||||
which character set to use with the 'unix charset' option.
|
||||
|
||||
If you had previously specified 'character set' and 'client code page'
|
||||
options under 2.2, these settings should be automatically converted for
|
||||
you.
|
||||
|
||||
|
||||
3. Packages Generated from the Samba Sources
|
||||
--------------------------------------------
|
||||
|
||||
Currently, the Samba sources produce the following binary packages:
|
||||
|
||||
samba: A LanManager like file and printer server for Unix.
|
||||
samba-common: Samba common files used by both the server and the client.
|
||||
smbclient: A LanManager like simple client for Unix.
|
||||
swat: Samba Web Administration Tool
|
||||
samba-doc: Samba documentation.
|
||||
smbfs: Mount and umount commands for the smbfs (works with 2.2.x and
|
||||
above kernels, not with 2.0.x kernels.)
|
||||
libpam-smbpass: pluggable authentication module for SMB password
|
||||
database.
|
||||
libsmbclient: Shared library that allows applications to talk to SMB servers.
|
||||
libsmbclient-dev: libsmbclient shared libraries.
|
||||
winbind: Service to resolve user and group information from a Windows NT
|
||||
server.
|
||||
python2.2-samba: Python bindings that allow access to various aspects of
|
||||
Samba.
|
||||
|
||||
Please note that the package smbwrapper (a shared library that provides
|
||||
SMB client services that existed between Samba 2.0.0-1 and Samba-2.0.5a-4
|
||||
does not exist any more. The reason is that starting with Samba 2.0.6-1, that
|
||||
code does not even compile, and the upstream author (Andrew Tridgell)
|
||||
recommended to disable the compilation of smbwrapper until some issues
|
||||
with glibc2.1 get cleared out (the problem is with glibc, not with Samba
|
||||
itself).
|
||||
|
||||
|
||||
4. Support for NT Domains
|
||||
-------------------------
|
||||
|
||||
Samba 2.2 includes preliminary support for NT domains. A Samba server
|
||||
can now be part of a Windows NT domain whose Primary Domain Controller
|
||||
is a Windows NT server. This feature is supposed to be stable although I
|
||||
haven't tried it myself. Read the documentation in the samba-doc package
|
||||
for help on how to do this (hint: "security = domain" in the smb.conf
|
||||
file).
|
||||
|
||||
Samba 2.2 has also experimental support for Primary Domain
|
||||
Controller. This means that a Samba server can act now as a PDC. There
|
||||
are no special flags needed to compile Samba with NT domain PDC
|
||||
support. Please read the NTDOM PDC FAQ at www.samba.org (Documentation
|
||||
section).
|
||||
|
||||
Please note that NT domain PDC support is far from complete and is still
|
||||
experimental.
|
||||
|
||||
|
||||
5. Reporting Bugs
|
||||
-----------------
|
||||
|
||||
**** NOTE: This package is distributed by the Samba Team based on Debian
|
||||
packages, please submit bus to https://bugzilla.samba.org instead ****
|
||||
|
||||
If you believe you have found a bug please make sure the possible bug
|
||||
also exists in the latest version of Samba that is available for the
|
||||
unstable Debian distribution. If you are running Debian stable this
|
||||
means that you will probably have to build your own packages. And if the
|
||||
problem does not exist in the latest version of Samba we have packaged it
|
||||
means that you will have to run the version of Samba you built yourself
|
||||
since it is not easy to upload new packages to the stable distribution,
|
||||
unless they fix critical security problems.
|
||||
|
||||
If you can reproduce the problem in the latest version of Samba then
|
||||
it is likely to be a real bug. Your best shot is to search the Samba
|
||||
mailing lists to see if it is something that has already been reported
|
||||
and fixed - if it is a simple fix we can add the patch to our packages
|
||||
without waiting for a new Samba release.
|
||||
|
||||
If you decide that your problem deserves to be submitted to the Debian
|
||||
Bug Tracking System (BTS) we expect you to be responsive if we request
|
||||
more information. If we request more information and do not receive
|
||||
any in a reasonable time frame expect to see your bug closed without
|
||||
explanation - we can't fix bugs we can't reproduce, and most of the
|
||||
time we need more information to be able to reproduce them.
|
||||
|
||||
When submitting a bug to the Debian BTS please include the version of
|
||||
the Debian package you are using as well as the Debian distribution you
|
||||
are using. Think _twice_ about the severity you assign to the bug: we
|
||||
are _very_ sensitive about bug severities; the fact that it doesn't
|
||||
work for you doesn't mean that the severity must be such that it holds
|
||||
a major Debian release. In fact, that it doesn't work for you it
|
||||
doesn't mean that it doesn't work for others. So again: think _twice_.
|
||||
|
||||
|
||||
Eloy A. Paris <peloy@debian.org>
|
||||
Steve Langasek <vorlon@debian.org>
|
||||
|
4
packaging/Debian/debian-stable/TODO
Normal file
4
packaging/Debian/debian-stable/TODO
Normal file
@ -0,0 +1,4 @@
|
||||
Nothing in our list right now.
|
||||
|
||||
Debian Samba Maintainers.-
|
||||
Sun Apr 6 01:34:21 EST 2003
|
2323
packaging/Debian/debian-stable/changelog
Normal file
2323
packaging/Debian/debian-stable/changelog
Normal file
File diff suppressed because it is too large
Load Diff
221
packaging/Debian/debian-stable/config.cache
Normal file
221
packaging/Debian/debian-stable/config.cache
Normal file
@ -0,0 +1,221 @@
|
||||
#
|
||||
# 22 August 2001 Steve Langasek <vorlon@debian.org>
|
||||
#
|
||||
# This file is a shell script that caches the results of configure
|
||||
# tests run on this system so they can be shared between configure
|
||||
# scripts and configure runs. It is not useful on other systems.
|
||||
# If it contains results you don't want to keep, you may remove or edit it.
|
||||
#
|
||||
# By default, configure uses ./config.cache as the cache file,
|
||||
# creating it if it does not exist already. You can give configure
|
||||
# the --cache-file=FILE option to use a different cache file; that is
|
||||
# what configure does when it calls configure scripts in
|
||||
# subdirectories, so they share the cache.
|
||||
# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
||||
# config.status only pays attention to the cache file if you give it the
|
||||
# --recheck option to rerun configure.
|
||||
#
|
||||
#
|
||||
# This config.cache file contains a list of acceptable autoconf
|
||||
# values which can be used in compiling Samba for Debian woody/sid.
|
||||
#
|
||||
# Autoconf sorts options alphabetically in its output. This file
|
||||
# groups options logically.
|
||||
|
||||
|
||||
# Load any architecture-specific settings
|
||||
if [ -n "$DEB_HOST_GNU_TYPE" \
|
||||
-a -f ../debian/config.cache.${DEB_HOST_GNU_TYPE} ]; then
|
||||
. ../debian/config.cache.${DEB_HOST_GNU_TYPE}
|
||||
fi
|
||||
|
||||
|
||||
# This is at the top because it's most in need of regular tweaking.
|
||||
# These are options which are supported on 2.4 kernels, but not on 2.2
|
||||
# kernels.
|
||||
|
||||
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no}
|
||||
samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no}
|
||||
samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=no}
|
||||
|
||||
|
||||
# These are present in 2.2 kernels, but not in 2.0...
|
||||
|
||||
samba_cv_have_setresuid=${samba_cv_have_setresuid=yes}
|
||||
samba_cv_have_setresgid=${samba_cv_have_setresgid=yes}
|
||||
samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes}
|
||||
|
||||
|
||||
# Various basic libc/compiler stuff that it's blindingly obvious that
|
||||
# Linux supports (now watch me get bitten for saying that)
|
||||
|
||||
ac_cv_c_const=${ac_cv_c_const=yes}
|
||||
ac_cv_c_inline=${ac_cv_c_inline=inline}
|
||||
samba_cv_volatile=${samba_cv_volatile=yes}
|
||||
ac_cv_dirent_d_off=${ac_cv_dirent_d_off=yes}
|
||||
ac_cv_func_bzero=${ac_cv_func_bzero=yes}
|
||||
ac_cv_func_chmod=${ac_cv_func_chmod=yes}
|
||||
ac_cv_func_chown=${ac_cv_func_chown=yes}
|
||||
ac_cv_func_chroot=${ac_cv_func_chroot=yes}
|
||||
ac_cv_func_connect=${ac_cv_func_connect=yes}
|
||||
ac_cv_func_dup2=${ac_cv_func_dup2=yes}
|
||||
ac_cv_func_execl=${ac_cv_func_execl=yes}
|
||||
ac_cv_func_fchmod=${ac_cv_func_fchmod=yes}
|
||||
ac_cv_func_fchown=${ac_cv_func_fchown=yes}
|
||||
ac_cv_func_fstat=${ac_cv_func_fstat=yes}
|
||||
ac_cv_func_fsync=${ac_cv_func_fsync=yes}
|
||||
ac_cv_func_ftruncate=${ac_cv_func_ftruncate=yes}
|
||||
ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
|
||||
ac_cv_func_getgrent=${ac_cv_func_getgrent=yes}
|
||||
ac_cv_func_getgrnam=${ac_cv_func_getgrnam=yes}
|
||||
ac_cv_func_getspnam=${ac_cv_func_getspnam=yes}
|
||||
ac_cv_func_glob=${ac_cv_func_glob=yes}
|
||||
ac_cv_func_grantpt=${ac_cv_func_grantpt=yes}
|
||||
ac_cv_func_initgroups=${ac_cv_func_initgroups=yes}
|
||||
ac_cv_func_llseek=${ac_cv_func_llseek=yes}
|
||||
ac_cv_func_memcmp_clean=${ac_cv_func_memcmp_clean=yes}
|
||||
ac_cv_func_memmove=${ac_cv_func_memmove=yes}
|
||||
ac_cv_func_memset=${ac_cv_func_memset=yes}
|
||||
ac_cv_func_mktime=${ac_cv_func_mktime=yes}
|
||||
ac_cv_func_pipe=${ac_cv_func_pipe=yes}
|
||||
ac_cv_func_poll=${ac_cv_func_poll=yes}
|
||||
ac_cv_func_pread=${ac_cv_func_pread=yes}
|
||||
ac_cv_func_pwrite=${ac_cv_func_pwrite=yes}
|
||||
ac_cv_func_rand=${ac_cv_func_rand=yes}
|
||||
ac_cv_func_random=${ac_cv_func_random=yes}
|
||||
ac_cv_func_readlink=${ac_cv_func_readlink=yes}
|
||||
ac_cv_func_rename=${ac_cv_func_rename=yes}
|
||||
ac_cv_func_select=${ac_cv_func_select=yes}
|
||||
ac_cv_func_setenv=${ac_cv_func_setenv=yes}
|
||||
ac_cv_func_setgroups=${ac_cv_func_setgroups=yes}
|
||||
ac_cv_func_setsid=${ac_cv_func_setsid=yes}
|
||||
ac_cv_func_sigaction=${ac_cv_func_sigaction=yes}
|
||||
ac_cv_func_sigblock=${ac_cv_func_sigblock=yes}
|
||||
ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes}
|
||||
ac_cv_func_snprintf=${ac_cv_func_snprintf=yes}
|
||||
ac_cv_func_srand=${ac_cv_func_srand=yes}
|
||||
ac_cv_func_srandom=${ac_cv_func_srandom=yes}
|
||||
ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
|
||||
ac_cv_func_strchr=${ac_cv_func_strchr=yes}
|
||||
ac_cv_func_strdup=${ac_cv_func_strdup=yes}
|
||||
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
|
||||
ac_cv_func_strftime=${ac_cv_func_strftime=yes}
|
||||
ac_cv_func_strpbrk=${ac_cv_func_strpbrk=yes}
|
||||
ac_cv_func_strtoul=${ac_cv_func_strtoul=yes}
|
||||
ac_cv_func_symlink=${ac_cv_func_symlink=yes}
|
||||
ac_cv_func_usleep=${ac_cv_func_usleep=yes}
|
||||
ac_cv_func_utime=${ac_cv_func_utime=yes}
|
||||
ac_cv_func_utimes=${ac_cv_func_utimes=yes}
|
||||
ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes}
|
||||
ac_cv_func_waitpid=${ac_cv_func_waitpid=yes}
|
||||
ac_cv_type_ino_t=${ac_cv_type_ino_t=yes}
|
||||
ac_cv_type_mode_t=${ac_cv_type_mode_t=yes}
|
||||
ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
|
||||
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
|
||||
ac_cv_type_uid_t=${ac_cv_type_uid_t=yes}
|
||||
samba_cv_socklen_t=${samba_cv_socklen_t=yes}
|
||||
|
||||
# Yes, we know Linux supports fcntl locking. Just ignore
|
||||
# any errors caused by building on an NFS mount.
|
||||
samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes}
|
||||
|
||||
|
||||
# smbwrapper doesn't work because the glibc maintainers don't want
|
||||
# to support transparent userland VFS. We might as well preempt
|
||||
# any checks for shadowed symbols that are only useful for smbwrapper.
|
||||
|
||||
ac_cv_func___chdir=${ac_cv_func___chdir=no}
|
||||
ac_cv_func__chdir=${ac_cv_func__chdir=no}
|
||||
ac_cv_func___close=${ac_cv_func___close=no}
|
||||
ac_cv_func__close=${ac_cv_func__close=no}
|
||||
ac_cv_func___closedir=${ac_cv_func___closedir=no}
|
||||
ac_cv_func__closedir=${ac_cv_func__closedir=no}
|
||||
ac_cv_func___dup=${ac_cv_func___dup=no}
|
||||
ac_cv_func__dup=${ac_cv_func__dup=no}
|
||||
ac_cv_func___dup2=${ac_cv_func___dup2=no}
|
||||
ac_cv_func__dup2=${ac_cv_func__dup2=no}
|
||||
ac_cv_func___fchdir=${ac_cv_func___fchdir=no}
|
||||
ac_cv_func__fchdir=${ac_cv_func__fchdir=no}
|
||||
ac_cv_func___fcntl=${ac_cv_func___fcntl=no}
|
||||
ac_cv_func__fcntl=${ac_cv_func__fcntl=no}
|
||||
ac_cv_func___fork=${ac_cv_func___fork=no}
|
||||
ac_cv_func__fork=${ac_cv_func__fork=no}
|
||||
ac_cv_func___fstat=${ac_cv_func___fstat=no}
|
||||
ac_cv_func__fstat=${ac_cv_func__fstat=no}
|
||||
ac_cv_func___fstat64=${ac_cv_func___fstat64=no}
|
||||
ac_cv_func__fstat64=${ac_cv_func__fstat64=no}
|
||||
ac_cv_func___fxstat=${ac_cv_func___fxstat=no}
|
||||
ac_cv_func___getcwd=${ac_cv_func___getcwd=no}
|
||||
ac_cv_func__getcwd=${ac_cv_func__getcwd=no}
|
||||
ac_cv_func___getdents=${ac_cv_func___getdents=no}
|
||||
ac_cv_func__getdents=${ac_cv_func__getdents=no}
|
||||
ac_cv_func___llseek=${ac_cv_func___llseek=no}
|
||||
ac_cv_func___sys_llseek=${ac_cv_func___sys_llseek=no}
|
||||
ac_cv_func__llseek=${ac_cv_func__llseek=no}
|
||||
ac_cv_func___lseek=${ac_cv_func___lseek=no}
|
||||
ac_cv_func__lseek=${ac_cv_func__lseek=no}
|
||||
ac_cv_func___lstat=${ac_cv_func___lstat=no}
|
||||
ac_cv_func__lstat=${ac_cv_func__lstat=no}
|
||||
ac_cv_func___lstat64=${ac_cv_func___lstat64=no}
|
||||
ac_cv_func__lstat64=${ac_cv_func__lstat64=no}
|
||||
ac_cv_func___lxstat=${ac_cv_func___lxstat=no}
|
||||
ac_cv_func___open=${ac_cv_func___open=no}
|
||||
ac_cv_func__open=${ac_cv_func__open=no}
|
||||
ac_cv_func___open64=${ac_cv_func___open64=no}
|
||||
ac_cv_func__open64=${ac_cv_func__open64=no}
|
||||
ac_cv_func___opendir=${ac_cv_func___opendir=no}
|
||||
ac_cv_func__opendir=${ac_cv_func__opendir=no}
|
||||
ac_cv_func___pread=${ac_cv_func___pread=no}
|
||||
ac_cv_func__pread=${ac_cv_func__pread=no}
|
||||
ac_cv_func___pread64=${ac_cv_func___pread64=no}
|
||||
ac_cv_func__pread64=${ac_cv_func__pread64=no}
|
||||
ac_cv_func___pwrite=${ac_cv_func___pwrite=no}
|
||||
ac_cv_func__pwrite=${ac_cv_func__pwrite=no}
|
||||
ac_cv_func___pwrite64=${ac_cv_func___pwrite64=no}
|
||||
ac_cv_func__pwrite64=${ac_cv_func__pwrite64=no}
|
||||
ac_cv_func___read=${ac_cv_func___read=no}
|
||||
ac_cv_func__read=${ac_cv_func__read=no}
|
||||
ac_cv_func___readdir=${ac_cv_func___readdir=no}
|
||||
ac_cv_func__readdir=${ac_cv_func__readdir=no}
|
||||
ac_cv_func___readdir64=${ac_cv_func___readdir64=no}
|
||||
ac_cv_func__readdir64=${ac_cv_func__readdir64=no}
|
||||
ac_cv_func___seekdir=${ac_cv_func___seekdir=no}
|
||||
ac_cv_func__seekdir=${ac_cv_func__seekdir=no}
|
||||
ac_cv_func___stat=${ac_cv_func___stat=no}
|
||||
ac_cv_func__stat=${ac_cv_func__stat=no}
|
||||
ac_cv_func___stat64=${ac_cv_func___stat64=no}
|
||||
ac_cv_func__stat64=${ac_cv_func__stat64=no}
|
||||
ac_cv_func___telldir=${ac_cv_func___telldir=no}
|
||||
ac_cv_func__telldir=${ac_cv_func__telldir=no}
|
||||
ac_cv_func___write=${ac_cv_func___write=no}
|
||||
ac_cv_func__write=${ac_cv_func__write=no}
|
||||
ac_cv_func___xstat=${ac_cv_func___xstat=no}
|
||||
|
||||
|
||||
|
||||
# Miscellaneous stuff that isn't, and shouldn't be, available
|
||||
# in Debian. Those interested in building debs for other systems may
|
||||
# need to remove some of these defines.
|
||||
|
||||
ac_cv_func_bigcrypt=${ac_cv_func_bigcrypt=no}
|
||||
ac_cv_func_crypt16=${ac_cv_func_crypt16=no}
|
||||
ac_cv_func_getauthuid=${ac_cv_func_getauthuid=no}
|
||||
ac_cv_func_getprpwnam=${ac_cv_func_getprpwnam=no}
|
||||
ac_cv_func_getpwanam=${ac_cv_func_getpwanam=no}
|
||||
ac_cv_func_putprpwnam=${ac_cv_func_putprpwnam=no}
|
||||
ac_cv_func_rdchk=${ac_cv_func_rdchk=no}
|
||||
ac_cv_func_set_auth_parameters=${ac_cv_func_set_auth_parameters=no}
|
||||
ac_cv_func_setgidx=${ac_cv_func_setgidx=no}
|
||||
ac_cv_func_setluid=${ac_cv_func_setluid=no}
|
||||
ac_cv_func_setpriv=${ac_cv_func_setpriv=no}
|
||||
ac_cv_func_setuidx=${ac_cv_func_setuidx=no}
|
||||
ac_cv_lib_sec_bigcrypt=${ac_cv_lib_sec_bigcrypt=no}
|
||||
ac_cv_lib_sec_getprpwnam=${ac_cv_lib_sec_getprpwnam=no}
|
||||
ac_cv_lib_sec_getspnam=${ac_cv_lib_sec_getspnam=no}
|
||||
ac_cv_lib_sec_putprpwnam=${ac_cv_lib_sec_putprpwnam=no}
|
||||
ac_cv_lib_sec_set_auth_parameters=${ac_cv_lib_sec_set_auth_parameters=no}
|
||||
ac_cv_lib_security_bigcrypt=${ac_cv_lib_security_bigcrypt=no}
|
||||
ac_cv_lib_security_getprpwnam=${ac_cv_lib_security_getprpwnam=no}
|
||||
ac_cv_lib_security_getspnam=${ac_cv_lib_security_getspnam=no}
|
||||
ac_cv_lib_security_putprpwnam=${ac_cv_lib_security_putprpwnam=no}
|
||||
ac_cv_lib_security_set_auth_parameters=${ac_cv_lib_security_set_auth_parameters=no}
|
12
packaging/Debian/debian-stable/config.cache.alpha-linux
Normal file
12
packaging/Debian/debian-stable/config.cache.alpha-linux
Normal file
@ -0,0 +1,12 @@
|
||||
# 22 Aug 2001 Steve Langasek <vorlon@debian.org>
|
||||
|
||||
# This file contains autoconf settings specific to the alpha-linux
|
||||
# platform that should be preloaded when building for this architecture.
|
||||
|
||||
|
||||
# Linux 2.2 on Alpha doesn't have a functional setresgid() call, but
|
||||
# Linux 2.4 does. Ensure that packages compiled for woody remain
|
||||
# compatible with 2.2 kernels, even if the build machine is running 2.4.
|
||||
samba_cv_have_setresgid=${samba_cv_have_setresgid=no}
|
||||
samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=no}
|
||||
samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
|
13
packaging/Debian/debian-stable/config.cache.sparc-linux
Normal file
13
packaging/Debian/debian-stable/config.cache.sparc-linux
Normal file
@ -0,0 +1,13 @@
|
||||
# 24 Spe 2001 Steve Langasek <vorlon@debian.org>
|
||||
|
||||
# This file contains autoconf settings specific to the sparc-linux
|
||||
# platform that should be preloaded when building for this architecture.
|
||||
|
||||
|
||||
# Linux 2.2 on Sparc doesn't have setresgid() or setresuid(), but
|
||||
# Linux 2.4 does. Ensure that packages compiled for woody remain
|
||||
# compatible with 2.2 kernels, even if the build machine is running 2.4.
|
||||
samba_cv_have_setresuid=${samba_cv_have_setresuid=no}
|
||||
samba_cv_have_setresgid=${samba_cv_have_setresgid=no}
|
||||
samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=no}
|
||||
samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes}
|
188
packaging/Debian/debian-stable/control
Normal file
188
packaging/Debian/debian-stable/control
Normal file
@ -0,0 +1,188 @@
|
||||
Source: samba
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Simo Sorce <idra@samba.org>
|
||||
Uploaders: Simo Sorce <idra@samba.org>
|
||||
Build-Depends: debhelper (>= 4.0.2), libpam0g-dev, libreadline4-dev, libcupsys2-dev, autoconf, acl-dev (>= 2.0.8-1), libacl1 (>= 2.0.8-1), attr-dev (>= 2.0.7-1), libattr1 (>= 2.0.7-1), libkrb5-dev, libldap2-dev, python2.2-dev
|
||||
Standards-Version: 3.5.6.1
|
||||
|
||||
Package: samba
|
||||
Architecture: any
|
||||
Depends: samba-common (= ${Source-Version}), netbase, logrotate, ${shlibs:Depends}, ${misc:Depends}, libpam-runtime (>= 0.72-35), libpam-modules
|
||||
Replaces: samba-common (<= 3.0.0-1)
|
||||
Suggests: samba-doc
|
||||
Description: a LanManager-like file and printer server for Unix
|
||||
The Samba software suite is a collection of programs that
|
||||
implements the SMB protocol for unix systems, allowing you to serve
|
||||
files and printers to Windows, NT, OS/2 and DOS clients. This protocol
|
||||
is sometimes also referred to as the LanManager or NetBIOS protocol.
|
||||
.
|
||||
This package contains all the components necessary to turn your
|
||||
Debian GNU/Linux box into a powerful file and printer server.
|
||||
.
|
||||
Currently, the Samba Debian packages consist of the following:
|
||||
.
|
||||
samba - LanManager-like file and printer server for Unix.
|
||||
samba-common - Samba common files used by both the server and the client.
|
||||
smbclient - LanManager-like simple client for Unix.
|
||||
swat - Samba Web Administration Tool
|
||||
samba-doc - Samba documentation.
|
||||
smbfs - Mount and umount commands for the smbfs (kernels 2.2.x and above).
|
||||
libpam-smbpass - pluggable authentication module for SMB password database
|
||||
libsmbclient - Shared library that allows applications to talk to SMB servers
|
||||
libsmbclient-dev - libsmbclient shared libraries
|
||||
winbind: Service to resolve user and group information from Windows NT servers
|
||||
python2.2-samba: Python bindings that allow access to various aspects of Samba
|
||||
.
|
||||
It is possible to install a subset of these packages depending on
|
||||
your particular needs. For example, to access other SMB servers you
|
||||
should only need the smbclient and samba-common packages.
|
||||
|
||||
Package: samba-common
|
||||
Architecture: any
|
||||
Depends: debconf, libpam-modules, ${shlibs:Depends}
|
||||
Replaces: samba (<< 3.0.0-1)
|
||||
Description: Samba common files used by both the server and the client
|
||||
The Samba software suite is a collection of programs that
|
||||
implements the SMB protocol for unix systems, allowing you to serve
|
||||
files and printers to Windows, NT, OS/2 and DOS clients. This protocol
|
||||
is sometimes also referred to as the LanManager or NetBIOS protocol.
|
||||
.
|
||||
This package contains the common files that are used by both the server
|
||||
(provided in the samba package) and the client (provided in the smbclient
|
||||
package).
|
||||
|
||||
Package: smbclient
|
||||
Architecture: any
|
||||
Depends: samba-common (= ${Source-Version}), ${shlibs:Depends}
|
||||
Replaces: samba (<< 3.0.0-1)
|
||||
Provides: samba-client
|
||||
Suggests: smbfs
|
||||
Description: a LanManager-like simple client for Unix
|
||||
The Samba software suite is a collection of programs that
|
||||
implements the SMB protocol for unix systems, allowing you to serve
|
||||
files and printers to Windows, NT, OS/2 and DOS clients. This protocol
|
||||
is sometimes also referred to as the LanManager or NetBIOS protocol.
|
||||
.
|
||||
This package contains some client components of the Samba suite. In
|
||||
particular it includes the command line utilities smbclient, smbtar,
|
||||
and smbspool. If you want to mount shares exported from Microsoft
|
||||
Windows machines or a Samba server you must install the smbfs package.
|
||||
|
||||
Package: swat
|
||||
Architecture: any
|
||||
Depends: debconf, samba (= ${Source-Version}), ${shlibs:Depends}
|
||||
Recommends: samba-doc
|
||||
Description: Samba Web Administration Tool
|
||||
The Samba software suite is a collection of programs that
|
||||
implements the SMB protocol for unix systems, allowing you to serve
|
||||
files and printers to Windows, NT, OS/2 and DOS clients. This protocol
|
||||
is sometimes also referred to as the LanManager or NetBIOS protocol.
|
||||
.
|
||||
This package contains the components of the Samba suite that are needed
|
||||
for Web administration of the Samba server.
|
||||
.
|
||||
Note: if you want to use the on-line documentation that is accesible
|
||||
through the Swat front-end you must install the samba-doc package.
|
||||
|
||||
Package: samba-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Description: Samba documentation
|
||||
The Samba software suite is a collection of programs that
|
||||
implements the SMB protocol for unix systems, allowing you to serve
|
||||
files and printers to Windows, NT, OS/2 and DOS clients. This protocol
|
||||
is sometimes also referred to as the LanManager or NetBIOS protocol.
|
||||
.
|
||||
This package contains all the documentation that comes in the original
|
||||
tarball.
|
||||
|
||||
Package: smbfs
|
||||
Section: otherosfs
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: netbase (>= 2.02), samba-common (= ${Source-Version}), ${shlibs:Depends}
|
||||
Suggests: smbclient
|
||||
Replaces: smbfsx
|
||||
Conflicts: smbfsx, suidmanager (<< 0.50)
|
||||
Description: mount and umount commands for the smbfs (for kernels >= than 2.2.x)
|
||||
Smbfs is a filesystem which understands the SMB protocol.
|
||||
This is the protocol Windows for Workgroups, Windows NT or
|
||||
LAN Manager use to talk to each other. It was inspired by
|
||||
samba, the program by Andrew Tridgell that turns any unix
|
||||
site into a file server for DOS or Windows clients.
|
||||
.
|
||||
If you want to use command-line utilities like smbclient, smbtar
|
||||
and/or smbspool you just need to install the smbclient package.
|
||||
.
|
||||
Starting with the Debian Samba packages version 2.2.0-1, the old smbfs
|
||||
utilities for 2.0.x have been removed. There are no wrapper scripts
|
||||
that call a specific smbmount/smbumount depending on the kernel
|
||||
version. If you are using a 2.0.x kernel please upgrade or use the
|
||||
latest Samba 2.0.7 Debian package.
|
||||
|
||||
Package: libpam-smbpass
|
||||
Section: admin
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Suggests: samba
|
||||
Description: pluggable authentication module for SMB password database
|
||||
This is a stackable PAM module that allows a system administrator to easily
|
||||
migrate to using encrypted passwords for Samba and to keep smb passwords in
|
||||
sync with unix passwords. Unlike other solutions, it does this without
|
||||
requiring users to change their existing passwords or login to Samba using
|
||||
cleartext passwords.
|
||||
|
||||
Package: libsmbclient
|
||||
Section: libs
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: shared library that allows applications to talk to SMB servers
|
||||
libsmbclient allows to write applications that use the SMB protocol.
|
||||
This gives applications the ability to talk to Microsoft Windows servers
|
||||
and Unix servers running Samba.
|
||||
.
|
||||
This package contains the libsmbclient shared library.
|
||||
|
||||
Package: libsmbclient-dev
|
||||
Section: libdevel
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: libsmbclient (= ${Source-Version})
|
||||
Description: libsmbclient static libraries and headers
|
||||
libsmbclient allows to write applications that use the SMB protocol.
|
||||
This gives applications the ability to talk to Microsoft Windows servers
|
||||
and Unix servers running Samba.
|
||||
.
|
||||
This package contains the libsmbclient static libraries and headers
|
||||
needed to build applications that use SMB services.
|
||||
|
||||
Package: winbind
|
||||
Section: net
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Replaces: samba (<= 3.0.0-1)
|
||||
Description: service to resolve user and group information from Windows NT servers
|
||||
This package provides the winbindd daemon, which provides a
|
||||
service for the Name Service Switch capability that is present
|
||||
in most modern C libraries (like the GNU C Library - glibc.)
|
||||
.
|
||||
The service provided by winbindd is called `winbind' and
|
||||
can be used to resolve user and group information from a
|
||||
Windows NT server. The service can also provide authentication
|
||||
services via an associated PAM module.
|
||||
|
||||
Package: python2.2-samba
|
||||
Section: python
|
||||
Priority: optional
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, python2.2
|
||||
Description: Python bindings that allow access to various aspects of Samba
|
||||
The Samba Python bindings allow you to access various aspects of Samba.
|
||||
At the moment their status is "experimental" but they have been reported
|
||||
to work well.
|
||||
.
|
||||
See /usr/share/doc/python2.2-samba/examples for a couple of examples.
|
28
packaging/Debian/debian-stable/copyright
Normal file
28
packaging/Debian/debian-stable/copyright
Normal file
@ -0,0 +1,28 @@
|
||||
This is the Debian Linux prepackaged version of the Samba SMB
|
||||
(LAN-Manager) server. Samba was written by Andrew Tridgell
|
||||
<Andrew.Tridgell@anu.edu.au> and many others.
|
||||
|
||||
This package was put together by Eloy Paris <peloy@debian.org>
|
||||
and Steve Langasek <vorlon@debian.org> based on previous work by
|
||||
Klee Dienes <klee@debian.org>, Andrew Howell <andrew@it.com.au>
|
||||
and Bruce Perens <bruce@pixar.com> from sources found at
|
||||
<URL:ftp://ftp.samba.org/pub/samba>.
|
||||
|
||||
Copyright:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; version 2 dated June, 1991.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
||||
MA 02111-1307, USA
|
||||
|
||||
On Debian GNU/Linux systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
11
packaging/Debian/debian-stable/files
Normal file
11
packaging/Debian/debian-stable/files
Normal file
@ -0,0 +1,11 @@
|
||||
samba-doc_3.0.2-1_all.deb doc optional
|
||||
samba_3.0.2-1_i386.deb net optional
|
||||
samba-common_3.0.2-1_i386.deb net optional
|
||||
smbclient_3.0.2-1_i386.deb net optional
|
||||
swat_3.0.2-1_i386.deb net optional
|
||||
smbfs_3.0.2-1_i386.deb otherosfs optional
|
||||
libpam-smbpass_3.0.2-1_i386.deb admin extra
|
||||
libsmbclient_3.0.2-1_i386.deb libs extra
|
||||
libsmbclient-dev_3.0.2-1_i386.deb libdevel extra
|
||||
winbind_3.0.2-1_i386.deb net optional
|
||||
python2.2-samba_3.0.2-1_i386.deb python optional
|
2
packaging/Debian/debian-stable/gdbcommands
Normal file
2
packaging/Debian/debian-stable/gdbcommands
Normal file
@ -0,0 +1,2 @@
|
||||
bt
|
||||
quit
|
2
packaging/Debian/debian-stable/libpam-smbpass.docs
Normal file
2
packaging/Debian/debian-stable/libpam-smbpass.docs
Normal file
@ -0,0 +1,2 @@
|
||||
source/pam_smbpass/README
|
||||
source/pam_smbpass/TODO
|
5
packaging/Debian/debian-stable/libpam-smbpass.examples
Normal file
5
packaging/Debian/debian-stable/libpam-smbpass.examples
Normal file
@ -0,0 +1,5 @@
|
||||
source/pam_smbpass/samples/README
|
||||
source/pam_smbpass/samples/kdc-pdc
|
||||
source/pam_smbpass/samples/password-mature
|
||||
source/pam_smbpass/samples/password-migration
|
||||
source/pam_smbpass/samples/password-sync
|
1
packaging/Debian/debian-stable/libpam-smbpass.files
Normal file
1
packaging/Debian/debian-stable/libpam-smbpass.files
Normal file
@ -0,0 +1 @@
|
||||
lib/security/pam_smbpass.so
|
1
packaging/Debian/debian-stable/libsmbclient-dev.examples
Normal file
1
packaging/Debian/debian-stable/libsmbclient-dev.examples
Normal file
@ -0,0 +1 @@
|
||||
examples/libsmbclient/
|
3
packaging/Debian/debian-stable/libsmbclient-dev.files
Normal file
3
packaging/Debian/debian-stable/libsmbclient-dev.files
Normal file
@ -0,0 +1,3 @@
|
||||
usr/lib/libsmbclient.a
|
||||
usr/lib/libsmbclient.so
|
||||
usr/include/libsmbclient.h
|
2
packaging/Debian/debian-stable/libsmbclient.files
Normal file
2
packaging/Debian/debian-stable/libsmbclient.files
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/libsmbclient.so.0.1
|
||||
usr/lib/libsmbclient.so.0
|
1
packaging/Debian/debian-stable/libsmbclient.shlibs
Normal file
1
packaging/Debian/debian-stable/libsmbclient.shlibs
Normal file
@ -0,0 +1 @@
|
||||
libsmbclient 0 libsmbclient (>= 2.2.2-11)
|
28
packaging/Debian/debian-stable/mksmbpasswd.8
Normal file
28
packaging/Debian/debian-stable/mksmbpasswd.8
Normal file
@ -0,0 +1,28 @@
|
||||
.TH MKSMBPASSWD 8 12-Apr-1998
|
||||
.SH NAME
|
||||
mksmbpasswd \- formats a /etc/passwd entry for a smbpasswd file
|
||||
.SH SYNOPSIS
|
||||
mksmbpasswd cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
|
||||
.SH DESCRIPTION
|
||||
.B mksmbpasswd
|
||||
should be used only once, the first time Samba is installed. The idea
|
||||
is to ease accounts creation by transferring all user accounts from
|
||||
/etc/passwd to /etc/samba/smbpasswd.
|
||||
.PP
|
||||
Please note that passwords are not transferred automatically from
|
||||
/etc/passwd to the new /etc/samba/smbpasswd file. After running
|
||||
.B mksmbpasswd
|
||||
all accounts are disabled so the system administrator must run
|
||||
smbpasswd for each account that needs to be enable.
|
||||
.SH FILES
|
||||
.TP
|
||||
/etc/passwd
|
||||
System wide accounts file
|
||||
.TP
|
||||
/etc/samba/smbpasswd
|
||||
Encrypted passwords file for the Samba daemons
|
||||
.SH SEE ALSO
|
||||
samba(7), nmbd(8), smbd(8)
|
||||
.SH AUTHOR
|
||||
Eloy A. Paris <peloy@debian.org> (man page based on sendmailconfig's man page
|
||||
by Robert Leslie <rob@mars.org>)
|
5
packaging/Debian/debian-stable/mksmbpasswd.awk
Normal file
5
packaging/Debian/debian-stable/mksmbpasswd.awk
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/awk -f
|
||||
BEGIN {FS=":"
|
||||
printf("#\n# SMB password file.\n#\n")
|
||||
}
|
||||
{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:%s\n", $1, $3, $5) }
|
48
packaging/Debian/debian-stable/panic-action
Normal file
48
packaging/Debian/debian-stable/panic-action
Normal file
@ -0,0 +1,48 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Redirect all output to our mail command
|
||||
(
|
||||
# We must be given a pid to look at
|
||||
if [ -z "$1" ]; then
|
||||
echo "$0 called with no arguments."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "/proc/$1" ]; then
|
||||
echo "$0: No such process: $1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Find out what binary we're debugging
|
||||
BINARYNAME=`readlink "/proc/$1/exe"`
|
||||
|
||||
# Generic header for our email
|
||||
echo "The Samba 'panic action' script, $0,"
|
||||
echo "was called for pid $1 ($BINARYNAME)."
|
||||
echo
|
||||
|
||||
if [ -z "$BINARYNAME" ]; then
|
||||
echo "This means there was a problem with the program, such as a segfault."
|
||||
echo "However, the executable could not be found for process $1."
|
||||
echo "It may have died unexpectedly, or you may not have permission to"
|
||||
echo "debug the process."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# No debugger
|
||||
if [ ! -x /usr/bin/gdb ]; then
|
||||
echo "This means there was a problem with the program, such as a segfault."
|
||||
echo "However, gdb was not found on your system, so the error could not be"
|
||||
echo "debugged. Please install the gdb package so that debugging information is"
|
||||
echo "available the next time such a problem occurs."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Below is a backtrace for this process generated with gdb, which shows"
|
||||
echo "the state of the program at the time the error occured. You are"
|
||||
echo "encouraged to submit this information as a bug report to Debian. For"
|
||||
echo "information about the procedure for submitting bug reports , please see"
|
||||
echo "http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage."
|
||||
echo
|
||||
gdb -x /etc/samba/gdbcommands -batch "$BINARYNAME" "$1"
|
||||
) | mail -s "Segfault in Samba" root
|
66
packaging/Debian/debian-stable/patches/documentation.patch
Normal file
66
packaging/Debian/debian-stable/patches/documentation.patch
Normal file
@ -0,0 +1,66 @@
|
||||
--- samba_3_0/docs/manpages/swat.8.orig 2003-06-06 16:16:24.000000000 -0400
|
||||
+++ samba_3_0/docs/manpages/swat.8 2003-06-06 16:25:13.000000000 -0400
|
||||
@@ -89,6 +89,13 @@
|
||||
.SH "INSTALLATION"
|
||||
|
||||
.PP
|
||||
+\fBDebian-specific Note\fR: all these steps have already been done for
|
||||
+you. However, by default, swat is not enabled. This has been done for
|
||||
+security reasons. To enable swat you need to edit /etc/inetd.conf,
|
||||
+uncomment the swat entry (usually at the end of the file), and then
|
||||
+restart inetd.
|
||||
+
|
||||
+.PP
|
||||
Swat is included as binary package with most distributions\&. The package manager in this case takes care of the installation and configuration\&. This section is only for those who have compiled swat from scratch\&.
|
||||
|
||||
.PP
|
||||
@@ -96,13 +103,13 @@
|
||||
|
||||
.TP 3
|
||||
\(bu
|
||||
-/usr/local/samba/bin/swat
|
||||
+/usr/sbin/swat
|
||||
.TP
|
||||
\(bu
|
||||
-/usr/local/samba/swat/images/*
|
||||
+/usr/share/samba/swat/images/*
|
||||
.TP
|
||||
\(bu
|
||||
-/usr/local/samba/swat/help/*
|
||||
+/usr/share/samba/swat/help/*
|
||||
.LP
|
||||
|
||||
.SS "Inetd Installation"
|
||||
@@ -114,7 +121,7 @@
|
||||
You need to edit your \fI/etc/inetd\&.conf \fR and \fI/etc/services\fR to enable SWAT to be launched via \fBinetd\fR\&.
|
||||
|
||||
.PP
|
||||
-In \fI/etc/services\fR you need to add a line like this:
|
||||
+In \fI/etc/services\fR you need to add a line like this (not needed for Debian):
|
||||
|
||||
.PP
|
||||
\fBswat 901/tcp\fR
|
||||
@@ -126,10 +133,10 @@
|
||||
the choice of port number isn't really important except that it should be less than 1024 and not currently used (using a number above 1024 presents an obscure security hole depending on the implementation details of your\fBinetd\fR daemon)\&.
|
||||
|
||||
.PP
|
||||
-In \fI/etc/inetd\&.conf\fR you should add a line like this:
|
||||
+In \fI/etc/inetd\&.conf\fR you should add a line like this (not needed for Debian since the maintainer scripts do it. You need to uncomment the line, though, because it is added commented out for security reasons):
|
||||
|
||||
.PP
|
||||
-\fBswat stream tcp nowait\&.400 root /usr/local/samba/bin/swat swat\fR
|
||||
+\fBswat stream tcp nowait.400 root /usr/sbin/swat swat\fR
|
||||
|
||||
.PP
|
||||
One you have edited \fI/etc/services\fR and \fI/etc/inetd\&.conf\fR you need to send a HUP signal to inetd\&. To do this use \fBkill -1 PID \fR where PID is the process ID of the inetd daemon\&.
|
||||
@@ -155,8 +162,8 @@
|
||||
|
||||
|
||||
.TP
|
||||
-\fI/usr/local/samba/lib/smb\&.conf\fR
|
||||
-This is the default location of the \fBsmb\&.conf\fR(5) server configuration file that swat edits\&. Other common places that systems install this file are \fI /usr/samba/lib/smb\&.conf\fR and \fI/etc/smb\&.conf \fR\&. This file describes all the services the server is to make available to clients\&.
|
||||
+\fI/etc/samba/smb\&.conf\fR
|
||||
+This is the default location of the \fBsmb\&.conf\fR(5) server configuration file that swat edits\&. This file describes all the services the server is to make available to clients\&.
|
||||
|
||||
|
||||
.SH "WARNINGS"
|
555
packaging/Debian/debian-stable/patches/fhs.patch
Normal file
555
packaging/Debian/debian-stable/patches/fhs.patch
Normal file
@ -0,0 +1,555 @@
|
||||
diff -uNr samba-3.0.0beta2.orig/source/Makefile.in samba-3.0.0beta2/source/Makefile.in
|
||||
--- samba-3.0.0beta2.orig/source/Makefile.in 2003-07-02 23:26:46.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/Makefile.in 2003-07-02 23:19:46.000000000 -0500
|
||||
@@ -90,6 +91,13 @@
|
||||
# the directory where lock files go
|
||||
LOCKDIR = @lockdir@
|
||||
|
||||
+# FHS directories; equal to LOCKDIR if not using --with-fhs
|
||||
+CACHEDIR = @cachedir@
|
||||
+STATEDIR = @statedir@
|
||||
+
|
||||
+# Where to look for (and install) codepage databases.
|
||||
+CODEPAGEDIR = @codepagedir@
|
||||
+
|
||||
# the directory where pid files go
|
||||
PIDDIR = @piddir@
|
||||
# man pages language(s)
|
||||
@@ -114,7 +122,7 @@
|
||||
PATH_FLAGS4 = $(PATH_FLAGS3) -DSWATDIR=\"$(SWATDIR)\" -DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\"
|
||||
PATH_FLAGS5 = $(PATH_FLAGS4) -DLIBDIR=\"$(LIBDIR)\" \
|
||||
-DLOGFILEBASE=\"$(LOGFILEBASE)\" -DSHLIBEXT=\"@SHLIBEXT@\"
|
||||
-PATH_FLAGS6 = $(PATH_FLAGS5) -DCONFIGDIR=\"$(CONFIGDIR)\"
|
||||
+PATH_FLAGS6 = $(PATH_FLAGS5) -DCONFIGDIR=\"$(CONFIGDIR)\" -DCODEPAGEDIR=\"$(CODEPAGEDIR)\" -DCACHEDIR=\"$(CACHEDIR)\" -DSTATEDIR=\"$(STATEDIR)\"
|
||||
PATH_FLAGS = $(PATH_FLAGS6) $(PASSWD_FLAGS)
|
||||
|
||||
# Note that all executable programs now provide for an optional executable suffix.
|
||||
@@ -1203,7 +1211,7 @@
|
||||
@$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS) $(DESTDIR)$(BINDIR) $(SCRIPTS)
|
||||
|
||||
installdat: installdirs
|
||||
- @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR)$(LIBDIR) $(srcdir)
|
||||
+ @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR)$(CODEPAGEDIR) $(srcdir)
|
||||
|
||||
installswat: installdirs
|
||||
@$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR)$(SWATDIR) $(srcdir)
|
||||
diff -uNr samba-3.0.0beta2.orig/source/configure.in samba-3.0.0beta2/source/configure.in
|
||||
--- samba-3.0.0beta2.orig/source/configure.in 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/configure.in 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -17,14 +17,18 @@
|
||||
[ --with-fhs Use FHS-compliant paths (default=no)],
|
||||
[ case "$withval" in
|
||||
yes)
|
||||
- lockdir="\${VARDIR}/lib/samba"
|
||||
+ lockdir="\${VARDIR}/run/samba"
|
||||
- piddir="\${VARDIR}/run"
|
||||
+ piddir="\${VARDIR}/run/samba"
|
||||
mandir="\${prefix}/share/man"
|
||||
logfilebase="\${VARDIR}/log/samba"
|
||||
privatedir="\${CONFIGDIR}/private"
|
||||
libdir="\${prefix}/lib/samba"
|
||||
configdir="${sysconfdir}/samba"
|
||||
- swatdir="\${DATADIR}/samba/swat"
|
||||
+ swatdir="\${DATADIR}/samba/swat"
|
||||
+ codepagedir="\${DATADIR}/samba"
|
||||
+ statedir="\${VARDIR}/lib/samba"
|
||||
+ cachedir="\${VARDIR}/cache/samba"
|
||||
+ AC_DEFINE(FHS_COMPATIBLE, 1, [Whether to use fully FHS-compatible paths])
|
||||
;;
|
||||
esac])
|
||||
|
||||
@@ -134,6 +141,9 @@
|
||||
AC_SUBST(swatdir)
|
||||
AC_SUBST(bindir)
|
||||
AC_SUBST(sbindir)
|
||||
+AC_SUBST(codepagedir)
|
||||
+AC_SUBST(statedir)
|
||||
+AC_SUBST(cachedir)
|
||||
|
||||
dnl Unique-to-Samba variables we'll be playing with.
|
||||
AC_SUBST(SHELL)
|
||||
diff -uNr samba-3.0.0beta2.orig/source/dynconfig.c samba-3.0.0beta2/source/dynconfig.c
|
||||
--- samba-3.0.0beta2.orig/source/dynconfig.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/dynconfig.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -53,6 +53,13 @@
|
||||
pstring dyn_LMHOSTSFILE = LMHOSTSFILE;
|
||||
|
||||
/**
|
||||
+ * @brief Samba data directory.
|
||||
+ *
|
||||
+ * @sa data_path() to get the path to a file inside the CODEPAGEDIR.
|
||||
+ **/
|
||||
+pstring dyn_CODEPAGEDIR = CODEPAGEDIR;
|
||||
+
|
||||
+/**
|
||||
* @brief Samba library directory.
|
||||
*
|
||||
* @sa lib_path() to get the path to a file inside the LIBDIR.
|
||||
@@ -70,3 +77,27 @@
|
||||
|
||||
const pstring dyn_SMB_PASSWD_FILE = SMB_PASSWD_FILE;
|
||||
const pstring dyn_PRIVATE_DIR = PRIVATE_DIR;
|
||||
+
|
||||
+
|
||||
+/* In non-FHS mode, these should be configurable using 'lock dir =';
|
||||
+ but in FHS mode, they are their own directory. Implement as wrapper
|
||||
+ functions so that everything can still be kept in dynconfig.c.
|
||||
+ */
|
||||
+
|
||||
+char *dyn_STATEDIR(void)
|
||||
+{
|
||||
+#ifdef FHS_COMPATIBLE
|
||||
+ return STATEDIR;
|
||||
+#else
|
||||
+ return lp_lockdir();
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
+char *dyn_CACHEDIR(void)
|
||||
+{
|
||||
+#ifdef FHS_COMPATIBLE
|
||||
+ return CACHEDIR;
|
||||
+#else
|
||||
+ return lp_lockdir();
|
||||
+#endif
|
||||
+}
|
||||
diff -uNr samba-3.0.0beta2.orig/source/groupdb/mapping.c samba-3.0.0beta2/source/groupdb/mapping.c
|
||||
--- samba-3.0.0beta2.orig/source/groupdb/mapping.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/groupdb/mapping.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -134,7 +134,7 @@
|
||||
|
||||
if (tdb && local_pid == sys_getpid())
|
||||
return True;
|
||||
- tdb = tdb_open_log(lock_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
+ tdb = tdb_open_log(state_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
if (!tdb) {
|
||||
DEBUG(0,("Failed to open group mapping database\n"));
|
||||
return False;
|
||||
diff -uNr samba-3.0.0beta2.orig/source/include/dynconfig.h samba-3.0.0beta2/source/include/dynconfig.h
|
||||
--- samba-3.0.0beta2.orig/source/include/dynconfig.h 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/include/dynconfig.h 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -31,8 +31,12 @@
|
||||
extern pstring dyn_CONFIGFILE;
|
||||
extern pstring dyn_LOGFILEBASE, dyn_LMHOSTSFILE;
|
||||
extern pstring dyn_LIBDIR;
|
||||
+extern pstring dyn_CODEPAGEDIR;
|
||||
extern const fstring dyn_SHLIBEXT;
|
||||
extern const pstring dyn_LOCKDIR;
|
||||
extern const pstring dyn_PIDDIR;
|
||||
extern const pstring dyn_SMB_PASSWD_FILE;
|
||||
extern const pstring dyn_PRIVATE_DIR;
|
||||
+
|
||||
+char *dyn_STATEDIR(void);
|
||||
+char *dyn_CACHEDIR(void);
|
||||
diff -uNr samba-3.0.0beta2.orig/source/intl/lang_tdb.c samba-3.0.0beta2/source/intl/lang_tdb.c
|
||||
--- samba-3.0.0beta2.orig/source/intl/lang_tdb.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/intl/lang_tdb.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -123,7 +123,7 @@
|
||||
/* if no lang then we don't translate */
|
||||
if (!lang) return True;
|
||||
|
||||
- asprintf(&msg_path, "%s.msg", lib_path((const char *)lang));
|
||||
+ asprintf(&msg_path, "%s.msg", data_path((const char *)lang));
|
||||
if (stat(msg_path, &st) != 0) {
|
||||
/* the msg file isn't available */
|
||||
free(msg_path);
|
||||
@@ -131,7 +131,7 @@
|
||||
}
|
||||
|
||||
|
||||
- asprintf(&path, "%s%s.tdb", lock_path("lang_"), lang);
|
||||
+ asprintf(&path, "%s%s.tdb", state_path("lang_"), lang);
|
||||
|
||||
tdb = tdb_open_log(path, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0644);
|
||||
if (!tdb) {
|
||||
diff -uNr samba-3.0.0beta2.orig/source/lib/account_pol.c samba-3.0.0beta2/source/lib/account_pol.c
|
||||
--- samba-3.0.0beta2.orig/source/lib/account_pol.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/lib/account_pol.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
if (tdb && local_pid == sys_getpid())
|
||||
return True;
|
||||
- tdb = tdb_open_log(lock_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
+ tdb = tdb_open_log(state_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
if (!tdb) {
|
||||
DEBUG(0,("Failed to open account policy database\n"));
|
||||
return False;
|
||||
diff -uNr samba-3.0.0beta2.orig/source/lib/util.c samba-3.0.0beta2/source/lib/util.c
|
||||
--- samba-3.0.0beta2.orig/source/lib/util.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/lib/util.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -2190,6 +2190,61 @@
|
||||
}
|
||||
|
||||
/**
|
||||
+ * @brief Returns an absolute path to a file in the Samba data directory.
|
||||
+ *
|
||||
+ * @param name File to find, relative to CODEPAGEDIR.
|
||||
+ *
|
||||
+ * @retval Pointer to a static #pstring containing the full path.
|
||||
+ **/
|
||||
+
|
||||
+char *data_path(const char *name)
|
||||
+{
|
||||
+ static pstring fname;
|
||||
+ snprintf(fname, sizeof(fname), "%s/%s", dyn_CODEPAGEDIR, name);
|
||||
+ return fname;
|
||||
+}
|
||||
+
|
||||
+/*****************************************************************
|
||||
+a useful function for returning a path in the Samba state directory
|
||||
+ *****************************************************************/
|
||||
+char *state_path(char *name)
|
||||
+{
|
||||
+ static pstring fname;
|
||||
+
|
||||
+ pstrcpy(fname,dyn_STATEDIR());
|
||||
+ trim_string(fname,"","/");
|
||||
+
|
||||
+ if (!directory_exist(fname,NULL)) {
|
||||
+ mkdir(fname,0755);
|
||||
+ }
|
||||
+
|
||||
+ pstrcat(fname,"/");
|
||||
+ pstrcat(fname,name);
|
||||
+
|
||||
+ return fname;
|
||||
+}
|
||||
+
|
||||
+/*****************************************************************
|
||||
+a useful function for returning a path in the Samba cache directory
|
||||
+ *****************************************************************/
|
||||
+char *cache_path(char *name)
|
||||
+{
|
||||
+ static pstring fname;
|
||||
+
|
||||
+ pstrcpy(fname,dyn_CACHEDIR());
|
||||
+ trim_string(fname,"","/");
|
||||
+
|
||||
+ if (!directory_exist(fname,NULL)) {
|
||||
+ mkdir(fname,0755);
|
||||
+ }
|
||||
+
|
||||
+ pstrcat(fname,"/");
|
||||
+ pstrcat(fname,name);
|
||||
+
|
||||
+ return fname;
|
||||
+}
|
||||
+
|
||||
+/**
|
||||
* @brief Returns the platform specific shared library extension.
|
||||
*
|
||||
* @retval Pointer to a static #fstring containing the extension.
|
||||
diff -uNr samba-3.0.0beta2.orig/source/lib/util_unistr.c samba-3.0.0beta2/source/lib/util_unistr.c
|
||||
--- samba-3.0.0beta2.orig/source/lib/util_unistr.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/lib/util_unistr.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -54,8 +54,8 @@
|
||||
if (initialised) return;
|
||||
initialised = 1;
|
||||
|
||||
- upcase_table = map_file(lib_path("upcase.dat"), 0x20000);
|
||||
- lowcase_table = map_file(lib_path("lowcase.dat"), 0x20000);
|
||||
+ upcase_table = map_file(data_path("upcase.dat"), 0x20000);
|
||||
+ lowcase_table = map_file(data_path("lowcase.dat"), 0x20000);
|
||||
|
||||
/* we would like Samba to limp along even if these tables are
|
||||
not available */
|
||||
@@ -161,7 +161,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- valid_file = map_file(lib_path("valid.dat"), 0x10000);
|
||||
+ valid_file = map_file(data_path("valid.dat"), 0x10000);
|
||||
if (valid_file) {
|
||||
valid_table = valid_file;
|
||||
mapped_file = 1;
|
||||
diff -uNr samba-3.0.0beta2.orig/source/libsmb/samlogon_cache.c samba-3.0.0beta2/source/libsmb/samlogon_cache.c
|
||||
--- samba-3.0.0beta2.orig/source/libsmb/samlogon_cache.c 2003-07-01 09:40:37.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/libsmb/samlogon_cache.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -34,7 +34,7 @@
|
||||
BOOL netsamlogon_cache_init(void)
|
||||
{
|
||||
if (!netsamlogon_tdb) {
|
||||
- netsamlogon_tdb = tdb_open_log(lock_path(NETSAMLOGON_TDB), 0,
|
||||
+ netsamlogon_tdb = tdb_open_log(cache_path(NETSAMLOGON_TDB), 0,
|
||||
TDB_DEFAULT, O_RDWR | O_CREAT, 0600);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
winbindd_cache.tdb open. Open the tdb if a NULL is passed. */
|
||||
|
||||
if (!tdb) {
|
||||
- tdb = tdb_open_log(lock_path("winbindd_cache.tdb"), 5000,
|
||||
+ tdb = tdb_open_log(cache_path("winbindd_cache.tdb"), 5000,
|
||||
TDB_DEFAULT, O_RDWR, 0600);
|
||||
if (!tdb) {
|
||||
DEBUG(5, ("netsamlogon_clear_cached_user: failed to open cache\n"));
|
||||
--- samba_3_0/source/nmbd/nmbd_serverlistdb.c.orig 2003-09-08 10:53:13.000000000 -0400
|
||||
+++ samba_3_0/source/nmbd/nmbd_serverlistdb.c 2003-09-08 11:22:03.000000000 -0400
|
||||
@@ -327,7 +327,7 @@
|
||||
|
||||
updatecount++;
|
||||
|
||||
- pstrcpy(fname,lp_lockdir());
|
||||
+ pstrcpy(fname,dyn_CACHEDIR());
|
||||
trim_char(fname,'\0' ,'/');
|
||||
pstrcat(fname,"/");
|
||||
pstrcat(fname,SERVER_LIST);
|
||||
--- samba-3.0.0rc2/source/nmbd/nmbd_winsserver.c.orig 2003-08-28 17:42:44.000000000 -0400
|
||||
+++ samba-3.0.0rc2/source/nmbd/nmbd_winsserver.c 2003-08-31 08:09:11.000000000 -0400
|
||||
@@ -228,7 +228,7 @@
|
||||
|
||||
add_samba_names_to_subnet(wins_server_subnet);
|
||||
|
||||
- if((fp = x_fopen(lock_path(WINS_LIST),O_RDONLY,0)) == NULL) {
|
||||
+ if((fp = x_fopen(state_path(WINS_LIST),O_RDONLY,0)) == NULL) {
|
||||
DEBUG(2,("initialise_wins: Can't open wins database file %s. Error was %s\n",
|
||||
WINS_LIST, strerror(errno) ));
|
||||
return True;
|
||||
@@ -1759,7 +1759,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- slprintf(fname,sizeof(fname)-1,"%s/%s", lp_lockdir(), WINS_LIST);
|
||||
+ slprintf(fname,sizeof(fname)-1,"%s/%s", dyn_STATEDIR(), WINS_LIST);
|
||||
all_string_sub(fname,"//", "/", 0);
|
||||
slprintf(fnamenew,sizeof(fnamenew)-1,"%s.%u", fname, (unsigned int)sys_getpid());
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/nsswitch/winbindd_cache.c samba-3.0.0beta2/source/nsswitch/winbindd_cache.c
|
||||
--- samba-3.0.0beta2.orig/source/nsswitch/winbindd_cache.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/nsswitch/winbindd_cache.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -56,7 +56,7 @@
|
||||
if (opt_nocache)
|
||||
return;
|
||||
|
||||
- wcache->tdb = tdb_open_log(lock_path("winbindd_cache.tdb"), 5000,
|
||||
+ wcache->tdb = tdb_open_log(cache_path("winbindd_cache.tdb"), 5000,
|
||||
TDB_CLEAR_IF_FIRST, O_RDWR|O_CREAT, 0600);
|
||||
|
||||
if (!wcache->tdb) {
|
||||
diff -uNr samba-3.0.0beta2.orig/source/nsswitch/winbindd_util.c samba-3.0.0beta2/source/nsswitch/winbindd_util.c
|
||||
--- samba-3.0.0beta2.orig/source/nsswitch/winbindd_util.c 2003-07-01 15:44:25.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/nsswitch/winbindd_util.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -813,7 +813,7 @@
|
||||
SMB_STRUCT_STAT stbuf;
|
||||
TDB_CONTEXT *idmap_tdb;
|
||||
|
||||
- pstrcpy(idmap_name, lock_path("winbindd_idmap.tdb"));
|
||||
+ pstrcpy(idmap_name, state_path("winbindd_idmap.tdb"));
|
||||
|
||||
if (!file_exist(idmap_name, &stbuf)) {
|
||||
/* nothing to convert return */
|
||||
diff -uNr samba-3.0.0beta2.orig/source/param/loadparm.c samba-3.0.0beta2/source/param/loadparm.c
|
||||
--- samba-3.0.0beta2.orig/source/param/loadparm.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/param/loadparm.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -104,6 +104,9 @@
|
||||
char *szAddPrinterCommand;
|
||||
char *szDeletePrinterCommand;
|
||||
char *szOs2DriverMap;
|
||||
+#ifdef FHS_COMPATIBLE
|
||||
+ char *szLockDirStub;
|
||||
+#endif
|
||||
char *szLockDir;
|
||||
char *szPidDir;
|
||||
char *szRootdir;
|
||||
@@ -1083,8 +1083,13 @@
|
||||
{"config file", P_STRING, P_GLOBAL, &Globals.szConfigFile, NULL, NULL, FLAG_HIDE},
|
||||
{"preload", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, FLAG_ADVANCED},
|
||||
{"auto services", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, FLAG_ADVANCED},
|
||||
+#ifdef FHS_COMPATIBLE
|
||||
+ {"lock directory", P_STRING, P_GLOBAL, &Globals.szLockDirStub, NULL, NULL, 0},
|
||||
+ {"lock dir", P_STRING, P_GLOBAL, &Globals.szLockDirStub, NULL, NULL, 0},
|
||||
+#else
|
||||
{"lock directory", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, FLAG_ADVANCED},
|
||||
{"lock dir", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, FLAG_HIDE},
|
||||
+#endif
|
||||
{"pid directory", P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, FLAG_ADVANCED},
|
||||
#ifdef WITH_UTMP
|
||||
{"utmp directory", P_STRING, P_GLOBAL, &Globals.szUtmpDir, NULL, NULL, FLAG_ADVANCED},
|
||||
diff -uNr samba-3.0.0beta2.orig/source/passdb/pdb_tdb.c samba-3.0.0beta2/source/passdb/pdb_tdb.c
|
||||
--- samba-3.0.0beta2.orig/source/passdb/pdb_tdb.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/passdb/pdb_tdb.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -501,10 +501,7 @@
|
||||
if (location) {
|
||||
tdb_state->tdbsam_location = talloc_strdup(pdb_context->mem_ctx, location);
|
||||
} else {
|
||||
- pstring tdbfile;
|
||||
- get_private_directory(tdbfile);
|
||||
- pstrcat(tdbfile, "/");
|
||||
- pstrcat(tdbfile, PASSDB_FILE_NAME);
|
||||
+ char *tdbfile = state_path(PASSDB_FILE_NAME);
|
||||
tdb_state->tdbsam_location = talloc_strdup(pdb_context->mem_ctx, tdbfile);
|
||||
}
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/passdb/privileges.c samba-3.0.0beta2/source/passdb/privileges.c
|
||||
--- samba-3.0.0beta2.orig/source/passdb/privileges.c 2003-06-07 12:57:35.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/passdb/privileges.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -62,7 +62,7 @@
|
||||
/* initialise the privilege database */
|
||||
BOOL privilege_init(void)
|
||||
{
|
||||
- tdb = tdb_open_log(lock_path("privilege.tdb"), 0, TDB_DEFAULT,
|
||||
+ tdb = tdb_open_log(state_path("privilege.tdb"), 0, TDB_DEFAULT,
|
||||
O_RDWR|O_CREAT, 0600);
|
||||
if (!tdb) {
|
||||
DEBUG(0,("Failed to open privilege database\n"));
|
||||
diff -uNr samba-3.0.0beta2.orig/source/passdb/secrets.c samba-3.0.0beta2/source/passdb/secrets.c
|
||||
--- samba-3.0.0beta2.orig/source/passdb/secrets.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/passdb/secrets.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -37,8 +37,7 @@
|
||||
if (tdb)
|
||||
return True;
|
||||
|
||||
- pstrcpy(fname, lp_private_dir());
|
||||
- pstrcat(fname,"/secrets.tdb");
|
||||
+ pstrcpy(fname, state_path("secrets.tdb"));
|
||||
|
||||
tdb = tdb_open_log(fname, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/printing/nt_printing.c samba-3.0.0beta2/source/printing/nt_printing.c
|
||||
--- samba-3.0.0beta2.orig/source/printing/nt_printing.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/printing/nt_printing.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -293,28 +293,28 @@
|
||||
|
||||
if (tdb_drivers)
|
||||
tdb_close(tdb_drivers);
|
||||
- tdb_drivers = tdb_open_log(lock_path("ntdrivers.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
+ tdb_drivers = tdb_open_log(state_path("ntdrivers.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
if (!tdb_drivers) {
|
||||
DEBUG(0,("nt_printing_init: Failed to open nt drivers database %s (%s)\n",
|
||||
- lock_path("ntdrivers.tdb"), strerror(errno) ));
|
||||
+ state_path("ntdrivers.tdb"), strerror(errno) ));
|
||||
return False;
|
||||
}
|
||||
|
||||
if (tdb_printers)
|
||||
tdb_close(tdb_printers);
|
||||
- tdb_printers = tdb_open_log(lock_path("ntprinters.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
+ tdb_printers = tdb_open_log(state_path("ntprinters.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
if (!tdb_printers) {
|
||||
DEBUG(0,("nt_printing_init: Failed to open nt printers database %s (%s)\n",
|
||||
- lock_path("ntprinters.tdb"), strerror(errno) ));
|
||||
+ state_path("ntprinters.tdb"), strerror(errno) ));
|
||||
return False;
|
||||
}
|
||||
|
||||
if (tdb_forms)
|
||||
tdb_close(tdb_forms);
|
||||
- tdb_forms = tdb_open_log(lock_path("ntforms.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
+ tdb_forms = tdb_open_log(state_path("ntforms.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
if (!tdb_forms) {
|
||||
DEBUG(0,("nt_printing_init: Failed to open nt forms database %s (%s)\n",
|
||||
- lock_path("ntforms.tdb"), strerror(errno) ));
|
||||
+ state_path("ntforms.tdb"), strerror(errno) ));
|
||||
return False;
|
||||
}
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/printing/printing.c samba-3.0.0beta2/source/printing/printing.c
|
||||
--- samba-3.0.0beta2.orig/source/printing/printing.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/printing/printing.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -174,8 +174,8 @@
|
||||
if (local_pid == sys_getpid())
|
||||
return True;
|
||||
|
||||
- unlink(lock_path("printing.tdb"));
|
||||
- pstrcpy(printing_path,lock_path("printing"));
|
||||
+ unlink(cache_path("printing.tdb"));
|
||||
+ pstrcpy(printing_path,cache_path("printing"));
|
||||
mkdir(printing_path,0755);
|
||||
|
||||
local_pid = sys_getpid();
|
||||
diff -uNr samba-3.0.0beta2.orig/source/printing/printing_db.c samba-3.0.0beta2/source/printing/printing_db.c
|
||||
--- samba-3.0.0beta2.orig/source/printing/printing_db.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/printing/printing_db.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -86,7 +86,7 @@
|
||||
DLIST_ADD(print_db_head, p);
|
||||
}
|
||||
|
||||
- pstrcpy(printdb_path, lock_path("printing/"));
|
||||
+ pstrcpy(printdb_path, cache_path("printing/"));
|
||||
pstrcat(printdb_path, printername);
|
||||
pstrcat(printdb_path, ".tdb");
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/registry/reg_db.c samba-3.0.0beta2/source/registry/reg_db.c
|
||||
--- samba-3.0.0beta2.orig/source/registry/reg_db.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/registry/reg_db.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -131,13 +131,13 @@
|
||||
* if we need to init the data in the registry
|
||||
*/
|
||||
|
||||
- tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
|
||||
+ tdb_reg = tdb_open_log(state_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
|
||||
if ( !tdb_reg )
|
||||
{
|
||||
- tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
+ tdb_reg = tdb_open_log(state_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
if ( !tdb_reg ) {
|
||||
DEBUG(0,("init_registry: Failed to open registry %s (%s)\n",
|
||||
- lock_path("registry.tdb"), strerror(errno) ));
|
||||
+ state_path("registry.tdb"), strerror(errno) ));
|
||||
return False;
|
||||
}
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/rpc_server/srv_srvsvc_nt.c samba-3.0.0beta2/source/rpc_server/srv_srvsvc_nt.c
|
||||
--- samba-3.0.0beta2.orig/source/rpc_server/srv_srvsvc_nt.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/rpc_server/srv_srvsvc_nt.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -133,10 +133,10 @@
|
||||
|
||||
if (share_tdb && local_pid == sys_getpid())
|
||||
return True;
|
||||
- share_tdb = tdb_open_log(lock_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
+ share_tdb = tdb_open_log(state_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
||||
if (!share_tdb) {
|
||||
DEBUG(0,("Failed to open share info database %s (%s)\n",
|
||||
- lock_path("share_info.tdb"), strerror(errno) ));
|
||||
+ state_path("share_info.tdb"), strerror(errno) ));
|
||||
return False;
|
||||
}
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/sam/idmap_tdb.c samba-3.0.0beta2/source/sam/idmap_tdb.c
|
||||
--- samba-3.0.0beta2.orig/source/sam/idmap_tdb.c 2003-07-01 15:44:26.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/sam/idmap_tdb.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -487,7 +487,7 @@
|
||||
BOOL tdb_is_new = False;
|
||||
|
||||
/* use the old database if present */
|
||||
- tdbfile = strdup(lock_path("winbindd_idmap.tdb"));
|
||||
+ tdbfile = strdup(state_path("winbindd_idmap.tdb"));
|
||||
if (!tdbfile) {
|
||||
DEBUG(0, ("idmap_init: out of memory!\n"));
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
diff -uNr samba-3.0.0beta2.orig/source/smbd/lanman.c samba-3.0.0beta2/source/smbd/lanman.c
|
||||
--- samba-3.0.0beta2.orig/source/smbd/lanman.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/smbd/lanman.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -966,9 +966,9 @@
|
||||
BOOL local_list_only;
|
||||
int i;
|
||||
|
||||
- lines = file_lines_load(lock_path(SERVER_LIST), NULL);
|
||||
+ lines = file_lines_load(cache_path(SERVER_LIST), NULL);
|
||||
if (!lines) {
|
||||
- DEBUG(4,("Can't open %s - %s\n",lock_path(SERVER_LIST),strerror(errno)));
|
||||
+ DEBUG(4,("Can't open %s - %s\n",cache_path(SERVER_LIST),strerror(errno)));
|
||||
return(0);
|
||||
}
|
||||
|
||||
diff -uNr samba-3.0.0beta2.orig/source/wrepld/process.c samba-3.0.0beta2/source/wrepld/process.c
|
||||
--- samba-3.0.0beta2.orig/source/wrepld/process.c 2003-07-02 23:26:47.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/wrepld/process.c 2003-07-02 23:19:02.000000000 -0500
|
||||
@@ -197,7 +197,7 @@
|
||||
{
|
||||
TDB_CONTEXT *tdb;
|
||||
|
||||
- tdb = tdb_open_log(lock_path(WINS_LIST), 0, TDB_DEFAULT, O_RDONLY, 0600);
|
||||
+ tdb = tdb_open_log(state_path(WINS_LIST), 0, TDB_DEFAULT, O_RDONLY, 0600);
|
||||
if (!tdb) {
|
||||
DEBUG(2,("get_our_last_id: Can't open wins database file %s. Error was %s\n", WINS_LIST, strerror(errno) ));
|
||||
return;
|
||||
@@ -489,7 +489,7 @@
|
||||
}
|
||||
|
||||
|
||||
- tdb = tdb_open_log(lock_path(WINS_LIST), 0, TDB_DEFAULT, O_RDONLY, 0600);
|
||||
+ tdb = tdb_open_log(state_path(WINS_LIST), 0, TDB_DEFAULT, O_RDONLY, 0600);
|
||||
if (!tdb) {
|
||||
DEBUG(2,("send_entry_request: Can't open wins database file %s. Error was %s\n", WINS_LIST, strerror(errno) ));
|
||||
return;
|
51
packaging/Debian/debian-stable/patches/installswat.sh.patch
Normal file
51
packaging/Debian/debian-stable/patches/installswat.sh.patch
Normal file
@ -0,0 +1,51 @@
|
||||
--- samba-3.0.1/source/script/installswat.sh.orig Fri Dec 19 14:49:40 2003
|
||||
+++ samba-3.0.1/source/script/installswat.sh Fri Dec 19 14:48:49 2003
|
||||
@@ -9,7 +9,7 @@
|
||||
echo Installing the Samba Web Administration Tool
|
||||
|
||||
LANGS=". `cd $SRCDIR../swat/; /bin/echo lang/??`"
|
||||
-echo Installing langs are `cd $SRCDIR../swat/lang/; /bin/echo ??`
|
||||
+echo Installing the following additional langs: `cd $SRCDIR../swat/lang/; /bin/echo ??`
|
||||
|
||||
for ln in $LANGS; do
|
||||
SWATLANGDIR=$SWATDIR/$ln
|
||||
@@ -23,11 +23,8 @@
|
||||
fi
|
||||
fi
|
||||
done
|
||||
-done
|
||||
-
|
||||
-# Install images
|
||||
-for ln in $LANGS; do
|
||||
|
||||
+ # Install images
|
||||
for f in $SRCDIR../swat/$ln/images/*.gif; do
|
||||
if [ ! -f $f ] ; then
|
||||
continue
|
||||
@@ -38,8 +35,7 @@
|
||||
chmod 0644 $FNAME
|
||||
done
|
||||
|
||||
- # Install html help
|
||||
-
|
||||
+ # Install html hel
|
||||
for f in $SRCDIR../swat/$ln/help/*.html; do
|
||||
if [ ! -f $f ] ; then
|
||||
continue
|
||||
@@ -58,7 +54,6 @@
|
||||
done
|
||||
|
||||
# Install "server-side" includes
|
||||
-
|
||||
for f in $SRCDIR../swat/$ln/include/*.html; do
|
||||
if [ ! -f $f ] ; then
|
||||
continue
|
||||
@@ -78,7 +73,7 @@
|
||||
for f in $SRCDIR../docs/htmldocs/*.html; do
|
||||
FNAME=$SWATDIR/help/`basename $f`
|
||||
echo $FNAME
|
||||
- cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
|
||||
+ ln -s ../../../doc/samba-doc/htmldocs/`basename $f` $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
|
||||
chmod 0644 $FNAME
|
||||
done
|
||||
fi
|
20
packaging/Debian/debian-stable/patches/nmbd-signalling.patch
Normal file
20
packaging/Debian/debian-stable/patches/nmbd-signalling.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -uNr samba-2.999+3.0.alpha21.orig/source/nmbd/nmbd_subnetdb.c samba-2.999+3.0.alpha21/source/nmbd/nmbd_subnetdb.c
|
||||
--- samba-2.999+3.0.alpha21.orig/source/nmbd/nmbd_subnetdb.c 2002-11-26 20:54:19.000000000 -0600
|
||||
+++ samba-2.999+3.0.alpha21/source/nmbd/nmbd_subnetdb.c 2002-12-16 23:34:13.000000000 -0600
|
||||
@@ -214,12 +214,16 @@
|
||||
extern struct in_addr loopback_ip;
|
||||
|
||||
if(num_interfaces == 0) {
|
||||
+ void (*old_handler)(int);
|
||||
+
|
||||
DEBUG(0,("create_subnets: No local interfaces !\n"));
|
||||
DEBUG(0,("create_subnets: Waiting for an interface to appear ...\n"));
|
||||
+ old_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL );
|
||||
while (iface_count() == 0) {
|
||||
sleep(5);
|
||||
load_interfaces();
|
||||
}
|
||||
+ CatchSignal( SIGTERM, SIGNAL_CAST old_handler );
|
||||
}
|
||||
|
||||
num_interfaces = iface_count();
|
65
packaging/Debian/debian-stable/patches/samba.patch
Normal file
65
packaging/Debian/debian-stable/patches/samba.patch
Normal file
@ -0,0 +1,65 @@
|
||||
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.0beta1/source/client/smbmount.c 2003-06-30 20:12:22.000000000 -0500
|
||||
@@ -765,7 +765,7 @@
|
||||
*lp = 0;
|
||||
pstrcpy(password,lp+1);
|
||||
got_pass = True;
|
||||
- memset(strchr_m(opteq+1,'%')+1,'X',strlen(password));
|
||||
+ memset(strchr_m(opteq+1,'%')+1,'\0',strlen(password));
|
||||
}
|
||||
if ((lp=strchr_m(username,'/'))) {
|
||||
*lp = 0;
|
||||
@@ -775,7 +775,7 @@
|
||||
!strcmp(opts, "password")) {
|
||||
pstrcpy(password,opteq+1);
|
||||
got_pass = True;
|
||||
- memset(opteq+1,'X',strlen(password));
|
||||
+ memset(opteq+1,'\0',strlen(password));
|
||||
} else if(!strcmp(opts, "credentials")) {
|
||||
pstrcpy(credentials,opteq+1);
|
||||
} else if(!strcmp(opts, "netbiosname")) {
|
||||
@@ -889,7 +901,7 @@
|
||||
*p = 0;
|
||||
pstrcpy(password,p+1);
|
||||
got_pass = True;
|
||||
- memset(strchr_m(getenv("USER"),'%')+1,'X',strlen(password));
|
||||
+ memset(strchr_m(getenv("USER"),'%')+1,'\0',strlen(password));
|
||||
}
|
||||
strupper_m(username);
|
||||
}
|
||||
diff -uNr samba-3.0.0beta1.orig/source/script/installbin.sh samba-3.0.0beta1/source/script/installbin.sh
|
||||
--- samba-3.0.0beta1.orig/source/script/installbin.sh 2002-04-22 13:16:20.000000000 -0500
|
||||
+++ samba-3.0.0beta1/source/script/installbin.sh 2003-06-30 20:12:22.000000000 -0500
|
||||
@@ -22,12 +22,14 @@
|
||||
chmod $INSTALLPERMS $BINDIR/$p2
|
||||
|
||||
# this is a special case, mount needs this in a specific location
|
||||
- if [ $p2 = smbmount ]; then
|
||||
- if [ ! -d $DESTDIR/sbin ]; then
|
||||
- mkdir $DESTDIR/sbin
|
||||
- fi
|
||||
- ln -sf $BINDIR/$p2 $DESTDIR/sbin/mount.smbfs
|
||||
- fi
|
||||
+# Commented out for the Debian Samba package. We take care of this
|
||||
+# important symlink in debian/rules. (peloy@debian.org)
|
||||
+# if [ $p2 = smbmount ]; then
|
||||
+# if [ ! -d $DESTDIR/sbin ]; then
|
||||
+# mkdir $DESTDIR/sbin
|
||||
+# fi
|
||||
+# ln -sf $BINDIR/$p2 $DESTDIR/sbin/mount.smbfs
|
||||
+# fi
|
||||
done
|
||||
|
||||
|
||||
diff -uNr samba-3.0.0beta1.orig/source/web/diagnose.c samba-3.0.0beta1/source/web/diagnose.c
|
||||
--- samba-3.0.0beta1.orig/source/web/diagnose.c 2003-06-07 12:57:41.000000000 -0500
|
||||
+++ samba-3.0.0beta1/source/web/diagnose.c 2003-06-30 20:12:22.000000000 -0500
|
||||
@@ -70,6 +70,7 @@
|
||||
static struct cli_state cli;
|
||||
extern struct in_addr loopback_ip;
|
||||
|
||||
+ loopback_ip.s_addr = htonl((127 << 24) + 1);
|
||||
if (!cli_initialise(&cli))
|
||||
return False;
|
||||
|
12
packaging/Debian/debian-stable/patches/smbclient-pager.patch
Normal file
12
packaging/Debian/debian-stable/patches/smbclient-pager.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr samba-2.999+3.0cvs20020906.orig/source/include/local.h samba-2.999+3.0cvs20020906/source/include/local.h
|
||||
--- samba-2.999+3.0cvs20020906.orig/source/include/local.h 2002-09-04 14:13:06.000000000 -0500
|
||||
+++ samba-2.999+3.0cvs20020906/source/include/local.h 2002-09-08 14:19:24.000000000 -0500
|
||||
@@ -109,7 +109,7 @@
|
||||
/* the default pager to use for the client "more" command. Users can
|
||||
override this with the PAGER environment variable */
|
||||
#ifndef PAGER
|
||||
-#define PAGER "more"
|
||||
+#define PAGER "/usr/bin/pager"
|
||||
#endif
|
||||
|
||||
/* the size of the uid cache used to reduce valid user checks */
|
@ -0,0 +1,43 @@
|
||||
diff -uNr samba-3.0.0beta2.orig/source/client/client.c samba-3.0.0beta2/source/client/client.c
|
||||
--- samba-3.0.0beta2.orig/source/client/client.c 2003-07-01 22:36:24.000000000 -0500
|
||||
+++ samba-3.0.0beta2/source/client/client.c 2003-07-06 15:17:36.000000000 -0500
|
||||
@@ -2773,6 +2773,7 @@
|
||||
int opt;
|
||||
pstring query_host;
|
||||
BOOL message = False;
|
||||
+ char* tar_args = NULL;
|
||||
extern char tar_type;
|
||||
pstring term_code;
|
||||
static const char *new_name_resolve_order = NULL;
|
||||
@@ -2816,7 +2817,7 @@
|
||||
max_protocol = interpret_protocol(poptGetOptArg(pc), max_protocol);
|
||||
break;
|
||||
case 'T':
|
||||
- if (!tar_parseargs(argc, argv, poptGetOptArg(pc), optind)) {
|
||||
+ if (!(tar_args = poptGetOptArg(pc))) {
|
||||
poptPrintUsage(pc, stderr, 0);
|
||||
exit(1);
|
||||
}
|
||||
@@ -2917,6 +2917,22 @@
|
||||
pstrcpy(cmdline_auth_info.password,poptGetArg(pc));
|
||||
}
|
||||
|
||||
+ /* The tar command may take a number of string options; pass
|
||||
+ everything we have left to tar_parseargs(). */
|
||||
+ if (tar_args) {
|
||||
+ const char **argv2 = poptGetArgs(pc);
|
||||
+ int argc2 = 0;
|
||||
+
|
||||
+ if (argv2) {
|
||||
+ while (argv2[argc2]) argc2++;
|
||||
+ }
|
||||
+
|
||||
+ if (!tar_parseargs(argc2, argv2, tar_args, 0)) {
|
||||
+ poptPrintUsage(pc, stderr, 0);
|
||||
+ exit(1);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
init_names();
|
||||
|
||||
if(new_name_resolve_order)
|
@ -0,0 +1,15 @@
|
||||
diff -ur samba-2.2.4.orig/source/client/smbmnt.c samba-2.2.4/source/client/smbmnt.c
|
||||
--- samba-2.2.4.orig/source/client/smbmnt.c Sun Apr 8 15:22:51 2001
|
||||
+++ samba-2.2.4/source/client/smbmnt.c Sun May 5 16:42:29 2002
|
||||
@@ -259,7 +259,10 @@
|
||||
ment.mnt_fsname = share_name ? share_name : "none";
|
||||
ment.mnt_dir = mount_point;
|
||||
ment.mnt_type = "smbfs";
|
||||
- ment.mnt_opts = "";
|
||||
+ if (mount_ro)
|
||||
+ ment.mnt_opts = "ro";
|
||||
+ else
|
||||
+ ment.mnt_opts = "rw";
|
||||
ment.mnt_freq = 0;
|
||||
ment.mnt_passno= 0;
|
||||
|
160
packaging/Debian/debian-stable/patches/smbmount-nomtab.patch
Normal file
160
packaging/Debian/debian-stable/patches/smbmount-nomtab.patch
Normal file
@ -0,0 +1,160 @@
|
||||
diff -uNr samba-3.0alpha22.orig/source/client/smbmnt.c samba-3.0alpha22/source/client/smbmnt.c
|
||||
--- samba-3.0alpha22.orig/source/client/smbmnt.c 2003-03-15 12:11:39.000000000 -0600
|
||||
+++ samba-3.0alpha22/source/client/smbmnt.c 2003-03-15 12:11:49.000000000 -0600
|
||||
@@ -28,6 +28,7 @@
|
||||
static uid_t mount_uid;
|
||||
static gid_t mount_gid;
|
||||
static int mount_ro;
|
||||
+static int no_mtab;
|
||||
static unsigned mount_fmask;
|
||||
static unsigned mount_dmask;
|
||||
static int user_mount;
|
||||
@@ -40,6 +41,7 @@
|
||||
printf("Usage: smbmnt mount-point [options]\n");
|
||||
printf("Version %s\n\n",VERSION);
|
||||
printf("-s share share name on server\n"
|
||||
+ "-n don't update /etc/mtab\n"
|
||||
"-r mount read-only\n"
|
||||
"-u uid mount as uid\n"
|
||||
"-g gid mount as gid\n"
|
||||
@@ -54,7 +56,7 @@
|
||||
{
|
||||
int opt;
|
||||
|
||||
- while ((opt = getopt (argc, argv, "s:u:g:rf:d:o:")) != EOF)
|
||||
+ while ((opt = getopt (argc, argv, "s:u:g:nrf:d:o:")) != EOF)
|
||||
{
|
||||
switch (opt)
|
||||
{
|
||||
@@ -71,6 +73,9 @@
|
||||
mount_gid = strtol(optarg, NULL, 0);
|
||||
}
|
||||
break;
|
||||
+ case 'n':
|
||||
+ no_mtab = 1;
|
||||
+ break;
|
||||
case 'r':
|
||||
mount_ro = 1;
|
||||
break;
|
||||
@@ -274,36 +279,38 @@
|
||||
return -1;
|
||||
}
|
||||
|
||||
- if ((fd = open(MOUNTED"~", O_RDWR|O_CREAT|O_EXCL, 0600)) == -1)
|
||||
- {
|
||||
- fprintf(stderr, "Can't get "MOUNTED"~ lock file");
|
||||
- return 1;
|
||||
- }
|
||||
- close(fd);
|
||||
+ if (!no_mtab) {
|
||||
+ if ((fd = open(MOUNTED"~", O_RDWR|O_CREAT|O_EXCL, 0600)) == -1)
|
||||
+ {
|
||||
+ fprintf(stderr, "Can't get "MOUNTED"~ lock file");
|
||||
+ return 1;
|
||||
+ }
|
||||
+ close(fd);
|
||||
|
||||
- if ((mtab = setmntent(MOUNTED, "a+")) == NULL)
|
||||
- {
|
||||
- fprintf(stderr, "Can't open " MOUNTED);
|
||||
- return 1;
|
||||
- }
|
||||
+ if ((mtab = setmntent(MOUNTED, "a+")) == NULL)
|
||||
+ {
|
||||
+ fprintf(stderr, "Can't open " MOUNTED);
|
||||
+ return 1;
|
||||
+ }
|
||||
|
||||
- if (addmntent(mtab, &ment) == 1)
|
||||
- {
|
||||
- fprintf(stderr, "Can't write mount entry");
|
||||
- return 1;
|
||||
- }
|
||||
- if (fchmod(fileno(mtab), 0644) == -1)
|
||||
- {
|
||||
- fprintf(stderr, "Can't set perms on "MOUNTED);
|
||||
- return 1;
|
||||
- }
|
||||
- endmntent(mtab);
|
||||
+ if (addmntent(mtab, &ment) == 1)
|
||||
+ {
|
||||
+ fprintf(stderr, "Can't write mount entry");
|
||||
+ return 1;
|
||||
+ }
|
||||
+ if (fchmod(fileno(mtab), 0644) == -1)
|
||||
+ {
|
||||
+ fprintf(stderr, "Can't set perms on "MOUNTED);
|
||||
+ return 1;
|
||||
+ }
|
||||
+ endmntent(mtab);
|
||||
|
||||
- if (unlink(MOUNTED"~") == -1)
|
||||
- {
|
||||
- fprintf(stderr, "Can't remove "MOUNTED"~");
|
||||
- return 1;
|
||||
- }
|
||||
+ if (unlink(MOUNTED"~") == -1)
|
||||
+ {
|
||||
+ fprintf(stderr, "Can't remove "MOUNTED"~");
|
||||
+ return 1;
|
||||
+ }
|
||||
+ }
|
||||
|
||||
return 0;
|
||||
}
|
||||
diff -uNr samba-3.0alpha22.orig/source/client/smbmount.c samba-3.0alpha22/source/client/smbmount.c
|
||||
--- samba-3.0alpha22.orig/source/client/smbmount.c 2003-03-15 12:04:29.000000000 -0600
|
||||
+++ samba-3.0alpha22/source/client/smbmount.c 2003-03-15 12:15:10.000000000 -0600
|
||||
@@ -48,6 +48,7 @@
|
||||
static int mount_ro;
|
||||
static unsigned mount_fmask;
|
||||
static unsigned mount_dmask;
|
||||
+static BOOL no_mtab = False;
|
||||
static BOOL use_kerberos;
|
||||
/* TODO: Add code to detect smbfs version in kernel */
|
||||
static BOOL status32_smbfs = False;
|
||||
@@ -273,6 +274,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
+ if (no_mtab)
|
||||
+ return;
|
||||
+
|
||||
if ((fd = open(MOUNTED"~", O_RDWR|O_CREAT|O_EXCL, 0600)) == -1) {
|
||||
DEBUG(0,("%d: Can't get "MOUNTED"~ lock file", sys_getpid()));
|
||||
return;
|
||||
@@ -466,6 +470,9 @@
|
||||
args[i++] = "-s";
|
||||
args[i++] = svc2;
|
||||
|
||||
+ if (no_mtab) {
|
||||
+ args[i++] = "-n";
|
||||
+ }
|
||||
if (mount_ro) {
|
||||
args[i++] = "-r";
|
||||
}
|
||||
@@ -661,7 +668,7 @@
|
||||
****************************************************************************/
|
||||
static void usage(void)
|
||||
{
|
||||
- printf("Usage: mount.smbfs service mountpoint [-o options,...]\n");
|
||||
+ printf("Usage: mount.smbfs service mountpoint [-n] [-o options,...]\n");
|
||||
|
||||
printf("Version %s\n\n",VERSION);
|
||||
|
||||
@@ -739,8 +746,13 @@
|
||||
argc -= 2;
|
||||
argv += 2;
|
||||
|
||||
- opt = getopt(argc, argv, "o:");
|
||||
- if(opt != 'o') {
|
||||
+ opt = getopt(argc, argv, "no:");
|
||||
+ if (opt == 'n') {
|
||||
+ DEBUG(3,("No mtab!\n"));
|
||||
+ no_mtab = True;
|
||||
+ opt = getopt(argc, argv, "o:");
|
||||
+ }
|
||||
+ if (opt != 'o') {
|
||||
return;
|
||||
}
|
||||
|
@ -0,0 +1,20 @@
|
||||
diff -uNr samba-2.999+3.0.alpha21.orig/source/utils/status.c samba-2.999+3.0.alpha21/source/utils/status.c
|
||||
--- samba-2.999+3.0.alpha21.orig/source/utils/status.c 2002-11-26 20:54:22.000000000 -0600
|
||||
+++ samba-2.999+3.0.alpha21/source/utils/status.c 2002-12-16 23:37:14.000000000 -0600
|
||||
@@ -630,6 +630,16 @@
|
||||
if (!shares_only) {
|
||||
int ret;
|
||||
|
||||
+ tdb = tdb_open_log(lock_path("locking.tdb"), 0, TDB_DEFAULT, O_RDONLY, 0);
|
||||
+
|
||||
+ if (!tdb) {
|
||||
+ d_printf("%s not initialised\n", lock_path("locking.tdb"));
|
||||
+ d_printf("This is normal if an SMB client has never connected to your server.\n");
|
||||
+ exit(0);
|
||||
+ } else {
|
||||
+ tdb_close(tdb);
|
||||
+ }
|
||||
+
|
||||
if (!locking_init(1)) {
|
||||
d_printf("Can't initialise locking module - exiting\n");
|
||||
exit(1);
|
3
packaging/Debian/debian-stable/po/POTFILES.in
Normal file
3
packaging/Debian/debian-stable/po/POTFILES.in
Normal file
@ -0,0 +1,3 @@
|
||||
[type: gettext/rfc822deb] samba-common.templates
|
||||
[type: gettext/rfc822deb] samba.templates
|
||||
[type: gettext/rfc822deb] swat.templates
|
298
packaging/Debian/debian-stable/po/es.po
Normal file
298
packaging/Debian/debian-stable/po/es.po
Normal file
@ -0,0 +1,298 @@
|
||||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
#
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
||||
#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Samba for Debian 3.0.0beta2-1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2003-08-30 19:08-0500\n"
|
||||
"PO-Revision-Date: 2003-07-02 21:51-0500\n"
|
||||
"Last-Translator: Steve Langasek <vorlon@debian.org>\n"
|
||||
"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "Character Set for Unix filesystem"
|
||||
msgstr "Juego de caracteres para el sistema de ficheros Unix"
|
||||
|
||||
#
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid ""
|
||||
"You currently have a \"character set\" configured in your smb.conf. In "
|
||||
"Samba 3.0, this option is replaced by a new option, \"unix charset\". Please "
|
||||
"specify the character set you wish to use for theis new option, which "
|
||||
"controls how Samba interprets filenames on the file system."
|
||||
msgstr ""
|
||||
"Actualmente hay una opción de \"character set\" en smb.conf. En Samba 3.0 "
|
||||
"esta opción ha sido reemplazado por una opción nueva: \"unix charset\". Por "
|
||||
"favor, indique el juego de caracteres que desea usar para esta opción nueva, "
|
||||
"que controla cómo Samba interpretará los nombres en el sistema de ficheros."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "If you leave this option blank, your smb.conf will not be changed."
|
||||
msgstr "Si deja en blanco este campo, no se cambiará smb.conf."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid "Character Set for DOS clients"
|
||||
msgstr "Juego de caracteres para los clientes DOS"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid ""
|
||||
"You currently have a \"client code page\" set in your smb.conf. In Samba "
|
||||
"3.0, this option is replaced by the option \"dos charset\". Please specify "
|
||||
"the character set you wish to use for this new option. In most cases, the "
|
||||
"default chosen for you will be sufficient. Note that this option is not "
|
||||
"needed to support Windows clients, it is only for DOS clients. If you leave "
|
||||
"this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
"Actualmente hay una opción de \"client code page\" en smb.conf. En Samba "
|
||||
"3.0 esta opción ha sido reemplazado por la opción \"dos charset\". Por "
|
||||
"favor, indique el juego de caracteres que desea usar para esta opción "
|
||||
"nueva. Esta opción no se necesita en absoluto para clientes Windows; es "
|
||||
"exclusivamente para los clientes DOS. Si deja en blanco este campo, no se "
|
||||
"cambiará smb.conf."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid "Modify smb.conf to use WINS settings from DHCP?"
|
||||
msgstr ""
|
||||
"¿Modificar smb.conf para usar la configuración WINS que proviene de DHCP?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"If your computer gets IP address information from a DHCP server on the "
|
||||
"network, the DHCP server may also provide information about WINS servers "
|
||||
"(\"NetBIOS name servers\") present on the network. This requires a change "
|
||||
"to your smb.conf file so that DHCP-provided WINS settings will automatically "
|
||||
"be read from /etc/samba/dhcp.conf."
|
||||
msgstr ""
|
||||
"Si su sistema recibe la dirección IP desde un servidor DHCP en la red, el "
|
||||
"servidor DHCP también puede proveerle informaciones sobre los servidores de "
|
||||
"WINS que haya en la red. Esto requiere un cambio en el fichero smb.conf "
|
||||
"para que la configuración de WINS proveniente de DHCP se lea automaticamente "
|
||||
"de /etc/samba/dhcp.conf."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"You must have the dhcp3-client package installed to take advantage of this "
|
||||
"feature."
|
||||
msgstr ""
|
||||
"Hay que instalar el paquete dhcp3-client para aprovechar esta funcionalidad."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid "Configure smb.conf through debconf?"
|
||||
msgstr "¿Configurar smb.conf mediante debconf?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"The rest of the configuration of Samba deals with questions that affect "
|
||||
"parameters in /etc/samba/smb.conf, which is the file used to configure the "
|
||||
"Samba programs (nmbd and smbd.) Your current smb.conf contains an 'include' "
|
||||
"line or an option that spans multiple lines, which could confuse debconf and "
|
||||
"require you to edit your smb.conf by hand to get it working again."
|
||||
msgstr ""
|
||||
"El resto de la configuración de Samba trata sobre cuestiones que afectan al "
|
||||
"contenido de /etc/samba/smb.conf, que es el fichero utilizado para "
|
||||
"configurar los programas de Samba (nmbd y smbd). Su smb.conf actual contiene "
|
||||
"una línea 'include' o una opción que atraviesa más de una línea, así que "
|
||||
"debconf puede dejarlo con un smb.conf descompuesto, requiriendo que lo "
|
||||
"arregle a mano."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"If you don't use debconf to configure smb.conf, you will have to handle any "
|
||||
"configuration changes yourself, and will not be able to take advantage of "
|
||||
"periodic configuration enhancements. Therefore, use of debconf is "
|
||||
"recommended if possible."
|
||||
msgstr ""
|
||||
"Si no usa debconf para configurar smb.conf, tendrá que cuidar a mano "
|
||||
"cualquier cambio a la configuración de Samba y no disfrutará de aumentos "
|
||||
"periódicos de configuración. Por eso se recomienda el uso de debconf cuando "
|
||||
"sea posible."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid "Workgroup/Domain Name?"
|
||||
msgstr "Nombre del dominio o del grupo de trabajo"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid ""
|
||||
"This controls what workgroup your server will appear to be in when queried "
|
||||
"by clients. Note that this parameter also controls the Domain name used with "
|
||||
"the security=domain setting."
|
||||
msgstr ""
|
||||
"Es el grupo de trabajo en el que aparecerá su servidor cuando se lo "
|
||||
"pregunten los clientes de la red. Este parámetro también controla el nombre "
|
||||
"de dominio que se usa con la configuración security=domain."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid "Use password encryption?"
|
||||
msgstr "¿Utilizar contraseñas cifradas?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid ""
|
||||
"Recent Windows clients communicate with SMB servers using encrypted "
|
||||
"passwords. If you want to use clear text passwords you will need to change a "
|
||||
"parameter in your Windows registry. It is recommended that you use encrypted "
|
||||
"passwords. If you do, make sure you have a valid /etc/samba/smbpasswd file "
|
||||
"and that you set passwords in there for each user using the smbpasswd "
|
||||
"command."
|
||||
msgstr ""
|
||||
"Los clientes Windows más modernos se comunican con los servidores SMB "
|
||||
"utilizando contraseñas cifradas. Si quiere usar contraseñas en texto plano, "
|
||||
"tendrá que cambiar un parámetro en el registro de Windows. Es muy "
|
||||
"recomendable usar cifrado en las contraseñas. Si elige hacerlo, compruebe "
|
||||
"que tiene un fichero /etc/samba/smbpasswd válido y que ha puesto las "
|
||||
"contraseñas con el programa smbpasswd."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid "Create samba password database, /var/lib/samba/passdb.tdb?"
|
||||
msgstr "¿Crear el base de dados de contraseñas /var/lib/samba/passdb.tdb?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid ""
|
||||
"To be compatible with the defaults in most versions of Windows, Samba must "
|
||||
"be configured to use encrypted passwords. This requires user passwords to "
|
||||
"be stored in a file separate from /etc/passwd. This file can be created "
|
||||
"automatically, but the passwords must be added manually (by you or the user) "
|
||||
"by running smbpasswd, and you must arrange to keep it up-to-date in the "
|
||||
"future. If you do not create it, you will have to reconfigure samba (and "
|
||||
"probably your client machines) to use plaintext passwords. See /usr/share/"
|
||||
"doc/samba-doc/htmldocs/ENCRYPTION.html from the samba-doc package for more "
|
||||
"details."
|
||||
msgstr ""
|
||||
"Para manterner la compatibilidad con el comportamiento por defecto de la "
|
||||
"mayoria de los sistemas Windows, hay que configurar Samba para que use "
|
||||
"contraseñas cifradas, lo cual requiere la creación de un fichero, distinto "
|
||||
"del /etc/passwd, donde se guarden las contraseñas de los usuarios. El "
|
||||
"fichero se puede crear automaticamente, aunque es necesario añadir las "
|
||||
"contraseñas manualmente (por usted o por el usuario) mediante el programa "
|
||||
"'smbpasswd', y debe encargarse de mantener las contraseñas al día. Si no "
|
||||
"crea este fichero, es imprescindible configurar Samba (y posiblemente los "
|
||||
"sistemas Windows) para que use contraseñas no cifradas. Véa /usr/share/doc/"
|
||||
"samba-doc/htmldocs/ENCRYPTION.html del paquete samba-doc para más "
|
||||
"información."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid "Samba's log files have moved."
|
||||
msgstr "Se han cambiado de lugar los ficheros de registro de Samba."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"Starting with the first packages of Samba 2.2 for Debian the log files for "
|
||||
"both Samba daemons (nmbd and smbd) are now stored in /var/log/samba/. The "
|
||||
"names of the files are log.nmbd and log.smbd, for nmbd and smbd respectively."
|
||||
msgstr ""
|
||||
"A partir de los primeros paquetes Debian de Samba 2.2, los ficheros de "
|
||||
"registro de los dos demonios del Samba (nmbd y smbd) se encuentran en /var/"
|
||||
"log/samba/. Los nombres de estos ficheros son log.nmbd y log.smbd, para "
|
||||
"nmbd y smbd respectivamente."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"The old log files that were in /var/log/ will be moved to the new location "
|
||||
"for you."
|
||||
msgstr ""
|
||||
"Los ficheros de registro antiguos que había en /var/log se moverán "
|
||||
"automáticamente a su nueva ubicación."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid "Running nmbd from inetd is no longer supported"
|
||||
msgstr "Ya no se puede ejecutar nmbd desde el inetd"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid ""
|
||||
"Your system was previously configured to start nmbd and smbd from inetd. As "
|
||||
"of version 2.999+3.0.alpha20-4, nmbd will no longer be started from inetd. "
|
||||
"If you have modified your /etc/init.d/samba startup script, you may need to "
|
||||
"adjust it by hand now so that nmbd will start."
|
||||
msgstr ""
|
||||
"Su sistema estaba configurado anteriormente para ejectuar nmbd y smbd desde "
|
||||
"inetd. A partir de la version 2.999+3.0.alpha20-4, nmbd ya no se ejecuta "
|
||||
"desde inetd. Si ha modificado el script de arranque /etc/init.d/samba, "
|
||||
"puede que tenga que editarlo ahora para que nmbd se ejecute."
|
||||
|
||||
#. Choices
|
||||
#: ../samba.templates:36
|
||||
msgid "daemons, inetd"
|
||||
msgstr "demonios, inetd"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid "How do you want to run Samba?"
|
||||
msgstr "¿Cómo quiere que se ejecute Samba?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid ""
|
||||
"The Samba daemon smbd can run as a normal daemon or from inetd. Running as a "
|
||||
"daemon is the recommended approach."
|
||||
msgstr ""
|
||||
"El servicio Samba smbd puede ejecutarse como demonio normal o desde el "
|
||||
"inetd. Se recomienda que se ejecute como demonio independiente."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid "Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?"
|
||||
msgstr ""
|
||||
"¿Convertir el fichero /etc/samba/smbpasswd en /var/lib/samba/passdb.tdb?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Samba 3.0 introduces a newer, more complete SAM database interface which "
|
||||
"supersedes the /etc/samba/smbpasswd file. Would you like your existing "
|
||||
"smbpasswd file to be migrated to /var/lib/samba/passdb.tdb for you? If you "
|
||||
"plan to use another pdb backend (e.g., LDAP) instead, you should answer 'no' "
|
||||
"here."
|
||||
msgstr ""
|
||||
"La versión 3.0 de Samba introduce un nuevo base de dados \"SAM\" más "
|
||||
"completo que suplanta al fichero /etc/samba/smbpasswd. ¿Quiere que el "
|
||||
"fichero corriente smbpasswd sea convertido en /var/lib/samba/passdb.tdb? Si "
|
||||
"pretende usar otro "
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid "Your smb.conf will be re-written!"
|
||||
msgstr "¡Se sobrescribirá su configuración smb.conf!"
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid ""
|
||||
"SWAT will rewrite your smb.conf file. It will rearrange the entries and "
|
||||
"delete all comments, include= and copy= options. If you have a carefully "
|
||||
"crafted smb.conf then back it up or don't use SWAT!"
|
||||
msgstr ""
|
301
packaging/Debian/debian-stable/po/fr.po
Normal file
301
packaging/Debian/debian-stable/po/fr.po
Normal file
@ -0,0 +1,301 @@
|
||||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
#
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
||||
#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Samba for Debian 3.0.0beta2-1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2003-08-30 19:08-0500\n"
|
||||
"PO-Revision-Date: 2003-07-02 21:52-0500\n"
|
||||
"Last-Translator: Steve Langasek <vorlon@debian.org>\n"
|
||||
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-15\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "Character Set for Unix filesystem"
|
||||
msgstr "Jeu de caractères pour les systèmes de fichiers Unix"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid ""
|
||||
"You currently have a \"character set\" configured in your smb.conf. In "
|
||||
"Samba 3.0, this option is replaced by a new option, \"unix charset\". Please "
|
||||
"specify the character set you wish to use for theis new option, which "
|
||||
"controls how Samba interprets filenames on the file system."
|
||||
msgstr ""
|
||||
"Une instruction « character set » (jeu de caractères) est utilisée dans "
|
||||
"votre fichier smb.conf. Avec Samba 3.0, cette option est remplacée par une "
|
||||
"nouvelle option, « unix charset » (jeu de caractères Unix). Veuillez "
|
||||
"indiquer le jeu de caractères que vous voulez utiliser avec cette option, "
|
||||
"qui permet d'interpréter les noms de fichiers sur le système."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "If you leave this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
"Le fichier smb.conf ne sera pas modifié si vous laissez cette option sans "
|
||||
"réponse."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid "Character Set for DOS clients"
|
||||
msgstr "Jeu de caractères pour les clients DOS"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid ""
|
||||
"You currently have a \"client code page\" set in your smb.conf. In Samba "
|
||||
"3.0, this option is replaced by the option \"dos charset\". Please specify "
|
||||
"the character set you wish to use for this new option. In most cases, the "
|
||||
"default chosen for you will be sufficient. Note that this option is not "
|
||||
"needed to support Windows clients, it is only for DOS clients. If you leave "
|
||||
"this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
"Votre fichier smb.conf contient une option « client code page » (page de "
|
||||
"codes du client). Avec Samba 3.0, cette option a été remplacée par l'option "
|
||||
"« dos charset » (jeu de caractères DOS). Veuillez indiquer le jeu de "
|
||||
"caractères que vous voulez utiliser avec la nouvelle option. En général le "
|
||||
"jeu de caractères choisi par défaut est suffisant. Veuillez noter que cette "
|
||||
"option ne sert pas pour les clients Windows mais seulement pour les clients "
|
||||
"DOS. Le fichier smb.conf ne sera pas modifié si vous laissez cette option "
|
||||
"sans réponse. "
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid "Modify smb.conf to use WINS settings from DHCP?"
|
||||
msgstr "Modifier smb.conf pour utiliser les paramètres WINS fournis par DHCP ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"If your computer gets IP address information from a DHCP server on the "
|
||||
"network, the DHCP server may also provide information about WINS servers "
|
||||
"(\"NetBIOS name servers\") present on the network. This requires a change "
|
||||
"to your smb.conf file so that DHCP-provided WINS settings will automatically "
|
||||
"be read from /etc/samba/dhcp.conf."
|
||||
msgstr ""
|
||||
"Si votre ordinateur obtient ses paramètres IP à partir d'un serveur DHCP du "
|
||||
"réseau, ce serveur peut aussi fournir des informations sur les serveurs WINS "
|
||||
"(serveurs de noms NetBIOS) présents sur le réseau. Une modification du "
|
||||
"fichier smb.conf est nécessaire afin que les réglages WINS fournis par le "
|
||||
"serveur DHCP soient lus dans /etc/samba/dhcp.conf."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"You must have the dhcp3-client package installed to take advantage of this "
|
||||
"feature."
|
||||
msgstr "Pour cela, le paquet dhcp3-client doit être installé."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid "Configure smb.conf through debconf?"
|
||||
msgstr "Voulez-vous configurer smb.conf avec debconf ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"The rest of the configuration of Samba deals with questions that affect "
|
||||
"parameters in /etc/samba/smb.conf, which is the file used to configure the "
|
||||
"Samba programs (nmbd and smbd.) Your current smb.conf contains an 'include' "
|
||||
"line or an option that spans multiple lines, which could confuse debconf and "
|
||||
"require you to edit your smb.conf by hand to get it working again."
|
||||
msgstr ""
|
||||
"La suite de la configuration de Samba pose des questions sur des paramètres "
|
||||
"de /etc/samba/smb.conf, le fichier utilisé pour configurer les programmes de "
|
||||
"Samba (nmbd et smbd). Votre fichier actuel contient une ligne « include » ou "
|
||||
"une option qui s'étale sur plusieurs lignes : cela peut perturber debconf et "
|
||||
"il vaut mieux gérer manuellement le contenu de ce fichier."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"If you don't use debconf to configure smb.conf, you will have to handle any "
|
||||
"configuration changes yourself, and will not be able to take advantage of "
|
||||
"periodic configuration enhancements. Therefore, use of debconf is "
|
||||
"recommended if possible."
|
||||
msgstr ""
|
||||
"Si vous n'utilisez pas debconf pour configurer smb.conf, vous devrez vous-"
|
||||
"même gérer les modifications de configuration et vous ne pourrez pas "
|
||||
"bénéficier des améliorations faites dans la configuration. Si possible, il "
|
||||
"est conseillé d'utiliser debconf."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid "Workgroup/Domain Name?"
|
||||
msgstr "Groupe de travail et nom de domaine ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid ""
|
||||
"This controls what workgroup your server will appear to be in when queried "
|
||||
"by clients. Note that this parameter also controls the Domain name used with "
|
||||
"the security=domain setting."
|
||||
msgstr ""
|
||||
"Ce paramètre indique le groupe de travail où les clients trouveront le "
|
||||
"serveur. Il indique aussi le nom de domaine utilisé par le paramètre "
|
||||
"« security=domain »."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid "Use password encryption?"
|
||||
msgstr "Voulez-vous chiffrer les mots de passe ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid ""
|
||||
"Recent Windows clients communicate with SMB servers using encrypted "
|
||||
"passwords. If you want to use clear text passwords you will need to change a "
|
||||
"parameter in your Windows registry. It is recommended that you use encrypted "
|
||||
"passwords. If you do, make sure you have a valid /etc/samba/smbpasswd file "
|
||||
"and that you set passwords in there for each user using the smbpasswd "
|
||||
"command."
|
||||
msgstr ""
|
||||
"Des clients Windows récents communiquent avec les serveurs SMB en utilisant "
|
||||
"des mots de passe chiffrés. Si vous voulez utiliser des mots de passe sans "
|
||||
"chiffrement, vous devez modifier un paramètre dans le registre de Windows. "
|
||||
"Il est recommandé d'utiliser des mots de passe chiffrés. Si vous le faites, "
|
||||
"n'oubliez pas de créer un fichier /etc/samba/smbpasswd et d'y mettre les "
|
||||
"mots de passe de tous les utilisateurs qui se servent de la commande "
|
||||
"smbpasswd."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid "Create samba password database, /var/lib/samba/passdb.tdb?"
|
||||
msgstr "Faut-il créer une base de données /var/lib/samba/passdb.tdb ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid ""
|
||||
"To be compatible with the defaults in most versions of Windows, Samba must "
|
||||
"be configured to use encrypted passwords. This requires user passwords to "
|
||||
"be stored in a file separate from /etc/passwd. This file can be created "
|
||||
"automatically, but the passwords must be added manually (by you or the user) "
|
||||
"by running smbpasswd, and you must arrange to keep it up-to-date in the "
|
||||
"future. If you do not create it, you will have to reconfigure samba (and "
|
||||
"probably your client machines) to use plaintext passwords. See /usr/share/"
|
||||
"doc/samba-doc/htmldocs/ENCRYPTION.html from the samba-doc package for more "
|
||||
"details."
|
||||
msgstr ""
|
||||
"Pour préserver la compatibilité avec le comportement par défaut de la "
|
||||
"plupart des systèmes Windows, Samba doit utiliser les mots de passe "
|
||||
"chiffrés. Cela exige la création d'un fichier, distinct du fichier /etc/"
|
||||
"passwd, pour mettre les mots de passe des utilisateurs. Ce fichier peut être "
|
||||
"créé automatiquement, mais quelqu'un (vous ou l'utilisateur) devra ajouter "
|
||||
"les mots de passe manuellement en utilisant la commande smbpasswd ; et vous "
|
||||
"devrez maintenir à jour ce fichier. Si vous ne voulez pas créer le fichier "
|
||||
"maintenant, Samba (et peut-être les ordinateurs Windows) devra utiliser des "
|
||||
"mots de passe non chiffrés. Voyez /usr/share/doc/samba-doc/htmldocs/"
|
||||
"ENCRYPTION.html dans le paquet samba-doc pour plus de détails."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid "Samba's log files have moved."
|
||||
msgstr "Les fichiers-journaux de Samba ont changé de place."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"Starting with the first packages of Samba 2.2 for Debian the log files for "
|
||||
"both Samba daemons (nmbd and smbd) are now stored in /var/log/samba/. The "
|
||||
"names of the files are log.nmbd and log.smbd, for nmbd and smbd respectively."
|
||||
msgstr ""
|
||||
"À partir des premiers paquets de Samba 2.2 pour Debian, les fichiers-"
|
||||
"journaux des démons nmbd et smbd se trouvent dans /var/log/samba/. Les noms "
|
||||
"de ces fichiers sont log.nmbd et log.smbd pour, respectivement, nmbd et smbd."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"The old log files that were in /var/log/ will be moved to the new location "
|
||||
"for you."
|
||||
msgstr ""
|
||||
"Les anciens fichiers-journaux dans /var/log/ seront mis au bon endroit."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid "Running nmbd from inetd is no longer supported"
|
||||
msgstr "L'utilisation de nmbd à partir d'inetd n'est plus supportée"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid ""
|
||||
"Your system was previously configured to start nmbd and smbd from inetd. As "
|
||||
"of version 2.999+3.0.alpha20-4, nmbd will no longer be started from inetd. "
|
||||
"If you have modified your /etc/init.d/samba startup script, you may need to "
|
||||
"adjust it by hand now so that nmbd will start."
|
||||
msgstr ""
|
||||
"Votre système lançait nmbd et smbd à partir d'inetd. Depuis la version 2.999"
|
||||
"+3.0.alpha20-4, on ne peut plus exécuter nmbd à partir d'inetd. Si vous avez "
|
||||
"modifié le script de lancement /etc/init.d/samba, vous avez peut-être besoin "
|
||||
"de le corriger manuellement pour permettre le lancement de nmbd. "
|
||||
|
||||
#. Choices
|
||||
#: ../samba.templates:36
|
||||
msgid "daemons, inetd"
|
||||
msgstr "démons, inetd"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid "How do you want to run Samba?"
|
||||
msgstr "Comment voulez-vous lancer Samba ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid ""
|
||||
"The Samba daemon smbd can run as a normal daemon or from inetd. Running as a "
|
||||
"daemon is the recommended approach."
|
||||
msgstr ""
|
||||
"Le service de Samba smbd peut s'exécuter en tant que démon classique ou bien "
|
||||
"être lancé par inetd. L'approche recommandée est qu'il s'exécute en tant que "
|
||||
"démon."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid "Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?"
|
||||
msgstr "Faut-il convertir /etc/samba/smbpasswd en /var/lib/samba/passdb.tdb ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid ""
|
||||
"Samba 3.0 introduces a newer, more complete SAM database interface which "
|
||||
"supersedes the /etc/samba/smbpasswd file. Would you like your existing "
|
||||
"smbpasswd file to be migrated to /var/lib/samba/passdb.tdb for you? If you "
|
||||
"plan to use another pdb backend (e.g., LDAP) instead, you should answer 'no' "
|
||||
"here."
|
||||
msgstr ""
|
||||
"Avec Samba 3.0, une nouvelle interface pour les bases de données SAM, plus "
|
||||
"complète, vient remplacer le fichier /etc/samba/smbpasswd. Voulez-vous que "
|
||||
"votre fichier existant soit remplacé par /var/lib/samba/passdb.tdb ? Si vous "
|
||||
"envisagez d'utiliser une autre interface d'authentification (p.ex. LDAP), "
|
||||
"refusez la proposition maintenant."
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid "Your smb.conf will be re-written!"
|
||||
msgstr "Ré-écriture de votre fichier smb.conf !"
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid ""
|
||||
"SWAT will rewrite your smb.conf file. It will rearrange the entries and "
|
||||
"delete all comments, include= and copy= options. If you have a carefully "
|
||||
"crafted smb.conf then back it up or don't use SWAT!"
|
||||
msgstr ""
|
||||
"SWAT va modifier votre fichier smb.conf. Les entrées seront réorganisées et "
|
||||
"les commentaires détruits ainsi que les entrées « include = » et « copy = ». "
|
||||
"Si votre smb.conf était soigneusement construit, sauvegardez-le ou "
|
||||
"n'utilisez pas SWAT !"
|
302
packaging/Debian/debian-stable/po/nl.po
Normal file
302
packaging/Debian/debian-stable/po/nl.po
Normal file
@ -0,0 +1,302 @@
|
||||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
#
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
||||
#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: samba\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2003-08-30 19:08-0500\n"
|
||||
"PO-Revision-Date: 2003-08-30 02:03+0100\n"
|
||||
"Last-Translator: Bart Cornelis <cobaco@linux.be>\n"
|
||||
"Language-Team: dutch <debian-l10n-dutch@lists.debian.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=iso-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "Character Set for Unix filesystem"
|
||||
msgstr "Karakterset voor Unix bestandsysteem"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid ""
|
||||
"You currently have a \"character set\" configured in your smb.conf. In "
|
||||
"Samba 3.0, this option is replaced by a new option, \"unix charset\". Please "
|
||||
"specify the character set you wish to use for theis new option, which "
|
||||
"controls how Samba interprets filenames on the file system."
|
||||
msgstr ""
|
||||
"U heeft momenteel een \"karakterset\" ingesteld in uw smb.conf. In Samba 3.0 "
|
||||
"werd deze optie vervangen door een nieuwe \"unix karakterset\" optie. "
|
||||
"Gelieve de karakterset die u voor deze nieuwe optie wil gebruiken aan te "
|
||||
"geven, deze bepaald hoe Samba de bestandsnamen in het bestandsysteem "
|
||||
"interpreteerd."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "If you leave this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
"Uw smb.conf bestand wordt niet aangepast indien u deze optie leeg laat."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid "Character Set for DOS clients"
|
||||
msgstr "Karakterset voor DOS-clients"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid ""
|
||||
"You currently have a \"client code page\" set in your smb.conf. In Samba "
|
||||
"3.0, this option is replaced by the option \"dos charset\". Please specify "
|
||||
"the character set you wish to use for this new option. In most cases, the "
|
||||
"default chosen for you will be sufficient. Note that this option is not "
|
||||
"needed to support Windows clients, it is only for DOS clients. If you leave "
|
||||
"this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
"U heeft momenteel een \"client code pagina\" ingesteld in uw smb.conf. In "
|
||||
"Samba 3.0 werd deze optie vervangen door de optie \"dos karakterset\". "
|
||||
"Gelieve de karakterset die u voor deze nieuwe optie wilt gebruiken aan te "
|
||||
"geven. In de meeste gevallen zal het standaard ingevulde antwoord voldoen. "
|
||||
"Merk op dat deze optie niet nodig is voor ondersteuning van Windows-clients, "
|
||||
"enkel voor DOS-clients. Uw smb.conf wordt niet veranderd wanneer u deze "
|
||||
"optie blank laat."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid "Modify smb.conf to use WINS settings from DHCP?"
|
||||
msgstr "smb.conf aanpassen om de WINS instellingen van DHCP te gebruiken?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"If your computer gets IP address information from a DHCP server on the "
|
||||
"network, the DHCP server may also provide information about WINS servers "
|
||||
"(\"NetBIOS name servers\") present on the network. This requires a change "
|
||||
"to your smb.conf file so that DHCP-provided WINS settings will automatically "
|
||||
"be read from /etc/samba/dhcp.conf."
|
||||
msgstr ""
|
||||
"Indien uw computer zijn ip-addres informatie van een DHCP-server op het "
|
||||
"netwerk haalt, voorziet deze mogelijks ook informatie betreffende de op het "
|
||||
"netwerk aanwezige WINS-servers (\"NetBIOS naam servers\").\" Dit vereist een "
|
||||
"verandering aan uw smb.conf bestand, opdat de door DHCP doorgegeven WINS "
|
||||
"instellingen automatisch gelezen worden van /etc/samba/dhcp.conf."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"You must have the dhcp3-client package installed to take advantage of this "
|
||||
"feature."
|
||||
msgstr ""
|
||||
"U dient het dhcp3-client-pakket geïnstalleert te hebben om van deze optie "
|
||||
"gebruik te maken."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid "Configure smb.conf through debconf?"
|
||||
msgstr "Configuratie in smb.conf met debconf beheren?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"The rest of the configuration of Samba deals with questions that affect "
|
||||
"parameters in /etc/samba/smb.conf, which is the file used to configure the "
|
||||
"Samba programs (nmbd and smbd.) Your current smb.conf contains an 'include' "
|
||||
"line or an option that spans multiple lines, which could confuse debconf and "
|
||||
"require you to edit your smb.conf by hand to get it working again."
|
||||
msgstr ""
|
||||
"De resterende Samba configuratie beslaat parameters in /etc/samba/smb.conf, "
|
||||
"het configuratiebestand dat gebruikt wordt voor de Samba programmas (nmbd en "
|
||||
"smbd). Uw huidige smb.conf bevat een 'include' regel of een optie die "
|
||||
"meerdere regels beslaat, dit kan debconf mogelijks in verwarring brenngen. "
|
||||
"Indien debconf in verwarring raakt dient u uw smb.conf handmatig aan te "
|
||||
"passen om samba terug werkend te krijgen."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"If you don't use debconf to configure smb.conf, you will have to handle any "
|
||||
"configuration changes yourself, and will not be able to take advantage of "
|
||||
"periodic configuration enhancements. Therefore, use of debconf is "
|
||||
"recommended if possible."
|
||||
msgstr ""
|
||||
"Indien u geen gebruik maakt van debconf voor het beheer van smb.conf dient u "
|
||||
"alle configuratie instellingen zelf te doen, en zult u geen voordeel halen "
|
||||
"uit de periodieke configuratie verbeteringen. Het gebruik van debconf wordt "
|
||||
"dan ook aangeraden. "
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid "Workgroup/Domain Name?"
|
||||
msgstr "Werkgroep/Domeinnaam?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid ""
|
||||
"This controls what workgroup your server will appear to be in when queried "
|
||||
"by clients. Note that this parameter also controls the Domain name used with "
|
||||
"the security=domain setting."
|
||||
msgstr ""
|
||||
"Dit bepaald van welke werkgroep uw server deel zal lijken uit te maken bij "
|
||||
"het beantwoorden van vragen door clients. Merk op dat deze parameter ook de "
|
||||
"domeinnaam die gebruikt wordt voor de security=domein instelling bepaald."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid "Use password encryption?"
|
||||
msgstr "Wachtwoord versleuteling gebruiken?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid ""
|
||||
"Recent Windows clients communicate with SMB servers using encrypted "
|
||||
"passwords. If you want to use clear text passwords you will need to change a "
|
||||
"parameter in your Windows registry. It is recommended that you use encrypted "
|
||||
"passwords. If you do, make sure you have a valid /etc/samba/smbpasswd file "
|
||||
"and that you set passwords in there for each user using the smbpasswd "
|
||||
"command."
|
||||
msgstr ""
|
||||
"Recente Windows clients maken gebruik van versleutelde wachtwoorden voor de "
|
||||
"communicatie met SMB-servers. Indien u onversleutelde tekst wachtwoorden "
|
||||
"wilt gebruiken dient u een parameter te veranderen in de Windows registry. "
|
||||
"Het gebruik van versleutelde wachtwoorden wordt aangeraden. Indien u dit "
|
||||
"doet zorg er dan voor dat u een geldig /etc/samba/smbpasswd bestand heeft en "
|
||||
"dat u de wachtwoorden daar voor elke gebruiker met behulp van smbpasswd "
|
||||
"insteld. "
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid "Create samba password database, /var/lib/samba/passdb.tdb?"
|
||||
msgstr "Samba wachtwoord database, /var/lib/samba/passdb.tdb, aanmaken?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid ""
|
||||
"To be compatible with the defaults in most versions of Windows, Samba must "
|
||||
"be configured to use encrypted passwords. This requires user passwords to "
|
||||
"be stored in a file separate from /etc/passwd. This file can be created "
|
||||
"automatically, but the passwords must be added manually (by you or the user) "
|
||||
"by running smbpasswd, and you must arrange to keep it up-to-date in the "
|
||||
"future. If you do not create it, you will have to reconfigure samba (and "
|
||||
"probably your client machines) to use plaintext passwords. See /usr/share/"
|
||||
"doc/samba-doc/htmldocs/ENCRYPTION.html from the samba-doc package for more "
|
||||
"details."
|
||||
msgstr ""
|
||||
"Om compatibel te zijn met de standaard instellingen van de meeste "
|
||||
"Windowsversies dient Samba gebruik te maken van versleutelde wachtwoorden. "
|
||||
"Dit vereist dat de gebruikerswachtwoorden opgeslagen worden in een bestand "
|
||||
"dat verschilt van /etc/passwd. Dit bestand kan automatisch aangemaakt "
|
||||
"worden, maar de wachtwoorden dienen handmatig (door de gebuiker) toegevoegt "
|
||||
"te worden met het smbpasswd commando. U dient dit bestand in de toekomst ook "
|
||||
"aktueel te houden. Indien u dit bestand niet aanmaakt zult u samba (en naar "
|
||||
"alle waarschijnlijkheid de client machines) moeten herconfigureren zodat "
|
||||
"deze onversleutelde wachtwoorden gebruiken. Zie /usr/share/doc/samba-doc/"
|
||||
"htmldocs/ENCRYPTION.html uit het samba-doc pakket voor meer details."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid "Samba's log files have moved."
|
||||
msgstr "Samba's log bestanden zijn verhuisd."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"Starting with the first packages of Samba 2.2 for Debian the log files for "
|
||||
"both Samba daemons (nmbd and smbd) are now stored in /var/log/samba/. The "
|
||||
"names of the files are log.nmbd and log.smbd, for nmbd and smbd respectively."
|
||||
msgstr ""
|
||||
"Vanaf de eerste Debian pakketten vaan Samba versie 2.2 zijn de log bestanden "
|
||||
"van beide Samba daemons (nmbd en smbd) opgeslagen in /var/log/samba/. De log "
|
||||
"bestanden voor nmbd en smbd zijn, respectievelijk, log.nmbd en log.smbd."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"The old log files that were in /var/log/ will be moved to the new location "
|
||||
"for you."
|
||||
msgstr ""
|
||||
"De oude logbestanden in /var/log worden voor u naar de nieuwe locatie "
|
||||
"verplaatst."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid "Running nmbd from inetd is no longer supported"
|
||||
msgstr "nmbd vanuit inetd draaien wordt niet langer ondersteund"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid ""
|
||||
"Your system was previously configured to start nmbd and smbd from inetd. As "
|
||||
"of version 2.999+3.0.alpha20-4, nmbd will no longer be started from inetd. "
|
||||
"If you have modified your /etc/init.d/samba startup script, you may need to "
|
||||
"adjust it by hand now so that nmbd will start."
|
||||
msgstr ""
|
||||
"Uw systeem was geconfigureerd om nmbd en smbd vanuit inetd te starten. Vanaf "
|
||||
"versie 2.999+3.0.alpha20-4 kan nmbd niet langer door inetd gestart worden. "
|
||||
"Indien u uw /etc/init.d/samba startup-script aangepast had, dient u dit "
|
||||
"mogelijks aan te passen opdat nmbd zou starten."
|
||||
|
||||
#. Choices
|
||||
#: ../samba.templates:36
|
||||
msgid "daemons, inetd"
|
||||
msgstr "daemons, inetd"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid "How do you want to run Samba?"
|
||||
msgstr "Hoe wilt u Samba draaien?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid ""
|
||||
"The Samba daemon smbd can run as a normal daemon or from inetd. Running as a "
|
||||
"daemon is the recommended approach."
|
||||
msgstr ""
|
||||
"De Samba daemon smbd kan als een normale daemon of via inetd draaien. Als "
|
||||
"een daemon is de aangeraden aanpak."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid "Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?"
|
||||
msgstr "/etc/samba/smbpasswd verplaatsen naar /var/lib/samba/passdb.tdb?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid ""
|
||||
"Samba 3.0 introduces a newer, more complete SAM database interface which "
|
||||
"supersedes the /etc/samba/smbpasswd file. Would you like your existing "
|
||||
"smbpasswd file to be migrated to /var/lib/samba/passdb.tdb for you? If you "
|
||||
"plan to use another pdb backend (e.g., LDAP) instead, you should answer 'no' "
|
||||
"here."
|
||||
msgstr ""
|
||||
"Samba 3.0 introduceert een nieuwe, meer complete SAM databaseinterface die "
|
||||
"het /etc/samba/smbpasswd bestand overstijgt. \"Wilt u dat ik uw bestaand "
|
||||
"smbpasswd bestand voor u naar /var/lib/samba/passdb.tdb migreer? Indien u "
|
||||
"van plan bent om, in plaats hiervan, een ander pdb-backend (e.g. LDAP) te "
|
||||
"gebruiken dient u hier 'nee' te antwoorden."
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid "Your smb.conf will be re-written!"
|
||||
msgstr "Uw smb.conf wordt herschreven!"
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid ""
|
||||
"SWAT will rewrite your smb.conf file. It will rearrange the entries and "
|
||||
"delete all comments, include= and copy= options. If you have a carefully "
|
||||
"crafted smb.conf then back it up or don't use SWAT!"
|
||||
msgstr ""
|
||||
"SWAT zal uw smb.conf bestand herschrijven. Het zal de ingangen anders "
|
||||
"schikken en alle comments, include= en copy= opties verwijderen. Als u een, "
|
||||
"met veel zorg, handmatig opgebouwd smb.conf bestand heeft, maak dan een "
|
||||
"reservekopie of zie van het gebruik van SWAT af! "
|
308
packaging/Debian/debian-stable/po/pt_BR.po
Normal file
308
packaging/Debian/debian-stable/po/pt_BR.po
Normal file
@ -0,0 +1,308 @@
|
||||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
#
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
||||
#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: samba_3.0.0beta2-1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2003-08-30 19:08-0500\n"
|
||||
"PO-Revision-Date: 2003-07-02 21:56-0500\n"
|
||||
"Last-Translator: Steve Langasek <vorlon@debian.org>\n"
|
||||
"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "Character Set for Unix filesystem"
|
||||
msgstr "Conjunto de caracteres para sistema de arquivos Unix"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"You currently have a \"character set\" configured in your smb.conf. In "
|
||||
"Samba 3.0, this option is replaced by a new option, \"unix charset\". Please "
|
||||
"specify the character set you wish to use for theis new option, which "
|
||||
"controls how Samba interprets filenames on the file system."
|
||||
msgstr ""
|
||||
"Atualmente existe um \"conjunto de caracteres\" (\"character set\") "
|
||||
"configurado em seu arquivo smb.conf. No Samba 3.0, esta opção foi "
|
||||
"substituída por uma nova opção, \"unix charset\". Por favor especifique o "
|
||||
"conjunto de caracteres a ser usado para essa nova opção, a qual controla "
|
||||
"como o Samba interpreta nomes de arquivos no sistema de arquivos."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "If you leave this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
"Caso você deixe esta opção em branco, seu arquivo smb.conf não será "
|
||||
"modificado."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid "Character Set for DOS clients"
|
||||
msgstr "Conjunto de caracteres para clientes DOS"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid ""
|
||||
"You currently have a \"client code page\" set in your smb.conf. In Samba "
|
||||
"3.0, this option is replaced by the option \"dos charset\". Please specify "
|
||||
"the character set you wish to use for this new option. In most cases, the "
|
||||
"default chosen for you will be sufficient. Note that this option is not "
|
||||
"needed to support Windows clients, it is only for DOS clients. If you leave "
|
||||
"this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
"Atualmente existe um \"código de página do cliente\" (\"client code page\") "
|
||||
"definido em seu arquivo smb.conf. No Samba 3.0, essa opção foi substituída "
|
||||
"pela opção \"dos charset\". Por favor, especifique o conjunto de caracteres "
|
||||
"que você deseja usar para essa nova opção. Note que essa opção não é "
|
||||
"necessária para suportar clientes Windows mas sim válida somente para "
|
||||
"clientes DOS. Caso você deixe essa opção em branco, seu arquivo smb.conf não "
|
||||
"será modificado."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid "Modify smb.conf to use WINS settings from DHCP?"
|
||||
msgstr "Modificar smb.conf para usar configurações WINS fornecidas via DHCP ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"If your computer gets IP address information from a DHCP server on the "
|
||||
"network, the DHCP server may also provide information about WINS servers "
|
||||
"(\"NetBIOS name servers\") present on the network. This requires a change "
|
||||
"to your smb.conf file so that DHCP-provided WINS settings will automatically "
|
||||
"be read from /etc/samba/dhcp.conf."
|
||||
msgstr ""
|
||||
"Caso seu computador obtenha as informações de endereçamento IP de um "
|
||||
"servidor DHCP na rede, o servidor DHCP pode também fornecer informações "
|
||||
"sobre servidor WINS (\"Servidor de Nomes NetBIOS\") presentes na rede. Para "
|
||||
"o Samba ler as configurações WINS fornecidas pelo servidor DHCP "
|
||||
"automaticamente do arquivo /etc/samba/dhcp.conf, é preciso modificar seu "
|
||||
"arquivo smb.conf."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"You must have the dhcp3-client package installed to take advantage of this "
|
||||
"feature."
|
||||
msgstr ""
|
||||
"Você deve possuir o pacote dhcp3-client instalado para poder usar este "
|
||||
"recurso."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid "Configure smb.conf through debconf?"
|
||||
msgstr "Configurar smb.conf através do debconf ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"The rest of the configuration of Samba deals with questions that affect "
|
||||
"parameters in /etc/samba/smb.conf, which is the file used to configure the "
|
||||
"Samba programs (nmbd and smbd.) Your current smb.conf contains an 'include' "
|
||||
"line or an option that spans multiple lines, which could confuse debconf and "
|
||||
"require you to edit your smb.conf by hand to get it working again."
|
||||
msgstr ""
|
||||
"O restante da configuração do Samba lida com questões que afetam parâmetros "
|
||||
"no arquivo /etc/samba/smb.conf, que é o arquivo usado para configurar os "
|
||||
"programas Samba (nmbd e smbd). Seu arquivo smb.conf atual contém uma linha "
|
||||
"'include' ou uma opção que ocupa diversas linhas, o que pode confundir o "
|
||||
"debconf e requerer que você edite seu arquivo smb.conf manualmente para tê-"
|
||||
"lo funcional novamente."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"If you don't use debconf to configure smb.conf, you will have to handle any "
|
||||
"configuration changes yourself, and will not be able to take advantage of "
|
||||
"periodic configuration enhancements. Therefore, use of debconf is "
|
||||
"recommended if possible."
|
||||
msgstr ""
|
||||
"Caso você opte por não usar o debconf para configurar o smb.conf, será "
|
||||
"necessário que você lide com quaisquer mudanças de configurações manualmente "
|
||||
"e você não poderá aproveitar os melhoramentos periódicos de configuração. "
|
||||
"Por esse motivo, é recomendado usar o debconf, caso seja possível."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid "Workgroup/Domain Name?"
|
||||
msgstr "Nome de Domínio/Grupo de Trabalho ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid ""
|
||||
"This controls what workgroup your server will appear to be in when queried "
|
||||
"by clients. Note that this parameter also controls the Domain name used with "
|
||||
"the security=domain setting."
|
||||
msgstr ""
|
||||
"Este parâmetro controla em qual grupo de trabalho (workgroup) seu servidor "
|
||||
"parecerá estar quando o mesmo for pesquisado por clientes. Note que este "
|
||||
"parâmetro também controla o nome de Domínio usado com a configuração "
|
||||
"security=domain."
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid "Use password encryption?"
|
||||
msgstr "Usar encriptação de senhas ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid ""
|
||||
"Recent Windows clients communicate with SMB servers using encrypted "
|
||||
"passwords. If you want to use clear text passwords you will need to change a "
|
||||
"parameter in your Windows registry. It is recommended that you use encrypted "
|
||||
"passwords. If you do, make sure you have a valid /etc/samba/smbpasswd file "
|
||||
"and that you set passwords in there for each user using the smbpasswd "
|
||||
"command."
|
||||
msgstr ""
|
||||
"Clientes Windows atuais comunicam-se com servidores SMB usando senhas "
|
||||
"encriptadas. Caso você queira usar senhas em texto puro você precisará "
|
||||
"modificar um parâmetro no registro de seu Windows. É recomendado que você "
|
||||
"use senhas encriptadas. Se for usá-las, certifique-se de possuir um arquivo /"
|
||||
"etc/samba/smbpasswd válido e que você tenha definido senhas no mesmo para "
|
||||
"cada usuário, utilizando o comando smbpasswd."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid "Create samba password database, /var/lib/samba/passdb.tdb?"
|
||||
msgstr "Gerar a base de dados para senhas /var/lib/samba/passdb.tdb ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid ""
|
||||
"To be compatible with the defaults in most versions of Windows, Samba must "
|
||||
"be configured to use encrypted passwords. This requires user passwords to "
|
||||
"be stored in a file separate from /etc/passwd. This file can be created "
|
||||
"automatically, but the passwords must be added manually (by you or the user) "
|
||||
"by running smbpasswd, and you must arrange to keep it up-to-date in the "
|
||||
"future. If you do not create it, you will have to reconfigure samba (and "
|
||||
"probably your client machines) to use plaintext passwords. See /usr/share/"
|
||||
"doc/samba-doc/htmldocs/ENCRYPTION.html from the samba-doc package for more "
|
||||
"details."
|
||||
msgstr ""
|
||||
"Para compatibilidade com os padrões adotados em todas as versões atuais do "
|
||||
"Windows o Samba deve ser configurado para usar senhas encriptadas. Isso "
|
||||
"requer que as senhas dos usuários sejam armazenadas em um arquivo diferente "
|
||||
"do /etc/passwd. Esse arquivo pode ser criado automaticamente, mas as senhas "
|
||||
"devem ser definidas manualmente (por você ou pelo usuário) executando o "
|
||||
"utilitário smbpasswd. Você deve certificar-se de manter esse arquivo "
|
||||
"atualizado futuramente. Caso você não crie esse arquivo, você terá que "
|
||||
"reconfigurar o Samba (e provavelmente suas máquinas clientes) para "
|
||||
"utilização de senhas em texto puro. Consulte a documentação do pacote samba-"
|
||||
"doc em /usr/share/doc/samba-doc/htmldocs/ENCRYPTION.html para maiores "
|
||||
"detalhes."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid "Samba's log files have moved."
|
||||
msgstr "Arquivos de log do Samba foram movidos."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"Starting with the first packages of Samba 2.2 for Debian the log files for "
|
||||
"both Samba daemons (nmbd and smbd) are now stored in /var/log/samba/. The "
|
||||
"names of the files are log.nmbd and log.smbd, for nmbd and smbd respectively."
|
||||
msgstr ""
|
||||
"Desde os primeiros pacotes Debian do Samba 2.2 os arquivos de log para ambos "
|
||||
"os daemons Samba (nmbd e smbd) são armazenados no diretório /var/log/samba/. "
|
||||
"Os nomes desses arquivos são log.nmbd e log.smbd, para o nmbd e para o smbd, "
|
||||
"respectivamente."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"The old log files that were in /var/log/ will be moved to the new location "
|
||||
"for you."
|
||||
msgstr ""
|
||||
"Os antigos arquivos de log que estavam em /var/log/ serão movidos para a "
|
||||
"nova localização automaticamente para você."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid "Running nmbd from inetd is no longer supported"
|
||||
msgstr "A execução do nmbd a partir do inetd não é mais suportada"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid ""
|
||||
"Your system was previously configured to start nmbd and smbd from inetd. As "
|
||||
"of version 2.999+3.0.alpha20-4, nmbd will no longer be started from inetd. "
|
||||
"If you have modified your /etc/init.d/samba startup script, you may need to "
|
||||
"adjust it by hand now so that nmbd will start."
|
||||
msgstr ""
|
||||
"Seu sistema foi previamente configurado para iniciar os daemons nmbd e smbd "
|
||||
"a partir do inetd. Desde a versão 2.999+3.0.alpha20-4, o nmbd não mais será "
|
||||
"iniciado a partir do inetd. Caso você tenha modificado seu script de "
|
||||
"inicialização /etc/init.d/samba, você pode precisar ajustá-lo manualmente "
|
||||
"agora para que o nmbd seja iniciado."
|
||||
|
||||
#. Choices
|
||||
#: ../samba.templates:36
|
||||
msgid "daemons, inetd"
|
||||
msgstr "daemons, inetd"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid "How do you want to run Samba?"
|
||||
msgstr "Como você deseja que o Samba seja executado ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid ""
|
||||
"The Samba daemon smbd can run as a normal daemon or from inetd. Running as a "
|
||||
"daemon is the recommended approach."
|
||||
msgstr ""
|
||||
"O serviço Samba smbd pode ser executado como daemon normal ou a partir do "
|
||||
"inetd. Executá-lo como daemon é o método recomendado."
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid "Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?"
|
||||
msgstr "Mover /etc/samba/smbpasswd para /var/lib/samba/passdb.tdb ?"
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid ""
|
||||
"Samba 3.0 introduces a newer, more complete SAM database interface which "
|
||||
"supersedes the /etc/samba/smbpasswd file. Would you like your existing "
|
||||
"smbpasswd file to be migrated to /var/lib/samba/passdb.tdb for you? If you "
|
||||
"plan to use another pdb backend (e.g., LDAP) instead, you should answer 'no' "
|
||||
"here."
|
||||
msgstr ""
|
||||
"O Samba 3.0 introduz uma nova e mais complete interface de base de dados SAM "
|
||||
"que substitui o arquivo /etc/samba/smbpasswd. Você gostaria que o arquivo "
|
||||
"smbpasswd existente fosse migrado para /var/lib/samba/passdb.tdb para você ? "
|
||||
"Caso você planeje usar um outro backend (como LDAP, por exemplo) você deverá "
|
||||
"escolher 'não' aqui."
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid "Your smb.conf will be re-written!"
|
||||
msgstr "Seu arquivo smb.conf será reescrito !"
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid ""
|
||||
"SWAT will rewrite your smb.conf file. It will rearrange the entries and "
|
||||
"delete all comments, include= and copy= options. If you have a carefully "
|
||||
"crafted smb.conf then back it up or don't use SWAT!"
|
||||
msgstr ""
|
||||
"O SWAT irá reescrever seu arquivo smb.conf. Ele irá rearrumar as entradas e "
|
||||
"apagar todos os comentários, opções include= e copy=. Caso você possua um "
|
||||
"arquivo smb.conf cuidadosamente criado e comentado, faça uma cópia de "
|
||||
"segurança (backup) do mesmo ou não use o SWAT !"
|
233
packaging/Debian/debian-stable/po/templates.pot
Normal file
233
packaging/Debian/debian-stable/po/templates.pot
Normal file
@ -0,0 +1,233 @@
|
||||
#
|
||||
# Translators, if you are not familiar with the PO format, gettext
|
||||
# documentation is worth reading, especially sections dedicated to
|
||||
# this format, e.g. by running:
|
||||
# info -n '(gettext)PO Files'
|
||||
# info -n '(gettext)Header Entry'
|
||||
#
|
||||
# Some information specific to po-debconf are available at
|
||||
# /usr/share/doc/po-debconf/README-trans
|
||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
||||
#
|
||||
# Developers do not need to manually edit POT or PO files.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2003-08-30 19:08-0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "Character Set for Unix filesystem"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid ""
|
||||
"You currently have a \"character set\" configured in your smb.conf. In "
|
||||
"Samba 3.0, this option is replaced by a new option, \"unix charset\". Please "
|
||||
"specify the character set you wish to use for theis new option, which "
|
||||
"controls how Samba interprets filenames on the file system."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:3
|
||||
msgid "If you leave this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid "Character Set for DOS clients"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:13
|
||||
msgid ""
|
||||
"You currently have a \"client code page\" set in your smb.conf. In Samba "
|
||||
"3.0, this option is replaced by the option \"dos charset\". Please specify "
|
||||
"the character set you wish to use for this new option. In most cases, the "
|
||||
"default chosen for you will be sufficient. Note that this option is not "
|
||||
"needed to support Windows clients, it is only for DOS clients. If you leave "
|
||||
"this option blank, your smb.conf will not be changed."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid "Modify smb.conf to use WINS settings from DHCP?"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"If your computer gets IP address information from a DHCP server on the "
|
||||
"network, the DHCP server may also provide information about WINS servers "
|
||||
"(\"NetBIOS name servers\") present on the network. This requires a change "
|
||||
"to your smb.conf file so that DHCP-provided WINS settings will automatically "
|
||||
"be read from /etc/samba/dhcp.conf."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:24
|
||||
msgid ""
|
||||
"You must have the dhcp3-client package installed to take advantage of this "
|
||||
"feature."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid "Configure smb.conf through debconf?"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"The rest of the configuration of Samba deals with questions that affect "
|
||||
"parameters in /etc/samba/smb.conf, which is the file used to configure the "
|
||||
"Samba programs (nmbd and smbd.) Your current smb.conf contains an 'include' "
|
||||
"line or an option that spans multiple lines, which could confuse debconf and "
|
||||
"require you to edit your smb.conf by hand to get it working again."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:37
|
||||
msgid ""
|
||||
"If you don't use debconf to configure smb.conf, you will have to handle any "
|
||||
"configuration changes yourself, and will not be able to take advantage of "
|
||||
"periodic configuration enhancements. Therefore, use of debconf is "
|
||||
"recommended if possible."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid "Workgroup/Domain Name?"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:52
|
||||
msgid ""
|
||||
"This controls what workgroup your server will appear to be in when queried "
|
||||
"by clients. Note that this parameter also controls the Domain name used with "
|
||||
"the security=domain setting."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid "Use password encryption?"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba-common.templates:60
|
||||
msgid ""
|
||||
"Recent Windows clients communicate with SMB servers using encrypted "
|
||||
"passwords. If you want to use clear text passwords you will need to change a "
|
||||
"parameter in your Windows registry. It is recommended that you use encrypted "
|
||||
"passwords. If you do, make sure you have a valid /etc/samba/smbpasswd file "
|
||||
"and that you set passwords in there for each user using the smbpasswd "
|
||||
"command."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid "Create samba password database, /var/lib/samba/passdb.tdb?"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:4
|
||||
msgid ""
|
||||
"To be compatible with the defaults in most versions of Windows, Samba must "
|
||||
"be configured to use encrypted passwords. This requires user passwords to "
|
||||
"be stored in a file separate from /etc/passwd. This file can be created "
|
||||
"automatically, but the passwords must be added manually (by you or the user) "
|
||||
"by running smbpasswd, and you must arrange to keep it up-to-date in the "
|
||||
"future. If you do not create it, you will have to reconfigure samba (and "
|
||||
"probably your client machines) to use plaintext passwords. See /usr/share/"
|
||||
"doc/samba-doc/htmldocs/ENCRYPTION.html from the samba-doc package for more "
|
||||
"details."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid "Samba's log files have moved."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"Starting with the first packages of Samba 2.2 for Debian the log files for "
|
||||
"both Samba daemons (nmbd and smbd) are now stored in /var/log/samba/. The "
|
||||
"names of the files are log.nmbd and log.smbd, for nmbd and smbd respectively."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:17
|
||||
msgid ""
|
||||
"The old log files that were in /var/log/ will be moved to the new location "
|
||||
"for you."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid "Running nmbd from inetd is no longer supported"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:28
|
||||
msgid ""
|
||||
"Your system was previously configured to start nmbd and smbd from inetd. As "
|
||||
"of version 2.999+3.0.alpha20-4, nmbd will no longer be started from inetd. "
|
||||
"If you have modified your /etc/init.d/samba startup script, you may need to "
|
||||
"adjust it by hand now so that nmbd will start."
|
||||
msgstr ""
|
||||
|
||||
#. Choices
|
||||
#: ../samba.templates:36
|
||||
msgid "daemons, inetd"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid "How do you want to run Samba?"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:38
|
||||
msgid ""
|
||||
"The Samba daemon smbd can run as a normal daemon or from inetd. Running as a "
|
||||
"daemon is the recommended approach."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid "Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../samba.templates:45
|
||||
msgid ""
|
||||
"Samba 3.0 introduces a newer, more complete SAM database interface which "
|
||||
"supersedes the /etc/samba/smbpasswd file. Would you like your existing "
|
||||
"smbpasswd file to be migrated to /var/lib/samba/passdb.tdb for you? If you "
|
||||
"plan to use another pdb backend (e.g., LDAP) instead, you should answer 'no' "
|
||||
"here."
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid "Your smb.conf will be re-written!"
|
||||
msgstr ""
|
||||
|
||||
#. Description
|
||||
#: ../swat.templates:3
|
||||
msgid ""
|
||||
"SWAT will rewrite your smb.conf file. It will rearrange the entries and "
|
||||
"delete all comments, include= and copy= options. If you have a carefully "
|
||||
"crafted smb.conf then back it up or don't use SWAT!"
|
||||
msgstr ""
|
1
packaging/Debian/debian-stable/python2.2-samba.files
Normal file
1
packaging/Debian/debian-stable/python2.2-samba.files
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/python2.2/site-packages/
|
300
packaging/Debian/debian-stable/rules
Executable file
300
packaging/Debian/debian-stable/rules
Executable file
@ -0,0 +1,300 @@
|
||||
#!/usr/bin/make -f
|
||||
#
|
||||
# Important modifications (introduction of a saved config.cache to
|
||||
# solve build problems) introduced in Samba 2.2.1a-5. These
|
||||
# modification were made by Steve Langasek <vorlon@netexpress.net>.
|
||||
#
|
||||
# config.cache *DISABLED* to solve problems caused incorrect settings
|
||||
# --SSS
|
||||
#
|
||||
#
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# This is the debhelper compatability version to use.
|
||||
export DH_COMPAT=4
|
||||
|
||||
# This has to be exported to make some magic below work.
|
||||
export DH_OPTIONS
|
||||
|
||||
# Set the host and build architectures for use with config.cache loading,
|
||||
# cross-building, etc.
|
||||
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
export DEB_HOST_GNU_TYPE
|
||||
export DEB_BUILD_GNU_TYPE
|
||||
|
||||
|
||||
# Support the DEB_BUILD_OPTIONS variable
|
||||
CFLAGS = -gstabs -Wall
|
||||
INSTALL = install
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL += -s
|
||||
endif
|
||||
|
||||
|
||||
DESTDIR=`pwd`/debian/tmp
|
||||
|
||||
patch: patch-stamp
|
||||
patch-stamp:
|
||||
dh_testdir
|
||||
if [ ! -f patch-stamp ]; then /bin/sh debian/scripts/patch-source; fi
|
||||
touch patch-stamp
|
||||
|
||||
unpatch:
|
||||
dh_testdir
|
||||
if [ -f patch-stamp ]; then /bin/sh debian/scripts/unpatch-source; fi
|
||||
rm -f patch-stamp
|
||||
|
||||
configure: patch-stamp configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
|
||||
# if [ -f debian/config.cache ]; then \
|
||||
# cp -f debian/config.cache source/config.cache; \
|
||||
# fi
|
||||
|
||||
[ -f source/Makefile ] || (cd source && CFLAGS="$(CFLAGS)" ./configure \
|
||||
--host=$(DEB_HOST_GNU_TYPE) \
|
||||
--build=$(DEB_BUILD_GNU_TYPE) \
|
||||
--with-fhs \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/etc/samba \
|
||||
--with-privatedir=/etc/samba \
|
||||
--localstatedir=/var \
|
||||
--with-netatalk \
|
||||
--with-smbmount \
|
||||
--with-pam \
|
||||
--with-syslog \
|
||||
--with-utmp \
|
||||
--with-readline \
|
||||
--with-pam_smbpass \
|
||||
--with-libsmbclient \
|
||||
--with-msdfs \
|
||||
--with-automount \
|
||||
--with-acl-support \
|
||||
--with-quotas \
|
||||
--with-ldap \
|
||||
--with-python=python2.2)
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
build: patch-stamp configure-stamp build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
$(MAKE) -C source headers
|
||||
$(MAKE) -C source all nsswitch/libnss_wins.so python_ext
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Clean first the Samba package
|
||||
# -$(MAKE) -C source realclean
|
||||
# -$(MAKE) -C source clean
|
||||
-$(MAKE) -C source python_clean distclean
|
||||
|
||||
# Delete stuff left after a build that is not deleted by 'make clean'
|
||||
rm -f source/bin/wbinfo source/bin/winbindd source/bin/debug2html \
|
||||
source/bin/libsmbclient.a source/include/stamp-h
|
||||
|
||||
dh_clean
|
||||
|
||||
install: DH_OPTIONS=
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
mkdir -p $(DESTDIR)/usr/share/man $(DESTDIR)/usr/lib \
|
||||
$(DESTDIR)/lib/security $(DESTDIR)/sbin $(DESTDIR)/etc/samba \
|
||||
$(DESTDIR)/usr/lib/cups/backend $(DESTDIR)/usr/share/samba \
|
||||
$(DESTDIR)/etc/pam.d $(DESTDIR)/etc/dhcp3/dhclient-enter-hooks.d \
|
||||
$(DESTDIR)/usr/lib/python2.2/site-packages
|
||||
|
||||
# Add here commands to install the package into debian/tmp.
|
||||
$(MAKE) -C source install DESTDIR=$(DESTDIR)
|
||||
|
||||
# libsmbclient files are not installed by the standard
|
||||
# 'make install' - do it manually.
|
||||
$(MAKE) -C source installclientlib DESTDIR=$(DESTDIR)
|
||||
mv $(DESTDIR)/usr/lib/libsmbclient.so $(DESTDIR)/usr/lib/libsmbclient.so.0.1
|
||||
ln -s libsmbclient.so.0.1 $(DESTDIR)/usr/lib/libsmbclient.so.0
|
||||
ln -s libsmbclient.so.0.1 $(DESTDIR)/usr/lib/libsmbclient.so
|
||||
|
||||
# Install other stuff not installed by "make install"
|
||||
install -m 0755 debian/mksmbpasswd.awk $(DESTDIR)/usr/sbin/mksmbpasswd
|
||||
|
||||
# Install winbind stuff not installed by 'make install'
|
||||
install -m 0644 source/nsswitch/libnss_winbind.so \
|
||||
$(DESTDIR)/lib/libnss_winbind.so.2
|
||||
install -m 0644 source/nsswitch/pam_winbind.so \
|
||||
$(DESTDIR)/lib/security/
|
||||
|
||||
# Install libnss_wins.so, which is not installed by 'make install' either.
|
||||
install -m 0644 source/nsswitch/libnss_wins.so \
|
||||
$(DESTDIR)/lib/libnss_wins.so.2
|
||||
|
||||
# pam_smbpass.so isn't being installed by 'make install'.
|
||||
# We'll move it here to $(DESTDIR)/lib/security/ and then
|
||||
# libpam-smbpass.files will make dh_movefiles move it to the
|
||||
# right location in the libpam-smbpass package.
|
||||
install -m 0644 source/bin/pam_smbpass.so $(DESTDIR)/lib/security/
|
||||
|
||||
# Create the symlink that will allow us to do "mount -t smbfs ...".
|
||||
# Create also a symlink that will allow "mount -t smb ..." to
|
||||
# work too. The symlink is created in $(DESTDIR)/sbin/ but
|
||||
# will be moved by dh_movefiles to the smbfs package later on.
|
||||
ln -s /usr/bin/smbmount $(DESTDIR)/sbin/mount.smbfs
|
||||
ln -s /usr/bin/smbmount $(DESTDIR)/sbin/mount.smb
|
||||
ln -s smbmount.8 $(DESTDIR)/usr/share/man/man8/mount.smb.8
|
||||
ln -s smbmount.8 $(DESTDIR)/usr/share/man/man8/mount.smbfs.8
|
||||
|
||||
# For CUPS to support printing to samba printers, it's necessary
|
||||
# to make the following symlink (according to
|
||||
# Erich Schubert <debian@vitavonni.de> in #109509):
|
||||
ln -s ../../../bin/smbspool $(DESTDIR)/usr/lib/cups/backend/smb
|
||||
|
||||
# Install man pages for files without man pages in the upstream sources
|
||||
install -m 0644 debian/mksmbpasswd.8 $(DESTDIR)/usr/share/man/man8/mksmbpasswd.8
|
||||
|
||||
# Delete unwanted stuff leftover from "make install"
|
||||
|
||||
# The smbwrapper package is not being generated anymore, so we must
|
||||
# delete the related man pages.
|
||||
rm $(DESTDIR)/usr/share/man/man1/smbsh.1
|
||||
|
||||
# We're not providing findsmb (should we?) so let's remove the man
|
||||
# pages.
|
||||
find debian/ -name 'findsmb*' -exec rm -f {} \;
|
||||
|
||||
# Install samba-common's conffiles - they'll get moved later to their
|
||||
# correct place by dh_movefiles.
|
||||
cp debian/smb.conf $(DESTDIR)/etc/samba/
|
||||
install -m755 debian/panic-action $(DESTDIR)/etc/samba/
|
||||
cp debian/gdbcommands $(DESTDIR)/etc/samba/
|
||||
cp debian/samba.pamd $(DESTDIR)/etc/pam.d/samba
|
||||
install -m755 debian/samba-common.dhcp $(DESTDIR)/etc/dhcp3/dhclient-enter-hooks.d/samba
|
||||
|
||||
# Install the Python modules
|
||||
#
|
||||
#cp source/build/lib.*/samba/*.so $(DESTDIR)/usr/lib/python2.2/site-packages/
|
||||
cp source/build/lib.linux-*-2.2/samba/*.so $(DESTDIR)/usr/lib/python2.2/site-packages/
|
||||
|
||||
dh_movefiles
|
||||
|
||||
# Build architecture-independent files here.
|
||||
# Pass -i to all debhelper commands in this target to reduce clutter.
|
||||
binary-indep: DH_OPTIONS=-i
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdebconf
|
||||
dh_installdocs -A debian/README.build
|
||||
# dh_installexamples is not available in Debian Potato...
|
||||
[ -x /usr/bin/dh_installexamples ] && DH_OPTIONS= dh_installexamples -v -psamba-doc examples/*
|
||||
# dh_installmenu
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installinit
|
||||
# dh_installcron
|
||||
# dh_installmanpages
|
||||
# dh_installinfo
|
||||
# dh_undocumented
|
||||
dh_installchangelogs
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
|
||||
# Get rid of those pesky .cvsignore files to make lintian happy
|
||||
find debian/ -name .cvsignore -exec rm -f {} \;
|
||||
|
||||
dh_installdeb
|
||||
# dh_perl
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
# Pass -a to all debhelper commands in this target to reduce clutter.
|
||||
binary-arch: DH_OPTIONS=-a
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdebconf
|
||||
dh_installdocs -A debian/README.build
|
||||
# dh_installexamples is not available in Debian Potato...
|
||||
[ -x /usr/bin/dh_installexamples ] && DH_OPTIONS= dh_installexamples -v -ppython2.2-samba source/python/examples/*
|
||||
# dh_installmenu
|
||||
# dh_installlogrotate is not available in Debian Potato...
|
||||
if [ -x /usr/bin/dh_installlogrotate ]; then \
|
||||
dh_installlogrotate; \
|
||||
else \
|
||||
mkdir -p debian/samba/etc/logrotate.d; \
|
||||
cp debian/samba.logrotate debian/samba/etc/logrotate.d/samba; \
|
||||
mkdir -p debian/winbind/etc/logrotate.d; \
|
||||
cp debian/winbind.logrotate debian/winbind/etc/logrotate.d/winbind; \
|
||||
fi
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
DH_OPTIONS= dh_installinit -psamba -- "defaults 20 19"
|
||||
DH_OPTIONS= dh_installinit -pwinbind
|
||||
dh_installcron
|
||||
# dh_installmanpages
|
||||
# dh_installinfo
|
||||
cp debian/winbind.lintian debian/winbind/usr/share/lintian/overrides/winbind
|
||||
# dh_undocumented
|
||||
dh_installchangelogs -Nlibpam-smbpass
|
||||
DH_OPTIONS= dh_installchangelogs -plibpam-smbpass source/pam_smbpass/CHANGELOG
|
||||
dh_strip
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
|
||||
# Why this is executable, I have NO idea...
|
||||
chmod a-x debian/libsmbclient-dev/usr/include/libsmbclient.h
|
||||
|
||||
# You may want to make some executables suid here.
|
||||
# The smbmnt and smbumount binaries should be setuid-root. This
|
||||
# has security implications because these programs haven't had
|
||||
# a thorough security audit. smbmount _does not_ have to have
|
||||
# the setuid bit set. In fact, it is a security hole.
|
||||
chmod u+s debian/smbfs/usr/bin/smbmnt
|
||||
chmod u+s debian/smbfs/usr/bin/smbumount
|
||||
|
||||
# Set some reasonable default perms for the samba logdir.
|
||||
chmod 0750 debian/samba/var/log/samba/
|
||||
chown root.adm debian/samba/var/log/samba/
|
||||
|
||||
# Get rid of those pesky .cvsignore files to make lintian happy
|
||||
# (maybe we only need the "find ... -exec rm -f {} ;" we have
|
||||
# in the binary-indep target?) peloy.-
|
||||
find debian/ -name .cvsignore -exec rm -f {} \;
|
||||
|
||||
dh_installdeb
|
||||
# dh_makeshlibs
|
||||
# dh_perl
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
154
packaging/Debian/debian-stable/samba-common.config
Normal file
154
packaging/Debian/debian-stable/samba-common.config
Normal file
@ -0,0 +1,154 @@
|
||||
#/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" ]; then
|
||||
local FILE="$2"
|
||||
fi
|
||||
|
||||
if [ -z "$FILE" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
sed -n -e"
|
||||
s/^[[:space:]]*\[global\]/\[global\]/i
|
||||
/^\[global\]/,/^[[:space:]]*\[/ {
|
||||
s/^[[:space:]]*$1[[:space:]]*=[[:space:]]*//pi
|
||||
}" $FILE \
|
||||
| tail -1
|
||||
}
|
||||
|
||||
FILE=/etc/samba/smb.conf
|
||||
|
||||
db_title "Samba Server"
|
||||
|
||||
# We ask the question IFF the config contains complex options that could
|
||||
# cause us to break the config.
|
||||
if [ -f "$FILE" ] && grep -v dhcp.conf $FILE \
|
||||
| grep -qEi '\\$|^[[:space:]]*include[[:space:]]*='
|
||||
then
|
||||
db_input high samba-common/do_debconf || true
|
||||
db_go
|
||||
else
|
||||
db_set samba-common/do_debconf true
|
||||
fi
|
||||
|
||||
# If user doesn't want to use debconf to configure Samba the leave...
|
||||
db_get samba-common/do_debconf || true
|
||||
if [ "${RET}" = "false" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# User wants to use debconf, let's continue...
|
||||
|
||||
# Adjust priority of the question about the workgroup name depending
|
||||
# on whether a workgroup name has already being specified.
|
||||
db_get samba-common/workgroup || true
|
||||
if [ "${RET}" ]; then
|
||||
WGPRIORITY=medium
|
||||
else
|
||||
WGPRIORITY=high
|
||||
fi
|
||||
|
||||
# Preload any values from the existing smb.conf file
|
||||
if [ -f $FILE ]; then
|
||||
WORKGROUP=`smbconf_retr workgroup`
|
||||
if [ "$WORKGROUP" ]; then
|
||||
db_set samba-common/workgroup "$WORKGROUP"
|
||||
fi
|
||||
|
||||
ENCRYPT=`smbconf_retr "encrypt passwords"`
|
||||
if [ "$ENCRYPT" ]; then
|
||||
ENCRYPT=`echo $ENCRYPT | tr '[A-Z]' '[a-z]'`
|
||||
if [ "$ENCRYPT" = "yes" ]; then
|
||||
ENCRYPT=true
|
||||
elif [ "$ENCRYPT" = "no" ]; then
|
||||
ENCRYPT=false
|
||||
fi
|
||||
|
||||
db_set samba-common/encrypt_passwords "$ENCRYPT"
|
||||
fi
|
||||
|
||||
CHARSET=`smbconf_retr "character set"`
|
||||
CODEPAGE=`smbconf_retr "client code page"`
|
||||
UNIXCHARSET=`smbconf_retr "unix charset"`
|
||||
DOSCHARSET=`smbconf_retr "dos charset"`
|
||||
|
||||
# If we're upgrading from an old version and there's no
|
||||
# 'passdb backend' setting, add one.
|
||||
if [ "$1" = "configure" -a -n "$2" ] \
|
||||
&& dpkg --compare-versions "$2" lt 2.99.cvs.20020713-2 \
|
||||
&& ! grep -q -i '^[[:space:]]*passdb backend[[:space:]]*=' $FILE
|
||||
then
|
||||
TMPFILE=/etc/samba/smb.conf.dpkg-tmp
|
||||
sed -e'
|
||||
s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
s/^\([[:space:]]*\)encrypt passwords/\1encrypt passwords/i
|
||||
/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ {
|
||||
/^[[:space:]]*encrypt passwords[[:space:]]*=/a \
|
||||
passdb backend = smbpasswd guest
|
||||
}' < $FILE > ${TMPFILE}
|
||||
chmod a+r ${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
# Get workgroup name
|
||||
db_input $WGPRIORITY samba-common/workgroup || true
|
||||
db_go
|
||||
|
||||
# Use encrypted passwords?
|
||||
db_input medium samba-common/encrypt_passwords || true
|
||||
db_go
|
||||
|
||||
# Handle migrating character sets
|
||||
if [ -n "$CHARSET" -a -z "$UNIXCHARSET" ]
|
||||
then
|
||||
UNIXCHARSET=`echo $CHARSET | sed -e's/iso-/ISO/i'`
|
||||
db_set samba-common/character_set "$UNIXCHARSET"
|
||||
# FIXME: should eventually be low.
|
||||
db_input medium samba-common/character_set || true
|
||||
db_go
|
||||
fi
|
||||
|
||||
if [ -n "$CODEPAGE" -a -z "$DOSCHARSET" ]
|
||||
then
|
||||
DOSCHARSET=CP`echo $CODEPAGE | sed -e's/[[:alpha:]]*//g'`
|
||||
db_set samba-common/codepage "$DOSCHARSET"
|
||||
# FIXME: should eventually be low.
|
||||
db_input medium samba-common/codepage || true
|
||||
db_go
|
||||
fi
|
||||
|
||||
DHCPPRIORITY=medium
|
||||
#if [ "$DEBCONF_RECONFIGURE" = 1 ] && [ -f /sbin/dhclient3 ]
|
||||
if [ -f /sbin/dhclient3 ]
|
||||
then
|
||||
DHCPPRIORITY=high
|
||||
# TODO: see if we can detect that dhcp3-client is *going* to be installed,
|
||||
# even if it isn't yet.
|
||||
#elif dpkg-query -W --showformat='${Status}\n' dhcp3-client | grep ???
|
||||
# unknown ok not-installed ?
|
||||
# DHCPPRIORITY=high
|
||||
fi
|
||||
|
||||
if [ ! -f $FILE ] || grep -q -i 'wins server' $FILE
|
||||
then
|
||||
# check the values before and after; unset the 'applied' flag
|
||||
# if they don't match.
|
||||
db_get samba-common/dhcp || true
|
||||
OLDDHCP="$RET"
|
||||
db_input $DHCPPRIORITY samba-common/dhcp || true
|
||||
db_go
|
||||
db_get samba-common/dhcp || true
|
||||
if [ "$OLDDHCP" != "$RET" ]; then
|
||||
db_fset samba-common/dhcp applied false
|
||||
fi
|
||||
fi
|
34
packaging/Debian/debian-stable/samba-common.dhcp
Normal file
34
packaging/Debian/debian-stable/samba-common.dhcp
Normal file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
netbios_setup() {
|
||||
# No need to continue if we're called with an unsupported option
|
||||
|
||||
if [ "$reason" != BOUND ] && [ "$reason" != RENEW ] \
|
||||
&& [ "$reason" != REBIND ] && [ "$reason" != REBOOT ] \
|
||||
&& [ "$reason" != EXPIRE ] && [ "$reason" != FAIL ]
|
||||
then
|
||||
return
|
||||
fi
|
||||
|
||||
umask 022
|
||||
|
||||
if [ -z "$new_netbios_name_servers" ] || [ "$reason" = FAIL ] \
|
||||
|| [ "$reason" = EXPIRE ]
|
||||
then
|
||||
# FIXME: add sed magic to only remove wins servers
|
||||
# associated with this interface
|
||||
echo -n > /etc/samba/dhcp.conf
|
||||
elif [ "$new_netbios_name_servers" != "$old_netbios_name_servers" ]
|
||||
then
|
||||
local serverlist=""
|
||||
for server in $new_netbios_name_servers
|
||||
do
|
||||
serverlist="$serverlist $interface:$server"
|
||||
done
|
||||
# FIXME: add sed magic to only update wins servers
|
||||
# associated with this interface
|
||||
echo " wins server =$serverlist" > /etc/samba/dhcp.conf
|
||||
fi
|
||||
}
|
||||
|
||||
netbios_setup
|
2
packaging/Debian/debian-stable/samba-common.dirs
Normal file
2
packaging/Debian/debian-stable/samba-common.dirs
Normal file
@ -0,0 +1,2 @@
|
||||
etc/samba
|
||||
etc/dhcp3/dhclient-enter-hooks.d
|
19
packaging/Debian/debian-stable/samba-common.files
Normal file
19
packaging/Debian/debian-stable/samba-common.files
Normal file
@ -0,0 +1,19 @@
|
||||
etc/samba/gdbcommands
|
||||
etc/samba/panic-action
|
||||
etc/samba/smb.conf
|
||||
etc/dhcp3/
|
||||
etc/pam.d/
|
||||
usr/bin/net
|
||||
usr/bin/nmblookup
|
||||
usr/bin/smbpasswd
|
||||
usr/bin/testparm
|
||||
usr/share/man/man1/nmblookup.1
|
||||
usr/share/man/man1/testparm.1
|
||||
usr/share/man/man5/lmhosts.5
|
||||
usr/share/man/man5/smb.conf.5
|
||||
usr/share/man/man7/samba.7
|
||||
usr/share/man/man8/net.8
|
||||
usr/share/man/man8/smbpasswd.8
|
||||
usr/share/samba/lowcase.dat
|
||||
usr/share/samba/upcase.dat
|
||||
usr/share/samba/valid.dat
|
139
packaging/Debian/debian-stable/samba-common.postinst
Normal file
139
packaging/Debian/debian-stable/samba-common.postinst
Normal file
@ -0,0 +1,139 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
# Do debconf stuff here
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
# We need a default smb.conf file. If one doesn't exist we put in place
|
||||
# one that has some basic defaults.
|
||||
if [ ! -e /etc/samba/smb.conf ]; then
|
||||
cp -a /usr/share/samba/smb.conf /etc/samba/
|
||||
fi
|
||||
|
||||
# Static tempfile location, dpkg-style
|
||||
TMPFILE=/etc/samba/smb.conf.dpkg-tmp
|
||||
|
||||
# ------------------------- Debconf questions start ---------------------
|
||||
|
||||
# Is the user configuring with debconf, or he/she prefers swat/manual
|
||||
# config?
|
||||
db_get samba-common/do_debconf || true
|
||||
if [ "${RET}" = "true" ]; then
|
||||
# Get workgroup name
|
||||
db_get samba-common/workgroup || true
|
||||
WORKGROUP="${RET}"
|
||||
|
||||
# Oh my GOD, this is ugly. Why would anyone put these
|
||||
# characters in a workgroup name? Why, Lord, why???
|
||||
WORKGROUP=`echo $WORKGROUP | \
|
||||
sed -e's/\\\\/\\\\\\\\/g
|
||||
s#/#\\\\/#g
|
||||
s/&/\\\&/g
|
||||
s/\\\$/\\\\\\\$/g'`
|
||||
|
||||
sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ \
|
||||
s/^\([[:space:]]*\)workgroup[[:space:]]*=.*/\1workgroup = ${WORKGROUP}/i" \
|
||||
< /etc/samba/smb.conf >${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
|
||||
# Encrypt passwords?
|
||||
db_get samba-common/encrypt_passwords || true
|
||||
ENCRYPT_PASSWORDS="${RET}"
|
||||
|
||||
sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ \
|
||||
s/^\([[:space:]]*\)encrypt passwords[[:space:]]*=.*/\1encrypt passwords = ${ENCRYPT_PASSWORDS}/i" \
|
||||
< /etc/samba/smb.conf >${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
|
||||
# Install DHCP support
|
||||
db_get samba-common/dhcp && DHCPVAL="$RET"
|
||||
db_fget samba-common/dhcp applied || true
|
||||
if [ "$DHCPVAL" = true ] && [ "$RET" != true ] && \
|
||||
! grep -q dhcp.conf /etc/samba/smb.conf
|
||||
then
|
||||
sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ {
|
||||
/wins server[[:space:]]*=/a \\
|
||||
\\
|
||||
# If we receive WINS server info from DHCP, override the options above. \\
|
||||
include = /etc/samba/dhcp.conf
|
||||
}" < /etc/samba/smb.conf > ${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
elif [ "$RET" != true ] && grep -q dhcp.conf /etc/samba/smb.conf
|
||||
then
|
||||
:
|
||||
# FIXME: here we /delete/ the lines?
|
||||
fi
|
||||
# Once we get here, the config has been applied, whatever
|
||||
# it is.
|
||||
if [ "$RET" != true ]; then
|
||||
db_fset samba-common/dhcp applied true
|
||||
fi
|
||||
|
||||
# Update charset settings?
|
||||
if ! grep -q "^[[:space:]]*unix charset[[:space:]]*=" /etc/samba/smb.conf
|
||||
then
|
||||
db_get samba-common/character_set || true
|
||||
UNIXCHARSET="${RET}"
|
||||
if [ -n "$UNIXCHARSET" ]
|
||||
then
|
||||
sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
s/^\([[:space:]]*\)character set/\1character set/i
|
||||
/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ {
|
||||
/^[[:space:]]*character set[[:space:]]*=/c \\
|
||||
unix charset = $UNIXCHARSET
|
||||
}" < /etc/samba/smb.conf > ${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qi "^[[:space:]]*passdb backend[[:space:]]*=.*unixsam" /etc/samba/smb.conf
|
||||
then
|
||||
sed -e 's/^\([[:space:]]*\)passdb backend/\1passdb backend/i
|
||||
/^[[:space:]]*passdb backend/ {
|
||||
s/unixsam/guest/i
|
||||
}' < /etc/samba/smb.conf > ${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
fi
|
||||
|
||||
if ! grep -q "^[[:space:]]*dos charset[[:space:]]*=" /etc/samba/smb.conf
|
||||
then
|
||||
db_get samba-common/codepage || true
|
||||
DOSCHARSET="${RET}"
|
||||
if [ -n "$DOSCHARSET" ]
|
||||
then
|
||||
sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
s/^\([[:space:]]*\)client code page/\1client code page/i
|
||||
/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ {
|
||||
/^[[:space:]]*client code page[[:space:]]*=/c \\
|
||||
dos charset = $DOSCHARSET
|
||||
}" < /etc/samba/smb.conf > ${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if dpkg --compare-versions "$2" lt 2.999+3.0.alpha20-4 \
|
||||
&& ! grep -q "^[[:space:]]*panic action[[:space:]]*=" /etc/samba/smb.conf
|
||||
then
|
||||
sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
/^[[:space:]]*\[global\]/a \\
|
||||
\\
|
||||
# Do something sensible when Samba crashes: mail the admin a backtrace\\
|
||||
panic action = /usr/share/samba/panic-action %d" < /etc/samba/smb.conf > ${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
chmod a+r /etc/samba/smb.conf
|
||||
|
||||
# ------------------------- Debconf questions end ---------------------
|
||||
|
||||
db_stop
|
||||
|
||||
#DEBHELPER#
|
10
packaging/Debian/debian-stable/samba-common.postrm
Normal file
10
packaging/Debian/debian-stable/samba-common.postrm
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
#
|
||||
|
||||
if [ "$1" = purge ]; then
|
||||
# Remove any files left in /etc/samba/
|
||||
rm -Rf /etc/samba/
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
66
packaging/Debian/debian-stable/samba-common.templates
Normal file
66
packaging/Debian/debian-stable/samba-common.templates
Normal file
@ -0,0 +1,66 @@
|
||||
Template: samba-common/character_set
|
||||
Type: string
|
||||
Description: Character Set for Unix filesystem
|
||||
You currently have a "character set" configured in your smb.conf. In
|
||||
Samba 3.0, this option is replaced by a new option, "unix charset".
|
||||
Please specify the character set you wish to use for theis new option,
|
||||
which controls how Samba interprets filenames on the file system.
|
||||
.
|
||||
If you leave this option blank, your smb.conf will not be changed.
|
||||
|
||||
Template: samba-common/codepage
|
||||
Type: string
|
||||
Description: Character Set for DOS clients
|
||||
You currently have a "client code page" set in your smb.conf. In Samba
|
||||
3.0, this option is replaced by the option "dos charset". Please specify
|
||||
the character set you wish to use for this new option. In most cases, the
|
||||
default chosen for you will be sufficient. Note that this option is not
|
||||
needed to support Windows clients, it is only for DOS clients. If you
|
||||
leave this option blank, your smb.conf will not be changed.
|
||||
|
||||
Template: samba-common/dhcp
|
||||
Type: boolean
|
||||
Default: false
|
||||
Description: Modify smb.conf to use WINS settings from DHCP?
|
||||
If your computer gets IP address information from a DHCP server on the
|
||||
network, the DHCP server may also provide information about WINS servers
|
||||
("NetBIOS name servers") present on the network. This requires a
|
||||
change to your smb.conf file so that DHCP-provided WINS settings will
|
||||
automatically be read from /etc/samba/dhcp.conf.
|
||||
.
|
||||
You must have the dhcp3-client package installed to take advantage of this
|
||||
feature.
|
||||
|
||||
Template: samba-common/do_debconf
|
||||
Type: boolean
|
||||
Default: true
|
||||
Description: Configure smb.conf through debconf?
|
||||
The rest of the configuration of Samba deals with questions that affect
|
||||
parameters in /etc/samba/smb.conf, which is the file used to configure the
|
||||
Samba programs (nmbd and smbd.) Your current smb.conf contains an
|
||||
'include' line or an option that spans multiple lines, which could confuse
|
||||
debconf and require you to edit your smb.conf by hand to get it working
|
||||
again.
|
||||
.
|
||||
If you don't use debconf to configure smb.conf, you will have to handle
|
||||
any configuration changes yourself, and will not be able to take
|
||||
advantage of periodic configuration enhancements. Therefore, use of
|
||||
debconf is recommended if possible.
|
||||
|
||||
Template: samba-common/workgroup
|
||||
Type: string
|
||||
Description: Workgroup/Domain Name?
|
||||
This controls what workgroup your server will appear to be in when queried
|
||||
by clients. Note that this parameter also controls the Domain name used
|
||||
with the security=domain setting.
|
||||
|
||||
Template: samba-common/encrypt_passwords
|
||||
Type: boolean
|
||||
Default: true
|
||||
Description: Use password encryption?
|
||||
Recent Windows clients communicate with SMB servers using encrypted
|
||||
passwords. If you want to use clear text passwords you will need to change
|
||||
a parameter in your Windows registry. It is recommended that you use
|
||||
encrypted passwords. If you do, make sure you have a valid
|
||||
/etc/samba/smbpasswd file and that you set passwords in there for each
|
||||
user using the smbpasswd command.
|
6
packaging/Debian/debian-stable/samba-doc.docs
Normal file
6
packaging/Debian/debian-stable/samba-doc.docs
Normal file
@ -0,0 +1,6 @@
|
||||
README
|
||||
docs/Samba-HOWTO-Collection.pdf
|
||||
docs/THANKS
|
||||
docs/history
|
||||
docs/htmldocs/
|
||||
docs/registry/
|
2
packaging/Debian/debian-stable/samba-doc.examples
Normal file
2
packaging/Debian/debian-stable/samba-doc.examples
Normal file
@ -0,0 +1,2 @@
|
||||
debian/wins2dns.awk
|
||||
source/smbadduser
|
92
packaging/Debian/debian-stable/samba.config
Normal file
92
packaging/Debian/debian-stable/samba.config
Normal file
@ -0,0 +1,92 @@
|
||||
#/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" ]; then
|
||||
local FILE="$2"
|
||||
fi
|
||||
|
||||
if [ -z "$FILE" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
sed -n -e"
|
||||
s/^[[:space:]]*\[global\]/\[global\]/i
|
||||
/^\[global\]/,/^[[:space:]]*\[/ {
|
||||
s/^[[:space:]]*$1[[:space:]]*=[[:space:]]*//pi
|
||||
}" $FILE \
|
||||
| tail -1
|
||||
}
|
||||
|
||||
FILE=/etc/samba/smb.conf
|
||||
|
||||
db_title "Samba Server"
|
||||
|
||||
# Babysit users who don't read README.Debian
|
||||
if [ -n "$2" ] && dpkg --compare-versions "$2" lt "2.2"
|
||||
then
|
||||
db_input medium samba/log_files_moved || true
|
||||
db_go
|
||||
fi
|
||||
|
||||
db_input medium samba/run_mode || true
|
||||
db_go
|
||||
|
||||
|
||||
# Offer to move the password database for existing users
|
||||
if [ "$1" = "configure" -a -n "$2" -a -e /etc/samba/smbpasswd \
|
||||
-a ! -e /var/lib/samba/passdb.tdb ] \
|
||||
&& dpkg --compare-versions "$2" lt 2.99.cvs.20020713-2
|
||||
then
|
||||
FILE=/etc/samba/smb.conf
|
||||
PASSDB=""
|
||||
if [ -f "$FILE" ]; then
|
||||
PASSDB=`smbconf_retr "passdb backend"`
|
||||
fi
|
||||
TDBPRIORITY=medium
|
||||
if echo "$PASSDB" | grep -q ldapsam; then
|
||||
TDBPRIORITY=low
|
||||
fi
|
||||
db_get samba-common/do_debconf || true
|
||||
if [ "${RET}" = "false" ]; then
|
||||
TDBPRIORITY=low
|
||||
fi
|
||||
|
||||
db_input "$TDBPRIORITY" samba/tdbsam || true
|
||||
fi
|
||||
|
||||
# We vary the priority of the next question depending on whether
|
||||
# the password database already exists...
|
||||
if [ -e /etc/samba/smbpasswd -o -e /var/lib/samba/passdb.tdb ]; then
|
||||
PRIORITY="low"
|
||||
else
|
||||
# If 'encrypt passwords' is true in smb.conf, and smbpasswd
|
||||
# does not exist, default to yes here.
|
||||
FILE=/etc/samba/smb.conf
|
||||
if [ -f "$FILE" ]; then
|
||||
ENCRYPT=`smbconf_retr "encrypt passwords"`
|
||||
if [ "$ENCRYPT" ]; then
|
||||
ENCRYPT=`echo $ENCRYPT | tr '[A-Z]' '[a-z]'`
|
||||
if [ "$ENCRYPT" = "yes" ]; then
|
||||
ENCRYPT=true
|
||||
fi
|
||||
if [ "$ENCRYPT" = "no" ]; then
|
||||
ENCRYPT=false
|
||||
fi
|
||||
fi
|
||||
db_set samba/generate_smbpasswd "$ENCRYPT"
|
||||
fi
|
||||
PRIORITY="medium"
|
||||
fi
|
||||
|
||||
db_input $PRIORITY samba/generate_smbpasswd || true
|
||||
db_go
|
16
packaging/Debian/debian-stable/samba.cron.daily
Normal file
16
packaging/Debian/debian-stable/samba.cron.daily
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# cron script to save a backup copy of /etc/samba/smbpasswd in /var/backups.
|
||||
#
|
||||
# Written by Eloy A. Paris <peloy@debian.org> for the Debian project.
|
||||
#
|
||||
|
||||
BAK=/var/backups
|
||||
|
||||
umask 022
|
||||
if cd $BAK; then
|
||||
# Make sure /etc/samba/smbpasswd exists
|
||||
if [ -f /etc/samba/smbpasswd ]; then
|
||||
cmp -s smbpasswd.bak /etc/samba/smbpasswd || cp -p /etc/samba/smbpasswd smbpasswd.bak
|
||||
fi
|
||||
fi
|
9
packaging/Debian/debian-stable/samba.dirs
Normal file
9
packaging/Debian/debian-stable/samba.dirs
Normal file
@ -0,0 +1,9 @@
|
||||
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
|
4
packaging/Debian/debian-stable/samba.docs
Normal file
4
packaging/Debian/debian-stable/samba.docs
Normal file
@ -0,0 +1,4 @@
|
||||
Manifest
|
||||
README
|
||||
REVISION
|
||||
WHATSNEW.txt
|
19
packaging/Debian/debian-stable/samba.files
Normal file
19
packaging/Debian/debian-stable/samba.files
Normal file
@ -0,0 +1,19 @@
|
||||
usr/bin/testprns
|
||||
usr/bin/smbstatus
|
||||
usr/bin/smbcontrol
|
||||
usr/bin/tdbbackup
|
||||
usr/bin/pdbedit
|
||||
usr/sbin/smbd
|
||||
usr/sbin/nmbd
|
||||
usr/sbin/mksmbpasswd
|
||||
usr/lib/samba/vfs
|
||||
usr/share/man/man1/smbcontrol.1
|
||||
usr/share/man/man1/smbstatus.1
|
||||
usr/share/man/man1/testprns.1
|
||||
usr/share/man/man5/smbpasswd.5
|
||||
usr/share/man/man8/nmbd.8
|
||||
usr/share/man/man8/pdbedit.8
|
||||
usr/share/man/man8/smbd.8
|
||||
usr/share/man/man8/mksmbpasswd.8
|
||||
usr/share/man/man8/tdbbackup.8
|
||||
|
83
packaging/Debian/debian-stable/samba.init
Normal file
83
packaging/Debian/debian-stable/samba.init
Normal file
@ -0,0 +1,83 @@
|
||||
#!/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
|
||||
|
||||
NMBDPID=/var/run/samba/nmbd.pid
|
||||
SMBDPID=/var/run/samba/smbd.pid
|
||||
|
||||
# clear conflicting settings from the environment
|
||||
unset TMPDIR
|
||||
|
||||
# See if the daemons are there
|
||||
test -x /usr/sbin/nmbd -a -x /usr/sbin/smbd || exit 0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting Samba daemons:"
|
||||
|
||||
echo -n " nmbd"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/nmbd -- -D
|
||||
|
||||
if [ "$RUN_MODE" != "inetd" ]; then
|
||||
echo -n " smbd"
|
||||
start-stop-daemon --start --quiet --exec /usr/sbin/smbd -- -D
|
||||
fi
|
||||
|
||||
echo "."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping Samba daemons: "
|
||||
|
||||
start-stop-daemon --stop --quiet --pidfile $NMBDPID
|
||||
# Wait a little and remove stale PID file
|
||||
sleep 1
|
||||
if [ -f $NMBDPID ] && ! ps h `cat $NMBDPID` > /dev/null
|
||||
then
|
||||
# Stale PID file (nmbd was succesfully stopped),
|
||||
# remove it (should be removed by nmbd itself IMHO.)
|
||||
rm -f $NMBDPID
|
||||
fi
|
||||
echo -n "nmbd"
|
||||
|
||||
if [ "$RUN_MODE" != "inetd" ]; then
|
||||
start-stop-daemon --stop --quiet --pidfile $SMBDPID
|
||||
# Wait a little and remove stale PID file
|
||||
sleep 1
|
||||
if [ -f $SMBDPID ] && ! ps h `cat $SMBDPID` > /dev/null
|
||||
then
|
||||
# Stale PID file (nmbd was succesfully stopped),
|
||||
# remove it (should be removed by smbd itself IMHO.)
|
||||
rm -f $SMBDPID
|
||||
fi
|
||||
echo -n " smbd"
|
||||
fi
|
||||
|
||||
echo "."
|
||||
|
||||
;;
|
||||
reload)
|
||||
echo -n "Reloading /etc/samba/smb.conf (smbd only)"
|
||||
start-stop-daemon --stop --signal HUP --pidfile $SMBDPID
|
||||
|
||||
echo "."
|
||||
;;
|
||||
restart|force-reload)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
21
packaging/Debian/debian-stable/samba.logrotate
Normal file
21
packaging/Debian/debian-stable/samba.logrotate
Normal file
@ -0,0 +1,21 @@
|
||||
/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
|
||||
rotate 7
|
||||
postrotate
|
||||
[ -f /var/run/samba/nmbd.pid ] && kill -HUP `cat /var/run/samba/nmbd.pid`
|
||||
endscript
|
||||
compress
|
||||
notifempty
|
||||
}
|
3
packaging/Debian/debian-stable/samba.pamd
Normal file
3
packaging/Debian/debian-stable/samba.pamd
Normal file
@ -0,0 +1,3 @@
|
||||
auth required pam_unix.so
|
||||
account required pam_unix.so
|
||||
session required pam_unix.so
|
228
packaging/Debian/debian-stable/samba.postinst
Normal file
228
packaging/Debian/debian-stable/samba.postinst
Normal file
@ -0,0 +1,228 @@
|
||||
#!/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
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# Handle debconf
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
INITCONFFILE=/etc/default/samba
|
||||
|
||||
# We generate several files during the postinst, and we don't want
|
||||
# them to be readable only by root.
|
||||
umask 022
|
||||
|
||||
|
||||
# Generate configuration file if it does not exist, using default values.
|
||||
[ -r "${INITCONFFILE}" ] || {
|
||||
echo Generating ${INITCONFFILE}... >&2
|
||||
cat >${INITCONFFILE} <<'EOFMAGICNUMBER1234'
|
||||
# Defaults for samba initscript
|
||||
# sourced by /etc/init.d/samba
|
||||
# installed at /etc/default/samba by the maintainer scripts
|
||||
#
|
||||
|
||||
#
|
||||
# This is a POSIX shell fragment
|
||||
#
|
||||
|
||||
# How should Samba (smbd) run? Possible values are "daemons"
|
||||
# or "inetd".
|
||||
RUN_MODE=""
|
||||
EOFMAGICNUMBER1234
|
||||
}
|
||||
|
||||
# --- Begin of FHS migration code ---
|
||||
|
||||
# Starting with Samba 2.2.3-4 the WINS database, the browse
|
||||
# database and other important run-time files are stored in
|
||||
# FHS-compliant directories. The following code takes care of
|
||||
# moving the files in the old directories (/var/samba/ and
|
||||
# /var/state/samba) to the new FHS-compliant directories.
|
||||
|
||||
if [ -d /var/samba/ ]; then
|
||||
mv /var/samba/* /var/lib/samba/ 2>/dev/null || true
|
||||
rmdir /var/samba/
|
||||
fi
|
||||
|
||||
# Default for anything we don't know about (see next two 'for' loops)
|
||||
# is /var/lib/samba -- guaranteed not to accidentally tromp on any
|
||||
# files the admin thought were safe.
|
||||
if [ -d /var/state/samba ]; then
|
||||
mv /var/state/samba/* /var/lib/samba/ 2>/dev/null || true
|
||||
rmdir /var/state/samba/
|
||||
|
||||
# It's not FHS, and it's probably our fault this is here,
|
||||
# so delete it if we can.
|
||||
rmdir /var/state/ 2> /dev/null || true
|
||||
fi
|
||||
|
||||
# All these files are now placed in their respective FHS-compliant
|
||||
# directories. Separate out the individual files accordingly.
|
||||
for F in browse.dat printing.tdb winbindd_cache.tdb
|
||||
do
|
||||
if [ -e /var/lib/samba/"$F" ]; then
|
||||
mv /var/lib/samba/"$F" /var/cache/samba/
|
||||
fi
|
||||
done
|
||||
|
||||
for F in brlock.tdb connections.tdb locking.tdb messages.tdb nmbd.pid \
|
||||
sessionid.tdb smbd.pid unexpected.tdb
|
||||
do
|
||||
if [ -e /var/lib/samba/"$F" ]; then
|
||||
mv /var/lib/samba/"$F" /var/run/samba/
|
||||
fi
|
||||
done
|
||||
|
||||
# Beginning with Samba 2.2.5-1, we also move the domain secrets file
|
||||
# to a more suitable location, since no one really edits this by hand.
|
||||
if [ -e /etc/samba/secrets.tdb -a ! -e /var/lib/samba/secrets.tdb ]
|
||||
then
|
||||
mv /etc/samba/secrets.tdb /var/lib/samba/
|
||||
fi
|
||||
|
||||
# If upgrading from a previous 2.999 snapshot, move the passdb.tdb
|
||||
# database into /var/lib.
|
||||
|
||||
if [ -n "$2" ] && dpkg --compare-versions "$2" lt 2.999+3.0.alpha23-5 \
|
||||
&& [ -e /etc/samba/passdb.tdb -a ! -e /var/lib/samba/passdb.tdb ]
|
||||
then
|
||||
mv /etc/samba/passdb.tdb /var/lib/samba/
|
||||
fi
|
||||
|
||||
# --- End of FHS migration code ---
|
||||
|
||||
# If upgrading from a previous 2.999 snapshot, clear the broken
|
||||
# registry.tdb file.
|
||||
if [ -n "$2" ] && dpkg --compare-versions "$2" gt 2.99.cvs.20020713-1 \
|
||||
&& dpkg --compare-versions "$2" lt 2.999+3.0cvs20020805-1
|
||||
then
|
||||
rm -f /var/lib/samba/registry.tdb
|
||||
fi
|
||||
|
||||
# ------------------------- Debconf questions start ---------------------
|
||||
|
||||
# Run Samba as daemons or from inetd?
|
||||
db_get samba/run_mode || true
|
||||
RUN_MODE="${RET}"
|
||||
|
||||
TMPFILE=/etc/default/samba.dpkg-tmp
|
||||
sed -e "s/^[[:space:]]*RUN_MODE[[:space:]]*=.*/RUN_MODE=\"${RUN_MODE}\"/" \
|
||||
< ${INITCONFFILE} >${TMPFILE}
|
||||
chmod a+r ${TMPFILE}
|
||||
mv -f ${TMPFILE} ${INITCONFFILE}
|
||||
|
||||
# Generate a smbpasswd file?
|
||||
db_get samba/generate_smbpasswd || true
|
||||
GENERATE_SMBPASSWD="${RET}"
|
||||
|
||||
db_get samba/tdbsam || true
|
||||
PDB_MIGRATE="${RET}"
|
||||
|
||||
# Done with debconf now.
|
||||
db_stop
|
||||
|
||||
umask 066
|
||||
|
||||
# FIXME: disable if ldapsam support is enabled?
|
||||
# FIXME: we don't want to pass these through the smbpasswd backend,
|
||||
# some of the faking can cause us problems!
|
||||
if [ "${GENERATE_SMBPASSWD}" = "true" -a ! -e /var/lib/samba/passdb.tdb -a ! -e /etc/samba/smbpasswd ]; then
|
||||
getent passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
|
||||
pdbedit -i smbpasswd -e tdbsam
|
||||
rm /etc/samba/smbpasswd
|
||||
fi
|
||||
|
||||
umask 022
|
||||
|
||||
if [ -n "$2" -a -e /etc/samba/smbpasswd \
|
||||
-a ! -e /var/lib/samba/passdb.tdb -a "$PDB_MIGRATE" = "true" ] \
|
||||
&& dpkg --compare-versions "$2" lt 2.99.cvs.20020713-2
|
||||
then
|
||||
umask 066
|
||||
pdbedit -i smbpasswd -e tdbsam
|
||||
rm /etc/samba/smbpasswd
|
||||
umask 022
|
||||
|
||||
# The database has been moved, now make sure we can still find it.
|
||||
PASSDB=`sed -n -e"s/^[[:space:]]*\[global\]/\[global\]/i
|
||||
/^\[global\]/,/^[[:space:]]*\[/ \
|
||||
s/^[[:space:]]*passdb backend[[:space:]]*=[[:space:]]*//pi" \
|
||||
< /etc/samba/smb.conf \
|
||||
| tail -n 1`
|
||||
if echo "$PASSDB" | egrep -q "(^|[[:space:]])smbpasswd"; then
|
||||
if ! echo "$PASSDB" | egrep -q "(^|[[:space:]])tdbsam"; then
|
||||
PASSDB=`echo $PASSDB | sed -e's/\(^\|[[:space:]]\)smbpasswd/\1tdbsam/'`
|
||||
fi
|
||||
fi
|
||||
if ! echo "$PASSDB" | egrep -q "(^|[[:space:]])tdbsam"; then
|
||||
PASSDB="tdbsam $PASSDB"
|
||||
fi
|
||||
TMPFILE=/etc/samba/smb.conf.dpkg-tmp
|
||||
sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
|
||||
/^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ \
|
||||
s/^\([[:space:]]*\)passdb backend[[:space:]]*=.*/\1passdb backend = ${PASSDB}/i" \
|
||||
< /etc/samba/smb.conf >${TMPFILE}
|
||||
chmod a+r ${TMPFILE}
|
||||
mv -f ${TMPFILE} /etc/samba/smb.conf
|
||||
fi
|
||||
|
||||
# ------------------------- Debconf questions end ---------------------
|
||||
|
||||
# Handle removal of nmbd from inetd.conf, which is no longer a supported
|
||||
# configuration.
|
||||
if dpkg --compare-versions "$2" lt 2.999+3.0.alpha20-4; then
|
||||
update-inetd --remove netbios-ns
|
||||
fi
|
||||
|
||||
# We want to add these entries to inetd.conf commented out. Otherwise
|
||||
# UDP traffic could make inetd to start nmbd or smbd right during
|
||||
# the configuration stage.
|
||||
if [ -z "$2" ]; then
|
||||
update-inetd --add "#<off># netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd"
|
||||
fi
|
||||
|
||||
if [ "$RUN_MODE" = "daemons" ]; then
|
||||
update-inetd --disable netbios-ssn
|
||||
else
|
||||
update-inetd --enable netbios-ssn
|
||||
fi
|
||||
|
||||
# This check is a safety net: the /etc/samba/smbpasswd file must have
|
||||
# permissions 600.
|
||||
if [ -f /etc/samba/smbpasswd ]; then
|
||||
chmod 600 /etc/samba/smbpasswd
|
||||
fi
|
||||
|
||||
# Do the same check for /var/backup/smbpasswd.bak, just in case.
|
||||
if [ -f /var/backups/smbpasswd.bak ]; then
|
||||
chmod 600 /var/backups/smbpasswd.bak
|
||||
fi
|
||||
|
||||
# Delete old /etc/samba/debian_config file, which is not used anymore
|
||||
# now that we are using debconf.
|
||||
rm -f /etc/samba/debian_config
|
||||
|
||||
# Move old log files to the new location of Samba's log files
|
||||
mv -f /var/log/nmb* /var/log/samba/ 2> /dev/null || true
|
||||
mv -f /var/log/smb* /var/log/samba/ 2> /dev/null || true
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
26
packaging/Debian/debian-stable/samba.postrm
Normal file
26
packaging/Debian/debian-stable/samba.postrm
Normal file
@ -0,0 +1,26 @@
|
||||
#!/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/log/samba/
|
||||
|
||||
# Remove init.d configuration file
|
||||
echo Removing configuration file /etc/default/samba... >&2
|
||||
rm -f /etc/default/samba
|
||||
|
||||
# Remove NetBIOS entries from /etc/inetd.conf
|
||||
update-inetd --remove netbios-ssn
|
||||
|
||||
else
|
||||
# Not purging, do not remove NetBIOS entries from /etc/inetd.conf
|
||||
update-inetd --disable netbios-ssn
|
||||
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
10
packaging/Debian/debian-stable/samba.prerm
Normal file
10
packaging/Debian/debian-stable/samba.prerm
Normal file
@ -0,0 +1,10 @@
|
||||
#!/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 /var/lib/samba/passdb.tdb
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
50
packaging/Debian/debian-stable/samba.templates
Normal file
50
packaging/Debian/debian-stable/samba.templates
Normal file
@ -0,0 +1,50 @@
|
||||
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, Samba must
|
||||
be configured to use encrypted passwords. This requires user passwords to
|
||||
be stored in a file separate from /etc/passwd. This file can be created
|
||||
automatically, but the passwords must be added manually (by you or the
|
||||
user) by running smbpasswd, and you must arrange to keep it up-to-date in
|
||||
the future. If you do not create it, you will have to reconfigure samba
|
||||
(and probably your client machines) to use plaintext passwords. See
|
||||
/usr/share/doc/samba-doc/htmldocs/ENCRYPTION.html from the samba-doc
|
||||
package for more details.
|
||||
|
||||
Template: samba/log_files_moved
|
||||
Type: note
|
||||
Description: Samba's log files have moved.
|
||||
Starting with the first packages of Samba 2.2 for Debian the log files for
|
||||
both Samba daemons (nmbd and smbd) are now stored in /var/log/samba/. The
|
||||
names of the files are log.nmbd and log.smbd, for nmbd and smbd
|
||||
respectively.
|
||||
.
|
||||
The old log files that were in /var/log/ will be moved to the new location
|
||||
for you.
|
||||
|
||||
Template: samba/nmbd_from_inetd
|
||||
Type: note
|
||||
Description: Running nmbd from inetd is no longer supported
|
||||
Your system was previously configured to start nmbd and smbd from inetd.
|
||||
As of version 2.999+3.0.alpha20-4, nmbd will no longer be started from
|
||||
inetd. If you have modified your /etc/init.d/samba startup script, you
|
||||
may need to adjust it by hand now so that nmbd will start.
|
||||
|
||||
Template: samba/run_mode
|
||||
Type: select
|
||||
Choices: daemons, inetd
|
||||
Default: daemons
|
||||
Description: How do you want to run Samba?
|
||||
The Samba daemon smbd can run as a normal daemon or from inetd. Running as
|
||||
a daemon is the recommended approach.
|
||||
|
||||
Template: samba/tdbsam
|
||||
Type: boolean
|
||||
Default: false
|
||||
Description: Move /etc/samba/smbpasswd to /var/lib/samba/passdb.tdb?
|
||||
Samba 3.0 introduces a newer, more complete SAM database interface which
|
||||
supersedes the /etc/samba/smbpasswd file. Would you like your existing
|
||||
smbpasswd file to be migrated to /var/lib/samba/passdb.tdb for you? If you
|
||||
plan to use another pdb backend (e.g., LDAP) instead, you should answer
|
||||
'no' here.
|
28
packaging/Debian/debian-stable/scripts/patch-source
Executable file
28
packaging/Debian/debian-stable/scripts/patch-source
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/sh -e
|
||||
#
|
||||
#
|
||||
|
||||
for patch in debian/patches/*.patch; do
|
||||
echo '->'`basename $patch`:
|
||||
patch -p1 --ignore-whitespace < $patch
|
||||
done
|
||||
|
||||
# This code is currently not used because it creates a long version
|
||||
# number string. For now we're sticking to <upstream version>-Debian,
|
||||
# as in 3.0.0rc2-Debian. peloy@debian.org.-
|
||||
|
||||
# ---- Begin unused code ----
|
||||
# Get Debian version number from 1st line of the Debian changelog
|
||||
#DEBIAN_VERSION=`sed -n -e '1s/^.*(\(.*\)).*$/\1/p' debian/changelog`
|
||||
|
||||
# Insert Debian version number in source/VERSION, which will then be
|
||||
# used to create source/include/version.h.
|
||||
#TMPFILE=source/VERSION.debian
|
||||
#sed -e "s/^\(SAMBA_VERSION_VENDOR_SUFFIX=\).*$/\1\"Debian-${DEBIAN_VERSION}\"/" source/VERSION > ${TMPFILE}
|
||||
#mv -f ${TMPFILE} source/VERSION
|
||||
# ---- End unused code ----
|
||||
|
||||
# Regenerate configure only if it is older than configure.in
|
||||
[ source/configure -ot source/configure.in ] && (cd source && sh ./autogen.sh)
|
||||
|
||||
exit 0
|
20
packaging/Debian/debian-stable/scripts/unpatch-source
Executable file
20
packaging/Debian/debian-stable/scripts/unpatch-source
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh -e
|
||||
#
|
||||
#
|
||||
|
||||
# We want to reverse the patches in the opposite order we applied
|
||||
# them, hence the 'ls|sort -r'.
|
||||
for patch in `ls debian/patches/*.patch | sort -r`; do
|
||||
patch -p1 -R --ignore-whitespace < $patch
|
||||
done
|
||||
|
||||
# Unused code. See comment in the patch-source script.
|
||||
|
||||
#TMPFILE=source/VERSION.debian
|
||||
#sed -e "s/^\(SAMBA_VERSION_VENDOR_SUFFIX=\).*$/\1/" source/VERSION > ${TMPFILE}
|
||||
#mv -f ${TMPFILE} source/VERSION
|
||||
|
||||
# Regenerate configure only if it is older than configure.in
|
||||
[ source/configure -ot source/configure.in ] && (cd source && autoheader && autoconf)
|
||||
|
||||
exit 0
|
237
packaging/Debian/debian-stable/smb.conf
Normal file
237
packaging/Debian/debian-stable/smb.conf
Normal file
@ -0,0 +1,237 @@
|
||||
#
|
||||
# Sample configuration file for the Samba suite for Debian GNU/Linux.
|
||||
#
|
||||
#
|
||||
# This is the main Samba configuration file. You should read the
|
||||
# smb.conf(5) manual page in order to understand the options listed
|
||||
# here. Samba has a huge number of configurable options most of which
|
||||
# are not shown in this example
|
||||
#
|
||||
# Any line which starts with a ; (semi-colon) or a # (hash)
|
||||
# is a comment and is ignored. In this example we will use a #
|
||||
# for commentary and a ; for parts of the config file that you
|
||||
# may wish to enable
|
||||
#
|
||||
# NOTE: Whenever you modify this file you should run the command
|
||||
# "testparm" to check that you have not many any basic syntactic
|
||||
# errors.
|
||||
#
|
||||
|
||||
#======================= Global Settings =======================
|
||||
|
||||
[global]
|
||||
|
||||
## Browsing/Identification ###
|
||||
|
||||
# Change this to the workgroup/NT-domain name your Samba server will part of
|
||||
workgroup = DEBIAN_FANS
|
||||
|
||||
# server string is the equivalent of the NT Description field
|
||||
server string = %h server (Samba %v)
|
||||
|
||||
# Windows Internet Name Serving Support Section:
|
||||
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
|
||||
; wins support = no
|
||||
|
||||
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
|
||||
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
|
||||
; wins server = w.x.y.z
|
||||
|
||||
# This will prevent nmbd to search for NetBIOS names through DNS.
|
||||
dns proxy = no
|
||||
|
||||
# What naming service and in what order should we use to resolve host names
|
||||
# to IP addresses
|
||||
; name resolve order = lmhosts host wins bcast
|
||||
|
||||
|
||||
#### Debugging/Accounting ####
|
||||
|
||||
# This tells Samba to use a separate log file for each machine
|
||||
# that connects
|
||||
log file = /var/log/samba/log.%m
|
||||
|
||||
# Put a capping on the size of the log files (in Kb).
|
||||
max log size = 1000
|
||||
|
||||
# If you want Samba to only log through syslog then set the following
|
||||
# parameter to 'yes'.
|
||||
; syslog only = no
|
||||
|
||||
# We want Samba to log a minimum amount of information to syslog. Everything
|
||||
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
|
||||
# through syslog you should set the following parameter to something higher.
|
||||
syslog = 0
|
||||
|
||||
# Do something sensible when Samba crashes: mail the admin a backtrace
|
||||
panic action = /usr/share/samba/panic-action %d
|
||||
|
||||
|
||||
####### Authentication #######
|
||||
|
||||
# "security = user" is always a good idea. This will require a Unix account
|
||||
# in this server for every user accessing the server. See
|
||||
# /usr/share/doc/samba-doc/htmldocs/ServerType.html in the samba-doc
|
||||
# package for details.
|
||||
; security = user
|
||||
|
||||
# You may wish to use password encryption. See the section on
|
||||
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
|
||||
encrypt passwords = no
|
||||
|
||||
# If you are using encrypted passwords, Samba will need to know what
|
||||
# password database type you are using.
|
||||
passdb backend = tdbsam guest
|
||||
|
||||
obey pam restrictions = yes
|
||||
|
||||
; guest account = nobody
|
||||
invalid users = root
|
||||
|
||||
# This boolean parameter controls whether Samba attempts to sync the Unix
|
||||
# password with the SMB password when the encrypted SMB password in the
|
||||
# passdb is changed.
|
||||
; unix password sync = no
|
||||
|
||||
# For Unix password sync to work on a Debian GNU/Linux system, the following
|
||||
# parameters must be set (thanks to Augustin Luton <aluton@hybrigenics.fr> for
|
||||
# sending the correct chat script for the passwd program in Debian Potato).
|
||||
passwd program = /usr/bin/passwd %u
|
||||
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
|
||||
|
||||
# This boolean controls whether PAM will be used for password changes
|
||||
# when requested by an SMB client instead of the program listed in
|
||||
# 'passwd program'. The default is 'no'.
|
||||
; pam password change = no
|
||||
|
||||
|
||||
########## Printing ##########
|
||||
|
||||
# If you want to automatically load your printer list rather
|
||||
# than setting them up individually then you'll need this
|
||||
; load printers = yes
|
||||
|
||||
# lpr(ng) printing. You may wish to override the location of the
|
||||
# printcap file
|
||||
; printing = bsd
|
||||
; printcap name = /etc/printcap
|
||||
|
||||
# CUPS printing. See also the cupsaddsmb(8) manpage in the
|
||||
# cupsys-client package.
|
||||
; printing = cups
|
||||
; printcap name = cups
|
||||
|
||||
# When using [print$], root is implicitly a 'printer admin', but you can
|
||||
# also give this right to other users to add drivers and set printer
|
||||
# properties
|
||||
; printer admin = @ntadmin
|
||||
|
||||
|
||||
######## File sharing ########
|
||||
|
||||
# Name mangling options
|
||||
; preserve case = yes
|
||||
; short preserve case = yes
|
||||
|
||||
|
||||
############ Misc ############
|
||||
|
||||
# Using the following line enables you to customise your configuration
|
||||
# on a per machine basis. The %m gets replaced with the netbios name
|
||||
# of the machine that is connecting
|
||||
; include = /home/samba/etc/smb.conf.%m
|
||||
|
||||
# Most people will find that this option gives better performance.
|
||||
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html
|
||||
# for details
|
||||
# You may want to add the following on a Linux system:
|
||||
# SO_RCVBUF=8192 SO_SNDBUF=8192
|
||||
socket options = TCP_NODELAY
|
||||
|
||||
# The following parameter is useful only if you have the linpopup package
|
||||
# installed. The samba maintainer and the linpopup maintainer are
|
||||
# working to ease installation and configuration of linpopup and samba.
|
||||
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
|
||||
|
||||
# Domain Master specifies Samba to be the Domain Master Browser. If this
|
||||
# machine will be configured as a BDC (a secondary logon server), you
|
||||
# must set this to 'no'; otherwise, the default behavior is recommended.
|
||||
; domain master = auto
|
||||
|
||||
# Some defaults for winbind (make sure you're not using the ranges
|
||||
# for something else.)
|
||||
; idmap uid = 10000-20000
|
||||
; idmap gid = 10000-20000
|
||||
; template shell = /bin/bash
|
||||
|
||||
#======================= Share Definitions =======================
|
||||
|
||||
[homes]
|
||||
comment = Home Directories
|
||||
browseable = no
|
||||
|
||||
# By default, the home directories are exported read-only. Change next
|
||||
# parameter to 'yes' if you want to be able to write to them.
|
||||
writable = no
|
||||
|
||||
# File creation mask is set to 0700 for security reasons. If you want to
|
||||
# create files with group=rw permissions, set next parameter to 0775.
|
||||
create mask = 0700
|
||||
|
||||
# Directory creation mask is set to 0700 for security reasons. If you want to
|
||||
# create dirs. with group=rw permissions, set next parameter to 0775.
|
||||
directory mask = 0700
|
||||
|
||||
# Un-comment the following and create the netlogon directory for Domain Logons
|
||||
# (you need to configure Samba to act as a domain controller too.)
|
||||
;[netlogon]
|
||||
; comment = Network Logon Service
|
||||
; path = /home/samba/netlogon
|
||||
; guest ok = yes
|
||||
; writable = no
|
||||
; share modes = no
|
||||
|
||||
[printers]
|
||||
comment = All Printers
|
||||
browseable = no
|
||||
path = /tmp
|
||||
printable = yes
|
||||
public = no
|
||||
writable = no
|
||||
create mode = 0700
|
||||
|
||||
# Windows clients look for this share name as a source of downloadable
|
||||
# printer drivers
|
||||
[print$]
|
||||
comment = Printer Drivers
|
||||
path = /var/lib/samba/printers
|
||||
browseable = yes
|
||||
read only = yes
|
||||
guest ok = no
|
||||
# Uncomment to allow remote administration of Windows print drivers.
|
||||
# Replace 'ntadmin' with the name of the group your admin users are
|
||||
# members of.
|
||||
; write list = root, @ntadmin
|
||||
|
||||
# A sample share for sharing your CD-ROM with others.
|
||||
;[cdrom]
|
||||
; comment = Samba server's CD-ROM
|
||||
; writable = no
|
||||
; locking = no
|
||||
; path = /cdrom
|
||||
; public = yes
|
||||
|
||||
# The next two parameters show how to auto-mount a CD-ROM when the
|
||||
# cdrom share is accesed. For this to work /etc/fstab must contain
|
||||
# an entry like this:
|
||||
#
|
||||
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
|
||||
#
|
||||
# The CD-ROM gets unmounted automatically after the connection to the
|
||||
#
|
||||
# If you don't want to use auto-mounting/unmounting make sure the CD
|
||||
# is mounted on /cdrom
|
||||
#
|
||||
; preexec = /bin/mount /cdrom
|
||||
; postexec = /bin/umount /cdrom
|
||||
|
15
packaging/Debian/debian-stable/smbclient.files
Normal file
15
packaging/Debian/debian-stable/smbclient.files
Normal file
@ -0,0 +1,15 @@
|
||||
usr/bin/smbclient
|
||||
usr/bin/smbtar
|
||||
usr/bin/rpcclient
|
||||
usr/bin/smbspool
|
||||
usr/bin/smbtree
|
||||
usr/bin/smbcacls
|
||||
usr/bin/smbcquotas
|
||||
usr/share/man/man1/smbclient.1
|
||||
usr/share/man/man1/smbtar.1
|
||||
usr/share/man/man1/rpcclient.1
|
||||
usr/share/man/man8/smbspool.8
|
||||
usr/share/man/man1/smbcacls.1
|
||||
usr/share/man/man1/smbcquotas.1
|
||||
usr/share/man/man1/smbtree.1
|
||||
usr/lib/cups/backend/smb
|
10
packaging/Debian/debian-stable/smbfs.files
Normal file
10
packaging/Debian/debian-stable/smbfs.files
Normal file
@ -0,0 +1,10 @@
|
||||
sbin/mount.smbfs
|
||||
sbin/mount.smb
|
||||
usr/bin/smbmount
|
||||
usr/bin/smbumount
|
||||
usr/bin/smbmnt
|
||||
usr/share/man/man8/smbmount.8
|
||||
usr/share/man/man8/smbumount.8
|
||||
usr/share/man/man8/smbmnt.8
|
||||
usr/share/man/man8/mount.smb.8
|
||||
usr/share/man/man8/mount.smbfs.8
|
2
packaging/Debian/debian-stable/smbwrapper.dirs
Normal file
2
packaging/Debian/debian-stable/smbwrapper.dirs
Normal file
@ -0,0 +1,2 @@
|
||||
usr/bin
|
||||
usr/share/samba
|
2
packaging/Debian/debian-stable/smbwrapper.docs
Normal file
2
packaging/Debian/debian-stable/smbwrapper.docs
Normal file
@ -0,0 +1,2 @@
|
||||
source/smbwrapper/README
|
||||
source/smbwrapper/PORTING
|
1
packaging/Debian/debian-stable/smbwrapper.files
Normal file
1
packaging/Debian/debian-stable/smbwrapper.files
Normal file
@ -0,0 +1 @@
|
||||
usr/bin/smbsh
|
11
packaging/Debian/debian-stable/swat.config
Normal file
11
packaging/Debian/debian-stable/swat.config
Normal file
@ -0,0 +1,11 @@
|
||||
#/bin/sh -e
|
||||
#
|
||||
#
|
||||
|
||||
# Source debconf library.
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
db_title "Samba Web Administration Tool (SWAT)"
|
||||
|
||||
db_input medium swat/smb_conf_warn || true
|
||||
db_go
|
2
packaging/Debian/debian-stable/swat.dirs
Normal file
2
packaging/Debian/debian-stable/swat.dirs
Normal file
@ -0,0 +1,2 @@
|
||||
usr/sbin
|
||||
usr/share/samba/swat
|
3
packaging/Debian/debian-stable/swat.files
Normal file
3
packaging/Debian/debian-stable/swat.files
Normal file
@ -0,0 +1,3 @@
|
||||
usr/sbin/swat
|
||||
usr/share/samba/swat
|
||||
usr/share/man/man8/swat.8
|
23
packaging/Debian/debian-stable/swat.postinst
Normal file
23
packaging/Debian/debian-stable/swat.postinst
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
;;
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "$0: Unknown action \"$1\""
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# Set up swat, turned off by default.
|
||||
update-inetd --group OTHER --add \
|
||||
'#<off># swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat'
|
||||
|
||||
#DEBHELPER#
|
22
packaging/Debian/debian-stable/swat.postrm
Normal file
22
packaging/Debian/debian-stable/swat.postrm
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
#
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
update-inetd --remove '/usr/sbin/swat$'
|
||||
;;
|
||||
remove)
|
||||
;;
|
||||
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
*)
|
||||
echo "$0: unknown action \"$1\""
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
6
packaging/Debian/debian-stable/swat.templates
Normal file
6
packaging/Debian/debian-stable/swat.templates
Normal file
@ -0,0 +1,6 @@
|
||||
Template: swat/smb_conf_warn
|
||||
Type: note
|
||||
Description: Your smb.conf will be re-written!
|
||||
SWAT will rewrite your smb.conf file. It will rearrange the entries and
|
||||
delete all comments, include= and copy= options. If you have a carefully
|
||||
crafted smb.conf then back it up or don't use SWAT!
|
1
packaging/Debian/debian-stable/winbind.dirs
Normal file
1
packaging/Debian/debian-stable/winbind.dirs
Normal file
@ -0,0 +1 @@
|
||||
usr/share/lintian/overrides
|
9
packaging/Debian/debian-stable/winbind.files
Normal file
9
packaging/Debian/debian-stable/winbind.files
Normal file
@ -0,0 +1,9 @@
|
||||
usr/sbin/winbindd
|
||||
usr/bin/wbinfo
|
||||
usr/bin/ntlm_auth
|
||||
usr/share/man/man1/wbinfo.1
|
||||
usr/share/man/man1/ntlm_auth.1
|
||||
usr/share/man/man8/winbindd.8
|
||||
lib/security/pam_winbind.so
|
||||
lib/libnss_winbind.so.2
|
||||
lib/libnss_wins.so.2
|
48
packaging/Debian/debian-stable/winbind.init
Normal file
48
packaging/Debian/debian-stable/winbind.init
Normal file
@ -0,0 +1,48 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Start/stops the winbindd daemon.
|
||||
#
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
DAEMON=/usr/sbin/winbindd
|
||||
|
||||
# clear conflicting settings from the environment
|
||||
unset TMPDIR
|
||||
|
||||
# See if the daemon is there
|
||||
test -x $DAEMON || exit 0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting the Winbind daemon: winbindd"
|
||||
|
||||
start-stop-daemon --start --quiet --exec $DAEMON
|
||||
|
||||
echo "."
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping the Winbind daemon: winbindd"
|
||||
|
||||
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
|
||||
|
||||
echo "."
|
||||
;;
|
||||
restart|force-reload)
|
||||
echo -n "Restarting the Winbind daemon: winbindd"
|
||||
|
||||
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
|
||||
sleep 2
|
||||
start-stop-daemon --start --quiet --exec $DAEMON
|
||||
|
||||
echo "."
|
||||
;;
|
||||
*)
|
||||
echo "Usage: /etc/init.d/winbind {start|stop|restart|force-reload}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
6
packaging/Debian/debian-stable/winbind.lintian
Normal file
6
packaging/Debian/debian-stable/winbind.lintian
Normal file
@ -0,0 +1,6 @@
|
||||
winbind: ldconfig-symlink-missing-for-shlib lib/libnss_winbind.so lib/libnss_winbind.so.2 libnss_winbind.so
|
||||
winbind: ldconfig-symlink-missing-for-shlib lib/libnss_wins.so lib/libnss_wins.so.2 libnss_wins.so
|
||||
winbind: no-shlibs-control-file lib/libnss_winbind.so.2
|
||||
winbind: no-shlibs-control-file lib/libnss_wins.so.2
|
||||
winbind: postinst-must-call-ldconfig lib/libnss_wins.so.2
|
||||
winbind: postrm-should-call-ldconfig lib/libnss_wins.so.2
|
10
packaging/Debian/debian-stable/winbind.logrotate
Normal file
10
packaging/Debian/debian-stable/winbind.logrotate
Normal file
@ -0,0 +1,10 @@
|
||||
/var/log/samba/log.winbindd {
|
||||
weekly
|
||||
missingok
|
||||
rotate 7
|
||||
postrotate
|
||||
[ -f /var/run/samba/winbindd.pid ] && kill -HUP `cat /var/run/samba/winbindd.pid`
|
||||
endscript
|
||||
compress
|
||||
notifempty
|
||||
}
|
38
packaging/Debian/debian-stable/wins2dns.awk
Normal file
38
packaging/Debian/debian-stable/wins2dns.awk
Normal file
@ -0,0 +1,38 @@
|
||||
#!/usr/bin/awk -f
|
||||
#
|
||||
# Date: Wed, 26 Aug 1998 10:37:39 -0600 (MDT)
|
||||
# From: Jason Gunthorpe <jgg@deltatee.com>
|
||||
# To: samba@packages.debian.org
|
||||
# Subject: Nifty samba script
|
||||
#
|
||||
# Here is a really nifty script I just wrote for samba, it takes the wins
|
||||
# database in /var/samba/wins and writes out two dns files for it. In this
|
||||
# way network wide wins clients can get into the dns for use by unix
|
||||
# machines.
|
||||
#
|
||||
# Perhaps this could be included in /usr/doc/examples or somesuch.
|
||||
#
|
||||
|
||||
BEGIN {
|
||||
FS="#|\"";
|
||||
FORWARD="/tmp/wins.hosts"
|
||||
REVERSE="/tmp/wins.rev"
|
||||
DOMAIN="ven.ra.rockwell.com"
|
||||
}
|
||||
$3 == "00" {
|
||||
split($4,a," " );
|
||||
split(a[2],b,".");
|
||||
while (sub(" ","-",$2));
|
||||
$2=tolower($2);
|
||||
if (b[1] == "255")
|
||||
next;
|
||||
if (length($2) >= 8)
|
||||
print $2"\ta\t"a[2] > FORWARD
|
||||
else
|
||||
print $2"\t\ta\t"a[2] > FORWARD
|
||||
print b[4]"."b[3]"\t\tptr\t"$2"."DOMAIN"." > REVERSE
|
||||
}
|
||||
END {
|
||||
system("echo killall -HUP named");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user