summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-12-04 02:58:42 +0000
committerMartin Pool <mbp@samba.org>2001-12-04 02:58:42 +0000
commit6c3163cc9715188ee8087c6dbf63776f0dc9f1f5 (patch)
treecfcadaf2ef65789212e413ae77b6635963aca95b /source3/pam_smbpass
parentc2e3d8ba018221c0a0b22a91fdb361dd740482b9 (diff)
downloadsamba-6c3163cc9715188ee8087c6dbf63776f0dc9f1f5.tar.gz
samba-6c3163cc9715188ee8087c6dbf63776f0dc9f1f5.tar.bz2
samba-6c3163cc9715188ee8087c6dbf63776f0dc9f1f5.zip
Set errno in tdb_open in cases where we detect an error in opening the
database, but no underlying system call sets errno. The particular case I had was a mangled .tdb, but there are others. For this one, set EIO. It's a shame Unix messages aren't more detailed -- "bad data format" would be better. (This used to be commit 5630a988be05c21b60aba6304d4aaadce6024817)
Diffstat (limited to 'source3/pam_smbpass')
0 files changed, 0 insertions, 0 deletions