userdoc:tt_ldap_client

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
userdoc:tt_ldap_client [2013/11/18 08:17]
abelbeck [Phone LDAP Directory CLI Scripts]
userdoc:tt_ldap_client [2013/11/18 08:36]
abelbeck [Phone LDAP Directory CLI Scripts]
Line 107: Line 107:
       -o, --output-name list Comma separated list to display the name. Default: displayname,cn,sn,givenname       -o, --output-name list Comma separated list to display the name. Default: displayname,cn,sn,givenname
  
-The 'number' is matched as: ''(|(telephonenumber=$number)(mobile=$number)(cellphone=$number)(homephone=$number))''+By default the 'number' is matched as: ''(|(telephonenumber=$number)(mobile=$number)(cellphone=$number)(homephone=$number))''
  
 Standard output returns the first ''displayname/cn/sn/givenname'' that contains a matching number. Standard output returns the first ''displayname/cn/sn/givenname'' that contains a matching number.
  
 +Use the optional ''-m|--match-num list'' and ''-o|--output-name list'' options to limit and specify the order of the matching and output. 
 +\\ 
 +\\
 **ldap-phone-name-lookup** **ldap-phone-name-lookup**
  
Line 122: Line 124:
       -o, --output-num list  Comma separated list to display numbers. Default: telephonenumber,mobile,cellphone,homephone       -o, --output-num list  Comma separated list to display numbers. Default: telephonenumber,mobile,cellphone,homephone
  
-The 'name' is matched as: ''(|(cn=$name)(displayname=$name))''+By default the 'name' is matched as: ''(|(cn=$name)(displayname=$name))''
  
 Standard output returns (multiple) phone numbers separated by a tilde (~). Standard output returns (multiple) phone numbers separated by a tilde (~).
 +
 +Use the optional ''-m|--match-name list'' and ''-o|--output-num list'' options to limit and specify the order of the matching and output.
  
 ==== Asterisk Usage Examples ==== ==== Asterisk Usage Examples ====
  • userdoc/tt_ldap_client.txt
  • Last modified: 2013/11/18 08:37
  • by abelbeck