*/ // customize this to your needs $default_container = "ou=Addresses"; // Common to all templates $container = $_POST['container']; $server_id = $_POST['server_id']; // Unique to this template $step = isset( $_POST['step'] ) ? $_POST['step'] : 1; check_server_id( $server_id ) or pla_error( "Bad server_id: " . htmlspecialchars( $server_id ) ); have_auth_info( $server_id ) or pla_error( "Not enough information to login to server. Please check your configuration." ); /** * Data definition incl. group names */ $arDataDef = array( 'name' => array( 'givenName' => 'Given name', 'sn' => 'Last name', 'cn' => 'Common name', 'mozillanickname' => 'mozillaNickname' ), 'internet' => array( 'mail' => 'Email', 'mozillaSecondEmail' => 'Second email', // 'mozilla_AimScreenName' => 'Screen name', // 'mozillausehtmlmail' => 'Use HTML mail' ), 'Phones' => array( 'telephoneNumber' => 'Work', 'homePhone' => 'Home', 'facsimileTelephoneNumber' => 'Fax', 'pager' => 'Pager', 'mobile' => 'Mobile' ), 'Home address' => array( 'homePostalAddress' => 'Address', 'mozillaHomePostalAddress2' => 'Address 2', 'mozillaHomeLocalityName' => 'City', 'mozillaHomeState' => 'State', 'mozillaHomePostalCode' => 'ZIP', // 'mozillaHomeFriendlyCountryName' => 'friendly Country', 'mozillaHomeCountryName' => 'Country', 'mozillaHomeUrl' => 'Web page' ), 'Work address' => array( 'title' => 'Title', 'ou' => 'Department', 'o' => 'Organization', 'postalAddress' => 'Address', 'mozillaPostalAddress2' => 'Address 2', 'l' => 'City', 'st' => 'State/Province', 'postalCode' => 'ZIP', 'c' => 'Country', 'mozillaWorkUrl' => 'Web page' ), 'Other' => array( // 'custom1' => 'Custom 1', // 'custom2' => 'Custom 2', // 'custom3' => 'Custom 3', // 'custom4' => 'Custom 4', // 'description' => 'Notes' ) /**/ ); ?>