Just to follow up here: this current problem seems to be associated with CIFS's byte-range locking, which behaves in unexpected ways. If i use the "nobrl" option during the CIFS mount, i can cleanly use sqlite (this comes at the cost of not having advisory locks propagate across the network, though, so it is probably not an acceptable workaround to every situation).
Just to follow up here: this current problem seems to be associated with CIFS's byte-range locking, which behaves in unexpected ways. If i use the "nobrl" option during the CIFS mount, i can cleanly use sqlite (this comes at the cost of not having advisory locks propagate across the network, though, so it is probably not an acceptable workaround to every situation).
I reported the bug against debian's smbfs package, if you want to follow it there: http:// bugs.debian. org/483507