Created a ubuntu dc with Samba 4 on Ubuntu 22.04.
Followed the steps here: https://www.considerednormal.com/202...-ubuntu-22-04/
Able to add user to the system and no errors during configuration.
--
Created a standard Ubuntu 22.04 test server
Test Server can't discover with: realm discover
output: No default domain received via DHCP or given by hostname
realm: No default realm discovered
but running: realm discover --verbose mydomain.xxx returns the below.
*Resolving:_ldap._tcp.mydomain.xxx
* resolving: mydomain.xxx
* No results: mydomain.xxx
mydomain.xxx
type: kerberos
realm-name: mydomain.xxx
domain-name: mydomain.xxx
configured: kerberos-member
serversoftware: active-directory
client-software: sssd
required-package: sssd-tools
required-package: sssd
required-package: libnss-sss
required-package: libpam-sss
required-package: adclit
required-package: samba-common-bin
login-formats: %U@mydomain.xxx
login-policy: allow-realm-logins
I can joins with: sudo realm join -U Administrator IPaddress.
Can ping. DC and test server have manual IPs (Address, Netmask; No Gateway, No DNS set)
running nslookup on the test server: nslookup dcserver.mydomain.xxx returns:
Server: 127.0.0.53
address: 127.0.0.53#53
Name: dcserver.mydomain.xxx
Address: ip of dcserver
No firewall are running on test server or DC.
I don't have a DNS server setup. Just testing a ubuntu dc option. Shouldn't I be able to log on with userename@dcip.xxx ? I tried all sort of logon formats but i can't logon on the domain on the test server. any ideas what I'm missing?
The log on error I'm getting (on test server, trying to log on to domain) is:
Sorry, password authentication did work.
Please try again.
Bookmarks