📄 ud.conf.5
字号:
.TH UD.CONF 5 "20 August 2000" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man5/ud.conf.5,v 1.3.8.2 2000/08/20 21:14:30 kurt Exp $.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..UC 6.SH NAMEud.conf \- ud configuration file.SH SYNOPSISETCDIR/ud.conf.SH DESCRIPTIONThe.I udconfiguration file is used to set system-wide defaults to be applied whenrunning.IR ud .Note that each user may specify an optional configuration file,.IR .udrc ,in his/her home directory which will be used instead of the system-wideconfiguration file..SH OPTIONSThe different configuration options are:.TP 1i\fBHOST <name>\fPUsed to specify the name of an LDAP server to which .I ud should connect. There may be only one entry per config file.The server's name can be specified as a domain-style name or an IP address..TP 1i\fBBASE <base>\fPUsed to specify the search base to use when performing search operations.The base may be changed by those using.I udby using the.I cbcommand.There may be only one entry per config file.The base must be specified as a Distinguished Name in LDAP format..TP 1i\fBGROUPBASE <base>\fPUsed to specify the base used when creating groups.The base may be changed by those using.I udby using the .I changegroupcommand.There may be only one entry per config file.The base must be specified as a Distinguished Name in LDAP format..TP 1i\fBSEARCH <algorithm>\fPUsed to specify a search algorithm to use when performing searches. More thanone algorithm may be specified, and each is tried in turn until a suitableresponse is found.Each algorithm specifies a filter that should be used when performing a findoperation. Filters contain LDAP-style attribute types (e.g., uid, cn,postalAddress)and operators to test for equality or approximate equality. Prefix operatorsmay also be used to specify AND, OR and NOT operations (see ldap(3) formore details on the filter format). Algorithms use acompile-time constant as a separator to use when parsing the input the userhas provided. This parsed input can then be referenced similarly to an.I awkprogram using symbols like $1, $2, and $0 for the entire batch of input.For example, the algoritm.I cn=$0causes.I udto perform a lookup on the entire string the user has typed, searching for anything where the commonName exactly matches the whole thing.Another example,.I sn~=$NFcauses.I udto do a search where the last element the user has typed (NF = number of fieldsand is a special "number" that can be used in.I awkas well as.IR ud )searching for any matches that approximately match Surname.Search algorithms also support a special feature which allows one to specifythe .I exactnumber of fields that must be present in order for the algorithm to beapplied. This number must be specified between square brackets.For example,.I [1] uid=$1causes this algorithm to be applied when the number of fields is exactly equalto one. If there is exactly one field, the token is looked up as a UID..SH FILES.I ETCDIR/ud.conf.SH "SEE ALSO"ud(1),ldap(3).SH AUTHORBryan Beecher, University of Michigan.SH ACKNOWLEDGEMENTS.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -