function ldapdata_schema_alter in LDAP integration 6
Implementation of hook_schema_alter().
Parameters
&$schema Nested array describing the schemas for all modules.:
File
- ./
ldapdata.module, line 1043 - ldapdata provides data maping against ldap server.
Code
function ldapdata_schema_alter($schema) {
$schema['ldapauth']['fields']['ldapdata_binddn'] = array(
'type' => 'varchar',
'length' => 255,
);
$schema['ldapauth']['fields']['ldapdata_bindpw'] = array(
'type' => 'varchar',
'length' => 255,
);
$schema['ldapauth']['fields']['ldapdata_rwattrs'] = array(
'type' => 'text',
'not null' => FALSE,
);
$schema['ldapauth']['fields']['ldapdata_roattrs'] = array(
'type' => 'text',
'not null' => FALSE,
);
$schema['ldapauth']['fields']['ldapdata_mappings'] = array(
'type' => 'text',
'not null' => FALSE,
);
$schema['ldapauth']['fields']['ldapdata_attrs'] = array(
'type' => 'text',
'not null' => FALSE,
);
$schema['ldapauth']['fields']['ldapdata_filter_php'] = array(
'type' => 'text',
'not null' => FALSE,
);
}