From c99449016b2ccd0c9f35e3867a96ed3500d2f064 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 11 Jun 2007 00:05:48 +0000 Subject: [PATCH] r23411: We were missing displayName and that was preventing us from successfully deleting an entry when "account" is the STRUCTURAL objectclass used for users and machines. "account" is used each time the user entry is in /etc/passwd and we have only the samba attributes in ldap, as well as for rfc2307(bis) standard based directories. (This used to be commit e6399f1aa1c98d2d6e700245bb95c84f7e173236) --- source3/lib/smbldap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index cffc9389d7d..f8cb8f4a25d 100644 --- a/source3/lib/smbldap.c +++ b/source3/lib/smbldap.c @@ -138,6 +138,7 @@ ATTRIB_MAP_ENTRY attrib_map_to_delete_v30[] = { { LDAP_ATTR_LOGON_TIME, "sambaLogonTime" }, { LDAP_ATTR_LOGOFF_TIME, "sambaLogoffTime" }, { LDAP_ATTR_KICKOFF_TIME, "sambaKickoffTime" }, + { LDAP_ATTR_DISPLAY_NAME, "displayName" }, { LDAP_ATTR_HOME_DRIVE, "sambaHomeDrive" }, { LDAP_ATTR_HOME_PATH, "sambaHomePath" }, { LDAP_ATTR_LOGON_SCRIPT, "sambaLogonScript" }, -- 2.34.1