Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-21937

Pagure #9514: Make sure a default NetBIOS name is set if not passed in by ADTrust instance constructor

    • ipa-4.11.0-5.el9
    • None
    • None
    • ZStream
    • 2
    • rhel-sst-idm-ipa
    • ssg_idm
    • 21
    • 22
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • 2024-Q1-Alpha-S1, 2024-Q1-Alpha-S2
    • Approved Blocker
    • Unspecified Release Note Type - Unknown
    • None

      Cloned from: https://pagure.io/freeipa/issue/9514
      
      we default the option `netbios_name` to None in `/usr/libexec/ipa/oddjob/org.freeipa.server.config-enable-sid`  and do not get it defaulted to a value we generate if it is None. A workaround would be to pass the netbios name explicitly to the tool and a fix is to use `make_netbios_name` out of the realm if not passed:
      ```
      # ipa -e in_server=True console
      (Custom IPA interactive Python console)
          api: IPA API object
          pp: pretty printer
      >>> from ipaserver.install.adtrustinstance import make_netbios_name
      >>> make_netbios_name(api.env.realm)
      'EXAMPLE'
      ```
      

              frenaud@redhat.com Florence Renaud
              frenaud@redhat.com Florence Renaud
              Florence Renaud Florence Renaud
              Sudhir Menon Sudhir Menon
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: