The Samba-Bugzilla – Attachment 5531 Details for
Bug 7285
NetBIOS Namespace Clash Handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to add testparm warning
0001-s3-testparm-Throw-warning-when-workgroup-and-netbios.patch (text/plain), 982 bytes, created by
Karolin Seeger
on 2010-03-24 09:00:14 UTC
(
hide
)
Description:
Proposed patch to add testparm warning
Filename:
MIME Type:
Creator:
Karolin Seeger
Created:
2010-03-24 09:00:14 UTC
Size:
982 bytes
patch
obsolete
>From f747205ad117852acc29e4f55d53286f7dcc6432 Mon Sep 17 00:00:00 2001 >From: Karolin Seeger <kseeger@samba.org> >Date: Wed, 24 Mar 2010 14:55:15 +0100 >Subject: [PATCH] s3-testparm: Throw warning when 'workgroup' and 'netbios name' are identical. > >Address bug #7285 (NetBIOS Namespace Clash Handling). > >Karolin >--- > source3/utils/testparm.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c >index 3204de2..73e173e 100644 >--- a/source3/utils/testparm.c >+++ b/source3/utils/testparm.c >@@ -77,6 +77,12 @@ cannot be set in the smb.conf file. nmbd will abort with this setting.\n"); > ret = 1; > } > >+ if (strequal(lp_workgroup(), global_myname())) { >+ fprintf(stderr, "WARNING: 'workgroup' and 'netbios name' " \ >+ "must differ.\n"); >+ ret = 1; >+ } >+ > if (!directory_exist_stat(lp_lockdir(), &st)) { > fprintf(stderr, "ERROR: lock directory %s does not exist\n", > lp_lockdir()); >-- >1.6.4.2 >
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 7285
: 5531