Error messages generated by passdb/pdb_smbpasswd.c are (almost) useless

Andrew Bartlett abartlet at samba.org
Fri Mar 14 10:24:36 GMT 2003


On Fri, 2003-03-14 at 21:17, Simo Sorce wrote:
> It seem very clear to me Richard.
> 
> An smbpasswd entry has a single UID field, if there you find something
> that's not a number then the entry is malformed.
> 
> What's unclear?
> 
> Printing the line may clobber the logs, as a malformed entry may contain
> just anything like control chars, I agree that telling the entry line
> number could be a good idea.

More particularly it might contain the passwords...

(our logs are often world-readable)

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030314/a8444a29/attachment.bin


More information about the samba-technical mailing list