X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fentry.c;h=c389f6b0a21f3151679e738a66694ebc2e078585;hb=21be582df7e13ae2c8d44e1f7f02478eb9ec0762;hp=54f7eaf296342e4ef4e7aba32484d6e4ef145139;hpb=6cb8b144358fb705149b6ef0d0e4ca334c25c11f;p=openldap diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index 54f7eaf296..c389f6b0a2 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2005 The OpenLDAP Foundation. + * Copyright 1998-2006 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -282,7 +282,7 @@ str2entry2( char *s, int checkvals ) * validate value per syntax */ #ifdef SLAP_ORDERED_PRETTYNORM - rc = ordered_value_validate( ad, &vals[i] ); + rc = ordered_value_validate( ad, &vals[i], LDAP_MOD_ADD ); #else /* ! SLAP_ORDERED_PRETTYNORM */ rc = validate( ad->ad_type->sat_syntax, &vals[i] ); #endif /* ! SLAP_ORDERED_PRETTYNORM */