User Tools

Site Tools


smbmount

Smbmount

Mount a Windows Share in Linux

Example: smbmount //ecenotes/et4757 /home/steviewdr/map_folder -oip=136.201.5.149,username=staff\\stephen.burke

Example: Mount a share under a Particular User (uid), or Group (gid), smbmount //ecenotes/et4757 /home/steviewdr/map_folder -oip=136.201.5.149,username=staff\\stephen.burke,uid=####

Misc:<br> nmblookup -U dns_server -R computer_name

To unmount the share: smbumount /folder/share

Problems with smbmnt

Recently, after an apt-get upgrade, I received the following: sburke@server:~$ smbmount //eceweb/ngcuv08 /home/steviewdr/mount -oip=193.1.97.72,username=ul\\stephen.burke Password: smbmnt must be installed suid root for direct user mounts (2745,2745) smbmnt failed: 1

After some googling, the following resolved the issue: root@skynet:~# chmod +s /usr/bin/smbmnt

Reference: http://www.kalamazoolinux.org/mailarchive/9904/msg00076.html

smbmount.txt · Last modified: 2022/07/19 20:13 by 127.0.0.1