Comments (4)
Thanks for the feedback! There's currently no great way to get custom settings into the AD DC container (this is not the case for the file server container). This is due to the fact that the AD DC provision command makes the smb.conf file and how it does that. There's an issue for this in sambacc samba-in-kubernetes/sambacc#43 - I started working on it but found it was trickier than I anticipated. I did find out from Andrew Bartlett of the samba team there are other approaches but those ended up fairly tricky to implement too. At one point I wondered if it would be worth trying to patch samba-tool.
This is not an excuse, but rather an explanation of why I haven't gotten back to it! ;-) Maybe I'll have the motivation to look again soon. Also, anyone should feel free to try and contribute the feature if you're up to it.
from samba-container.
I forgot to mention: for what it's worth one can manipulate the generated smb.conf after the provision is done. So if the settings in question are not needed for provisioning it's possible to do that (esp. if you're storing the /etc/samba as a persistent volume). But it's annoying, I know.
from samba-container.
I keep forgetting things. In case it helps: the way we set up our AD DC instances we configure the internal k8s dns server to delegate to the AD DC for certain subdomains. When the in-cluster applications refer to domains outside of the DC's domain the resolution doesn't need to go through the DC's DNS. This principle would also apply to systems outside of the k8s cluster but you need to control a DNS server :-)
Example:
samba-container/tests/test-deploy-ad-server.sh
Lines 57 to 92 in 193bfe8
Maybe that'll be useful to you as a workaround for not being able to set dns forwarder
for now.
from samba-container.
Thanks @phlogistonjohn for your fast reply and insights!
For my use case the AD DC DNS will be the primary one, unfortunately.
samba-container/tests/test-deploy-ad-server.sh
Nice hack!
In the mean time, I'll explore the other sambacc
caps.
TIA,
Matteo
from samba-container.
Related Issues (20)
- Migrate container images to fedora 37 at minimum
- install tdb-tools in (ad-server-) container HOT 2
- add gitlint commit linting
- add support for building debian/ubuntu based images HOT 1
- Fix centos toolbox container base image
- error in build-image script in CI
- Add AARCH64 Support HOT 7
- Tests suites regularly failing: test-ad-server-kubernetes on default,opensuse,amd64 HOT 12
- How to get a [global] option into smb.conf? HOT 10
- Occasionally clients can't discover AD Global Catalog server HOT 5
- Support to add local users to local groups HOT 1
- ci: reuse images across build steps HOT 3
- Switch to `centos:stream9` base image HOT 6
- github actions generates many warnings HOT 3
- toolbox image fails to push HOT 8
- Document the image publish workflow
- nightly builds not using nightly samba rpms
- Including additional VFS modules HOT 1
- Toolbox image build is failing HOT 9
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-container.