[Samba] Applying security updates
Logan Shaw
lshaw at emitinc.com
Tue Aug 8 14:29:03 GMT 2006
On Tue, 8 Aug 2006, Steve1 Boothright wrote:
> A security update for samba 3.0.1 - 3.0.22 was posted on samba.org on the
> 10th July. Does anyone know how to apply to update?
>
> Everytime I click on the download link I just get the following text
>
> Index: source/smbd/service.c
> ===================================================================
> --- source/smbd/service.c (revision 16676)
> +++ source/smbd/service.c (working copy)
> @@ -763,6 +763,11 @@
> smb_panic("make_connection: PANIC ERROR.
> Called as nonroot\n");
> }
>
> + if (conn_num_open() > 2047) {
> + *status =
> NT_STATUS_INSUFF_SERVER_RESOURCES;
> + return NULL;
> + }
> +
> if(lp_security() != SEC_SHARE) {
> vuser = get_valid_user_struct(vuid);
> if (!vuser) {
That's a patch against the source. Save it into a file, say
"samba-patch-2006-07-10", then "cd" to the directory that
contains "source", then type "patch < samba-patch-2006-07-10"
and the patch program should apply the changes to the file
source/smbd/service.c. Then rebuild the binaries.
- Logan
More information about the samba
mailing list