svn commit: samba-web r786 - in trunk/patches: .
jerry at samba.org
jerry at samba.org
Mon Aug 29 18:45:05 GMT 2005
Author: jerry
Date: 2005-08-29 18:45:05 +0000 (Mon, 29 Aug 2005)
New Revision: 786
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=786
Log:
adding volker's winbindd patch to list and cleaning up html some
Added:
trunk/patches/winbindd_v1.patch
Modified:
trunk/patches/index.html
Changeset:
Modified: trunk/patches/index.html
===================================================================
--- trunk/patches/index.html 2005-08-29 18:34:52 UTC (rev 785)
+++ trunk/patches/index.html 2005-08-29 18:45:05 UTC (rev 786)
@@ -15,18 +15,20 @@
$ cd samba-3.0.x
$ patch -p1 < "downloaded_patch_file"
$ cd source
-....build Samba as normal....
</pre>
-Or use the quilt tool to apply all patches to a known series.
+<p>Or use the quilt tool to apply all patches to a known series.</p>
+
<pre>$ tar zxvf samba-3.0.x.tar.gz
$ cd samba-3.0.x
$ wget http://www.samba.org/samba/patches/fetch-patches
$ sh ./fetch-patches
-$ quilt push -a
+$ <a href="http://savannah.nongnu.org/projects/quilt">quilt</a> push -a
$ cd source
</pre>
+<p>....build Samba as normal....</p>
+
<p>Please note that in some cases it will be necessary to regenerate
the configure script by executing autogen.sh located in the
source/ directory. In all cases, it is best to do a clean build
@@ -55,6 +57,12 @@
<td>Fixes <a href="https://bugzilla.samba.org/bug/3010">Bug #3010</a>: endless directory loop on AIX 5
with Win9x clients. Requires re-running autogen.sh and a clean build.</td>
</tr>
+ <tr>
+ <td><a href="/samba/patches/winbindd_v1.patch">Winbindd</a></td>
+ <td>Fixes a few small issues with winbindd at startup and ensures that
+ the correct NT_STATUS code is returned to the calling processes
+ when authentication fails.</td>
+ </tr>
</tbody>
</table>
Added: trunk/patches/winbindd_v1.patch
===================================================================
--- trunk/patches/winbindd_v1.patch 2005-08-29 18:34:52 UTC (rev 785)
+++ trunk/patches/winbindd_v1.patch 2005-08-29 18:45:05 UTC (rev 786)
@@ -0,0 +1,39 @@
+diff -urBbN --exclude-from=diff.excludes samba-3.0.20-orig/source/nsswitch/winbindd_dual.c samba-3.0.20-new/source/nsswitch/winbindd_dual.c
+--- samba-3.0.20-orig/source/nsswitch/winbindd_dual.c 2005-08-19 12:16:27.000000000 -0500
++++ samba-3.0.20-new/source/nsswitch/winbindd_dual.c 2005-08-29 13:34:16.000000000 -0500
+@@ -158,7 +158,6 @@
+ return;
+ }
+
+- if (state->response->result == WINBINDD_OK)
+ SMB_ASSERT(cache_retrieve_response(child->pid,
+ state->response));
+
+@@ -486,12 +485,11 @@
+ DEBUG(4,("child daemon request %d\n",
+ (int)state.request.cmd));
+
++ ZERO_STRUCT(state.response);
+ state.request.null_term = '\0';
+ child_process_request(child->domain, &state);
+
+- if (state.response.result == WINBINDD_OK)
+- cache_store_response(sys_getpid(),
+- &state.response);
++ cache_store_response(sys_getpid(), &state.response);
+
+ SAFE_FREE(state.response.extra_data);
+
+diff -urBbN --exclude-from=diff.excludes samba-3.0.20-orig/source/nsswitch/winbindd_util.c samba-3.0.20-new/source/nsswitch/winbindd_util.c
+--- samba-3.0.20-orig/source/nsswitch/winbindd_util.c 2005-07-28 08:19:44.000000000 -0500
++++ samba-3.0.20-new/source/nsswitch/winbindd_util.c 2005-08-29 13:34:16.000000000 -0500
+@@ -444,7 +444,9 @@
+ state->request.data.init_conn.dcname
+ [sizeof(state->request.data.init_conn.dcname)-1]='\0';
+
++ if (strlen(state->request.data.init_conn.dcname) > 0) {
+ fstrcpy(domain->dcname, state->request.data.init_conn.dcname);
++ }
+
+ if (strlen(domain->dcname) > 0) {
+ if (!resolve_name(domain->dcname, &ipaddr, 0x20)) {
More information about the samba-cvs
mailing list