aboutsummaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2007-11-27 14:06:44 +0000
committerBadlop <badlop@process-one.net>2007-11-27 14:06:44 +0000
commitb4997bc20cc558352abb5ae3bca803b57abe90ff (patch)
treeddf490b244c65fcf8a1ecb2a4be584a72714c8c3 /doc/guide.tex
parent* src/mod_muc/mod_muc_room.erl: Don't show the room name as the room descript... (diff)
* src/mod_vcard.erl: Ensure mod_vcard to respect FORM_TYPE registry (EJAB-328).
* src/mod_vcard_ldap.erl: Likewise. * src/mod_vcard_odbc.erl: Likewise. * doc/guide.tex: Updated documentation. SVN Revision: 990
Diffstat (limited to 'doc/guide.tex')
-rw-r--r--doc/guide.tex24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index e828f5a38..f9a7a65b3 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -2998,10 +2998,10 @@ consists of the following \modvcardldap{}-specific options:
\term{"\%u"} will be replaced with the user part of a JID, and \term{"\%d"}
will be replaced with the domain part of a JID. The default is:
\begin{verbatim}
- [{"NICKNAME", "%u", []},
+ [{"NICK", "%u", []},
{"FN", "%s", ["displayName"]},
- {"FAMILY", "%s", ["sn"]},
- {"GIVEN", "%s", ["givenName"]},
+ {"LAST", "%s", ["sn"]},
+ {"FIRST", "%s", ["givenName"]},
{"MIDDLE", "%s", ["initials"]},
{"ORGNAME", "%s", ["o"]},
{"ORGUNIT", "%s", ["ou"]},
@@ -3048,10 +3048,10 @@ consists of the following \modvcardldap{}-specific options:
is:
\begin{verbatim}
[{"Full Name", "FN"},
- {"Given Name", "GIVEN"},
+ {"Given Name", "FIRST"},
{"Middle Name", "MIDDLE"},
- {"Family Name", "FAMILY"},
- {"Nickname", "NICKNAME"},
+ {"Family Name", "LAST"},
+ {"Nickname", "NICK"},
{"Birthday", "BDAY"},
{"Country", "CTRY"},
{"City", "LOCALITY"},
@@ -3106,9 +3106,9 @@ Also we want users to search each other. Let's see how we can set it up:
{ldap_filter, ""},
%% Now we want to define vCard pattern
{ldap_vcard_map,
- [{"NICKNAME", "%u", []}, % just use user's part of JID as his nickname
- {"GIVEN", "%s", ["givenName"]},
- {"FAMILY", "%s", ["sn"]},
+ [{"NICK", "%u", []}, % just use user's part of JID as his nickname
+ {"FIRST", "%s", ["givenName"]},
+ {"LAST", "%s", ["sn"]},
{"FN", "%s, %s", ["sn", "givenName"]}, % example: "Smith, John"
{"EMAIL", "%s", ["mail"]},
{"BDAY", "%s", ["birthDay"]}]},
@@ -3123,7 +3123,7 @@ Also we want users to search each other. Let's see how we can set it up:
%% Note that JID is always returned with search results
{ldap_search_reported,
[{"Full Name", "FN"},
- {"Nickname", "NICKNAME"},
+ {"Nickname", "NICK"},
{"Birthday", "BDAY"}]}
]}
...
@@ -3136,7 +3136,7 @@ searching his info in LDAP.
\item \term{ldap\_vcard\_map} example:
\begin{verbatim}
{ldap_vcard_map,
- [{"NICKNAME", "%u", []},
+ [{"NICK", "%u", []},
{"FN", "%s", ["displayName"]},
{"CTRY", "Russia", []},
{"EMAIL", "%u@%d", []},
@@ -3157,7 +3157,7 @@ searching his info in LDAP.
[{"Full Name", "FN"},
{"Email", "EMAIL"},
{"Birthday", "BDAY"},
- {"Nickname", "NICKNAME"}
+ {"Nickname", "NICK"}
]},
\end{verbatim}
\end{itemize}