Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. #
  2. # Options regarding the NIPAP daemon
  3. # ----------------------------------
  4. #
  5. [nipapd]
  6.  
  7. user = nipap
  8. #group = nipap
  9.  
  10.  
  11. listen = 127.0.0.1 ; IP address to listen on.
  12. port = 1337 ; XML-RPC listen port (change requires restart)
  13.  
  14. foreground = false ; run in foreground, won't work with init script
  15. debug = true ; enable debug logging
  16.  
  17. fork = 0 ; number of forks
  18. syslog = true ; log to syslog
  19.  
  20. pid_file = /var/run/nipap/nipapd.pid
  21.  
  22. db_host = "" ; database hostname
  23. db_port = 5432 ; port that PostgreSQL listens to, defaults to
  24. db_name = nipap ; database name
  25. db_user = nipap ; database username
  26. db_pass = xxxxx ; database password
  27. db_sslmode = require ; database SSL mode
  28.  
  29. #
  30. # Options regarding the authentication backend
  31. # --------------------------------------------
  32. [auth]
  33. default_backend = ldap ; which backend to use by default
  34. auth_cache_timeout = 3600 ; seconds cached auth entries are stored
  35.  
  36. # example backend with SQLite
  37. [auth.backends.local]
  38. type = SqliteAuth
  39. db_path = /etc/nipap/local_auth.db ; path to SQLite database used
  40.  
  41.  
  42. #
  43. [auth.backends.ldap]
  44. type = LdapAuth
  45. basedn = DC=INTERN,DC=COMPANY,DC=NET ; base DN
  46. uri = ldap://dc01.intern.company.net ; LDAP server URI
  47. #tls = False ; initiate TLS, use ldap://
  48.  
  49. search_binddn = uid=readonly,DC=INTERN,DC=COMPANY,DC=NET
  50. search_password = S3Cr3T
  51.  
  52.  
  53. # Active Directory (UPN) style
  54. binddn_fmt = {}@INTERN.COMPANY.NET
  55. search = sAMAccountName={}
  56.  
  57. #rw_group = CN=nipap_rw,DC=INTERN,DC=COMPANY,DC=NET ; Users in this group get rw access
  58. #ro_group = CN=nipap_ro,DC=INTERN,DC=COMPANY,DC=NET ; Users in this group get ro access
  59.  
  60. # Options for the WWW UI
  61. # ----------------------
  62. #
  63. [www]
  64. xmlrpc_uri = http://nipap-www@local:S3Cr3T@127.0.0.1:1337
  65. welcome_message = Welcome to NIPAP at COMPANY. Please login using your AD credentials.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement