The Samba-Bugzilla – Attachment 831 Details for
Bug 587
smbcontrol close-share doesn't work if PID not specified
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow to call smbcontrol with the daemon name
smbcontrol-daemonname.diff (text/plain), 913 bytes, created by
Lars Müller
on 2004-12-08 15:27:26 UTC
(
hide
)
Description:
Allow to call smbcontrol with the daemon name
Filename:
MIME Type:
Creator:
Lars Müller
Created:
2004-12-08 15:27:26 UTC
Size:
913 bytes
patch
obsolete
>Author: Lars Mueller <lmuelle at SuSE dot de> >Subject: smbcontrol close-share doesn't work if PID not specified >Bugzilla: bugzilla.Samba.org #587 > >--- samba-3.0.9/source/lib/messages.c >+++ samba-3.0.9/source/lib/messages.c 2004-12-08 23:18:28 >@@ -525,7 +525,7 @@ > > memcpy(&crec, dbuf.dptr, sizeof(crec)); > >- if (crec.cnum != -1) >+ if (crec.cnum == -1) > return 0; > > /* Don't send if the receiver hasn't registered an interest. */ >Nur in samba-3.0.9.new/source/lib: .messages.c.swp. >--- samba-3.0.9/source/smbd/service.c >+++ samba-3.0.9/source/smbd/service.c 2004-12-08 23:14:49 >@@ -539,7 +539,8 @@ > if (!claim_connection(conn, > lp_servicename(SNUM(conn)), > lp_max_connections(SNUM(conn)), >- False,0)) { >+ False, >+ FLAG_MSG_GENERAL|FLAG_MSG_SMBD)) { > DEBUG(1,("too many connections - rejected\n")); > conn_free(conn); > *status = NT_STATUS_INSUFFICIENT_RESOURCES;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 587
: 831