diff options
author | Jeremy Allison <jra@samba.org> | 1999-02-01 21:03:43 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1999-02-01 21:03:43 +0000 |
commit | 71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b (patch) | |
tree | d909d6e90116f76e7ba30bc8b946341690dad7db /source/smbd/trans2.c | |
parent | 80d912f31e6f5c0794f51b18b35a8946736c725e (diff) | |
download | samba-71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b.tar.gz samba-71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b.tar.xz samba-71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b.zip |
locking/locking_shm.c: Added printf to help track down negative share mode problem.
printing/print_svid.c: Fix for DG/UX lpstat.
smbd/dfree.c: Added 'max_four_gig' parameter to normalize to 4GB when asked
(used to be the default).
smbd/open.c smbd/reply.c smbd/trans2.c:
Changed to allow a <4GB volume size to be returned on a trans2
qfsinfo level 1 call. NT clients refuse to do the correct call to Samba servers
(Herb recons it's the unicode bit) - this allows even a level 1 to return a
volume size up to 9444732961341243916800 bytes (should be enough for now,
until we get the unicode support added :-).
Jeremy.
Diffstat (limited to 'source/smbd/trans2.c')
-rw-r--r-- | source/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index 886eb26e31b..53d247ba1cc 100644 --- a/source/smbd/trans2.c +++ b/source/smbd/trans2.c @@ -1090,7 +1090,7 @@ static int call_trans2qfsinfo(connection_struct *conn, { SMB_BIG_UINT dfree,dsize,bsize; data_len = 18; - sys_disk_free(".",&bsize,&dfree,&dsize); + sys_disk_free(".",False,&bsize,&dfree,&dsize); SIVAL(pdata,l1_idFileSystem,st.st_dev); SIVAL(pdata,l1_cSectorUnit,bsize/512); SIVAL(pdata,l1_cUnit,dsize); @@ -1163,7 +1163,7 @@ static int call_trans2qfsinfo(connection_struct *conn, { SMB_BIG_UINT dfree,dsize,bsize; data_len = 24; - sys_disk_free(".",&bsize,&dfree,&dsize); + sys_disk_free(".",False,&bsize,&dfree,&dsize); SBIG_UINT(pdata,0,dsize); SBIG_UINT(pdata,8,dfree); SIVAL(pdata,16,bsize/512); |