00001
00002 00003 00004 00005 00006 00007 00008 00009 00010 00011
00012 00013 00014 00015 00016 00017 00018
00019 #include "ldapconf_defs.h"
00020
00021 PUBLIC LDAPPROFILE::LDAPPROFILE ()
00022 {
00023 dn = "";
00024 pw = "";
00025 base = "";
00026 host = "";
00027 port="";
00028 }
00029
00030 00031 00032 00033
00034 PUBLIC void LDAPPROFILE::default_dialog()
00035 {
00036 DIALOG *dia = NULL;
00037 dia = new DIALOG;
00038 dia->newf_str (MSG_U(F_API_HOST,"Host"),host);
00039 dia->newf_str (MSG_U(F_API_PORT,"Port"),port);
00040 dia->newf_str (MSG_U(F_API_BASE,"Base"),base);
00041 dia->newf_str (MSG_U(F_API_DN,"DN"),dn);
00042 dia->newf_str (MSG_U(F_API_PW,"Password"),pw);
00043 FIELD_COMBO *scopelist = dia->newf_combo(MSG_U(F_API_SCOPE,"Scope"),scope);
00044 scopelist->addopt ("one");
00045 scopelist->addopt ("base");
00046 scopelist->addopt ("sub");
00047
00048 }
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064