Top-Themen

AppleEntwicklungHardwareInternetLinuxMicrosoftMultimediaNetzwerkeOff TopicSicherheitSonstige SystemeVirtualisierungWeiterbildungZusammenarbeit

Aktuelle Themen

Administrator.de FeedbackApache ServerAppleAssemblerAudioAusbildungAuslandBackupBasicBatch & ShellBenchmarksBibliotheken & ToolkitsBlogsCloud-DiensteClusterCMSCPU, RAM, MainboardsCSSC und C++DatenbankenDatenschutzDebianDigitiales FernsehenDNSDrucker und ScannerDSL, VDSLE-BooksE-BusinessE-MailEntwicklungErkennung und -AbwehrExchange ServerFestplatten, SSD, RaidFirewallFlatratesGoogle AndroidGrafikGrafikkarten & MonitoreGroupwareHardwareHosting & HousingHTMLHumor (lol)Hyper-VIconsIDE & EditorenInformationsdiensteInstallationInstant MessagingInternetInternet DomäneniOSISDN & AnaloganschlüsseiTunesJavaJavaScriptKiXtartKVMLAN, WAN, WirelessLinuxLinux DesktopLinux NetzwerkLinux ToolsLinux UserverwaltungLizenzierungMac OS XMicrosoftMicrosoft OfficeMikroTik RouterOSMonitoringMultimediaMultimedia & ZubehörNetzwerkeNetzwerkgrundlagenNetzwerkmanagementNetzwerkprotokolleNotebook & ZubehörNovell NetwareOff TopicOpenOffice, LibreOfficeOutlook & MailPapierkorbPascal und DelphiPeripheriegerätePerlPHPPythonRechtliche FragenRedHat, CentOS, FedoraRouter & RoutingSambaSAN, NAS, DASSchriftartenSchulung & TrainingSEOServerServer-HardwareSicherheitSicherheits-ToolsSicherheitsgrundlagenSolarisSonstige SystemeSoziale NetzwerkeSpeicherkartenStudentenjobs & PraktikumSuche ProjektpartnerSuseSwitche und HubsTipps & TricksTK-Netze & GeräteUbuntuUMTS, EDGE & GPRSUtilitiesVB for ApplicationsVerschlüsselung & ZertifikateVideo & StreamingViren und TrojanerVirtualisierungVisual StudioVmwareVoice over IPWebbrowserWebentwicklungWeiterbildungWindows 7Windows 8Windows 10Windows InstallationWindows MobileWindows NetzwerkWindows ServerWindows SystemdateienWindows ToolsWindows UpdateWindows UserverwaltungWindows VistaWindows XPXenserverXMLZusammenarbeit

CURL und JANA-Server

Frage Linux Linux Tools

Mitglied: ceng.de

ceng.de (Level 1) - Jetzt verbinden

26.09.2011, aktualisiert 15:47 Uhr, 2264 Aufrufe

Ich kämpfe gerade mit dem Windows E-Mail Server "JANA".

Mein Ziel ist es, Benutzer in diesem Server anzulegen. Problem: Der Server verwaltet seine Benutzer in einer nicht direkt bearbeitbaren Datenbank, sondern über den implementierten Webserver und dessen Weboberfläche.

Im Jana Forum konnte ich bisher keine Hilfe bekommen...

Ich versuche gerade, die Benutzer über die Webseite und Curl anzulegen. Allerdings bekomme ich die Formularfelder nicht richtig angezeigt.

Ich gebe folgendes ein:

01.
curl.exe https://127.0.0.1:2506/jana-admin/admin.dll?load=admin/email_users_einfach_anlegen -k 
02.
 
