|
35 |
ldapbase=`univention-config-registry get ldap/base` |
35 |
ldapbase=`univention-config-registry get ldap/base` |
36 |
hostname=`univention-config-registry get hostname` |
36 |
hostname=`univention-config-registry get hostname` |
37 |
domainname=`univention-config-registry get domainname` |
37 |
domainname=`univention-config-registry get domainname` |
|
|
38 |
dir=`univention-config-registry get cups/cups-pdf/directory` |
38 |
|
39 |
|
39 |
# install new printer protocoll |
40 |
# install new printer protocoll |
40 |
univention-directory-manager settings/printeruri modify $@ --dn="cn=printeruris,cn=cups,cn=univention,$ldapbase" \ |
41 |
univention-directory-manager settings/printeruri modify $@ --dn="cn=printeruris,cn=cups,cn=univention,$ldapbase" \ |
|
58 |
--position="cn=shares,$ldapbase" \ |
59 |
--position="cn=shares,$ldapbase" \ |
59 |
--option samba --set "name=pdfPrinterShare" \ |
60 |
--option samba --set "name=pdfPrinterShare" \ |
60 |
--set "host=${hostname}.${domainname}" \ |
61 |
--set "host=${hostname}.${domainname}" \ |
61 |
--set "path=/var/cache/cups-pdf/%U" \ |
62 |
--set "path=${dir}" \ |
62 |
--set "webaccessName=pdfPrinterShare" \ |
63 |
--set "webaccessName=pdfPrinterShare" \ |
63 |
--set "name=pdfPrinterShare" |
64 |
--set "name=pdfPrinterShare" |
64 |
|
65 |
|