# HG changeset patch # User Rob Hoelz # Date 1355175246 -3600 # Node ID 7aaf5d8750a312143aeb1294516af30b78668f41 # Parent 6fed90021f3c66c28e59fe139eecaadfb958bad6 Filter out test record 'seven' diff -r 6fed90021f3c -r 7aaf5d8750a3 mod_lib_ldap/dev/prosody-posix-ldap.cfg.lua --- a/mod_lib_ldap/dev/prosody-posix-ldap.cfg.lua Mon Dec 10 22:33:07 2012 +0100 +++ b/mod_lib_ldap/dev/prosody-posix-ldap.cfg.lua Mon Dec 10 22:34:06 2012 +0100 @@ -8,10 +8,10 @@ bind_password = 'prosody', -- Bind password (optional if anonymous bind is supported) user = { - basedn = 'ou=Users,dc=example,dc=com', -- The base DN where user records can be found - filter = 'objectClass=posixAccount', -- Filter expression to find user records under basedn - usernamefield = 'uid', -- The field that contains the user's ID (this will be the username portion of the JID) - namefield = 'cn', -- The field that contains the user's full name (this will be the alias found in the roster) + basedn = 'ou=Users,dc=example,dc=com', -- The base DN where user records can be found + filter = '(&(objectClass=posixAccount)(!(uid=seven)))', -- Filter expression to find user records under basedn + usernamefield = 'uid', -- The field that contains the user's ID (this will be the username portion of the JID) + namefield = 'cn', -- The field that contains the user's full name (this will be the alias found in the roster) }, groups = {