r19458: Some info on the "schema"
authorSimo Sorce <idra@samba.org>
Sun, 22 Oct 2006 21:30:12 +0000 (21:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:21:35 +0000 (14:21 -0500)
(This used to be commit 724d8fb153cfe6f941ba2b8893e5221b24da9431)

source4/lib/ldb/nssldb/README.txt [new file with mode: 0644]

diff --git a/source4/lib/ldb/nssldb/README.txt b/source4/lib/ldb/nssldb/README.txt
new file mode 100644 (file)
index 0000000..ddba62b
--- /dev/null
@@ -0,0 +1,34 @@
+
+This test code requires a tdb that is configured for to use the asq module.
+You can do that adding the following record to a tdb:
+
+dn: @MODULES
+@LIST: asq
+
+Other modules can be used as well (like rdn_name for example)
+
+The uidNumber 0 and the gidNumber 0 are considered invalid.
+
+The user records should contain the followin attributes:
+uid (required)                 the user name
+userPassword (optional)                the user password (if not present "LDB" is
+                               returned in the password field)
+uidNumber (required)           the user uid
+gidNumber (required)           the user primary gid
+gecos (optional)               the GECOS
+homeDirectory (required)       the home directory
+loginShell (required)          the login shell
+memberOf (required)            all the groups the user is member of should
+                               be reported here using their DNs. The
+                               primary group as well.
+
+The group accounts should contain the following attributes:
+cn (required)                  the group name
+uesrPassword (optional)                the group password (if not present "LDB" is
+                               returned in the password field)
+gidNumber (required)           the group gid
+member (optional)              the DNs of the member users, also the ones
+                               that have this group as primary
+
+
+SSS