From 85f827f25a879a4499180d61742ba6bc22b04ccc Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 21 Oct 2008 08:54:16 -0400 Subject: Add example ldifs to bootstrap the server --- server/examples/config.ldif | 16 ++++++++++++++++ server/examples/db.ldif | 46 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 server/examples/config.ldif create mode 100644 server/examples/db.ldif (limited to 'server/examples') 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: +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 + -- cgit