Sample configuration file on the LDAP Server
root@PICOS:/# ldapsearch -x -b dc=ar-sso,dc=ar,dc=fs,dc=com -H ldap://10.10.50.20 -D cn=root,dc=ar-sso,dc=ar,dc=fs,dc=com -w fs
# extended LDIF
#
# LDAPv3
# base <dc=ar-sso,dc=ar,dc=fs,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# ar-sso.ar.fs.com
dn: dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: people
dc: ar-sso
# root, ar-sso.ar.fs.com
dn: cn=root,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: organizationalRole
cn: root
description: LDAP Manager
# groups, ar-sso.ar.fs.com
dn: ou=groups,dc=ar-sso,dc=ar,dc=fs,dc=com
cn: Groups
objectClass: groupOfUniqueNames
uniqueMember: ou=groups,dc=ar-sso,dc=ar,dc=fs,dc=com
ou: groups
# people, ar-sso.ar.fs.com
dn: ou=people,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: inetOrgPerson
cn: People
sn: People
ou: people
# bob, groups, ar-sso.ar.fs.com
dn: uid=bob,ou=groups,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: account
objectClass: simpleSecurityObject
uid: bob
userPassword:: e1NTSEF9WDgzNnAwNVZHUWozSHdxcHFGV05peE92WTN2RzZtWEo=
# developers, groups, ar-sso.ar.fs.com
dn: cn=developers,ou=groups,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: top
objectClass: posixGroup
cn: developers
gidNumber: 50000
memberUid: johndoe
memberUid: janedoe
# jump-omaha, groups, ar-sso.ar.fs.com
dn: cn=jump-omaha,ou=groups,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: posixGroup
cn: jump-omaha
gidNumber: 50002
memberUid: nord
memberUid: lisa
memberUid: sott
# al, people, ar-sso.ar.fs.com
dn: uid=al,ou=people,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
uid: al
cn: AL
sn: Smit
uidNumber: 10000
gidNumber: 1
homeDirectory: /home/al
loginShell: /bin/bash
userPassword:: e1NTSEF9UnpZaTdXVHQweWtMY3NiR01sQURjenhORmxDMThub1g=
# bob, people, ar-sso.ar.fs.com
dn: uid=bob,ou=people,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: account
objectClass: simpleSecurityObject
objectClass: posixAccount
uid: bob
cn: Bob
uidNumber: 10080
gidNumber: 10080
homeDirectory: /home/bob
userPassword:: e1NTSEF9WDgzNnAwNVZHUWozSHdxcHFGV05peE92WTN2RzZtWEo=
# test, people, ar-sso.ar.fs.com
dn: uid=test,ou=people,dc=ar-sso,dc=ar,dc=fs,dc=com
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
cn: Shengqi
sn: Chen
uid: test
uidNumber: 1002
gidNumber: 2
loginShell: /bin/bash
gecos: Shengqi en
homeDirectory: /home/admin
userPassword:: e1NTSEF9cTUyUzJwRTVwSGRieFdWb0V5eEt5VXJmaTdaRWR2Q2s=
# search result
search: 2
result: 0 Success
Copyright © 2024 Pica8 Inc. All Rights Reserved.