Comment posted How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials by .
Recent comments by
Tags: cifs, make, mount, samba, share, smbfs
Thursday, 25th April 2024
Comment posted How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials by .
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Tags: cifs, make, mount, samba, share, smbfs
This entry was posted on Thursday, April 25th, 2024 at 6:38 pm and is filed under Everyday Life, Linux, Linux and FreeBSD Desktop, Samba, Various. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
If ye then be risen with Christ, seek those things which are above,
where Christ sitteth on the right hand of God.
-- Colossians 3:1
☩ Walking in Light with Christ – Faith, Computing, Diary 2006-2020 Powered by:
Pc Freak Solutions and Comments (RSS).
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
Copyright (C) 2020 by Georgi Georgiev - Website Privacy Policy
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
One small hint in case if you have no password protection for a share and want to avoid the annoying pasword samba prompt the way to do it is like so:
smbclient -U% //192.168.1.2/My_Folder
Once connected you can use Linux commands to list and travel between files.
File transfer with smbclient is also possible by using get, put, mget, and mput commands.
View CommentView CommentMozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
♦ Something else I forgot to mention in article, If it happens that some samba pass credential has been lost it is useful to change samba user password with command:
smbpasswd smbusername
♦ To create a samba entry for an existing system user, use the pdbedit command:
if it is needded to add a complete new unexisting user to the samba users do:
smbserver:~# pdbedit -a NewSmbUserName
By default samba server password database (if not changed to another location in smb.conf is stored on server) under:
/var/lib/samba/private/passdb.tdb
View CommentView CommentMozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
♦ Also, If you need to join a Linux Samba Server to a Windows Domain from the Windows domain using the net command run:
$ net join -w WINDOWS-DOMAIN -s ' win-server' -U Administrator%password
♦ You can then list the users in the Windows domain using wbinfo command
$ wbinfo -u
View CommentView Comment