The Samba-Bugzilla – Attachment 169 Details for
Bug 528
wins hook doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix wins hook operation in 3.0.0
bug528.patch (text/plain), 882 bytes, created by
Tim Potter
on 2003-09-28 21:42:56 UTC
(
hide
)
Description:
Fix wins hook operation in 3.0.0
Filename:
MIME Type:
Creator:
Tim Potter
Created:
2003-09-28 21:42:56 UTC
Size:
882 bytes
patch
obsolete
>Index: nmbd/nmbd_winsserver.c >=================================================================== >RCS file: /data/cvs/samba/source/nmbd/nmbd_winsserver.c,v >retrieving revision 1.51.2.12 >diff -u -r1.51.2.12 nmbd_winsserver.c >--- nmbd/nmbd_winsserver.c 27 Aug 2003 15:07:46 -0000 1.51.2.12 >+++ nmbd/nmbd_winsserver.c 29 Sep 2003 04:38:15 -0000 >@@ -107,7 +107,7 @@ > { > pstring command; > char *cmd = lp_wins_hook(); >- char *p; >+ char *p, *namestr; > int i; > > if (!cmd || !*cmd) return; >@@ -119,11 +119,17 @@ > } > } > >+ /* Use the name without the nametype (and scope) appended */ >+ >+ namestr = nmb_namestr(&namerec->name); >+ p = strchr(namestr, '<'); >+ *p = 0; >+ > p = command; > p += slprintf(p, sizeof(command)-1, "%s %s %s %02x %d", > cmd, > operation, >- nmb_namestr(&namerec->name), >+ namestr, > namerec->name.name_type, > ttl); >
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 528
: 169