-
Notifications
You must be signed in to change notification settings - Fork 129
Description
docker run -t -i
-e "DOMAIN=CORP.EXAMPLE.COM"
-e "DOMAINPASS=ThisIsMyAdminPassword"
-e "JOIN=true"
-e "DNSFORWARDER=192.168.3.1"
-e "HOSTIP=192.168.3.222"
-p 192.168.3.222:53:53
-p 192.168.3.222:53:53/udp
-p 192.168.3.222:88:88
-p 192.168.3.222:88:88/udp
-p 192.168.3.222:135:135
-p 192.168.3.222:137-138:137-138/udp
-p 192.168.3.222:139:139
-p 192.168.3.222:389:389
-p 192.168.3.222:389:389/udp
-p 192.168.3.222:445:445
-p 192.168.3.222:464:464
-p 192.168.3.222:464:464/udp
-p 192.168.3.222:636:636
-p 192.168.3.222:1024-1044:1024-1044
-p 192.168.3.222:3268-3269:3268-3269
-v /etc/localtime:/etc/localtime:ro
-v /data/docker/containers/samba/data/:/var/lib/samba
-v /data/docker/containers/samba/config/samba:/etc/samba/external
--dns-search corp.example.com
--dns 192.168.3.222
--dns 192.168.3.1
--dns 192.168.3.201
--add-host localdc.corp.example.com:192.168.3.222
-h localdc
--name samba
--privileged
nowsci/samba-domain
bug:
WARNING: Using password on command line is insecure. Please install the setproctitle python module.
INFO 2024-10-18 14:42:52,151 pid:11 /usr/lib/python3/dist-packages/samba/join.py #105: Finding a writeable DC for domain 'jayxjoin.com'
ERROR: Failed to find a writeable DC for domain 'corp.example.com': The object name is not found.
Error occurs when running
To join the domain controller, you need to enter the domain controller name, username, and password. I only see the user without the password, so I don't know how to join the domain controller after running it. Can I use samba-tool to add it separately?