Results 1 to 4 of 4

Thread: Domain Logon Samba 22.04 error

  1. #1
    Join Date
    May 2024
    Beans
    5

    Domain Logon Samba 22.04 error

    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.
    Last edited by stevehenderson710; 3 Weeks Ago at 03:44 PM.

  2. #2
    Join Date
    May 2024
    Beans
    5

    Re: Domain Logon Samba 22.04 error

    resolved it...

    I had to edit the /etc/resolv.conf accordingly and point to the dc

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Domain Logon Samba 22.04 error

    Not a chat thread. Thread moved to Server Platforms.
    Ubuntu 22.04 Desktop Guide - Ubuntu 24.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  4. #4
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Domain Logon Samba 22.04 error

    SO as I suspected, it is a DNS error? Where the DNS is not seeing your Samba DC... by a named service but can see it via IP.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •