source: branches/samba-3.3.x/source/smbd/sesssetup.c#@ 285

Last change on this file since 285 was 206, checked in by Herwig Bauernfeind, 16 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

File size: 925 bytes
Line 
1***************
2*** 68,76 ****
3
4 fstr_sprintf( lanman, "Samba %s", SAMBA_VERSION_STRING);
5
6- p += srvstr_push(outbuf, p, "Unix", BUFFER_SIZE - (p - outbuf), STR_TERMINATE);
7- p += srvstr_push(outbuf, p, lanman, BUFFER_SIZE - (p - outbuf), STR_TERMINATE);
8- p += srvstr_push(outbuf, p, lp_workgroup(), BUFFER_SIZE - (p - outbuf), STR_TERMINATE);
9
10 return PTR_DIFF(p, start);
11 }
12--- 68,80 ----
13
14 fstr_sprintf( lanman, "Samba %s", SAMBA_VERSION_STRING);
15
16+ #ifndef __OS2__
17+ p += srvstr_push(outbuf, p, "Unix", BUFFER_SIZE - (p - outbuf), STR_TERMINATE);
18+ #else
19+ p += srvstr_push(outbuf, p, "OS/2-eComStation", BUFFER_SIZE - (p - outbuf), STR_TERMINATE);
20+ #endif
21+ p += srvstr_push(outbuf, p, lanman, BUFFER_SIZE - (p - outbuf), STR_TERMINATE);
22+ p += srvstr_push(outbuf, p, lp_workgroup(), BUFFER_SIZE - (p - outbuf), STR_TERMINATE);
23
24 return PTR_DIFF(p, start);
25 }
Note: See TracBrowser for help on using the repository browser.