Univention Bugzilla – Full Text Bug Listing |
Summary: | Samba join into a site failed, because samba4 is just installed on the DC-Backup | ||
---|---|---|---|
Product: | UCS | Reporter: | Mirac Erdemiroglu <erdemiroglu> |
Component: | Samba4 | Assignee: | Samba maintainers <samba-maintainers> |
Status: | NEW --- | QA Contact: | Samba maintainers <samba-maintainers> |
Severity: | normal | ||
Priority: | P5 | CC: | botner |
Version: | UCS 5.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 4: Minor Usability: Impairs usability in secondary scenarios |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.046 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2023051921001033 | Bug group (optional): | Workaround is available |
Max CVSS v3 score: |
Comment 1
Mirac Erdemiroglu
2023-05-25 11:30:54 CEST
Where is univention-s4-connector installed? Workaround: Set this UCRV on the system you want to join and the entry, have to be the system, where samba4 is installed in the domain. ucr search samba4/dc | samba4/dc: ucs.univention.de If another Samba 4 domain controller joins the domain the server to join against is determined automatically by default. This variable can be used to configure a specific server. ucr set samba4/dc=fqdn (host.domainname) In our case, it was the Backup-Node. After then, run "univention-run-join-scripts" so the samba join scripts runs successfully. Running 96univention-samba4.inst done | Running 97univention-s4-connector.inst skipped (already executed) | Running 98univention-pkgdb-tools.inst skipped (already executed) | Running 98univention-samba4-dns.inst done | Running 98univention-samba4-saml-kerberos.inst skipped (already executed) | Running post-joinscripts hook(s): done (In reply to Felix Botner from comment #2) > Where is univention-s4-connector installed? S4-connector is installed on the DC-Backup. The join script found the correct system where the s4-connector is installed, but after the site creation. +++ univention-ldapsearch -b dc=univention,dc=de -LLLo ldif-wrap=no '(&(univentionService=S4 Connector)(objectClass=univentionDomainController))' cn ++ ldif='dn: cn=ucsbackup,cn=dc,cn=computers,dc=univention,dc=de cn: ucsbackup' +++ sed -n 's/^cn: \(.*\)/\1/p' ++ s4connector_dc=ucsbackup ++ is_ucs_school_domain ++ local ldif +++ univention-ldapsearch -LLL '(univentionService=UCS@school)' dn ++ ldif= ++ grep -q '^dn: ' ++ echo ucsbackup + s4connector_dc=ucsbackup |