etc/memcachedldap.conf
author Ryan Kelly <rfkelly@mozilla.com>
Thu, 24 May 2012 17:06:06 +1000
changeset 521 448e4500f2e4645c880960fa35bc851ab005122a
parent 517 85798b0a897ef1f64b9a387d3bb2db940abf367c
child 526 7eb157ce2da1c6485832ffaf6a39853dae269201
permissions -rw-r--r--
Bug 692355 - comment out nodes.fallback_node in example config files; r=telliott

#
# Captcha configuration for the user account creation
#
[captcha]

# if set to false, all operations will be done w/ captcha
use = true

# public and provate key for reCaptacha
public_key = 6Le8OLwSAAAAAK-wkjNPBtHD4Iv50moNFANIalJL
private_key = 6Le8OLwSAAAAAEKoqfc-DmoF4HNswD7RNdGwxRij

# if set to true, will use SSL when connection to recaptcha
use_ssl = false

[storage]

# backend used for the storage
backend = syncstorage.storage.memcachedsql.MemcachedSQLStorage

# memcached servers (multiple server allowed)
cache_servers = 127.0.0.1:11211

# uri for the DB. see RFC-1738
#   driver://username:password@host:port/database
#
# supported drivers: sqlite, postgres, oracle, mssql, mysql, firebird
#
sqluri = mysql://sync:sync@localhost/sync

# if set to true, the server will use hardcoded values for collections
standard_collections = false

# if set to false, users will not have any quota
use_quota = true

# quota size in KB
quota_size = 5120

# Define the size of the SQL connector pool
pool_size = 100

# time in ms to recycle a SQL connection that was closed
pool_recycle = 3600

[auth]
# backend used for the auth
backend = services.user.mozilla_ldap.LDAPUser

# location of the ldap server
ldapuri = ldap://localhost:390

# maximum time in secondes allowed for a LDAP query. -1 = no timeout
ldap_timeout =  -1

# if set to true, initiates a tls
use_tls = false

# user for common ldap operation
bind_user = "cn=admin,dc=mozilla"
bind_password = admin

# user with extended rights for write operations
admin_user = "cn=admin,dc=mozilla"
admin_password = admin

# root for all the users
# if set to "md5", will generate a specific location
# based on the hash of the user name so users are
# spread across several nodes.
#
# otherwise, all users will be under the same node
users_root = "ou=users,dc=mozilla"

# uri for the DB. see RFC-1738
#   driver://username:password@host:port/database
#
# supported drivers: sqlite, postgres, oracle, mssql, mysql, firebird
#
# SQL is used for the reset codes
sqluri = mysql://sync:sync@localhost/sync
pool_size = 100
pool_recycle = 3600

# cache server used by the ldap connector
cache_servers = 127.0.0.1:11211

[nodes]
# You must set this to your client-visible server URL.
# fallback_node = http://example.com/path/to/sync

#
# smpt host used to send e-mails
#
[smtp]
host = localhost
port = 25
sender = weave@mozilla.com

#
# CEF logger
#
[cef]
# if set to false, no CEF log will be emited
use = true

# where to log. can be a file or "syslog"
file = syslog

# CEF arguments for the logs - see CEF documentation
vendor = mozilla
version = 0
device_version = 1.3
product = weave

# extra options when syslog is used

# options: options for openlog  (comma separated values)
# Authorized values are: PID, CONS, NDELAY, NOWAIT, PERROR
# default to none
syslog.options = PID,CONS

# priority: priority for syslog calls
# Authorized value: EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG
# defaults to INFO
syslog.priority = DEBUG

# facility: logging facility used for syslog
# Authorized values: KERN, USER, MAIL, DAEMON, AUTH, LPR, NEWS, UUCP, CRON and LOCAL0 to LOCAL7
syslog.facility = USER