phpLDAPadmin template ou=Computers


/ Published in: XML
Save to your folder(s)

Put on templates/creation/xflexComputers.xml


Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE template SYSTEM "template.dtd">
  3. <template>
  4. <askcontainer>1</askcontainer>
  5. <description>Novo computador de rede</description>
  6. <icon>server.png</icon>
  7. <invalid>0</invalid>
  8. <rdn>cn</rdn>
  9. <regexp>^ou=Computers</regexp>
  10. <title>1-Computador de rede::XfleX</title>
  11. <visible>1</visible>
  12. <objectClasses>
  13. <objectClass id="top"></objectClass>
  14. <objectClass id="ieee802Device"></objectClass>
  15. <objectClass id="ipHost"></objectClass>
  16. <objectClass id="ipNetwork"></objectClass>
  17. <objectClass id="bootableDevice"></objectClass>
  18. </objectClasses>
  19. <attributes>
  20. <attribute id="cn">
  21. <display>Nome do computador</display>
  22. <hint>Não use espaços ou caracteres especiais</hint>
  23. <icon>host.png</icon>
  24. <order>1</order>
  25. <page>1</page>
  26. </attribute>
  27. <attribute id="description">
  28. <display>Descrição do computador</display>
  29. <hint>Espaços permitidos</hint>
  30. <icon>info.png</icon>
  31. <order>2</order>
  32. <page>1</page>
  33. </attribute>
  34. <attribute id="ipHostNumber">
  35. <display>Endereço IP</display>
  36. <hint></hint>
  37. <icon>network.png</icon>
  38. <order>3</order>
  39. <page>1</page>
  40. </attribute>
  41. <attribute id="ipNetworkNumber">
  42. <display>Endereço de rede</display>
  43. <hint></hint>
  44. <icon>network.png</icon>
  45. <page>1</page>
  46. <order>4</order>
  47. </attribute>
  48. <attribute id="macAddress">
  49. <display>Endereço Mac</display>
  50. <hint></hint>
  51. <icon>locality.png</icon>
  52. <page>1</page>
  53. <order>5</order>
  54. </attribute>
  55. <attribute id="bootFile">
  56. <display>Arquivo de boot</display>
  57. <hint></hint>
  58. <icon>debug-cache.png</icon>
  59. <page>1</page>
  60. <order>6</order>
  61. </attribute>
  62. </attributes>
  63. </template>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.