03.
curl.exe -F "t1=curltest" -F "t6=pop.foobar.de" -F "d1=Sofort" -F "t8=smtp.foobar.de" -F "d2=keine" https://127.0.0.1:2506/jana-admin/admin.dll?load=admin/email_users_einfach_anlegen -k
und bekomme folgende Rückmeldung
01.
D:\Serverprogramme\jana2\admin\moximo>curl.exe https://127.0.0.1:2506/jana-admin/admin.dll?load=admin/email_users_einfach_anlegen -k  
02.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
03.
<html> 
04.
<head> 
05.
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 
06.
<meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT"> 
07.
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate"> 
08.
<meta http-equiv="Cache-Control" content="pre-check=0, post-check=0, max-age=0"> 
09.
<meta http-equiv="Pragma" content="no-cache"> 
10.
<title>Jana-Server</title> 
11.
 
12.
<link rel="shortcut icon" href="/jana-admin/favicon.ico"> 
13.
<link rel="stylesheet" href="/jana-admin/jana_skin/css/main.css" type="text/css"> 
14.
<script language="JavaScript" src="/jana-admin/sitetext/sitetxt.js" type="text/javascript"></script> 
15.
<script language="JavaScript" src="/jana-admin/seiten_js/pwftxt.js" type="text/javascript"></script> 
16.
 
17.
<script language="JavaScript" type="text/javascript"> 
18.
<!-- 
19.
var min_laenge = "4"; 
20.
//--> 
21.
</script> 
22.
 
23.
<script language="JavaScript" src="/jana-admin/pruefen_js/email_users_einfach_anlegen.js" type="text/javascript"></script> 
24.
 
25.
</head> 
26.
<body onload="pwfeld(); feld_disabled();"> 
27.
 
28.
<form name="dummy"> 
29.
  <input name="EmailAdmin" type="hidden" value='carsten.engel@ceng.de'> 
30.
  <input name="IsEmailAdmin" type="hidden" value='1'> 
31.
</form> 
32.
 
33.
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%"> 
34.
  <tr> 
35.
    <td align="center"> 
36.
 
37.
      <script language="JavaScript" src="/jana-admin/jana_skin/js/tab_oben.js" type="text/javascript"></script> 
38.
 
39.
<!-- ** Titel Anfang ** //--> 
40.
 
41.
      <script language="JavaScript" type="text/javascript"> 
42.
      <!-- 
43.
      document.write(txt[47][0] + txt[4][1]); 
44.
      //--> 
45.
      </script> 
46.
 
47.
<!-- ** Titel Ende ** //--> 
48.
 
49.
      <script language="JavaScript" src="/jana-admin/jana_skin/js/tab_oben_2-1.js" type="text/javascript"></script> 
50.
 
51.
<!-- ** Inhalt Anfang ** //--> 
52.
 
53.
      <table border="0" cellspacing="0" cellpadding="1" width="520"> 
54.
        <tr> 
55.
          <td class="inhalt"> 
56.
 
57.
            <table border="0" cellspacing="1" cellpadding="10" width="100%"> 
58.
              <tr class="tr"> 
59.
                <td><a href="javascript:parent.menu.fenster('/jana-admin/admin/help/users.htm', 540);" onfocus="this.blur();"><script language="JavaScript" type="text/javascript"> 
60.
                <!-- 
61.
                document.write(txt[0][12]); 
62.
                //--> 
63.
                </script></a></td> 
64.
              </tr> 
65.
            </table> 
66.
 
67.
          </td> 
68.
        </tr> 
69.
        <tr> 
70.
          <td><img src="/jana-admin/images/leer.gif" border="0" width="1" height="15" alt=""></td> 
71.
        </tr> 
72.
        <tr> 
73.
          <td class="inhalt"><form name="formular" action="/jana-admin/admin.dll" method="post" onsubmit="return pruefen();"> 
74.
            <input name="form" type="hidden" value ="admin/email_users_einfach_anlegen"> 
75.
            <input name="org" type="hidden" value=''> 
76.
            <input name="orgPop3" type="hidden" value=''> 
77.
            <input name="orgSmtp" type="hidden" value=''> 
78.
            <input name="OnOff" type="hidden" value=''> 
79.
            <input name="SpamOnOff" type="hidden" value=''> 
