|
|
|
@ -290,8 +290,6 @@ class Client(commandServer, encrypt, Desktop):
|
|
|
|
|
addon = ""
|
|
|
|
|
if cmpVersion(self.clVars.Get('cl_cifs_ver'), "2.05") >= 0:
|
|
|
|
|
addon = ",nomapposix"
|
|
|
|
|
if cmpVersion(self.clVars.Get('cl_cifsutils_ver'), "6.9_rc73") >= 0:
|
|
|
|
|
addon += ",forcemandatorylock"
|
|
|
|
|
cache_method = self.clVars.Get('cl_cifs_cache')
|
|
|
|
|
domain = self.get_server_domainname(host)
|
|
|
|
|
cifs_mount_vers = self.clVars.Get('cl_cifs_mount_vers')
|
|
|
|
@ -305,6 +303,8 @@ class Client(commandServer, encrypt, Desktop):
|
|
|
|
|
envdict={"PASSWD": userPwd}, stderr=STDOUT)
|
|
|
|
|
return p.success()
|
|
|
|
|
else:
|
|
|
|
|
if cmpVersion(self.clVars.Get('cl_cifsutils_ver'), "6.9_rc73") >= 0:
|
|
|
|
|
addon += ",forcemandatorylock"
|
|
|
|
|
p = process(mountCmd, "-t", "cifs", "-o",
|
|
|
|
|
"cache=%s,domain=%s,vers=%s,user=%s%s" % (cache_method,
|
|
|
|
|
domain, cifs_mount_vers, userName, addon),
|
|
|
|
|