search for: lp_wins_hook

Displaying 1 result from an estimated 1 matches for "lp_wins_hook".

2003 Sep 29
0
wins hook functionality broken in Samba 3.0.0
...ving revision 1.51.2.14 diff -c -u -r1.51.2.12 -r1.51.2.14 cvs server: conflicting specifications of output style --- source/nmbd/nmbd_winsserver.c 27 Aug 2003 15:07:46 -0000 1.51.2.12 +++ nmbd_winsserver.c 29 Sep 2003 04:57:20 -0000 1.51.2.14 @@ -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); + if ((p = strchr(namestr, '<'))) + *p = 0; + p = command; p...