Code Monkey home page Code Monkey logo

udmpro-samba's Introduction

UDMPRO-samba

Samba server on UDM-Pro using the drive bay.

Installation

  1. Install on_boot.d as well as CNI plugins and CNI bridge scripts using:

    curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/main/on-boot-script/remote_install.sh" | /bin/sh
  2. Download 20-samba.sh to your UDM-Pro in /mnt/data/on_boot.d:

    curl "https://raw.githubusercontent.com/thealpa/UDMPRO-samba/udmsamba-master/20-samba.sh" -o /mnt/data/on_boot.d/20-samba.sh
  3. (Optional) Adjust any settings if you want:

    vi /mnt/data/on_boot.d/20-samba.sh

    I highly recommend changing the default credentials.

  4. Set permissions to executable:

    chmod +x /mnt/data/on_boot.d/20-samba.sh
  5. Run the script:

    sh /mnt/data/on_boot.d/20-samba.sh

Usage

Connect to your UDM-PRO samba server:

smb://<your_udm_ip>/Shared/

The defaults credentials are user and password. If you need more configuration options please refer to the dperson/samba docker image.

Issues

If the Internal Honeypot feature is enabled, the port of the SMB server needs to be changed to a different one than 445 in 20-samba.sh.


ERRO[0000] unable to get systemd connection to add healthchecks

Can be ignored. The --no-healthcheck option could be used to hide the error when using a newer podman version.


Error adding network: failed to create bridge "cni0": could not add "cni0": operation not supported

Make sure to execute the CNI plugins and CNI bridge scripts first.

✌️

udmpro-samba's People

Contributors

ddominet avatar thealpa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

knaaaaack

udmpro-samba's Issues

Issue whilst running container

Output of SH
root@UniFi-SE:/data/on_boot.d# sh /data/on_boot.d/20-samba.sh Error: can only kill running containers. 31eccafa1dca03b5a5e9c470328477358a6f72fe3ef8710c2598f9c4875a22e3 is in state configured: container state improper 31eccafa1dca03b5a5e9c470328477358a6f72fe3ef8710c2598f9c4875a22e3 Error: open /proc/self/uid_map: no such file or directory
Is there anyway to fix the uid_map? or is this a Hardware issue for UniFi-SE

UniFi OS 3.x

The 20-samba.sh script rely on podman which seems no longer there in version 3.x of UniFi OS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.