diff options
author | Timur I. Bakeyev <timur@FreeBSD.org> | 2008-07-28 00:59:48 +0000 |
---|---|---|
committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2008-07-28 00:59:48 +0000 |
commit | 0f1f6a955c43efa9acd10e55e20b10578fe6a79b (patch) | |
tree | 7b00b33f69d2d96a48b269a938e1647afcc5977b /net/samba3/files/patch-smbd_quotas.c | |
parent | New port: devel/p5-MooseX-Daemonize, Role for daemonizing your Moose based ap... (diff) |
Update net/samba3 to the 3.0.31 version.
o Correct issues with running Winbind runing on a Samba PDC.
o Problems with trusted Windows 2008 domains.
o Difficulty joining an NT4 or Windows 2000 AD domain.
Fix NFS quota handling
Notes
Notes:
svn path=/head/; revision=217726
Diffstat (limited to 'net/samba3/files/patch-smbd_quotas.c')
-rw-r--r-- | net/samba3/files/patch-smbd_quotas.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/samba3/files/patch-smbd_quotas.c b/net/samba3/files/patch-smbd_quotas.c new file mode 100644 index 000000000000..c7433ba2991c --- /dev/null +++ b/net/samba3/files/patch-smbd_quotas.c @@ -0,0 +1,20 @@ +--- smbd/quotas.c.orig 2008-07-15 05:19:02.000000000 +0200 ++++ smbd/quotas.c 2008-07-15 05:21:24.000000000 +0200 +@@ -546,7 +546,7 @@ + *bsize = gqr.getquota_rslt_u.gqr_rquota.rq_bsize; + *dsize = D.dqb_bsoftlimit; + +- if (D.dqb_curblocks == D.dqb_curblocks == 1) ++ if (D.dqb_curblocks == 1) + *bsize = 512; + + if (D.dqb_curblocks > D.dqb_bsoftlimit) { +@@ -1091,7 +1091,7 @@ + *bsize = gqr.getquota_rslt_u.gqr_rquota.rq_bsize; + *dsize = D.dqb_bsoftlimit; + +- if (D.dqb_curblocks == D.dqb_curblocks == 1) ++ if (D.dqb_curblocks == 1) + *bsize = DEV_BSIZE; + + if (D.dqb_curblocks > D.dqb_bsoftlimit) { |