Novell is now a part of Micro Focus

My Favorites

Close

Please to see your favorites.

Preventing OES System Groups and Users from being imported in Filr.

This document (7015822) is provided subject to the disclaimer at the end of this document.

Environment

Novell Filr 1 Administration
Novell Filr 2 Administration
Novell Filr 3 Administration
Novell Open Enterprise Server (NetWare 6.5)
Novell Open Enterprise Server 2 (OES 2) Linux
Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 2015 (OES 2015) Linux

Situation

SUSE Linux Enterprise Server (SLES), creates system users and system groups, for instance, the system groups: at, daemon, games, gdm, ssh, suse-ncc, tomcat. news, www, etcetera, and system users such as: wwwrun, suse-ncc, news, nobody, tomcat, etcetera. On an Open Enterprise Server, several of these become LUM enabled.
Novell Open Enterprise Server (OES), additionally creates a number of proxy users and groups in eDirectory for various services. for instance, LDAP related users and groups, the OESCommonProxy user, the NSS admin user, etc.

There is no need for these to be imported into Novell Filr as they serve no other purpose other than the OES server and services, functionality.

Since the release of Novell Filr 1.1 it is supported to have several groups with the same Common Name (CN).
However, for users it is still only supported to have 1 entry with a unique CN in Filr. If a group with that name already exists, the user is not imported, listing an error in the appserver.log indicating that there is already an entry with that name_principal.

When using iManager Role Based Services, there are also groups named admin, these will not be imported due to the fact that the Filr admin account already has that name_principal taken. In rare cases, if there are several Groups named "admin" it could lead to the LDAP sync to never finish.

Resolution

To prevent the System related Groups from be imported:
In the LDAP Server Configuration for the OES environment, in the Filter: section of the Base DN for the Groups place the following filter string, all in 1 line:

(&(|(objectClass=group)(objectClass=groupOfNames)(objectClass=groupOfUniqueNames))(!(|(cn=admingroup)(cn=admin)(cn=DHCPGroup)(cn=novlxtier)(cn=www)(cn=*_MGT_GRP))))

To prevent the System related Users from be imported:
In the LDAP Server Configuration for the OES environment, in the Filter: section of the Base DN for the Users place the following filter string, all in 1 line:

(&(|(objectClass=Person)(objectClass=orgPerson)(objectClass=inetOrgPerson))(!(|(cn=*admin)(cn=novlxregd)(cn=novlxsrvd)(cn=OESCommonProxy_*)(cn=wwwrun))))


In case there is a Tomcat-Roles Organizational Unit (OU) created in the tree to facilitate iManager's Role Based Services (RBS), it is also recommended to exclude this OU.
If the eDirectory or Filr setup does not allow the creation of separate BaseDN excluding the RBS OU, there is an option to exclude this OU via the ldap filter
In that case the filter would look like:
For the Groups:
(&(|(objectClass=group)(objectClass=groupOfNames)(objectClass=groupOfUniqueNames))(!(|(cn=admingroup)(cn=admin)(cn=DHCPGroup)(cn=novlxtier)(cn=www)(ou:dn:=Tomcat-Roles)(cn=*_MGT_GRP))))

For the Users:
(&(|(objectClass=Person)(objectClass=orgPerson)(objectClass=inetOrgPerson))(!(|(cn=*admin)(cn=novlxregd)(cn=novlxsrvd)(cn=OESCommonProxy_*)(cn=afp*)(cn=*Proxy)(cn=wwwrun)(cn=ftp)(ou:dn:=Tomcat-Roles))))

Cause

When installing and configuring a Novell Open Enterprise Server (OES), several system and service related groups and (proxy) users are created in the eDirectory, if not trough being LUM-enabled.

Additional Information

To prevent the users and groups, who only provide server functionality, from polluting the Novell Filr user and group list, they should be filtered out.
When this is done properly before the initial LDAP sync, these will never be imported.

In case there are additional administrative or system (LUM-enabled) users that are required to be prevented from being imported into Filr, these can be added to the filter string.
For instance, when Novell Open Enterprise server is not using a OESCommonProxy user, but rather a Proxy User per service. (AFP, CIFS, NetStorage, FTP, NCS ....)


These are prevented from being imported by adding for instance these entries in the string:
(cn=afp*)
(cn=*Proxy)
(cn=ftp)

This would make the complete string look like:
(&(|(objectClass=Person)(objectClass=orgPerson)(objectClass=inetOrgPerson))(!(|(cn=*admin)(cn=novlxregd)(cn=novlxsrvd)(cn=OESCommonProxy_*)(cn=afp*)(cn=*Proxy)(cn=wwwrun)(cn=ftp))))

Modify the string so it is applicable to the back-end environment.

Using the  Preview sync, which is available from Novell Filr 1.1 on should indicate if only the desired users are disabled or prevented from being imported.


In certain cases, users are moved or renamed with an alias for backwards compatibility.
Filr will process the aliases as if they were the user, so it will not update the user objects stored in the Filr databases. This will only occur if the LDAP filter for the users is updated to exclude the objectClass aliasObject.
This is achieved by adding !(objectClass=aliasObject).

The compete user filter will then look something like:
(&(|(objectClass=Person)(objectClass=orgPerson)(objectClass=inetOrgPerson))(!(|(cn=*admin)(cn=novlxregd)(cn=novlxsrvd)(cn=OESCommonProxy_*)(cn=afp*)(cn=*Proxy)(cn=wwwrun)(cn=ftp)(ou:dn:=Tomcat-Roles)(objectClass=aliasObject))))

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7015822
  • Creation Date:23-OCT-14
  • Modified Date:30-JUN-17
    • NovellFilr
      NetWare
      Open Enterprise Server

Did this document solve your problem? Provide Feedback