One small hint in case if you have no password …

Thursday, 25th April 2024

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

How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials

♦ 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


How to make Samba smbfs / cifs mount share location with user / pass credentials authenticate via file stored credentials

♦ 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

Big Church Scandal in the Bulgarian Orthodox Church the developments on how the Church basic law Establishment document is illegally broken and hope and action for truth to be restored

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.


A Biography of one big Heart + His Holiness Patriarch Neophyte (Neofit) head of Bulgarian Orthodox Church

От архива: Христовата любов побеждава дори смъртта, твърдеше приживе патриарх Неофит


A Biography of one big Heart + His Holiness Patriarch Neophyte (Neofit) head of Bulgarian Orthodox Church

Българският Патриарх Неофит в Москва на 8 Март 2016 г. ЧАСТ 2
 


Christ is Risen Eastern Orthodox Resurrection Paschal Greeting in Different Languages
Hi Stan,

I guess you cannot read the writtings on the icon as it is in cyrillic.
This is not Saint Mary and Saint Peter but Adam and Eve written in cyrillic on top of the icon.
Actually in orthodoxy it is a requirement for the depicted personalities, especially saints to have
written on the names of the saint and have the Halo. If you look closely at the picture you will notice
the two Adam and Eve are missing a Halo. The only person with a Halo in the icon is Saint John the Baptist.

Best Regards
Georgi


Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
       –rwo, –report-warnings-only
              This option causes only warning messages to be displayed. This can be useful when rkhunter is run via cron. Other options may
              be used to force other items of information to be displayed.

       –sk, –skip-keypress
              When  the  –check command option is used, after certain sections of tests, the user will be prompted to press the return key
              in order to continue. This option disables that feature, and rkhunter will run until all the tests have completed.

         


Share this on:

Comments are closed.