Lines Matching refs:LDAP

53  * a LDAP directory for the Naming Service (NS) switch.
82 * LDAP objectclass atributes that the user can explicity change
135 * List of LDAP attributes that user is not allowed to explicitly change
147 static NSL_RESULT _connectToLDAP(ns_cred_t *cred, LDAP **ld);
150 static NSL_RESULT _checkPrinterExists(LDAP *ld, uchar_t *printerName,
152 static NSL_RESULT _checkPrinterDNExists(LDAP *ld, uchar_t *objectDN);
153 static NSL_RESULT _checkSunPrinter(LDAP *ld, uchar_t *printerDN);
154 static NSL_RESULT _addNewPrinterObject(LDAP *ld, uchar_t *printerName,
156 static NSL_RESULT _modifyPrinterObject(LDAP *ld, uchar_t *printerDN,
170 static NSL_RESULT _getCurrentKVPValues(LDAP *ld,
175 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp,
183 * Description: Action the request to change a printer object in the LDAP
223 LDAP *ld = NULL;
363 /* disconnect from LDAP server */
386 * Description: Setup the connection and bind to the LDAP directory server.
399 * Output: LDAP** - ldap connection descriptor pointer. NULL = failed
407 _connectToLDAP(ns_cred_t *cred, LDAP **ld)
412 int ldapPort = LDAP_PORT; /* default LDAP port number */
482 * a update on a LDAP replica server.
617 * Input: LDAP *ld - existing ldap connection descriptor
629 _checkPrinterExists(LDAP *ld, uchar_t *printerName, uchar_t *domainDN,
711 * Parameters: LDAP *ld - existing ldap connection descriptor
720 _checkPrinterDNExists(LDAP *ld, uchar_t *objectDN)
772 * Input: LDAP *ld - existing ldap connection descriptor
781 _checkSunPrinter(LDAP *ld, uchar_t *printerDN)
840 * LDAP directory NS domain. The object is created with the
846 * Input: LDAP *ld - existing ldap connection descriptor
859 _addNewPrinterObject(LDAP *ld, uchar_t *printerName,
937 * Description: Modify the given LDAP printer object to set the new attributes
942 * Input: LDAP *ld - existing ldap connection descriptor
955 _modifyPrinterObject(LDAP *ld, uchar_t *printerDN,
1534 /* use LDAP attribute name */
1542 * Non-LDAP attribute so use LDAP
1669 * Non-LDAP attribute so use LDAP
1684 * use LDAP bsdaddr attribute
1722 /* use LDAP bsdaddr attribute name */
1730 * Non-LDAP kvp, so sort items
1867 * Note: Do it this way until the NS LDAP library interface is
2025 * Description: Checks to see if the given attribute is an LDAP printing
2078 * Input: LDAP *ld - existing ldap connection descriptor
2088 _getCurrentKVPValues(LDAP *ld, uchar_t *objectDN, char ***list)
2338 * previously LDAP KVP values delete them.
2346 * int kvpExists - object currently has LDAP KVP values
2380 * We now have no LDAP KVP values but there were
2404 * the origonal LDAP server during the ldap update request call,
2407 * Input: LDAP *ld - LDAP descriptor
2419 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp,