Bug ID 1184630
Summary Authconf: ldap_import error
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component AutoYaST
Assignee yast2-maintainers@suse.de
Reporter dominik.gedon@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 848265 [details]
YaST2 log files

After deploying Tumbleweed (Snapshot 08-04-2021) via Orthos, I got the
following error during the installation:


Internal error. Please report a bug report with logs. Run save_y2logs to get
complete logs. 
Caller: /usr/share/YaST2/lib/auth/authconf.rb:478:in `ldap_import'
Details: undefined method `[]' for nil:NilClass


This is part of testing the migration from NIS to LDAP according to
https://wiki.suse.net/index.php/SUSE-Development/OPS/LDAP.

The AutoYaST template for the automatic installation can be found here:
http://cobbler.arch.suse.de/cblr/svc/op/autoinstall/system/nielsen-2.arch.suse.de

Regarding LDAP the following was explicitly added:


  <auth-client>
    <conf_json>
{
    "sssd": {
        "conf": {
        "sssd": {
            "config_file_version": "2",
            "services": [
            "pam",
            "nss",
            "autofs",
            "ifp"
            ],
            "domains": [
            "suse.de"
            ]
        },
        "pam": {},
        "nss": {
            "filter_users": "root",
            "filter_groups": "root"
        },
        "autofs": {},
        "domain/suse.de": {
            "id_provider": "ldap",
            "auth_provider": "ldap",
            "ldap_schema": "rfc2307",
            "enumerate": "false",
            "cache_credentials": "false",
            "case_sensitive": "true",
            "ldap_use_tokengroups": "false",
            "ldap_uri": "ldaps://ldap.suse.de",
            "ldap_search_base": "dc=suse,dc=de",
            "ldap_tls_reqcert": "allow"
        }
        },
        "pam": true,
        "nss": [
        "passwd",
        "group",
        "automount"
        ],
        "enabled": true
    }
}
    </conf_json>
  </auth-client>



See the full YaST2 log attached.


You are receiving this mail because: