Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/passdb/pdb_ldap.c

    r124 r134  
    17961796                return NT_STATUS_UNSUCCESSFUL;
    17971797        }
    1798        
    1799         if (mods == NULL) {
     1798
     1799        if ((lp_ldap_passwd_sync() != LDAP_PASSWD_SYNC_ONLY)
     1800            && (mods == NULL)) {
    18001801                DEBUG(4,("ldapsam_update_sam_account: mods is empty: nothing to update for user: %s\n",
    18011802                         pdb_get_username(newpwd)));
     
    18051806       
    18061807        ret = ldapsam_modify_entry(my_methods,newpwd,dn,mods,LDAP_MOD_REPLACE, element_is_changed);
    1807         ldap_mods_free(mods,True);
     1808
     1809        if (mods != NULL) {
     1810                ldap_mods_free(mods,True);
     1811        }
     1812
    18081813        SAFE_FREE(dn);
    18091814
Note: See TracChangeset for help on using the changeset viewer.