]> git.pld-linux.org Git - packages/samba4.git/commitdiff
- allow suid programs to use libsmbclient - IT IS A MUST (eg. amanda)
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 12 Sep 2003 10:46:49 +0000 (10:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    samba-allow-suid.patch -> 1.1

samba-allow-suid.patch [new file with mode: 0644]

diff --git a/samba-allow-suid.patch b/samba-allow-suid.patch
new file mode 100644 (file)
index 0000000..5b0d5bf
--- /dev/null
@@ -0,0 +1,12 @@
+--- samba-2.2.8a/source/libsmb/clientgen.c~    2002-12-10 15:58:15.000000000 +0100
++++ samba-2.2.8a/source/libsmb/clientgen.c     2003-09-11 19:00:11.000000000 +0200
+@@ -170,7 +170,9 @@
+       /* Check the effective uid - make sure we are not setuid */
+       if (is_setuid_root()) {
+               DEBUG(0,("libsmb based programs must *NOT* be setuid root.\n"));
++              /* Warn but don't exit, amanda must be setuid and needs smb
+               return NULL;
++              */
+       }
+       if (!cli) {
This page took 0.02687 seconds and 4 git commands to generate.