pre2.0.7 disk quota bug
David Collier-Brown
davecb at canada.sun.com
Fri Feb 25 17:43:12 GMT 2000
Mr. Makarov tried my patch, got good results, but got the
following contra-intuitive results in his log...
---
[2000/02/22 14:34:59, 3] smbd/process.c:switch_message(448)
switch message SMBwrite (pid 243)
[2000/02/22 14:34:59, 4] smbd/uid.c:become_user(186)
Skipping become_user - already user
[2000/02/22 14:34:59, 10] smbd/fileio.c:seek_file(63)
seek_file: requested pos = 65536, new pos = 65536
-- this is about the fourth write to the file...
[2000/02/22 14:34:59, 0] lib/util_sock.c:write_data(505)
write_data: write failure. Error = Disk quota exceeded
---
My change, however, was only to the SMBs which can set
file lengths, to return a failure if the file was going
to be bigger than the free space on the partition...
This may have affected the following trans2, which followed
the open/create:
---
[2000/02/22 14:33:46, 9] smbd/trans2.c:send_trans2_replies(161)
t2_rep: params_sent_thistime = 2, data_sent_thistime = 36,
useable_space = 61376
---
Anyone have a better understanding of what NT's up to???
We have a log of the transcation, at log level = 10.
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
More information about the samba-technical
mailing list