Skip to content

wheremygit/smbmountmanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

SMB Mount Manager

Unmount/Mount SMB shares to your Linux Filesystem manually w/o autofs or fstab or use it alongside w/o needing to put in commands in the terminal.

Warning

This project was generated by a local LLaMA model via OLLAMA and OpenWebUI for personal use and was not developed by a professional developer. The code may be incomplete, poorly designed, or contain bugs and security issues, and no support, maintenance, or updates will be provided. Use or contribute at your own risk.

Dependencies

To build smbmountmanager, install:

  • g++ (with C++17 support)
  • ncurses development library

Runtime (for SMB shares):

cifs-utils

How to

  1. Make the credentials file Example:
username=   # Your Username
password=   # Whatever your password is
domain=  # Your SMB domain your just WORKGROUP or you can just delete this line"

Make sure your credentials file is in an accessible location for the application

  1. Change the variables in Server Section in the .cpp files
        "Sever 1", "IP Address", "path to credentials",
        {
            {"Share Name 1", "\"Share path\"", "mnt path"}
        }
  1. Run the build command, move to bin directory and make it executable.
     g++ -std=c++17 {whateverthename}.cpp -lncurses -o smbmountmanager
     sudo mv smbmountmanager /usr/local/bin/
     sudo chmod +x /usr/local/bin/smbmountmanager
    
  2. Run the application smbmountmanager.
  3. Usage
  • Just select your server and mount or unmount the shares. If the server is unreachable it will give you an error.

About

Unmount/Mount SMB shares to your Linux Filesystem.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages