Skip to main content

Posts

Showing posts with the label Samba

Searching files in Linux

Search the whole directory:

    find / -name "php.ini" -print

    find / -name "owncloud.conf" -print


Using whereis command:

  whereis php.ini

From man whereis (command):
NAME
       whereis  -  locate the binary, source, and manual page files for a com-
       mand



Using locate command:

locate php.ini

From man locate (command):
NAME
       locate - find files by name



To find out more, type at terminal:

    info locate
    info whereis

    locate --help
    whereis --help



Cheers..till next time.

================================ Free Android Apps:
Click on links below to find out more:
Linux Android App cheat sheet: https://play.google.com/store/apps/details?id=com.LinuxMobileKit
Multiplication Table for early learners https://play.google.com/store/apps/details?id=com.TableMultiplication

https://play.google.com/store/apps/details?id=soulrefresh.beautiful.prayer
Catholic Rosary Guide  for Android:
https://play.google.com/store/apps/details?id=com.myrosaryapp
http://quickbytesstuff.blogspot…

Samba set or change user password

Set, update or change a user password in Samba.

If domain admin or user password that is set on samba needs to be updated.

Open terminal then update using the command below:

   smbpasswd -a

    smbpasswd -a administrator


After pressing enter, type the password twice to validate and confirm the password.

If the user name or admin password has been updated on the Windows Active Directory, then the Samba password has to be updated as well.

If the samba password is not updated then the client from the windows environment authenticating to samba will not be able to connect to samba shares.

To dig more about smbpasswd check out link below:
https://www.samba.org/samba/docs/man/manpages/smbpasswd.8.html


-a This option specifies that the username following should be added to the local smbpasswd file, with the new password typed (type for the old password). This option is ignored if the username following already exists in the smbpasswd file and it is treated like a regular change password comm…