summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorChristian Andreetta <satya@gentoo.org>2004-11-15 15:03:17 +0000
committerChristian Andreetta <satya@gentoo.org>2004-11-15 15:03:17 +0000
commit771c44b3c83b8e42d7080cde196ab818448b52e4 (patch)
treeb582509d2b60751e9a9a751f9315225865ffdf79 /net-fs
parentremove old version (Manifest recommit) (diff)
downloadgentoo-2-771c44b3c83b8e42d7080cde196ab818448b52e4.tar.gz
gentoo-2-771c44b3c83b8e42d7080cde196ab818448b52e4.tar.bz2
gentoo-2-771c44b3c83b8e42d7080cde196ab818448b52e4.zip
forgot this patch file :-(
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/files/samba-3.0.8-lanman.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-fs/samba/files/samba-3.0.8-lanman.patch b/net-fs/samba/files/samba-3.0.8-lanman.patch
new file mode 100644
index 000000000000..958c25df039f
--- /dev/null
+++ b/net-fs/samba/files/samba-3.0.8-lanman.patch
@@ -0,0 +1,16 @@
+Index: smbd/lanman.c
+===================================================================
+--- source/smbd/lanman.c (revision 3681)
++++ source/smbd/lanman.c (revision 3862)
+@@ -2267,6 +2267,12 @@
+ return False;
+ *rparam_len = 4;
+ *rparam = REALLOC(*rparam,*rparam_len);
++
++ if ( (snum = lp_servicenumber(sharename)) == -1 ) {
++ DEBUG(0,("api_PrintJobInfo: unable to get service number from sharename [%s]\n",
++ sharename));
++ return False;
++ }
+
+ *rdata_len = 0;