summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-10-22 21:30:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:35 -0500
commit566c7481d99d8663ec4215c1e0b03b5f798eb600 (patch)
tree50a894427c3b3107755df2110ec9f9523820e462 /source4/lib/ldb
parentd29c54385a9910af7d220af65a21980f05deb0d5 (diff)
downloadsamba-566c7481d99d8663ec4215c1e0b03b5f798eb600.tar.gz
samba-566c7481d99d8663ec4215c1e0b03b5f798eb600.tar.bz2
samba-566c7481d99d8663ec4215c1e0b03b5f798eb600.zip
r19458: Some info on the "schema"
(This used to be commit 724d8fb153cfe6f941ba2b8893e5221b24da9431)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/nssldb/README.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/source4/lib/ldb/nssldb/README.txt b/source4/lib/ldb/nssldb/README.txt
new file mode 100644
index 0000000000..ddba62b380
--- /dev/null
+++ b/source4/lib/ldb/nssldb/README.txt
@@ -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