LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 03-07-2021, 06:56 PM   #1
OptimisticShaggy
LQ Newbie
 
Registered: Mar 2021
Posts: 2

Rep: Reputation: Disabled
SAMBA in Container


I am fairly new when it comes to Linux. Not exactly Beginner but wouldn't classify myself as useful yet. I have a container that I set up from Turnkey Linux (I have posted there as well) for SAMBA and I seem to run into some issues even with checking everything I can from Webmin where a user is not able to access files at all, not even their home share. Actually recently switched around to where their not able to login to the through Samba and all the logs for SAMBA show nothing except me bringing up and down Samba. Any ideas on where I could look at or trying?
 
Old 03-07-2021, 11:34 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Increase the Samba log level.
 
1 members found this post helpful.
Old 03-08-2021, 01:16 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
yes, in general you need to check the log files about related info. From the other hand would be nice to explain better your problem, otherwise we cannot help you. Your post contains no usable information (to work with).
http://www.catb.org/~esr/faqs/smart-...html#beprecise
 
Old 03-14-2021, 06:46 PM   #4
OptimisticShaggy
LQ Newbie
 
Registered: Mar 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Increased Log Level

Quote:
Originally Posted by berndbausch View Post
Increase the Samba log level.
After increasing the log level, I managed to get some of these messages:
Code:
[2021/03/14 19:41:11.724050,  0] ../lib/util/become_daemon.c:138(daemon_ready)
  daemon_ready: STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2021/03/14 19:41:11.881652,  0] ../source3/nmbd/nmbd_namequery.c:109(query_name_response)
  query_name_response: Multiple (2) responses received for a query on subnet 192.168.0.223 for name WORKGROUP<1d>.
  This response was from IP 192.168.0.55, reporting an IP address of 192.168.0.55.
[2021/03/14 19:41:17.888748,  2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
  wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.0.223
[2021/03/14 19:41:17.891077,  2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
  wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.0.223
[2021/03/14 19:41:17.891091,  2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
  wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.0.223
[2021/03/14 19:41:17.891101,  2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
  wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.0.223
[2021/03/14 19:41:17.891109,  2] ../source3/nmbd/nmbd_nameregister.c:193(wins_registration_timeout)
  wins_registration_timeout: WINS server 127.0.0.1 timed out registering IP 192.168.0.223
The IP Address 223 is the container itself, is this normal?
 
Old 03-15-2021, 04:35 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
for me it looks like misconfiguration.
How is your samba configured?
 
Old 03-18-2021, 03:40 AM   #6
HTop
Member
 
Registered: Mar 2019
Posts: 44

Rep: Reputation: Disabled
Hello,
Samba domain controller shouldn't be used as a file server, so I'm assuming it's not a domain controller you deployed. However,
I read that unpriviledge containers (LXC) don't work as Samba servers because you would lack privileges to perform some operations (eg. Setting ACLs with smbcacls).
Please post the lines of /etc/samba/smb.conf file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Meet Super Container OS, a Debian-Based Live Distro with a Built-In Container Engine LXer Syndicated Linux News 0 08-04-2020 11:24 AM
linux container host os and container os question jzoudavy Linux - Newbie 1 09-01-2015 05:21 AM
LXer: Inside the Open Container Project: How Docker plans to unite the container market LXer Syndicated Linux News 0 06-23-2015 04:30 AM
Samba Samba Samba Bear Linux - Networking 9 01-30-2003 07:30 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration