[Pkg-samba-maint] Rev 115: mount.cifs: fix parsing of "cred=" option in bzr+ssh://bzr.debian.org/bzr/pkg-samba/cifs-utils/upstream/HEAD/
Steve Langasek
vorlon at debian.org
Fri Jun 4 18:28:45 UTC 2010
At bzr+ssh://bzr.debian.org/bzr/pkg-samba/cifs-utils/upstream/HEAD/
------------------------------------------------------------
revno: 115
revision-id: git-v1:d3743bbfd82b058b68c1bcf6e3341966a3d9f707
parent: git-v1:a90771d63e85b514bc5d2101eb8a52587eca1195
git commit: d3743bbfd82b058b68c1bcf6e3341966a3d9f707
committer: Jeff Layton <jlayton at samba.org>
timestamp: Sun 2010-05-30 07:47:26 -0400
message:
mount.cifs: fix parsing of "cred=" option
When the mount option parsing was cleaned up recently, the detection of
the "cred=" option was dropped.
Signed-off-by: Jeff Layton <jlayton at samba.org>
-------------- next part --------------
=== modified file 'mount.cifs.c'
--- a/mount.cifs.c 2010-05-14 19:35:35 +0000
+++ b/mount.cifs.c 2010-05-30 11:47:26 +0000
@@ -800,6 +800,8 @@
return OPT_UNC;
if (strncmp(token, "dom", 3) == 0 || strncmp(token, "workg", 5) == 0)
return OPT_DOM;
+ if (strncmp(token, "cred", 4) == 0)
+ return OPT_CRED;
if (strncmp(token, "uid", 3) == 0)
return OPT_UID;
if (strncmp(token, "gid", 3) == 0)
More information about the Pkg-samba-maint
mailing list