|
# extended LDIF
|
|
#
|
|
# LDAPv3
|
|
# base <groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration> with scope subtree
|
|
# filter: (objectclass=*)
|
|
# requesting: ALL
|
|
#
|
|
|
|
# GroupRoot, Rudder, rudder-configuration
|
|
dn: groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
|
|
objectClass: groupCategory
|
|
objectClass: top
|
|
cn: Root of the group and group categories
|
|
description: This is the root category for the groups (both dynamic and static
|
|
) and group categories
|
|
groupCategoryId: GroupRoot
|
|
isSystem: TRUE
|
|
|
|
# SystemGroups, GroupRoot, Rudder, rudder-configuration
|
|
dn: groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder
|
|
-configuration
|
|
objectClass: groupCategory
|
|
objectClass: top
|
|
cn: System group category
|
|
description: That category holds all the system and special target
|
|
groupCategoryId: SystemGroups
|
|
isSystem: TRUE
|
|
|
|
# special:all, SystemGroups, GroupRoot, Rudder, rudder-configuration
|
|
dn: configurationRuleTarget=special:all,groupCategoryId=SystemGroups,groupCate
|
|
goryId=GroupRoot,ou=Rudder,cn=rudder-configuration
|
|
objectClass: specialConfigurationRuleTarget
|
|
objectClass: top
|
|
configurationRuleTarget: special:all
|
|
cn: All servers
|
|
description: A special target which matches absolutly all known nodes, includi
|
|
ng policy servers
|
|
isActivated: TRUE
|
|
isSystem: TRUE
|
|
|
|
# special:all_exceptPolicyServers, SystemGroups, GroupRoot, Rudder, rudder-co
|
|
nfiguration
|
|
dn: configurationRuleTarget=special:all_exceptPolicyServers,groupCategoryId=Sy
|
|
stemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
|
|
objectClass: specialConfigurationRuleTarget
|
|
objectClass: top
|
|
configurationRuleTarget: special:all_exceptPolicyServers
|
|
cn: All user servers
|
|
description: A special target which matches all user nodes (no policy server s
|
|
)
|
|
isActivated: TRUE
|
|
isSystem: TRUE
|
|
|
|
# hasPolicyServer-root, SystemGroups, GroupRoot, Rudder, rudder-configuration
|
|
dn: nodeGroupId=hasPolicyServer-root,groupCategoryId=SystemGroups,groupCategor
|
|
yId=GroupRoot,ou=Rudder,cn=rudder-configuration
|
|
objectClass: nodeGroup
|
|
objectClass: top
|
|
cn: Root server group
|
|
description: Root server goup
|
|
isDynamic: FALSE
|
|
nodeGroupId: hasPolicyServer-root
|
|
isSystem: TRUE
|
|
isActivated: TRUE
|
|
nodeId: root
|
|
nodeId: b7a291ab-2658-4c10-ac23-761b0abc3a0a
|
|
|
|
# policyServer:root, SystemGroups, GroupRoot, Rudder, rudder-configuration
|
|
dn: configurationRuleTarget=policyServer:root,groupCategoryId=SystemGroups,gro
|
|
upCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
|
|
objectClass: specialConfigurationRuleTarget
|
|
objectClass: top
|
|
configurationRuleTarget: policyServer:root
|
|
cn: Root policy server
|
|
description: A special target which only matches the policy server with the ID
|
|
given after the semicolon
|
|
isActivated: TRUE
|
|
isSystem: TRUE
|
|
|
|
# 7a42bf0b-cdff-4bdb-aee0-210cf39f4aa5, GroupRoot, Rudder, rudder-configurati
|
|
on
|
|
dn: nodeGroupId=7a42bf0b-cdff-4bdb-aee0-210cf39f4aa5,groupCategoryId=GroupRoot
|
|
,ou=Rudder,cn=rudder-configuration
|
|
nodeGroupId: 7a42bf0b-cdff-4bdb-aee0-210cf39f4aa5
|
|
objectClass: nodeGroup
|
|
objectClass: top
|
|
cn: ITX1
|
|
isActivated: TRUE
|
|
isSystem: FALSE
|
|
isDynamic: FALSE
|
|
nodeId: b7a291ab-2658-4c10-ac23-761b0abc3a0a
|
|
jsonNodeGroupQuery: {"select":"node","composition":"And","where":[{"objectType
|
|
":"node","attribute":"OS","comparator":"eq","value":"Linux"}]}
|
|
|
|
# f2cf7300-57af-4e92-bc28-3b6ff086b560, GroupRoot, Rudder, rudder-configurati
|
|
on
|
|
dn: nodeGroupId=f2cf7300-57af-4e92-bc28-3b6ff086b560,groupCategoryId=GroupRoot
|
|
,ou=Rudder,cn=rudder-configuration
|
|
nodeGroupId: f2cf7300-57af-4e92-bc28-3b6ff086b560
|
|
objectClass: nodeGroup
|
|
objectClass: top
|
|
cn: LLN1 - users
|
|
isActivated: TRUE
|
|
isSystem: FALSE
|
|
isDynamic: TRUE
|
|
description: All linux nodes in 10.108.25.0/24 network (LLN1)
|
|
jsonNodeGroupQuery: {"select":"node","composition":"And","where":[{"objectType
|
|
":"node","attribute":"OS","comparator":"eq","value":"Linux"},{"objectType":"n
|
|
etworkInterfaceLogicalElement","attribute":"ipNetworkNumber","comparator":"re
|
|
gex","value":"10\\.108\\.25\\..*"}]}
|
|
|
|
# 43f06347-9b84-4321-8f10-3b250cb6cb78, GroupRoot, Rudder, rudder-configurati
|
|
on
|
|
dn: groupCategoryId=43f06347-9b84-4321-8f10-3b250cb6cb78,groupCategoryId=Group
|
|
Root,ou=Rudder,cn=rudder-configuration
|
|
groupCategoryId: 43f06347-9b84-4321-8f10-3b250cb6cb78
|
|
objectClass: groupCategory
|
|
objectClass: top
|
|
isSystem: FALSE
|
|
cn: Louvain-la-Neuve
|
|
description: special LLN groups
|
|
|
|
# 1ba2993b-af48-4317-9231-a69d3049c540, 43f06347-9b84-4321-8f10-3b250cb6cb78,
|
|
GroupRoot, Rudder, rudder-configuration
|
|
dn: nodeGroupId=1ba2993b-af48-4317-9231-a69d3049c540,groupCategoryId=43f06347-
|
|
9b84-4321-8f10-3b250cb6cb78,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-con
|
|
figuration
|
|
nodeGroupId: 1ba2993b-af48-4317-9231-a69d3049c540
|
|
objectClass: nodeGroup
|
|
objectClass: top
|
|
cn: test
|
|
description: stes
|
|
isActivated: TRUE
|
|
isSystem: FALSE
|
|
isDynamic: FALSE
|
|
jsonNodeGroupQuery: {"select":"node","composition":"And","where":[{"objectType
|
|
":"node","attribute":"OS","comparator":"eq","value":""}]}
|
|
|
|
# 2148e0b1-e216-4aff-a176-bae3e590da2c, 43f06347-9b84-4321-8f10-3b250cb6cb78,
|
|
GroupRoot, Rudder, rudder-configuration
|
|
dn: nodeGroupId=2148e0b1-e216-4aff-a176-bae3e590da2c,groupCategoryId=43f06347-
|
|
9b84-4321-8f10-3b250cb6cb78,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-con
|
|
figuration
|
|
nodeGroupId: 2148e0b1-e216-4aff-a176-bae3e590da2c
|
|
objectClass: nodeGroup
|
|
objectClass: top
|
|
cn: mongroupe1
|
|
isActivated: TRUE
|
|
isSystem: FALSE
|
|
isDynamic: FALSE
|
|
description: ceci est un groupe1
|
|
jsonNodeGroupQuery: {"select":"node","composition":"And","where":[{"objectType
|
|
":"node","attribute":"OS","comparator":"eq","value":""}]}
|
|
|
|
# search result
|
|
search: 2
|
|
result: 0 Success
|
|
|
|
# numResponses: 12
|
|
# numEntries: 11
|