Example: configuring an LDAP server

Prev Next

The following example shows how to add the Trellix attribute to the schema file:

attributetype ( FEattributeType:1
  NAME ‘localUserNameFireEye’
  DESC ‘local username to map this user to the appliance’
  EQUALITY caseIgnoreMatch
  SUBSTR caseIgnoreSubstringMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32}
  SINGLE-VALUE )

The following example shows how to define users:

# 1-admin
dn: cn=ldap-admin,ou=users,dc=fireeye,dc=com
objectclass: top
objectclass: FireEyeEmployee
cn: ldap-admin 
sn: ldap-admin 
uid: 1-admin
localUserNameFireEye: admin
userPassword: gaNoLdT7LYczjvD1F3oSUQCMvRy7gwk2
# 1-monitor
dn: cn=ldap-monitor,ou=users,dc=fireeye,dc=com
objectclass: top
objectclass: FireEyeEmployee
cn: ldap-monitor
sn: ldap-monitor
uid: 1-monitor 
localUserNameFireEye: monitor
userPassword: gaNoLdT7LYczjvD1F3oSUQCMvRy7gwk2

Note

In this example, the password "test123" is encrypted as gaNoLdT7LYczjvD1F3oSUQCMvRy7gwk2 .

The following example shows how to define attributes on the Trellix appliance:

ldap host hostname
ldap base-dn cn=ldap-monitor,ou=users,dc=fireeye,dc=com ldap login-attribute uid