80.
            <input name="PopSsl" type="hidden" value=''> 
81.
            <input name="SmtpSsl" type="hidden" value=''> 
82.
            <input name="SendLocal" type="hidden" value=''> 
83.
            <input name="PrgCall" type="hidden" value=''> 
84.
            <input name="LineCmd" type="hidden" value=''> 
85.
            <input name="DellAfterCall" type="hidden" value=''> 
86.
            <input name="RunAutoResp" type="hidden" value=''> 
87.
            <input name="NoCramMd5" type="hidden" value=''> 
88.
            <input name="PopAuth" type="hidden" value=''> 
89.
            <input name="DellAfterCallIf" type="hidden" value=''> 
90.
            <input name="ExitCodeOfCall" type="hidden" value=''> 
91.
 
92.
            <table border="0" cellspacing="1" cellpadding="5" width="100%"> 
93.
              <script language="JavaScript" type="text/javascript"> 
94.
              <!-- 
95.
              with (document) 
96.
97.
                  write('<tr class="tr">' 
98.
                      + '  <td width="60%">' + txt[47][2] + ':</td>' 
99.
                      + "  <td width='40%'><input class='inp' name='T1' type='text' size='35' value=''></td>" 
100.
                      + '</tr>' 
101.
 
102.
                      + '<tr class="tr">' 
103.
                      + '  <td>' + txt[48][1] + ':</td>' 
104.
                      + "  <td><input class='inp' name='T5' type='text' size='35' value=''></td>" 
105.
                      + '</tr>' 
106.
 
107.
                      + '<tr class="tr">' 
108.
                      + '  <td>' + txt[48][2] + ':</td>' 
109.
                      + '  <td>' + pwf[2] + '"><br><a href="javascript:pass(\'T2\', min_laenge);" onfocus="this.blur();">&raquo; ' + txt[74][0] + ' &laquo;</a></td>' 
110.
                      + '</tr>'); 
111.
112.
              //--> 
113.
              </script> 
114.
            </table> 
115.
 
116.
          </td> 
117.
        </tr> 
118.
      </table> 
119.
 
120.
<!-- ** Inhalt Ende ** //--> 
121.
 
122.
      <script language="JavaScript" src="/jana-admin/jana_skin/js/tab_mitte_2-2.js" type="text/javascript"></script> 
123.
 
124.
<!-- ** Inhalt Anfang ** //--> 
125.
 
126.
      <table border="0" cellspacing="0" cellpadding="1" width="100%"> 
127.
        <tr> 
128.
          <td class="inhalt"> 
129.
 
130.
            <table border="0" cellspacing="1" cellpadding="5" width="100%"> 
131.
              <script language="JavaScript" type="text/javascript"> 
132.
              <!-- 
133.
              with (document) 
134.
135.
                  write('<tr class="tr">' 
136.
                      + '  <td width="60%">' + txt[43][4] + ':</td>' 
137.
                      + "  <td width='40%'><input class='inp' name='T6' type='text' size='35' value=''></td>" 
138.
                      + '</tr>' 
139.
 
140.
                      + '<tr class="tr">' 
141.
                      + '  <td>' + txt[43][5] + ':</td>' 
142.
                      + "  <td><input class='inp' name='T7' type='text' size='35' value=''></td>" 
143.
                      + '</tr>' 
144.
 
145.
                      + '<tr class="tr">' 
146.
                      + '  <td>' + txt[27][2] + ':</td>' 
147.
                      + '  <td>' + pwf[3] + '"></td>' 
148.
                      + '</tr>' 
149.
 
150.
                      + '<tr class="tr">' 
151.
                      + '  <td>' + txt[44][1] + ':</td>'); 
152.
153.
              //--> 
154.
              </script> 
155.
                <td><select name="D1" size="1"> 
156.
                  <option value="-1" selected>Sofort</option> 
157.
                  <option value="0">Nie</option> 
158.
                  <option value="1">nach 24 Std.</option> 
159.
                  <option value="2">nach 2 Tagen</option> 
