Method Protocols.LDAP.client()->add()
- Method add
 intadd(stringdn,mapping(string:array(string))attrs)- Description
 The Add Operation allows a client to request the addition of an entry into the directory
- Parameter 
dn The Distinguished Name of the entry to be added.
- Parameter 
attrs The mapping of attributes and their values that make up the content of the entry being added. Values that are sent UTF-8 encoded according the the attribute syntaxes are encoded automatically.
- Returns
 Returns
1on success,0otherwise.- Note
 The API change: the returning code was changed in Pike 7.3+ to follow his logic better.