||PHP interface to OpenDirectory Framework
Justin Hannus <
jhannus at 128kb dot com >
||Open Directory is a directory service architecture whose programming
interface provides a centralized way for applications and services to retrieve
information stored in directories. The Open Directory architecture consists of
the DirectoryServices daemon, which receives Open Directory client API calls and
sends them to the appropriate Open Directory plug-in.
1. Some internal stuff has changed.
2. example.php has changed.
3. The following functions were added:
array ds_do_attribute_value_search(resource noderef, mixed rec_types, string attr_type, int match_type, string search)
array ds_get_record_attribute_info(resource dirref, resource rec_ref, string attr_type)
array ds_get_record_reference_info(resource dirref, resource rec_ref)
resource ds_open_dir_service_proxy(string host, int portno, string username, string passwd [, string auth_type_name])
4. Directory node authentication was fixed for 10.2 (which should be the same for 10.3)
NOTE: ds_create_record() is still buggy when used to create *AND* open a record (see last parameter).
For the time being use separate calls to ds_create_record() and ds_open_record() if you want to
use the record reference returned with set_record_[name|type] functions, unexpected results may happen.
This may be a limitation to the framework's dsCreateRecordAndOpen() routine. I'm still looking
into this. Consider this extension unstable as the function names, parameters and return values