diff options
-rw-r--r-- | packaging/Mandrake/samba-2.2.0-gawk.patch | 11 | ||||
-rw-r--r-- | packaging/Mandrake/samba-2.2.5-gp-reloc-fix.patch | 12 | ||||
-rw-r--r-- | packaging/Mandrake/smbmount-sbin.patch | 15 | ||||
-rw-r--r-- | source/msdfs/README | 32 |
4 files changed, 70 insertions, 0 deletions
diff --git a/packaging/Mandrake/samba-2.2.0-gawk.patch b/packaging/Mandrake/samba-2.2.0-gawk.patch new file mode 100644 index 00000000000..b77bc3a93cc --- /dev/null +++ b/packaging/Mandrake/samba-2.2.0-gawk.patch @@ -0,0 +1,11 @@ +--- samba-2.2.0/source/script/convert_smbpasswd.gawk Thu Nov 5 04:50:17 1998 ++++ samba-2.2.0/source/script/convert_smbpasswd Thu Apr 19 08:43:44 2001 +@@ -7,7 +7,7 @@ + # with trying to work out how to get the seconds since 1970 + # in awk or the shell. JRA. + # +-nawk 'BEGIN {FS=":"} ++gawk 'BEGIN {FS=":"} + { + if( $0 ~ "^#" ) { + print $0 diff --git a/packaging/Mandrake/samba-2.2.5-gp-reloc-fix.patch b/packaging/Mandrake/samba-2.2.5-gp-reloc-fix.patch new file mode 100644 index 00000000000..8888d6622e5 --- /dev/null +++ b/packaging/Mandrake/samba-2.2.5-gp-reloc-fix.patch @@ -0,0 +1,12 @@ +diff -ur samba-2.2.5.orig/examples/VFS/Makefile.in samba-2.2.5/examples/VFS/Makefile.in +--- samba-2.2.5.orig/examples/VFS/Makefile.in 2002-06-17 20:35:09.000000000 +0200 ++++ samba-2.2.5/examples/VFS/Makefile.in 2002-06-30 16:43:15.000000000 +0200 +@@ -4,7 +4,7 @@ + + CC=@CC@ + LIBTOOL=@LIBTOOL@ +-CFLAGS=@CFLAGS@ ++CFLAGS=@CFLAGS@ -DPIC -fPIC + LDFLAGS=@LDFLAGS@ + + VFS_OBJS=audit.so skel.so block/block.so recycle/recycle.so diff --git a/packaging/Mandrake/smbmount-sbin.patch b/packaging/Mandrake/smbmount-sbin.patch new file mode 100644 index 00000000000..b6387208134 --- /dev/null +++ b/packaging/Mandrake/smbmount-sbin.patch @@ -0,0 +1,15 @@ ++++ samba-2.2.1/source/client/smbmount.c Sun Apr 15 01:03:46 2001 +--- samba-2.2.1/source/client/smbmount.c.seb Mon Jun 11 14:26:23 2001 +@@ -484,9 +484,9 @@ + } + + if (sys_fork() == 0) { +- if (file_exist(BINDIR "/smbmnt", NULL)) { +- execv(BINDIR "/smbmnt", args); +- fprintf(stderr,"execv of %s failed. Error was %s.", BINDIR "/smbmnt", strerror(errno)); ++ if (file_exist(SBINDIR "/smbmnt", NULL)) { ++ execv(SBINDIR "/smbmnt", args); ++ fprintf(stderr,"execv of %s failed. Error was %s.", SBINDIR "/smbmnt", strerror(errno)); + } else { + execvp("smbmnt", args); + fprintf(stderr,"execvp of smbmnt failed. Error was %s.", strerror(errno) ); diff --git a/source/msdfs/README b/source/msdfs/README new file mode 100644 index 00000000000..0e924b31dce --- /dev/null +++ b/source/msdfs/README @@ -0,0 +1,32 @@ +Setting up MS Dfs in Samba +kalele@veritas.com March 2000 + +Currently, MS Dfs support is a configure time parameter (--with-msdfs). Can be changed later to always compile it in.. + +To have a server announce itself as a Dfs server, add a "host msdfs=yes" entry to smb.conf. + +To make a share a Dfs root, add a "msdfs root=yes" entry to the share definition +in the smb.conf file. +e.g. +[pub] + path = /export/publicsmb + msdfs root = yes + +To create dfs volumes/junctions in the share, create symbolic links of the +format msdfs:server1\share1,server2\share2 and so on. + +In the above example, create a dfs volume "dfsstorage" in the [pub] share as: +cd /export/publicsmb +ln -s msdfs:serverA\\share dfsstorage + +Clicking on dfsstorage from a dfs-aware client will show you the contents of +\\serverA\share + +Shares with "msdfs root = no" (which is the default) entries are served as normal +shares and the client stops talking Dfs with Samba after a tconX. + +NOTES: +* Windows clients need to be rebooted if a non-dfs root is made a dfs root or + vice versa. A better option is to introduce a new share and make it the dfs root. +* Currently there's a restriction that msdfs symlink names should be all + lowercase. |