recentpopularlog in

kme : smb   16

networking - Using xdg-open for accessing network with normal explorer - Unix & Linux Stack Exchange []
Yes, you can separate the domain from the user with a semicolon, just like in Mac's Finder:
Tips for mounting SMB shares

xdg-open doesn't appear to be able to mount shares that aren't mounted. For example, here's a SMB share that hasn't been explicitly mounted yet via Nautilus:

% xdg-open 'smb://MYDOM;sam@bart/sam'
gvfs-open: smb://MYDOM;sam@bart/sam/: error opening location: The specified location is not
remotefilesystems  filesharing  smb  samba  commandline  linux  maybesolution 
september 2017 by kme
NETGEAR ReadyNAS • View topic - Share visible from Windows Explorer but not in Web GUI
The second way is to try manually editing Shares.conf. There is a command line editor in linux called vi, but it is not that easy to learn. A simpler option is to download notepad++ from and install it on your PC. Copy Shares.conf to one of your shares with ssh, then edit it with notepad++ from the PC. Then rename the existing Shares.conf, and copy the revised version back into /etc/frontview/samba/ After all that you'd need to restart.
almostsolution  readynas  cifs  smb  configfile 
january 2014 by kme
Connecting to an SMB server from the command line in OS X | Der Flounder
mount_smbfs //’DOMAIN;username’ ~/sharename
smb  cifs  samba  mount  mac  osx  commandline  scripting  cli  solution 
december 2013 by kme
MountWindowsSharesPermanently - Ubuntu Wiki []
This works, as long as the workstation and AD password are the same. In later versions of Ubuntu/Debain, you might also need to enable some of the mount options that are not allowed by default in /etc/security/pam_mount.conf.xml.
Mount password protected shares using libpam_mount (Ubuntu 9.04)

In addition to the initial assumptions, we're assuming that your username and password are the same on the Ubuntu machine and on the network drive.

Install libpam-mount:
<code class="language-bash">
sudo apt-get install libpam-mount

Edit /etc/security/pam_mount.conf.xml using your preferred text editor.
<code class="language-bash">
gksudo gedit /etc/security/pam_mount.conf.xml

First, we're moving the user specific config bits to a file which users can actually edit themselves: remove the commenting tags (<!-- and -->) surrounding the section called <luserconf name=".pam_mount.conf.xml" />. Save the file when done. With this in place, users can create their own ~/.pam_mount.conf.xml.
<code class="language-bash">
gedit ~/.pam_mount.conf.xml

Add the following:
<code class="language-xml">
<?xml version="1.0" encoding="utf-8" ?>
<volume options="uid=%(USER),gid=100,dmask=0700" user="*" mountpoint="/media/windowsshare"
path="sharename" server="servername" fstype="cifs" />
samba  smb  windows  ubuntu  sysadmin  network  filesystem  pam  solution 
april 2011 by kme

Copy this bookmark:

to read