---------- Cabeçalho original -----------

De: "Jeremy Allison" [EMAIL PROTECTED]
Para: "Emanuel Moura dos Santos" [EMAIL PROTECTED]
Cópia: [email protected]
Data: Wed, 6 Jun 2007 17:33:19 -0700
Assunto: Re: [Samba] string overflow in rpcclient add "printer" driver command

> On Wed, Jun 06, 2007 at 06:36:28PM -0300, Emanuel Moura dos Santos wrote:

> > I get the folowing error msg in rpcclient -c 'adddriver' command:
> >
> > ERROR: string overflow by 1 (1024 - 1023) in safe_strcpy [adddriver 
> > "Windows NT x86" "My Driver Name 001:aaa]

> > My command is like this:
> >
> > rpcclient MYSRV -s /etc/samba/smb.conf -A auth.txt -c 'adddriver "Windows 
> > NT x86" "My Driver Name 001:
> >       aaaaaa.001:aaaaaa.002:aaaaaa.003:aaaaaa.004::NULL:aaaaaa.001,
> >       ..... bla bla bla ... bbbbbbb.022, ... bla bla bla ...
> >       aaaaaaa.077,ccccccc.078"'

> Good catch. Can you try this patch instead ? Let me know if it works and
> I'll check it in.

Thanks. The your patch is Ok. But, second part of my initial report stay 
loosing files. The ntdrivers.tdb file
cut my file list.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to