160.
                  <option value="3">nach 3 Tagen</option> 
161.
                  <option value="4">nach 4 Tagen</option> 
162.
                  <option value="5">nach 5 Tagen</option> 
163.
                  <option value="6">nach 6 Tagen</option> 
164.
                  <option value="7">nach 7 Tagen</option> 
165.
                  <option value="8">nach 8 Tagen</option> 
166.
                  <option value="9">nach 9 Tagen</option> 
167.
                  <option value="10">nach 10 Tagen</option> 
168.
                  <option value="11">nach 11 Tagen</option> 
169.
                  <option value="12">nach 12 Tagen</option> 
170.
                  <option value="13">nach 13 Tagen</option> 
171.
                  <option value="14">nach 14 Tagen</option> 
172.
                  <option value="15">nach 15 Tagen</option> 
173.
                  <option value="16">nach 16 Tagen</option> 
174.
                  <option value="17">nach 17 Tagen</option> 
175.
                  <option value="18">nach 18 Tagen</option> 
176.
                  <option value="19">nach 19 Tagen</option> 
177.
                  <option value="20">nach 20 Tagen</option> 
178.
                  <option value="21">nach 21 Tagen</option> 
179.
                  <option value="22">nach 22 Tagen</option> 
180.
                  <option value="23">nach 23 Tagen</option> 
181.
                  <option value="24">nach 24 Tagen</option> 
182.
                  <option value="25">nach 25 Tagen</option> 
183.
                  <option value="26">nach 26 Tagen</option> 
184.
                  <option value="27">nach 27 Tagen</option> 
185.
                  <option value="28">nach 28 Tagen</option> 
186.
                  <option value="29">nach 29 Tagen</option> 
187.
                  <option value="30">nach 30 Tagen</option> 
188.
                  <option value="31">nach 31 Tagen</option> 
189.
                </select></td> 
190.
              </tr> 
191.
            </table> 
192.
 
193.
          </td> 
194.
        </tr> 
195.
      </table> 
196.
 
197.
<!-- ** Inhalt Ende ** //--> 
198.
 
199.
      <script language="JavaScript" src="/jana-admin/jana_skin/js/tab_mitte_2-4.js" type="text/javascript"></script> 
200.
 
201.
<!-- ** Inhalt Anfang ** //--> 
202.
 
203.
      <table border="0" cellspacing="0" cellpadding="1" width="100%"> 
204.
        <tr> 
205.
          <td class="inhalt"> 
206.
 
207.
            <table border="0" cellspacing="1" cellpadding="5" width="100%"> 
208.
              <script language="JavaScript" type="text/javascript"> 
209.
              <!-- 
