This problem has just been fixed in the CVS code. http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_smbpasswd.c?r1=1.50.2.5&r2=1.50.2.6
Dietrich Restemeyer wrote: > > On Tuesday 03 December 2002 19:42, Randy Cox wrote: > > Hi All, > > > > I posted this earlier, but not sure if it showed up, so: > > > > samba 2.2.7 built with: > > ./configure > > make > > make install > > > > (That is, no special build options) > > > > in our smb.conf the line: > > > > logon script = %u.bat: > > ^ > > > > lowercase ------ > > > > When trying to login (from Windows 9x,NT, 2K or Linux with winbindd), > > several (hundred) of these messages appear in the server logs: > > > > [the date shows up here] lib/util_str.c: string_sub (1217) > > ERROR: string overflow by 2 in string_sub(%u, 7) > > ^ > > > > and this number -------------------------------------- > > is the user name length + 2 > > > > The workstation trying to login eventually times out with an "incorrect > > password" message. On the server, smbd and nmbd stop responding to > > /etc/init.d/samba stop or other commands and need to be stopped with kill > > -9 > > > > if we change the line in smb.conf to > > logon script = %U.bat: > > ^ > > > > uppercase ------ > > > > Then everything works fine. Is there a patch I missed somewhere? > > TIA > > > > > > Senior Technical Associate > > [EMAIL PROTECTED] > > just the same here at my network. > if i use logon script = li-%u.bat > and rename the batchfiles it works too. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- ====================================================================== Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 [EMAIL PROTECTED] Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 PGP Key: 0x8408D65D ====================================================================== -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
