recentpopularlog in

kme : samba   19

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
Bug 3002 – parameter "guest account" in smb.conf seems to be ignored. -
NETGEAR has "map to guest = 'Bad User'" in \etc\frontview\samba\smb.conf.WfWg. The single quotes are unnecessary.
samba  netgear  readynas  networking  bug  sortofsolution 
july 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