diff --git a/lam/docs/manual-sources/howto.xml b/lam/docs/manual-sources/howto.xml index 8eb99212..6350d2bf 100644 --- a/lam/docs/manual-sources/howto.xml +++ b/lam/docs/manual-sources/howto.xml @@ -4256,6 +4256,133 @@ Run slapindex to rebuild the index. + + + + + File upload + + You can upload complete DNS zones via LAM's file upload. Here is + an example for a zone file and the corresponding CSV file. + + + Zone file + + + + + @ + + IN + + SOA + + ns1.example.com admin.ns1.example.com (1 360000 3600 + 3600000 370000) + + + + + + IN + + NS + + ns1.example.com. + + + + + + IN + + NS + + ns2.example.com. + + + + + + IN + + MX + + 10 mail1.example.com + + + + + + IN + + MX + + 20 mail2.example.com + + + + foo + + IN + + A + + 123.123.123.100 + + + + foo2 + + IN + + CNAME + + foo.example.com + + + + bar + + IN + + A + + 123.123.123.101 + + + + + + IN + + AAAA + + 1:2:3:4:5 + + + +
+ + Please check that you have an existing zone entry that can be used + for the file upload. See above to create a new zone. + + Hint: If you use the function above to create a new zone then + please skip the "@" entry in the CSV file below. LAM creates this entry + with sample data. + + In this example we assume that the following zone extry + exists: + + dn: dlzZoneName=example.com,ou=bind,dc=example,dc=com +dlzzonename: example.com +objectclass: dlzZone +objectclass: top + + + + Here is the corresponding CSV file: bindUpload.csv
diff --git a/lam/docs/manual-sources/make.sh b/lam/docs/manual-sources/make.sh index 1c0b199c..e0bf2716 100755 --- a/lam/docs/manual-sources/make.sh +++ b/lam/docs/manual-sources/make.sh @@ -1,7 +1,7 @@ #!/bin/bash # $Id$ # -# Copyright (C) 2009 Roland Gruber +# Copyright (C) 2009 - 2013 Roland Gruber # This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) # This script is run to create the LAM manual. @@ -11,7 +11,8 @@ rm -rf ../manual mkdir ../manual xsltproc -o ../manual/ --stringparam html.stylesheet.type text/css --stringparam html.stylesheet style.css /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl howto.xml mkdir ../manual/images -# cp images/*.jpg ../manual/images cp images/*.png ../manual/images cp images/*.jpg ../manual/images +mkdir ../manual/resources +cp resources/*.* ../manual/resources cp style.css ../manual diff --git a/lam/docs/manual-sources/resources/bindUpload.csv b/lam/docs/manual-sources/resources/bindUpload.csv new file mode 100644 index 00000000..98f149d1 --- /dev/null +++ b/lam/docs/manual-sources/resources/bindUpload.csv @@ -0,0 +1,5 @@ +"dn_suffix","dn_rdn","bindDLZ_dlzHostName","bindDLZ_a_ip","bindDLZ_a_ttl","bindDLZ_cname_name","bindDLZ_cname_ttl","bindDLZ_mx_server","bindDLZ_mx_preference","bindDLZ_mx_ttl","bindDLZ_ptr_host","bindDLZ_ptr_ttl","bindDLZ_soa_expire","bindDLZ_soa_refresh","bindDLZ_soa_minimum","bindDLZ_soa_retry","bindDLZ_soa_ttl","bindDLZ_soa_primaryNS","bindDLZ_soa_adminEmail","bindDLZ_soa_serial","bindDLZ_ns_server","bindDLZ_ns_ttl" +"dlzZoneName=example.com,ou=bind,dc=example,dc=com","dlzHostName","@",,,,,"mail1.example.com; mail2.example.com","10; 20",,,,"3600000","360000","370000","3600",,"ns1.example.com.","admin.ns1.example.com.","1","ns1.example.com.; ns2.example.com.", +"dlzZoneName=example.com,ou=bind,dc=example,dc=com","dlzHostName","foo","123.123.123.101",,,,,,,,,,,,,,,,,, +"dlzZoneName=example.com,ou=bind,dc=example,dc=com","dlzHostName","foo2",,,"foo.example.com",,,,,,,,,,,,,,,, +"dlzZoneName=example.com,ou=bind,dc=example,dc=com","dlzHostName","bar","123.123.123.101; 1:2:3:4:5",,,,,,,,,,,,,,,,,,