mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r16122: As we use 'inetOrgPerson' as structural objectclass for new accounts for
eDir, we already add 'sn' as required attribute on LDAP add operations. When we modify an entry, we need to request 'sn' as well in our attribute lists, so that we don't try to add it a second time. Guenther
This commit is contained in:
parent
322f1664df
commit
e018ea3d1d
@ -101,6 +101,7 @@ struct smbldap_state;
|
||||
#define LDAP_ATTR_MOD_TIMESTAMP 41
|
||||
#define LDAP_ATTR_LOGON_HOURS 42
|
||||
#define LDAP_ATTR_TRUST_PASSWD_FLAGS 43
|
||||
#define LDAP_ATTR_SN 44
|
||||
|
||||
|
||||
typedef struct _attrib_map_entry {
|
||||
|
@ -52,6 +52,7 @@ ATTRIB_MAP_ENTRY attrib_map_v22[] = {
|
||||
{ LDAP_ATTR_LOGOFF_TIME, "logoffTime" },
|
||||
{ LDAP_ATTR_KICKOFF_TIME, "kickoffTime" },
|
||||
{ LDAP_ATTR_CN, "cn" },
|
||||
{ LDAP_ATTR_SN, "sn" },
|
||||
{ LDAP_ATTR_DISPLAY_NAME, "displayName" },
|
||||
{ LDAP_ATTR_HOME_PATH, "smbHome" },
|
||||
{ LDAP_ATTR_HOME_DRIVE, "homeDrive" },
|
||||
@ -106,6 +107,7 @@ ATTRIB_MAP_ENTRY attrib_map_v30[] = {
|
||||
{ LDAP_ATTR_LOGOFF_TIME, "sambaLogoffTime" },
|
||||
{ LDAP_ATTR_KICKOFF_TIME, "sambaKickoffTime" },
|
||||
{ LDAP_ATTR_CN, "cn" },
|
||||
{ LDAP_ATTR_SN, "sn" },
|
||||
{ LDAP_ATTR_DISPLAY_NAME, "displayName" },
|
||||
{ LDAP_ATTR_HOME_DRIVE, "sambaHomeDrive" },
|
||||
{ LDAP_ATTR_HOME_PATH, "sambaHomePath" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user