210.
              with (document) { 
211.
 
212.
                  write('<tr class="tr">' 
213.
                      + '  <td width="60%">' + txt[45][1] + ':</td>' 
214.
                      + "  <td width='40%'><input class='inp' name='T8' type='text' size='35' value=''></td>" 
215.
                      + '</tr>' 
216.
 
217.
                      + '<tr class="tr">' 
218.
                      + '  <td>' + txt[45][2] + ':</td>'); 
219.
220.
              //--> 
221.
              </script> 
222.
                <td><select name="D2" size="1" onchange="feld_disabled();"> 
223.
                  <option value="0" selected>Keine</option> 
224.
                  <option value="1">Pop vor Smtp</option> 
225.
                  <option value="2">Username / Passwort</option> 
226.
                </select></td> 
227.
              </tr> 
228.
            </table> 
229.
 
230.
          </td> 
231.
        </tr> 
232.
        <tr> 
233.
          <td><img src="/jana-admin/images/leer.gif" border="0" width="1" height="15" alt=""></td> 
234.
        </tr> 
235.
        <tr> 
236.
          <td class="inhalt"> 
237.
 
238.
            <table border="0" cellspacing="1" cellpadding="5" width="100%"> 
239.
              <tr class="tr"> 
240.
                <td width="10%"><input class="inp" name="T9" type="text" size="3" value='' maxlength="2"></td> 
241.
                <td width="90%"><p align="justify"><script language="JavaScript" type="text/javascript"> 
242.
                <!-- 
243.
                document.write(txt[46][3]); 
244.
                //--> 
245.
                </script></p></td> 
246.
              </tr> 
247.
            </table> 
248.
 
249.
          </td> 
250.
        </tr> 
251.
        <tr> 
252.
          <td><img src="/jana-admin/images/leer.gif" border="0" width="1" height="15" alt=""></td> 
253.
        </tr> 
254.
        <tr> 
255.
          <td class="inhalt"> 
256.
 
257.
            <table border="0" cellspacing="1" cellpadding="5" width="100%"> 
258.
              <script language="JavaScript" type="text/javascript"> 
259.
              <!-- 
260.
              with (document) 
261.
262.
                  write('<tr class="tr">' 
263.
                      + '  <td width="60%">' + txt[46][5] + ':</td>' 
264.
                      + "  <td width='40%'><input class='inp' name='T10' type='text' size='30' value=''></td>" 
265.
                      + '</tr>' 
266.
 
267.
                      + '<tr class="tr">' 
268.
                      + '  <td>' + txt[46][6] + ':</td>' 
269.
                      + '  <td>' + pwf[4] + '"></td>' 
270.
                      + '</tr>'); 
271.
272.
              //--> 
273.
              </script> 
274.
            </table> 
275.
 
276.
            <input name="aftersubmit" type="hidden" value ="admin/email_users_einfach"> 
277.
          </form></td> 
278.
        </tr> 
279.
      </table> 
280.
 
281.
<!-- ** Inhalt Ende ** //--> 
282.
 
283.
      <script language="JavaScript" src="/jana-admin/jana_skin/js/tab_unten_2-1.js" type="text/javascript"></script> 
284.
 
285.
<!-- ** Button Anfang ** //--> 
286.
 
287.
      <table border="0" cellspacing="0" cellpadding="0" width="100%"> 
288.
        <tr> 
289.
          <td align="center" width="30%"> 
290.
 
291.
            <table border="0" cellspacing="0" cellpadding="0" width="1"> 
292.
              <tr> 
293.
                <td width="1"><img src="/jana-admin/jana_skin/images/button_1.gif" border="0" width="15" height="30" alt=""></td> 
294.
                <td class="but" nowrap><a href="/jana-admin/admin.dll?load=admin/email_users_einfach" onfocus="this.blur();"><script language="JavaScript" type="text/javascript"> 
295.
                <!-- 
296.
                document.write(txt[0][3]); 
297.
                //--> 
298.
                </script></a></td> 
299.
                <td width="1"><img src="/jana-admin/jana_skin/images/button_2.gif" border="0" width="15" height="30" alt=""></td> 
300.
              </tr> 
301.
            </table> 
302.
 
303.
          </td> 
304.
          <td align="center" width="35%"> 
305.
 
306.
            <table border="0" cellspacing="0" cellpadding="0" width="1"> 
307.
              <tr> 
308.
                <td width="1"><img src="/jana-admin/jana_skin/images/button_1.gif" border="0" width="15" height="30" alt=""></td> 
309.
                <td class="but" nowrap><a href="javascript:send();" onfocus="this.blur();"><script language="JavaScript" type="text/javascript"> 
310.
                <!-- 
311.
                document.write(txt[0][5]); 
312.
                //--> 
313.
                </script></a></td> 
314.
                <td width="1"><img src="/jana-admin/jana_skin/images/button_2.gif" border="0" width="15" height="30" alt=""></td> 
315.
              </tr> 
316.
            </table> 
317.
 
318.
          </td> 
319.
          <td align="center" width="35%"> 
320.
 
321.
            <table border="0" cellspacing="0" cellpadding="0" width="1"> 
322.
              <tr> 
323.
                <td width="1"><img src="/jana-admin/jana_skin/images/button_1.gif" border="0" width="15" height="30" alt=""></td> 
324.
                <td class="but" nowrap><a href="javascript:document.formular.reset(); feld_disabled();" onclick="setTimeout('pwfeld();', 200);" onfocus="this.blur();"><script language="JavaScript" type="text/javascript"> 
325.
                <!-- 
326.
                document.write(txt[0][6]); 
327.
                //--> 
328.
                </script></a></td> 
329.
                <td width="1"><img src="/jana-admin/jana_skin/images/button_2.gif" border="0" width="15" height="30" alt=""></td> 
330.
              </tr> 
331.
            </table> 
332.
 
333.
          </td> 
334.
        </tr> 
335.
      </table> 
336.
 
337.
<!-- ** Button Ende ** //--> 
338.
 
339.
      <script language="JavaScript" src="/jana-admin/jana_skin/js/tab_unten.js" type="text/javascript"></script> 
340.
 
341.
    </td> 
342.
  </tr> 
343.
</table> 
344.
 
345.
</body> 
346.
</html> 
347.
 
348.
D:\Serverprogramme\jana2\admin\moximo>curl.exe -F "t1=curltest" -F "t6=pop.foobar.de" -F "d1=Sofort" -F "t8=smtp.foobar.de" -F "d2=keine" https://127.0.0.1:2506/jana-admin/admin.dll?load=admin/email_users_einfach_anlegen -k  
349.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
350.
<html> 
351.
<head> 
352.
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 
353.
<meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT"> 
354.
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate"> 
355.
<meta http-equiv="Cache-Control" content="pre-check=0, post-check=0, max-age=0"> 
356.
<meta http-equiv="Pragma" content="no-cache"> 
357.
<title>Jana-Server</title> 
358.
 
359.
<link rel="shortcut icon" href="/jana-admin/favicon.ico"> 
360.
<link rel="stylesheet" href="/jana-admin/jana_skin/css/main.css" type="text/css"> 
361.
 
362.
<script language="JavaScript" type="text/javascript"> 
363.
<!-- 
364.
self.location.replace('/jana-admin/admin.dll?load='); 
365.
//--> 
366.
</script> 
367.
 
368.
</head> 
369.
<body> 
370.
 
371.
</body> 
372.
</html>


Kann mir jemand sagen, ob ich auf dem richtigen Weg bin? Wie kann ich besser vorgehen? Wie komme ich an die richtigen Informationen, die das Webfrontend benötigt...

Fragen über Fragen... Vielleicht könnt ihr mir helfen...

Liebe Grüße
CENG
Neuester Wissensbeitrag
Ähnliche Inhalte
Linux Tools
CURL mehrere Dateien vom ftp-Server herunterladen (10)

Frage von highpriest zum Thema Linux Tools ...

Windows Server
Server 2008R2 startet nicht mehr (Bad Patch 0xa) (16)

Frage von Haures zum Thema Windows Server ...

LAN, WAN, Wireless
Server erkennt Client nicht wenn er ausserhalb des DHCP Pools liegt (13)

Frage von Mar-west zum Thema LAN, WAN, Wireless ...

Windows Server
Windows Server 2012 R2 Benutzerkonto für Zugriff auf AD Benutzer (1)

Frage von JulianOhm zum Thema Windows Server ...

Heiß diskutierte Inhalte
Windows Userverwaltung
Ausgeschiedene Mitarbeiter im Unternehmen - was tun mit den AD Konten? (33)

Frage von patz223 zum Thema Windows Userverwaltung ...

LAN, WAN, Wireless
FritzBox, zwei Server, verschiedene Netze (21)

Frage von DavidGl zum Thema LAN, WAN, Wireless ...

Viren und Trojaner
Aufgepasst: Neue Ransomware Goldeneye verbreitet sich rasant (20)

Link von Penny.Cilin zum Thema Viren und Trojaner ...

Windows Netzwerk
Windows 10 RDP geht nicht (18)

Frage von Fiasko zum Thema Windows Netzwerk ...