You are not logged in.
Since the most recent "smbclient" update (smbclient - Version 3.5.11-1) I'm not able to mount network subdirectories with mount.cifs directly - so I don't need to navigate through the share to get into the subdirectory. Before this mentioned update, mounting network subdirectories was working perfectly by using:
sudo mount -t cifs -o rw,noperm,user=<User>,password=<Password>,domain=<Domain> //<Server>/<Share>/<Subdirectory> /<Mount Point>
When I try mounting the network subdirectory with the same command now, I'm getting the following error message:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
On the other hand, mounting the share and NOT the subdirectory works perfectly:
sudo mount -t cifs -o rw,noperm,user=<User>,password=<Password>,domain=<Domain> //<Server>/<Share> /<Mount Point>
I have already checked the existence and spelling of the network subdirectory with smbclient, but no mistakes could be found.
When I try connecting to the network subdirectory directly by using smbclient
smbclient //<Server>/<Share>/<Subdirectory> -U<Username>%<Password> -W<Domain>
I get following error message:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
By adding the option "-D <Subdirectory>", a direct connection is possible.
smbclient //<Server>/<Share>/ -U<Username>%<Password>-W<Domain> -D <Subdirectory>
I have already tried "prefixpath" and "bind" to fix the problem, but no luck so far.
Any suggestions?
I appreciate your help. Regards!
Last edited by gpmr (2011-08-17 17:03:09)
Offline
Same here, it doesn't only affect mounting subdirectories, but also remote printers As far as I can see it's not the smbclient but rather a kernel part (some sort of cifs module?) that's causing the problem; it doesn't happen on 2.6 (kernel26-lts for instance)...
Offline
Since the newest "smbclient" update (smbclient - Version 3.6.0-1) mounting network subdirectories directly is working again.
Works as wished:
sudo mount -t cifs -o rw,noperm,user=<User>,password=<Password>,domain=<Domain> //<Server>/<Share>/<Subdirectory> /<Mount Point>
Thanks for all your help
Last edited by gpmr (2011-08-17 12:58:49)
Offline