summaryrefslogtreecommitdiff
path: root/server/examples
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-10-21 08:54:16 -0400
committerSimo Sorce <idra@samba.org>2008-10-21 08:54:16 -0400
commit85f827f25a879a4499180d61742ba6bc22b04ccc (patch)
treef63a260426aca445f9dfd1705a02bd609d975d4b /server/examples
parent4bd90c6a9616f8580cebe43a42200669087292b5 (diff)
downloadsssd-85f827f25a879a4499180d61742ba6bc22b04ccc.tar.gz
sssd-85f827f25a879a4499180d61742ba6bc22b04ccc.tar.bz2
sssd-85f827f25a879a4499180d61742ba6bc22b04ccc.zip
Add example ldifs to bootstrap the server
Diffstat (limited to 'server/examples')
-rw-r--r--server/examples/config.ldif16
-rw-r--r--server/examples/db.ldif46
2 files changed, 62 insertions, 0 deletions
diff --git a/server/examples/config.ldif b/server/examples/config.ldif
new file mode 100644
index 00000000..0a0b929d
--- /dev/null
+++ b/server/examples/config.ldif
@@ -0,0 +1,16 @@
+# editing 4 records
+# record 1
+dn: cn=config
+cn: config
+version: 0.1
+
+dn: cn=services,cn=config
+cn: services
+description: Local service configuration
+activeServices: nss
+
+dn: cn=nss,cn=services,cn=config
+cn: nss
+description: NSS Responder Configuration
+unix-socket: /var/lib/sssd/nss/pipe
+
diff --git a/server/examples/db.ldif b/server/examples/db.ldif
new file mode 100644
index 00000000..bdb12753
--- /dev/null
+++ b/server/examples/db.ldif
@@ -0,0 +1,46 @@
+dn: @MODULES
+@LIST: asq
+
+dn: cn=local
+cn: local
+description: Local system data
+
+dn: cn=groups,cn=local
+cn: groups
+description: Local POSIX groups
+
+dn: cn=foousers,cn=groups,cn=local
+cn: foousers
+description: Local user accounts
+member: uid=foobar,cn=users,cn=local
+objectclass: group
+gidNumber: 10101
+
+dn: cn=users,cn=local
+cn: users
+description: Local POSIX users
+
+dn: uid=foobar,cn=users,cn=local
+uid: foobar
+objectClass: user
+description: User Foo Bar
+uidNumber: 10101
+gidNumber: 10101
+legacy: false
+primaryGroup: cn=foousers,cn=groups,cn=local
+userPassword: !@#$%#@#@!FOOBAR
+homeDirectory: /home/foobar
+fullName: Foo Bar
+loginShell: /bin/bash
+accountExpires: 20500101000000Z
+biometricSignature: <binary>
+disabled: false
+failedLoginAttempts: 0
+keyboardLayout: it_IT
+lastPasswordChange: 20080912142034Z
+passwordHint: Favorite pasta sauce
+passwordHistory: foo,bar,baz
+preferredLanguage: IT
+preferredSession: GNOME
+memberOf: cn=foousers,cn=groups,cn=local
+