diff --git a/source4/dsdb/samdb/ldb_modules/samba3sam.c b/source4/dsdb/samdb/ldb_modules/samba3sam.c index e9830c9..5f184f6 100644 --- a/source4/dsdb/samdb/ldb_modules/samba3sam.c +++ b/source4/dsdb/samdb/ldb_modules/samba3sam.c @@ -875,6 +875,52 @@ const struct ldb_map_attribute samba3_attributes[] = .type = LDB_MAP_IGNORE, }, + /* Fixme: Does not read value from smb.conf if ldap value are empty */ + /* sambaHomeDrive -> homeDrive */ + { + .local_name = "sambaHomeDrive", + .type = LDB_MAP_RENAME, + .u = { + .rename = { + .remote_name = "homeDrive", + }, + }, + }, + + + /* sambaHomePath -> homeDirectory */ + { + .local_name = "sambaHomePath", + .type = LDB_MAP_RENAME, + .u = { + .rename = { + .remote_name = "homeDirectory", + }, + }, + }, + + /* sambaLogonScript -> scriptPath */ + { + .local_name = "sambaLogonScript", + .type = LDB_MAP_RENAME, + .u = { + .rename = { + .remote_name = "scriptPath", + }, + }, + }, + + /* sambaProfilePath -> ProfilePath */ + { + .local_name = "sambaProfilePath", + .type = LDB_MAP_RENAME, + .u = { + .rename = { + .remote_name = "ProfilePath", + }, + }, + }, + /* uidNumber */ { .local_name = "unixName",