blob: c081d2b8058781239e542bb4190e82d971313a90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
# BEGIN COPYRIGHT BLOCK
# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
#
################################################################################
#
# $Id: dsgwsearchprefs.conf,v 1.2 2005/03/22 18:45:47 nkinder Exp $
#
# AUTHOR:
#
# SYNOPSIS:
# Search preference configuration file.
#
# HISTORY:
# 10-Oct-1997 Leif Put Phonebook under CVS control.
#
################################################################################
################################################################################
# dsgwsearchprefs.conf - directory server gateway search object definitions
# the current version of this file format is 1
#
Version 1
################################################################################
#
# Name for this search object
People
################################################################################
# options (the only one supported right now is "internal" which means that
# this search object should not be presented directly to the user)
# use "" for none
#
""
################################################################################
# Label to place before text box user types in
#
"Search For:"
################################################################################
# Filter prefix to append to all searches
#
"(&(|(objectClass=Person)(objectClass=inetOrgPerson)(objectClass=organizationalUnit)(objectClass=Room))"
################################################################################
# Tag to use for "Fewer Choices" searches - from ldapfilter.conf file
#
"dsgw-people"
################################################################################
# If a search results in > 1 match, retrieve this attribute to help
# user disambiguate the entries...
#
not-used-by-dsgw
################################################################################
# ...and label it with this string:
#
not-used-by-dsgw
################################################################################
# Search scope to use when searching
#
subtree
################################################################################
# Follows a list of "More Choices" search options. Format is:
# Label, attribute, select-bitmap, extra attr display name, extra attr ldap name
# If last two are null, "Fewer Choices" name/attributes used
#
"full name" cn 111111 "" ""
"last name" sn 111111 "" ""
"phone number" "telephoneNumber" 111011 "" ""
"e-mail address" "mail" 111111 "" ""
"user id" "uid" 111111 "" ""
"title" title 111111 "" ""
END
# Match types
"is" "(%a=%v))"
"is not" "(!(%a=%v)))"
"sounds like" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END
################################################################################
# Authentication search configuration, used when editing an entry.
#
Auth
internal
"Authenticate As:"
"(&(objectClass=person)"
"dsgw-auth"
not-used-by-dsgw
not-used-by-dsgw
subtree
"common name" cn 111111 "" ""
"surname" sn 111111 "" ""
"phone number" "telephoneNumber" 111011 "" ""
"e-mail address" "mail" 111111 "" ""
"user id" "uid" 111111 "" ""
"title" title 111111 "" ""
END
"is" "(%a=%v))"
"is not" "(!(%a=%v)))"
"sounds like" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END
|