Re: Samba config -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2020-07-02 19:01, Cameron Simpson wrote:
On 02Jul2020 16:28, Bob Goodwin<bobgoodwin@xxxxxxxxxxx>  wrote:
My problem is getting the smb server mounted on this computer.
Creating a working lie in /etc/fstab is the present problem, I can't do
much more without that.

Presently I have been trying:  //192.168.50.149/home/share
/media/smb    cifs    defaults   0 0
Here is a working cifs line from a client's fstab below, with names
changed.  All on one line of course.

     //cifsserver/sharename  /mnt/mountpoint cifs
     uid=localusername,gid=localgroupname,credentials=/home/someuser/.smbcred,iocharset=utf8,noperm,dir_mode=0775,file_mode=0664
     0 0

The .smbcred file mentioned contains the CIFS username and password. It
looks like this:

     domain=
     user=
     password=

filled in with the windows workgroup/ad-domain, windows user and windows
password. It can of source be anywhere; I'm storing it in the account of
the user associated with the share.

To test it, the command:

     mount /mnt/mountpoint

gets all the details from the /etc/fstab file. The command "man
mount.cifs" details the parameters available ("uid=" etc). So the above
presents the share as owned by "localusername", group owned by
"localgroupname", uses UTF-8 for the filesystem paths.

Cheers,
Cameron Simpson<cs@xxxxxxxxxx>
_______________________________
°
I have tried something similar but I'll use this fstab line as a starting point tomorrow, end of day here ...

Thank you for the help,

--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
FEDORA-32/64bit LINUX XFCE Fastmail POP3
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux