search for: skip_string

Displaying 5 results from an estimated 5 matches for "skip_string".

2003 Apr 13
1
disabling version number
Hi there, is there any possibility of disabling Samba's version number output (e.g. with smbclient) without having to manually edit it in the source code? I don't want anyone to see my Samba's version number... Thanks Florian
2002 Mar 15
0
logon home with ldap under win98
..._________________ Netlife Internet Consulting und Software GmbH Service & Support / Headquarter Hamburg -------------- next part -------------- *** lanman.c.orig Fri Mar 15 13:02:01 2002 --- lanman.c Fri Mar 15 16:11:49 2002 *************** *** 2454,2459 **** --- 2454,2463 ---- char *p = skip_string(UserName,1); int uLevel = SVAL(p,0); char *p2; + pstring logon_home; + + BOOL logon_home_frompassdb; + SAM_ACCOUNT *sampass=NULL; /* get NIS home of a previously validated user - simeon */ /* With share level security vuid will always be zero. *************** *** 2463,2468...
2003 May 09
2
patch for 2.2 to correctly detect WinXP and Win2K2 client arch types
...rce/smbd/reply.c,v retrieving revision 1.240.2.132 diff -u -r1.240.2.132 reply.c --- source/smbd/reply.c 9 Apr 2003 22:49:49 -0000 1.240.2.132 +++ source/smbd/reply.c 9 May 2003 21:26:55 -0000 @@ -765,7 +765,7 @@ } username_str = smb_buf(inbuf)+smb_apasslen; - fstrcpy( native_lanman, skip_string(username_str, 3)); + fstrcpy( native_lanman, skip_string(username_str, 4)); /* * we distinguish between 2K and XP by the "Native Lan Manager"
1999 Sep 14
0
SCO lan manager
...CVAL(buf,6); /* minor version of node software */ int ttl = SVAL(buf,7); char *announce_name = buf+9; struct work_record *work; struct server_record *servrec; char *work_name; char *source_name = dgram->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,("proce...
1999 Oct 26
0
Solaris 7 not compiling HEAD code
...e on Solaris 7 using gcc 2.8. Samba 2.0.5a works fine but not the HEAD Code. See Errors below. Can anyone tell me what I need to do? Samba errors during compile Compiling libsmb/clientgen.c libsmb/clientgen.c: In function `cli_get_string': libsmb/clientgen.c:91: warning: passing arg 1 of `skip_string' discards `const' from pointer target type Compiling passdb/pass_check.c passdb/pass_check.c:93: warning: initialization from incompatible pointer type lib/util.c: In function `nametouid': lib/util.c:2501: warning: passing arg 1 of `Get_Pwnam' discards `const' from pointer tar...