Comments (6)
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.
Looking at the command that you ran, you're not using my image... which might have something to do with it. =)
from samba.
Oh - you are right. I was using fork of your project. Overlooked that the link sent me to your repo... Sorry...
from samba.
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.
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.
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)
- Update to latest Samba version? HOT 4
- Samba libpopt.so.0 errors HOT 1
- Crash on Start HOT 1
- /usr/bin/samba.sh: line 160: $2: unbound variable HOT 2
- What's the purpose of the VOLUMEs in the Dockerfile? HOT 2
- cannot write files bigger than free space on / HOT 1
- mount error(2): No such file or directory
- create samba share with SMBv1 and multiple networks to separate old machine?
- Samba Server exit with HP Printer HOT 1
- Files are being deleted directly instead of being routed to the .deleted folder
- Samba is too new :x:
- Windows Docker Set up Failure
- Even with guest=yes, windows still ask for password HOT 1
- Problem with file permission
- #nowplaying on Audiomack
- dperson/samba - DockerHub image is 3 years old ... thus full of security holes HOT 2
- Database Import on SAMBA Server HOT 1
- libncurses6 : Depends: libtinfo6 (= 6.2+20201114-2+deb11u2) but 6.4-4 is to be installed HOT 1
- Quick on memory usage
- Question about port mapping HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samba.