fjudith / docker-samba-join-ad Goto Github PK
View Code? Open in Web Editor NEWDockerized Active Directory member Samba server based on debian:stable official image.
License: GNU General Public License v3.0
Dockerized Active Directory member Samba server based on debian:stable official image.
License: GNU General Public License v3.0
Hi,
first things first: thanks for you work, this seems to be a really nice project!
I'm trying to use your image but I can't get it working. Both classic and sssd version give me this error:
WARNING: The "syslog" option is deprecated
INFO: Profiling support unavailable in this build.
2017-07-17 10:43:30,806 INFO exited: winbind (exit status 1; not expected)
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/private/passdb.tdb file.
STATUS=daemon 'smbd' finished starting up and ready to serve connections
ads_sasl_spnego_gensec_bind(KRB5) failed for ldap/tsg-pdc.tsg.local with user[TSG-DEV$] realm=[TSG.LOCAL]: Cannot read password
nt_printing_init: error checking published printers: WERR_ACCESS_DENIED
Failed to fetch record!
2017-07-17 10:43:31,905 INFO spawned: 'winbind' with pid 367
2017-07-17 10:43:31,905 INFO success: smbd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-07-17 10:43:31,905 INFO success: nmbd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-07-17 10:43:32,965 INFO success: winbind entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-07-17 10:43:32,965 INFO exited: winbind (exit status 1; not expected)
I already have a SMB-Server up and running with a Windows Server as AD-DC so I don't think the Active Directory is the issue.
Do you have any dieas how to fix this?
These commands work as expected:
kinit, klist, net ads join -U
But when I execute
getent passwd
The useres of the AD are not there....
[EDIT]
If I do the following, it works (as you can see above, winbind exited above)
net ads join -UdomainAdmin
/usr/sbin/winbindd --daemon --foreground --stdout
I don't know why it doesn't work at the normal startup process. It seems that it doesn't join the AD during startup.
IP address supplied in the --add-host parameter is not correctly registered in the ActiveDirectory DNS service. Samba is registered with the container internal 172.0.0.x address.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.