nethserver:sssd

NAME

  NethServer::SSSD -- module to retrive current LDAP configuration. It
  supports both Active Directory and OpenLDAP providers.

DESCRIPTION

  The library can be used to configure all software which needs to connect
  directly to the LDAP server.

USAGE

  Usage example:
    use NethServer::SSSD;
    my $sssd = new NethServer::SSSD();
    print $sssd->host();

FUNCTIONS

isLdap
  Return true if SSSD is configured to use LDAP, false otherwise
isAD
  Return true if SSSD is configured to use AD (or Samba 4), false otherwise
ldapURI
  Return LDAP URI.
port
  Return LDAP port if set, otherwisedefault 389 port.
host
  Return LDAP host if set.
baseDN
  Return LDAP BaseDN if set, otherwise a base DN calculated from the server
  domain.
bindDN
  Return LDAP BindDN if set, otherwise a bind DN calculated from the server
  domain.
userDN
  Return LDAP UserDN if set, otherwise a user DN calculated from the server
  domain.
groupDN
  Return LDAP GroupDN if set, otherwise a group DN calculated from the
  server domain.
bindPassword
  Return LDAP bind password UserDN if set, an empty string otherwise.
bindUser
  Return LDAP bind user BindUser if set, "ldapservice" if ldap is local,
  "Administrator" if is AD
new
  Create a NethServer::SSSD instance.
perldoc NethServer::SSSD