diff options
| author | Timur I. Bakeyev <timur@FreeBSD.org> | 2011-10-16 22:35:25 +0000 |
|---|---|---|
| committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2011-10-16 22:35:25 +0000 |
| commit | 4bef4dd3c2a258c055674c8ae8281ac6f9ce661f (patch) | |
| tree | abe8fd76d6cc394c29f494e221ead6997c75f1a5 /net/samba36/files/patch-source3__smbd__quotas.c | |
| parent | Update port version to 2.0.7 (diff) | |
Add new version of Samba - 3.6.0.
Most significant improvement is the support of SMB2 protocol.
Diffstat (limited to 'net/samba36/files/patch-source3__smbd__quotas.c')
| -rw-r--r-- | net/samba36/files/patch-source3__smbd__quotas.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/samba36/files/patch-source3__smbd__quotas.c b/net/samba36/files/patch-source3__smbd__quotas.c new file mode 100644 index 000000000000..deb36c3507bd --- /dev/null +++ b/net/samba36/files/patch-source3__smbd__quotas.c @@ -0,0 +1,19 @@ +--- ./source3/smbd/quotas.c.orig 2010-04-01 15:26:22.000000000 +0200 ++++ ./source3/smbd/quotas.c 2010-04-23 01:08:35.000000000 +0200 +@@ -1035,6 +1035,7 @@ + if (!cutstr) + return False; + ++ memset(&D, '\0', sizeof(D)); + memset(cutstr, '\0', len+1); + host = strncat(cutstr,mnttype, sizeof(char) * len ); + DEBUG(5,("nfs_quotas: looking for mount on \"%s\"\n", cutstr)); +@@ -1043,7 +1044,7 @@ + args.gqa_pathp = testpath+1; + args.gqa_uid = uid; + +- DEBUG(5,("nfs_quotas: Asking for host \"%s\" rpcprog \"%i\" rpcvers \"%i\" network \"%s\"\n", host, RQUOTAPROG, RQUOTAVERS, "udp")); ++ DEBUG(5,("nfs_quotas: Asking for host \"%s\" rpcprog \"%lu\" rpcvers \"%lu\" network \"%s\"\n", host, RQUOTAPROG, RQUOTAVERS, "udp")); + + if ((clnt = clnt_create(host, RQUOTAPROG, RQUOTAVERS, "udp")) == NULL) { + ret = False; |
