search for: util_str

Displaying 20 results from an estimated 87 matches for "util_str".

2002 Oct 29
0
samba error when browsing network.
...connect to my home directory via a win2ksp3 client, and i'm getting the below error message in my satellite.log file which is the log file created when i tried to connect. Any suggestions appreciated. Thanks. Dave. ERROR: string overflow by 4 in string_sub(%u, 7) [2002/10/28 22:03:22, 0] lib/util_str.c:string_sub(1219) ERROR: string overflow by 4 in string_sub(%u, 7) [2002/10/28 22:03:22, 0] lib/util_str.c:string_sub(1219) ERROR: string overflow by 4 in string_sub(%u, 7) [2002/10/28 22:03:22, 0] lib/util_str.c:string_sub(1219) ERROR: string overflow by 4 in string_sub(%u, 7) [2002/10/28 2...
2004 Sep 01
0
Issues after upgrade to 3.0.6 from 3.0.4; fixed in 3.0.7?
..."register_message_flags: tdb_fetch failed" messages are not gone in 3.0.6 - The biggest issue is however CUPS; while my smb.conf file wasn't changed (of course verified with testparm), but since the upgrade the log files are flooded with these messages: [2004/09/01 16:16:10, 0] lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\192.168.100.151\DUSSEL_LASER01] My XP clients (sp1), that get their printers installed via the ADS logon script (e.g. \\DUSSEL.XXX.COM\DUSSEL_LASER01 ) now get 2 printers installed: "DUSSEL_LASER01 on dussel"...
2005 Jan 28
0
String overflow with random characters
....2.2 samba server. It has, a number of times, recorded the following lines for a short period of time of 10 seconds, and then not again for days. Has anyone seen these before? It all appears to be random characters. It has only happened from 2 machines out of 30 or so. [2005/01/13 09:33:29, 0] lib/util_str.c:safe_strcpy(877) ERROR: string overflow by 363 in safe_strcpy [^?AA<96>AAA^PèAAAAAAAAAAAAAAª]AAAAAA¡ÅAA#AAA5^AAAAAA^PèA] [2005/01/13 09:33:29, 0] lib/util_str.c:safe_strcpy(877) ERROR: string overflow by 165 in safe_strcpy [^]tAAA6A<82>^?GAnA<81>^]tA6A6A^NnLAnA^R^]tAAA6AðnLA...
2003 Dec 11
1
downloaded win98 print drivers fail in Samba 3.0
...essfully" on the Win98 node in that the que setup of \\prima\rcfhp completes and creates a spooling window. On attempt to print from the Win98 node an immediate error message reports that printing fails (no other details). Errors shown below in the gim98 samba log on the samba server as lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy Cups access_log/error_log in debug mode show no indication of any contact with Cups printing software from the windows node, or any contact of the "rcfhp" printer during the test period. The samba/printpro rcfhp printer works fine fr...
2003 Oct 02
1
Unable to enable Add/Remove Printer Drivers (3.0.0)
...NT4sp6 and Win2003beta clients (both exhibit the same behaviour). I see the following in the log when I connect to "\\barbel\Printers and Faxes" [2003/10/02 09:06:04, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573) ERROR: NULL dest in safe_strcpy [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573) ERROR: NULL dest in safe_strcpy [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(573) ERROR: NULL dest in safe_strcpy [2003/10/02 09:06:05, 0] lib/util_str.c:safe_strcpy_fn(...
2004 Aug 20
3
3.0.6 & "string overflow by 1"
...ved (no M$-Office file already open messages), every time I access a printer my logs flood with messages like to those below. It seems I can set printer properites, etc... but when I print the jobs seem to go to never-never land (still researching where the jobs go). [2004/08/20 08:46:27, 0] lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\192.168.1.12\HP Business Inkjet 2250 PS] [2004/08/20 08:46:27, 0] lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\192.168.1.12\HP Business Inkjet 2250 PS] [2004/08/20 08:46:2...
2002 Sep 18
1
Error log?
Hi, I'm getting the following errors from smbd every night... The error log will grow to consume all the file space on the system. Sep 18 06:00:00 seawolf smbd[2257]: [2002/09/18 06:00:00, 0] lib/util_str.c:string_sub(1188) Sep 18 06:00:00 seawolf smbd[2252]: [2002/09/18 06:00:00, 0] lib/util_str.c:string_sub(1188) Sep 18 06:00:00 seawolf smbd[2251]: [2002/09/18 06:00:00, 0] lib/util_str.c:string_sub(1188) Sep 18 06:00:00 seawolf smbd[2257]: ERROR: string overflow by 5 in string_sub(%u, 7) Sep 18...
2005 Mar 15
0
Compiling samba 3.0.12pre1 on AIX 4.3.3
...ith-ldap --with-ads --with-krb5=/usr/local/krb5-1.3.5 make ============================= . . . Compiling lib/access.c Compiling lib/smbrun.c Compiling lib/bitmap.c Compiling lib/crc32.c Compiling lib/snprintf.c Compiling lib/dprintf.c Compiling lib/xfile.c Compiling lib/wins_srv.c Compiling lib/util_str.c lib/util_str.c: In function `strstr_m': lib/util_str.c:1337: warning: return discards qualifiers from pointer target type lib/util_str.c: At top level: lib/util_str.c:1560: error: conflicting types for 'strnlen' lib/util_str.c:598: error: previous implicit declaration of 'strnlen&...
2007 Nov 14
2
lib/util_str.c:safe_strcpy ERROR: string overflow by 1
Hi, I've seeing the following error messages recorded in logwatch against samba in two FC6 XA-64 systems with samba 3.0.24-7. lib/util_str.c:safe_strcpy_fn(603) ERROR: string overflow by 1 (24 - 23) in safe_strcpy The main share in use on the first machine is via the guest account with Vista and XP clients, the other has more conventional shares with the Vista PC's as domain members and acl's in use. I've seen some weir...
2003 Oct 16
0
Cann't get Samba 3.0.0 installed on a SuSE 8.2
...Desktop/samba/source/ubiqx -I/root/Desktop/samba/source/smbwrapper - I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/kerberos/include -I/root/Desktop/samba/source LIBS = -lcrypt -lresolv -lnsl -ldl LDSHFLAGS = -shared LDFLAGS = Generating smbd/build_options.c ... Compiling lib/util_str.c (1) lib/util_str.c: In function `strchr_m': lib/util_str.c:1196: warning: return discards qualifiers from pointer target type lib/util_str.c: In function `strrchr_m': lib/util_str.c:1244: warning: return discards qualifiers from pointer target type Compiling lib/clobber.c ... Compiling td...
2000 Jun 02
0
util_str.c patch
Dear all, I've created patch for ./source/lib/util_str.c: trim_string(). The original version is one I last downloaded with cvs /util_str.c/1.18/Wed Jan 26 00:12:35 2000// I beleave this is the newest at 2000/06/02 12:00:00JST ( 2000/06/02 3:00:00GMT ?) There are several change points. 1) while trimming front string, old version kept on copying...
2003 Nov 06
1
strange error-report in smbd.log
Hi, I found the following strange report in smbd.log (using Samba3.0.1pre2cvs): [2003/11/05 10:10:49, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2003/11/05 10:10:49, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2003/11/05 10:10:49, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy Can anyone help me? Is this all serious? Cheers Pe...
2004 Jul 14
4
String overflow in safe_strcpy .
Just Installed 3.0.5rc1 and the problem persists unfortunately, heres a sample of my log : wins[15212]: [2004/07/12 12:31:03, 0] lib/util_str.c:safe_strcpy_fn(600) Jul 12 12:31:03 mandrake1 nss_wins[15212]: ERROR: string overflow by 1 (9 - 8) in safe_strcpy [TAENO~EI.PDF] Jul 12 12:31:03 mandrake1 nss_wins[15212]: [2004/07/12 12:31:03, 0] lib/util_str.c:safe_strcpy_fn(600) Jul 12 12:31:03 mandrake1 nss_wins[15212]: ERROR: string ov...
2003 Sep 10
2
Samba 3.0rc3 - German Umlauts
Hi, i have still the same problem. I use 3.0RC3 with lib/charcnv.c of the actual CVS (Sep 10 15:19). I works not realy: I can create (Windows XP + Explorer) the filename "L?sung.txt" but not "?sung.txt". -- Greetings M. Ungermann
1999 Jul 21
1
2.0.5 problem with variable substitutions
I have a problem with 2.0.5 that did not happen in 2.0.4b or previous releases. I am seeing thousands of these messages in log.smb: [1999/07/20 23:44:24, 0] lib/util_str.c:string_sub(1095) ERROR: string overflow by 7 in string_sub(%M, 967) and the smbd process seems to be stuck in a tight loop. It's caused by the variable substitutions in these lines from smb.conf: root preexec = [ %U != nobody ] && /usr/openwin/bin/sessreg -a -l s/%M -s %d %U roo...
2008 Jul 30
4
panic action on samba 3.2
Hi, during I make a some du command (du -sh), samba has been disturb and sent a panic action : Last line of smbd.log : [2008/07/30 15:36:09, 0] lib/util_str.c:safe_strcpy_fn(709) ERROR: string overflow by 1 (16 - 15) in safe_strcpy [10.217.7.3/255.255.252.0] [2008/07/30 16:04:43, 0] lib/util_str.c:safe_strcpy_fn(709) ERROR: string overflow by 1 (16 - 15) in safe_strcpy [10.217.7.3/255.255.252.0] [2008/07/30 16:13:56, 0] lib/util_sock.c:get_peer...
2008 Jul 02
2
[3.2.0] Off by one error
Jerry, The 3.2.0 release is reporting this in the log.nmbd [root@beta samba]# cat log.nmbd [2008/07/02 12:26:52,? 0] nmbd/nmbd.c:main(849) ? nmbd version 3.2.0 started. ? Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/07/02 12:26:52,? 0] lib/util_str.c:safe_strcpy_fn(709) ERROR: string overflow by 1 (16 - 15) in safe_strcpy [192.168.100.20/24] Other than this issue; no real problems. James ---- James Kosin International Communications Group, Inc. 230 Pickett's Line Newport News, VA? 23603 Phone: +1 (757) 947-1030 ext 122 Fax: +1 (7...
2003 Dec 01
0
No subject
...e(650) switch message SMBnttrans (pid 13018) [2001/07/10 14:04:53, 3] smbd/nttrans.c:call_nt_transact_set_security_desc(1778) call_nt_transact_set_security_desc: file = suse1.png, sent 0x80000004 [2001/07/10 14:04:53, 0] smbd/posix_acls.c:create_canon_ace_lists(747) [2001/07/10 14:04:53, 0] lib/util_str.c:safe_strcat(910) ERROR: string overflow by 1 in safe_strcat [-0] [2001/07/10 14:04:53, 0] lib/util_str.c:safe_strcat(910) ERROR: string overflow by 2 in safe_strcat [-0] [2001/07/10 14:04:53, 0] lib/util_str.c:safe_strcat(910) ERROR: string overflow by 2 in safe_strcat [-0] [2001/07/10 14:0...
2003 Nov 15
6
Samba 3 and CUPs printer causes explorer to abend
...works, however after that is accomplished, any attempt to get the printer properties or to use the printer from my W2K system (cpq0277) causes explorer to ABEND. System setup: RedHat 9 CUPS 1.1.17-13.3 Samba 3.0.0-2 I get the following in the samba log.cpq0277 file: [2003/11/14 16:07:18, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2003/11/14 16:07:19, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2003/11/14 16:07:19, 0] lib/util_str.c:safe_strcpy_fn(577) ERROR: NULL dest in safe_strcpy [2003/11/14 16:07:41, 0] smbd/connection.c:register_mes...
2004 Jun 24
2
string overflow in safe_strcpy
I recently upgraded both of my samba servers (mirrors of each other) to 3.0.4, my log files now fill with the following messages (hundred lines per day): Jun 24 13:55:33 Clyde smbd[8597]: [2004/06/24 13:55:33, 0] lib/util_str.c:safe_strcpy_fn(602) Jun 24 13:55:33 Clyde smbd[8597]: ERROR: string overflow by 1 (9 - 8) in safe_strcpy [LIBRA~V$.DOC] Jun 24 14:20:34 Clyde smbd[8597]: [2004/06/24 14:20:34, 0] lib/util_str.c:safe_strcpy_fn(602) Jun 24 14:20:34 Clyde smbd[8597]: ERROR: string overflow by 1 (11 - 10) in s...