[Samba] Maximum Length Of Printer Name

Jeramy Eling Jeramy.Eling at britax-pmg.com
Thu May 13 06:46:14 GMT 2004


Hi All,

Just a quick question, what is the max length of a printer name in samba? I am currently running samba 3.0.4 and keep receiving the following message:-
May 13 07:28:09 gandalf1 smbd[2316]: [2004/05/13 07:28:09, 0] lib/util_str.c:safe_strcpy_fn(602) 
May 13 07:28:09 gandalf1 smbd[2316]: ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\gandalf1\MirrorsA4PicklistPrinter]
The message only appears to affect printers which have name of 32 characters or more.
It doesn't cause any issues but it would be good if I could sort it and tidy the log file up. Any help would be much appreciated.
Thanks In Advance
Jez



More information about the samba mailing list