search for: nmb_namestr

Displaying 2 results from an estimated 2 matches for "nmb_namestr".

2003 Sep 29
0
wins hook functionality broken in Samba 3.0.0
...erver.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 += slprintf(p, sizeof(command)-1, "%s %s %s %02x %d", cmd, operation, - nmb_namestr(&namerec->name), + namestr, namerec->name.name_type...
1999 Sep 14
0
SCO lan manager
...t;source_name.name; pstring comment; char *s = buf+9; s = skip_string(s,1); StrnCpy(comment, s, 43); DEBUG(3,("process_lm_host_announce: LM Announcement from %s<%02x> IP %s to \ %s for server %s.\n", source_name, source_name[15], inet_ntoa(p->ip), nmb_namestr(&dgram->dest_name),announce_name)); DEBUG(5,("process_lm_host_announce: os=(%d,%d) ttl=%d server type=%08x comment=%s\n", osmajor, osminor, ttl, servertype,comment)); if ((osmajor < 36) || (osmajor > 38) || (osminor !=0)) { DEBUG(5,("process_lm...