Results 1 to 10 of 10

Thread: OpenSUSE Yast User and Groups

  1. #1

    Default OpenSUSE Yast User and Groups

    Hello, I've just configured OpenSUSE with LDAP and TLS successfully. I followed the howto guides for adding the user and group modules with templates. But when going to add a user to LDAP, the LDAP user filter is not available. Any thoughts?

    Thanks!

  2. #2
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,970

    Default Re: OpenSUSE Yast User and Groups

    Personally I don't have any because I don't know much about LDAP but maybe posting the guides You used here will make it easier for someone with the knowledge to help You out

    Best regards,
    Greg
    Best regards,
    Greg

  3. #3

    Default Re: OpenSUSE Yast User and Groups

    Thanks for the response. I used the guide here Chapter4.LDAP—A Directory Service

    I've built the server a few times with the same results...not able to see LDAP option to create user or groups. Could I be missing a package?

  4. #4

    Default Re: OpenSUSE Yast User and Groups

    I figured it out. SSSD is chosen by default which needs to be unchecked in the LDAP client configurations settings.

  5. #5
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    1,970

    Default Re: OpenSUSE Yast User and Groups

    I'm really glad You figured it out. Thank You vey much for sharing the solution. I'm sure someone here will find it usefull.

    Best regards,
    Greg
    Best regards,
    Greg

  6. #6

    Default Re: OpenSUSE Yast User and Groups

    I also have this problem after migration from OpenSuse 11.1 to 11.4. LDAP Authentication and the dependent Services (Postfix, Cyrus, Samba as a PDC and PostgreSQL) work properly but I cannot manage Users and Groups in Yast.
    The "Set Filter" entry "LDAP Users" is simply not there.

    Disabling SSSD in LDAP Client as suggested by jlansa2 did not help.

    jlansa2, do you happen to have any more hints, I could try?

    I have just checked that my LDAP Client settings correspond to those of Chapter4.LDAP—A Directory Service

    I just run yast User and Group Administration in debug mode with
    Code:
    Y2DEBUG=1 yast users
    and I will try to find something suspicious tomorrow.

  7. #7

    Default Re: OpenSUSE Yast User and Groups

    Now, I have got the "LDAP Users" entry there after I replaced the default installed /etc/nsswitch.conf
    Code:
    passwd:	compat sss
    group:	compat sss
    
    hosts:	files mdns4_minimal [NOTFOUND=return] dns
    networks:	files dns
    
    services:	files
    protocols:	files
    rpc:	files
    ethers:	files
    netmasks:	files
    netgroup:	files nis
    publickey:	files
    
    bootparams:	files
    automount:	files nis
    aliases:	files
    with this one from my 11.1 backup:
    Code:
    passwd:	compat
    group:	files ldap
    
    hosts:	files mdns4_minimal [NOTFOUND=return] dns
    networks:	files dns
    
    services:	files ldap
    protocols:	files
    rpc:	files
    ethers:	files
    netmasks:	files
    netgroup:	files ldap
    publickey:	files
    
    bootparams:	files
    automount:	files nis
    aliases:	files ldap
    passwd_compat:	ldap
    I just have to check if there any unexpected implications elsewhere.

  8. #8

    Default Re: OpenSUSE Yast User and Groups

    Please forget my last post. Yes, there were bad side effects. No LDAP login worked after that.

    The proper solution was to add only the line
    Code:
    passwd_compat:	ldap
    at the end of the default /etc/nsswitch.conf which now looks like this:
    Code:
    passwd:	compat sss
    group:	compat sss
    
    hosts:	files mdns4_minimal [NOTFOUND=return] dns
    networks:	files dns
    
    services:	files
    protocols:	files
    rpc:	files
    ethers:	files
    netmasks:	files
    netgroup:	files nis
    publickey:	files
    
    bootparams:	files
    automount:	files nis
    aliases:	files
    passwd_compat:	ldap

  9. #9

    Default Re: OpenSUSE Yast User and Groups

    svako_ragan is quite right.

    I also had this issue with 11.4 and adding the passwd_compat: ldap line to nsswitch.conf was the fix.

    Thanks!

  10. #10

    Default Re: OpenSUSE Yast User and Groups

    Thanks for the answer, was driving me nuts until I came across this thread, as everywhere else it seemed to just be expected that the LDAP users filter would be there.
    I do wonder if it's a bug in 11.4 that some package should make this change when installed or configured or just because something hasn't been selected somewhere else.

Posting Permissions

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