summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/entryUUID.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-09-08 00:23:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:53 -0500
commit704327044d6f54129cef4706b572f1f4dc3ad36f (patch)
treece000c738ce7be3f398403c1f8c500179a60c1ba /source4/dsdb/samdb/ldb_modules/entryUUID.c
parentef54074392107dca5af9bbdde611c9440e5fb688 (diff)
downloadsamba-704327044d6f54129cef4706b572f1f4dc3ad36f.tar.gz
samba-704327044d6f54129cef4706b572f1f4dc3ad36f.tar.bz2
samba-704327044d6f54129cef4706b572f1f4dc3ad36f.zip
r18240: Make it clearer when we store the plaintext password.
Store the plaintext password in userPassword in the LDAP backend so that the OpenLDAP server can use DIGEST-MD5. Andrew Bartlett (This used to be commit 1b02c604b2c55e1c9e15ac1f266e7df74d619dbd)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/entryUUID.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/entryUUID.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/entryUUID.c b/source4/dsdb/samdb/ldb_modules/entryUUID.c
index 06e5384cff..d6f4b10d76 100644
--- a/source4/dsdb/samdb/ldb_modules/entryUUID.c
+++ b/source4/dsdb/samdb/ldb_modules/entryUUID.c
@@ -215,6 +215,15 @@ const struct ldb_map_attribute entryUUID_attributes[] =
}
},
{
+ .local_name = "sambaPassword",
+ .type = MAP_RENAME,
+ .u = {
+ .rename = {
+ .remote_name = "userPassword"
+ }
+ }
+ },
+ {
.local_name = "allowedChildClassesEffective",
.type = MAP_CONVERT,
.u = {