Lines Matching refs:printerDN
149 uchar_t *domainDN, uchar_t **printerDN);
151 static NSL_RESULT _checkSunPrinter(LDAP *ld, uchar_t *printerDN);
154 static NSL_RESULT _modifyPrinterObject(LDAP *ld, uchar_t *printerDN,
222 uchar_t *printerDN = NULL; in ldap_put_printer() local
270 domainDN, &printerDN); in ldap_put_printer()
279 printerDN = in ldap_put_printer()
282 if (printerDN != NULL) in ldap_put_printer()
285 ld, printerDN); in ldap_put_printer()
291 printf("DN found = '%s' for '%s'\n", printerDN, printerName); in ldap_put_printer()
305 (char *)printerDN); in ldap_put_printer()
334 _modifyPrinterObject(ld, printerDN, in ldap_put_printer()
352 if (printerDN != NULL) in ldap_put_printer()
354 free(printerDN); in ldap_put_printer()
627 uchar_t **printerDN) in _checkPrinterExists() argument
640 if ((printerName != NULL) && (domainDN != NULL) && (printerDN != NULL)) in _checkPrinterExists()
644 if (printerDN != NULL) in _checkPrinterExists()
646 *printerDN = NULL; in _checkPrinterExists()
676 if (printerDN != NULL) in _checkPrinterExists()
678 *printerDN = (uchar_t *) in _checkPrinterExists()
778 _checkSunPrinter(LDAP *ld, uchar_t *printerDN) in _checkSunPrinter() argument
790 if ((ld != NULL) && (printerDN != NULL)) in _checkSunPrinter()
801 sresult = ldap_search_s(ld, (char *)printerDN, in _checkSunPrinter()
862 uchar_t *printerDN = NULL; in _addNewPrinterObject() local
878 printerDN = _constructPrinterDN(printerName, in _addNewPrinterObject()
880 if (printerDN != NULL) in _addNewPrinterObject()
891 (char *)printerDN, attrs); in _addNewPrinterObject()
906 free(printerDN); in _addNewPrinterObject()
952 _modifyPrinterObject(LDAP *ld, uchar_t *printerDN, in _modifyPrinterObject() argument
965 if ((ld != NULL) && (printerDN != NULL) && (printerName != NULL) && in _modifyPrinterObject()
985 (_compareURIinDNs(printerDN, uriDN) == NSL_OK))) in _modifyPrinterObject()
992 if (_checkSunPrinter(ld, printerDN) == NSL_OK) in _modifyPrinterObject()
998 printerDN, &kvpList); in _modifyPrinterObject()
1008 ld, (char *)printerDN, attrs); in _modifyPrinterObject()