Comment on How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials by admin.
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.
admin Also Commented
♦ 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
♦ 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
Recent Comments by admin
DOOM 1, DOOM 2, DOOM 3 game wad files for download / Playing Doom on Debian Linux via FreeDoom open source doom engine
i don’t really remember 🙂
How to install and use WSL 2 Windows native Linux emulation Debian and Ubuntu Linux on Windows 10 / Windows 11
A nice tip in wsl.conf is you can enable Bridged Network connection if necessery simple:
1. install a new virtual switch using Hyper-V say wsl-switch
to %userprofile%.wslconfig add the following (if the file doesn’t exist create it)
[wsl2]
networkingMode=bridged
vmSwitch=wsl-switch
Now when you restart WSL you will have a bridge session. This has also be known to cure some of the weird network issues seen with WSL where network connectivity stops working, no DNS connectivity – without the need for messing with scripts and config files. YMMV
The Church Rejoices + Daniil Metropolitan of Vidin chosen and Enthroned as Head of Bulgarian Orthodox Church. Dostoin / Axios !
Interesting fact I forgot to mention in the article, Currently, both Bulgarian and Romanian Orthodox Church had a patriarch called DANIIL.:)
Again, for many and Blessed years to our new Patriarch DANIIL ! SAVE OH MOST MERCIFUL GOD OUR SERVENT AND BLESS HIM TO RIGHTOUSLY RULE OVER THE FLOCK OF THE BULGARIAN ORTHODOX CHURCH !
What is rather fun is during the anti-protest organized by Metropolitan Nikolay (with people only from the Plovdiv eparchy just like in the good old times of communism was financed by the unwilling people to go to the event). It was lied that the reason for Nikolay people to protest is because this is a protest in front of the Synod against the accepting of gay marriages (what a lie !!!). Besides that there is a many people from village called Krepost (if not mistaken the village) who were (protestants!) and came to protest in favour of the new anti people legislation (even though not orthodox christians), because they were mislead the protests are against the gays!
Metropolitan Nikolay has publicly asked priests in his eparchy to sign a document they're going to be present on the protests that should support the New Synodal "order". Those who were unwilling to cooperate of course can always be sent by their Metropolitan to a very distant village or even taken away their profession as priests so there was a lot of pressure put on those people.
От архива: Христовата любов побеждава дори смъртта, твърдеше приживе патриарх Неофит