Skip to content

Samba Remote password change tool for Systems, where the smbpasswd tool is missing

Notifications You must be signed in to change notification settings

Jair-F/Samba-Remote

Repository files navigation

Samba-Remote

!!important security note!! Until now there is no encryption between the server and the client. It will be added in the future but until now its not safe to use the tool

Install Requirements(Client)

Client needs Python>=3.x

Maybe you want to install the requirements in a virtual environment

  • mkdir env
  • python -m virtualenv ./env.
  • On Windows: env/Scripts/activate.bat - On Linux: source ./env/bin/activate
  • And then install the requrements by executing: pip install -r requrements.txt

Install Server

Server can only run on a Linux-Based OS and needs Python>=3.9

The automatic startup at the boot supports only systemd - not init...

Open a Terminal in the Samba-Remote folder
Run chmod +x install_server.sh && ./install_server.sh

Uninstall Server

Open a Terminal in the Samba-Remote folder
Run chmod +x uninstall_server.sh && ./uninstall_server.sh

Client executeable

This will make a single executeable binary file of the client python script

  • Install pyinstaller: pip install pyinstaller
  • run in the Samba-Remote directory: pyinstaller -F -i "icon1.ico" client-gui.py
  • Your executeable will be in the newly created directory dist

You cant create an executeable for example on Windows for Linux. You need an instance of the OS, on which the executeable should run afterwards!

Client

The file default_config.ini(./default_configs/default_config.ini) is the default configuration for the client-cli and gui. You can specify the default Hostname/LocalDomain and port so the user doesnt has to input it - but the user can change it though. This config-file has to be in the same directory in which the executeable or python file is. If there is no config-file you have to type in the port and server by hand every time.

demo.mp4

About

Samba Remote password change tool for Systems, where the smbpasswd tool is missing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published