Advertisement
Guest User

Untitled

a guest
Apr 24th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. Setup the Argonaut system deployment
  2.  
  3. Install the Argonaut plugin:
  4.  
  5. ```
  6. apt -y install fusiondirectory-plugin-argonaut fusiondirectory-plugin-argonaut-schema
  7. fusiondirectory-insert-schema -i /etc/ldap/schema/fusiondirectory/argonaut-fd.schema
  8. systemctl restart slapd
  9. ```
  10.  
  11. Select the 'Argonaut client' tab of the ldap.example.com server ('Systems' plugin)
  12.  
  13. Press the 'Add Argonaut settings' button and change/add these fields:
  14. WakeOnLan interface: eth1
  15. servicePostfix: postfix
  16. serviceNTP: ntp
  17. serviceDovecot: dovecot
  18.  
  19. Add an Argonaut server service from the 'Services' tab of ldap.example.com:
  20. Interface: eth1
  21.  
  22. Setup the Argonaut server:
  23.  
  24. `apt -y install argonaut-server`
  25.  
  26. Set the server to autostart:
  27.  
  28. `sed -i -e 's/START_SERVER=0/START_SERVER=1/' /etc/default/argonaut-server`
  29.  
  30. Create the LDAP config:
  31.  
  32. ```
  33. cat > /etc/argonaut/ldap.conf << EOF
  34. BASE dc=example.com,dc=com
  35. URI ldap://ldap.example.com
  36. TLS_CACERT /etc/ssl/certs/ca-certificates.crt
  37. ```
  38.  
  39. Configure the Argonaut server:
  40.  
  41. ```
  42. [server]
  43. server_ip = 10.2.2.2
  44.  
  45.  
  46. [client]
  47. client_ip = 10.2.2.2
  48.  
  49.  
  50. [ldap]
  51. config = /etc/argonaut/ldap.conf
  52. dn = cn=admin,dc=example,dc=com
  53. password = MyBindDNPass
  54. tls = off
  55. ```
  56.  
  57. Start the Argonaut server:
  58.  
  59. `systemctl start argonaut-server`
  60.  
  61. NOTE: Fails with Apr 23 02:47:39 ldap.example.com argonaut-server[14287]: There is no computer matching (ipHostNumber=10.2.2.2).
  62.  
  63. Install the Argonaut client:
  64.  
  65. `apt -y install argonaut-client`
  66.  
  67. Set the client to autostart:
  68.  
  69. `sed -i -e 's/START_CLIENT=0/START_CLIENT=1/' /etc/default/argonaut-client`
  70.  
  71. Start the Argonaut client:
  72.  
  73. `systemctl start argonaut-client`
  74.  
  75. NOTE: Fails with Αpr 23 23:36:12 ldap.example.com argonaut-client[27438]: There is no computer matching (=10.2.2.2).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement