Lines Matching refs:err
52 int i, err = 0;
82 err = -1;
95 err = -1;
99 err = ldap_add_s(ld, fsn_dn, attrs);
102 "nsdb_add(): ldap_add_s() returned %d\n", err);
105 if (err != LDAP_SUCCESS) {
111 err = -1;
127 err = -1;
139 err = -1;
143 err = ldap_add_s(ld, fsl_dn, attrs);
146 "nsdb_add(): ldap_add_s() returned %d\n", err);
150 if (err != LDAP_SUCCESS) {
154 err = -1;
164 return (err);
182 int err = 0;
214 err = ldap_delete_s(ld, fsn_dn);
217 "nsdb_add(): ldap_delete_s() returned %d\n", err);
219 if (err != LDAP_SUCCESS) {
225 err = -1;
241 err = ldap_delete_s(ld, fsl_dn);
244 "nsdb_add(): ldap_delete_s() returned %d\n", err);
246 if (err != LDAP_SUCCESS) {
252 err = -1;
263 return (err);