Code Monkey home page Code Monkey logo

Comments (6)

dperson avatar dperson commented on June 28, 2024

I'm not seeing that issue. There are already 4 lines in the smb.conf to disable trying to connect to CUPS (those referencing printers, printing, printcap, and spoolss).

dperson@tundro$  docker run --rm -Pit -v $HOME/docker/neovim:/pass:z dperson/samba bash
Unable to find image 'dperson/samba:latest' locally
Trying to pull repository docker.io/dperson/samba ... 
latest: Pulling from docker.io/dperson/samba
e643679981ae: Already exists 
8eb1728a01b4: Pull complete 
237b93fe7095: Pull complete 
Digest: sha256:256de067f450b701584e9bf7769f29dc3a62fd4492e67c773bd27e0b284e2dc8
Status: Downloaded newer image for docker.io/dperson/samba:latest
root@6af7f6c145df:/# tail /etc/samba/smb.conf
   force create mode = 0664
   force directory mode = 0775
   force user = smbuser
   force group = users
   load printers = no
   printing = bsd
   printcap name = /dev/null
   disable spoolss = yes
   socket options = TCP_NODELAY

root@f337333a0bcf:/# samba.sh 
smbd version 4.4.7-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
STATUS=daemon 'smbd' finished starting up and ready to serve connections
^C
root@f337333a0bcf:/# exit

from samba.

dperson avatar dperson commented on June 28, 2024

Looking at the command that you ran, you're not using my image... which might have something to do with it. =)

from samba.

frimdo avatar frimdo commented on June 28, 2024

Oh - you are right. I was using fork of your project. Overlooked that the link sent me to your repo... Sorry...

from samba.

frimdo avatar frimdo commented on June 28, 2024

In that project those lines are missing. Just trying if it will solve my problem.
EDIT:
It did solve my problem with CUPS, but now the server stops after few seconds with no error in logs (cannot find any logs of smbd)

$:~/docker-arm-samba$ docker logs big_davinci 
Added user example1.
Added user example2.
smbd version 4.2.10-Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2014
STATUS=daemon 'smbd' finished starting up and ready to serve connections

from samba.

dperson avatar dperson commented on June 28, 2024

Hmm, I don't really have an ARM system to test it on... I'm not seeing the issue on x86_64.

What do you see in the output of?: sudo docker ps | grep samba

from samba.

frimdo avatar frimdo commented on June 28, 2024

Since my samba container is called big_davinci, i grepped big_davinci, and since the container is not running, I used -a flag

$ docker ps -a | grep big_davinci
492e553137c9        arm-samba                 "samba.sh -u example1"   6 hours ago         Exited (0) 5 hours ago                                                                            big_davinci

Thank you for helping me solving this issue, even if you don't support arm.

from samba.

Related Issues (20)

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.