NethServer Version: NethServer release 7.4.1708 (Final)
Module: Account Provider
Hi Team,
I have configured the account provider as domain join mode. But we need to configure account provider as remote ldap, i tried ldap configuration as per the documentation also some google research and i was change the ldap user search entries in config file. If i configured currectly but i can’t see the user list and group list, it’s getting empty both user and group,
/usr/libexec/nethserver/count-accounts
@@ -58,7 +58,7 @@ if($sssd->isLdap()) {
}
%config = ( %config,
- 'userfilter' => '(objectClass=shadowAccount)',
+ 'userfilter' => '(objectClass=posixAccount)',
'userkeyattr' => 'uid',
'groupfilter' => '(objectClass=posixGroup)',
'groupkeyattr' => 'cn',
/usr/libexec/nethserver/list-group-members
@@ -63,7 +63,7 @@ if($sssd->isLdap()) {
'memberattr' => 'memberUid',
'filter' => "(&(objectClass=posixGroup)(cn=$groupName))",
'groupclass' => 'posixGroup',
- 'memberfilter' => '(objectClass=shadowAccount)'
+ 'memberfilter' => '(objectClass=posixAccount)'
);
usr/libexec/nethserver/list-group-members
@@ -63,7 +63,7 @@ if($sssd->isLdap()) {
'memberattr' => 'memberUid',
'filter' => "(&(objectClass=posixGroup)(cn=$groupName))",
'groupclass' => 'posixGroup',
- 'memberfilter' => '(objectClass=shadowAccount)'
+ 'memberfilter' => '(objectClass=posixAccount)'
);
/usr/libexec/nethserver/list-users
@@ -64,7 +64,7 @@ if($sssd->isLdap()) {
%config = ( %config,
'keyattr' => 'uid',
- 'filter' => '(objectClass=shadowAccount)',
+ 'filter' => '(objectClass=posixAccount)',
);
i don’t know how to solve this problems, kindly provide the solutions.