summaryrefslogtreecommitdiff
path: root/server/examples
diff options
context:
space:
mode:
Diffstat (limited to 'server/examples')
-rw-r--r--server/examples/config.ldif10
-rw-r--r--server/examples/db.ldif20
2 files changed, 17 insertions, 13 deletions
diff --git a/server/examples/config.ldif b/server/examples/config.ldif
index 2ca830c4..a0deb389 100644
--- a/server/examples/config.ldif
+++ b/server/examples/config.ldif
@@ -36,7 +36,7 @@ dn: cn=LOCAL,cn=domains,cn=config
cn: LOCAL
description: Reserved domain for local configurations
provider: local
-basedn: cn=local
+basedn: cn=local,dc=sssd
dn: cn=EXAMPLE.COM,cn=domains,cn=config
cn: EXAMPLE.COM
@@ -44,14 +44,14 @@ description: Example domain served by IPA
provider: ipa
server: ipaserver1.example.com
server: ipabackupserver.example.com
-basedn: cn=EXAMPLE.COM,cn=ipa,cn=remote
+basedn: cn=EXAMPLE.COM,dc=sssd
dn: cn=TEST,cn=domains,cn=config
cn: TEST
description: TEST Ldap domain
-provider: TEST
-basedn: cn=test,cn=remote
-command: ./sbin/sssd_be -d 2 --provider ldap --domain TEST
+provider: proxy
+basedn: cn=TEST,dc=sssd
+command: ./sbin/sssd_be -d 2 --provider proxy --domain TEST
libName: ldap
libPath: /usr/lib64/libnss_ldap.so.2
diff --git a/server/examples/db.ldif b/server/examples/db.ldif
index bdb12753..4a9bf5e0 100644
--- a/server/examples/db.ldif
+++ b/server/examples/db.ldif
@@ -1,33 +1,37 @@
dn: @MODULES
@LIST: asq
-dn: cn=local
+dn: dc=sssd
+dc: sssd
+description: base object
+
+dn: cn=local,dc=sssd
cn: local
description: Local system data
-dn: cn=groups,cn=local
+dn: cn=groups,cn=local,dc=sssd
cn: groups
description: Local POSIX groups
-dn: cn=foousers,cn=groups,cn=local
+dn: cn=foousers,cn=groups,cn=local,dc=sssd
cn: foousers
description: Local user accounts
-member: uid=foobar,cn=users,cn=local
+member: uid=foobar,cn=users,cn=local,dc=sssd
objectclass: group
gidNumber: 10101
-dn: cn=users,cn=local
+dn: cn=users,cn=local,dc=sssd
cn: users
description: Local POSIX users
-dn: uid=foobar,cn=users,cn=local
+dn: uid=foobar,cn=users,cn=local,dc=sssd
uid: foobar
objectClass: user
description: User Foo Bar
uidNumber: 10101
gidNumber: 10101
legacy: false
-primaryGroup: cn=foousers,cn=groups,cn=local
+primaryGroup: cn=foousers,cn=groups,cn=local,dc=sssd
userPassword: !@#$%#@#@!FOOBAR
homeDirectory: /home/foobar
fullName: Foo Bar
@@ -42,5 +46,5 @@ passwordHint: Favorite pasta sauce
passwordHistory: foo,bar,baz
preferredLanguage: IT
preferredSession: GNOME
-memberOf: cn=foousers,cn=groups,cn=local
+memberOf: cn=foousers,cn=groups,cn=local,dc=sssd