2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * Return the number of fsn UUIDs provided in 'locations'. 2N/A * The caller should free this allocated memory with free_fsns(). 2N/A * Return values: the number of FSNs in the array (may be zero), 2N/A * or -1 in the case of communications errors. 2N/A * Connect and bind to the directory anonymously 2N/A * Perform search for a select set of attributes from above 2N/A "Warning: Unable to search the directory\n");
2N/A * For each entry collect attributes and values 2N/A /* Walk FSL attributes */ 2N/A sizeof (
char *) * (n +
1));
2N/A for (i = 0; i < n; i++) {
2N/A * Free memory allocated by nsdb_lookup(). 2N/A for (i = 0; i < n; i++)