Auto Logon with LDAP SSO

Hi All,
I am having EHP1 for NW 7.3 installed on windows 2008 R2 and I am trying to do SSO with ADS.
I am following the  steps as below :
1. Created administrator user user1 and disabled "Use Kerberos DES encryption type for this Account" and checked "Password never expire option"
2. setspn -a HTTP/javahost.mydomain.com user1
3. Logged into javahost:port/nwa
4. Generated Keytab file in Domain server:
ktab -a [email protected] -k keytab
5. Imported the keytab into the JAVA system :
http://javahost:port/spnego
Kerberos Realm--> edit --> Keys--> Update Keys -> uploading keytab file --> browse --> selected file and IMPORT --> Save.
6. Activate the REALM.
7. Adjusted the authentication stack:
EvaluateTicketLoginModule     SUFFICIENT
SPNegoLoginModule              OPTIONAL
CreateTicketLoginModule       SUFFICIENT
BasicPasswordLoginModule     REQUIRED
CreateTicketLoginModule       REQUIRED
-->Save.
8. Did the settings in the browser.When tried to open the URL http://<server>:<port>/XMII/Menu.jsp
I am getting a windows authentication message as in the attached screen shot (Windows_auth)
After that I can see the Logon page
I am able to Login through LDAP User credentials.
But how to by pass Logon page to directly go to Menu page?.
Is there any other settings to be done at Server or net weaver level to Auto Authenticate?

Hi All,
I tried some workarounds which helped to skip Login page.
But I it still prompts Windows security and "Upload Protected Area" boxes to enter credentials as shown in pictures.
Please Help out to resolve this Issue.
Regards,
Vinothkumar G.

Similar Messages

  • OBIEE with both SSO and LDAP

    I need to be able to run OBIEE using SSO with LDAP to 'reauthenticate' the user and then provide information as to which user groups they are in.
    The overall idea is that the user logs in to the 'system' as a whole and is then provided a hyperlink to OBIEE. Behind the scenes, the system login process will set a cookie holding the users name, thus allowing SSO to be used with OBIEE. When the user logs in, LDAP will then be used to determine which groups the user is a member of.
    I can get SSO working (on its own) and I can get LDAP authentication working (on its own), but when I try to combine the two I just get user authentication errors.
    I suspect that what is happening is that the OBIEE login process is passing the correct username to LDAP (i.e. the one from the cookie), but the IMPERSONATOR password rather than the user one (at this point OBIEE does not know the user password).
    Is there any way of getting around this? as far as I can tell the LDAP authentication mechanism requires both a username and password to be passed to it, but since we are using SSO, we only have the username.
    Note: is it not considered secure enough to hold the user password as a cookie or as part of a 'GO' URL, which is why we wish to use SSO.
    Many thanks,
    Chris

    We have the init block set up to login to LDAP and authenticate the user. The ID we use is not the user account that logged in to the BI Server, but an id we have that only has the ability to read users and groups.
    You probably need to also uncheck "required for authorization" in this init block, otherwise the impersonator account will not be able to authenticate.
    To get our group assignment we have a PL/SQL program that uses the ldap utils to connect to the ldap server and get the group membership and return it in a "GROUP" variable (row-wise) back to the BI Server.
    I'm a relative newbie to BIEE, so this may not be the best or most secure way, but it is working.

  • LDAP SSO to database in XI3.1

    Hi  All,
    We are using XI3.1 and trying to find a solution for configuring LDAP single sign on to database and have not been able to find any material on that matter.
    Is it possible to configure LDAP SSO to database (Oracle 11) natively? Or is there a third party tool like siteminder that can make that configuration work? Please let me know.
    Thanks,
    V

    It should work natively.
    In the CMC > Authentication > LDAP there is an option for propogate credentials at logon time. This option will cause LDAP users to have their username/pw cached in their user account (in fields called DBuser/DBpass). Then you must configure your reports to use these fields. If using reports based of universes you need to set the universe connection to use DB credentials, if crystal then it's a bit more complicated and you may need to log a case to get the instructions.
    If using SSO on the front end with siteminder or trusted auth then the LDAP propogate option will not work (it requires users to key in their user/pw).
    Regards,
    Tim

  • EDSPermissionError(-14120) problems with LDAP, SSL and Directory Utility

    Hello everyone,
    Apologies for the repost but I think I may have made a mistake by posting this originally in the Installation, Setup and Migration forum instead of the Open Directory forum. At least I think that may be why I didn't receive any responses.
    Anyway, I've been trying to get my head around Open Directory and SSL as they are implemented in Mac OS X Server 10.5 Leopard, and have been having a few issues. I would like to set up a secure internal infrastructure based around a local Certificate Authority that signs certificates for other internal services like LDAP, email, websites, etc.
    I only have one Mac OS X Server and it is kind of a small office so I have gone against best practice and simply made it a CA (through Keychain Utility). I then generated a self-signed SSL certificate through Server Admin, and used the "Generate CSR" option to create a Certificate Signing Request. This went fine, but I did have some problems signing it with the CA, because the server documentation suggested that once I signed it it would pop open a Mail message containing the ASCII version of the signed certificate - it did not, and it took me a loooong time to realize that I could simply export the copy of the signed certificate it put in my local Keychain on the server as a PEM file and paste this back into the "Add Signed or Renewed Certificate from Certificate Authority" dialog box in Server Admin. Hopefully this can be fixed in a forthcoming patch, but I thought I would mention it here in case anyone else is stuck on this issue.
    Once I did this I was able to use this certificate in the web server on the same machine and sure enough I was able to connect to it with with clients who had installed the CA certificate in their system Keychains without getting any error messages - very cool.
    However, I haven't had quite as much luck getting it going with LDAP/Open Directory. I installed the certificate there as well, but have run into a number of problems. At first I could not get clients (also running 10.5.2) to talk to the server at all over SSL, receiving an error in Directory Utility that the server did not support SSL. I eventually discovered that the problem seemed to lie in the fact that the OpenLDAP implementation on Leopard is not tied in with the system Keychain, necessitating some command-line voodoo to install a copy of the CA cert in a local directory and point /etc/openldap/ldap.conf at it, as documented here: http://www.afp548.com/article.php?story=20071203011158936
    This allowed me to do an ldapsearch command over SSL, and seemingly turn SSL on on clients that were previously bound to the directory, and additionally allowed me to run Directory Utility on new clients and put in the server name with the SSL box checked and begin to go through the process of binding. Once this seemed to work, I turned off all plaintext LDAP communication and locked down the service by checking the "Enable authenticated directory binding," "Require authenticated binding," "Disable clear text passwords," and "Encrypt all packets" options in Server Admin. However, I am now running into a new problem, specifically that I cannot successfully bind a local account to a directory account over SSL.
    Here's what happens:
    1) I run Directory Utility, (or it auto-runs) and add a server, typing in the DNS name and clicking the SSL box.
    2) I get asked to authenticate, and type in user credentials, including computer name (incidentally, should this be a FQDN or just a hostname?)
    3) Provided I put admin credentials in here and not user-level credentials, I get taken to the "Do you want to set up Mail, VPN, etc.?" box that normally appears when you autodiscover or connect to an Open Directory server.
    4) I click through, and am asked for a username and password on the server, as well as the password for my local account.
    5) When I put this information in, I get a popup with the dreaded "eDSPermissionError(-14120)" and it fails.
    Checking the logs in Server Admin reveals nothing special, and while I have seen a couple other threads on this error and various other binding problems:
    http://discussions.apple.com/thread.jspa?messageID=5967023
    http://discussions.apple.com/message.jspa?messageID=5982070
    these have not solved the problem. In the Open Directory user name field I am putting the short username. I have tried putting [email protected] and the user's longname but this fails by saying the account does not exist. For some reason it does seem to work if I bind it to the initial admin account I created, but no other user accounts.
    If I turn all the encryption stuff off I am able to join just fine, so I am suspecting that the error may lie in some other "under the hood" piece of software that doesn't get the CA trust settings from the Keychain or the ldap.conf file, but I'm stymied as to which piece of software this might be. Does anyone have any clues on what I might be able to do here?
    Thanks,
    Andrew

    Hard to tell what is happening without looking at the application
    source, knowing what OS & hardware you're using etc. You might want to
    try running with different JVM versions to see if it's actually the VM
    that is the problem. If you have a support contract with BEA you could
    ask support to help you diagnose this.
    Regards,
    /Helena
    Ayub Khan wrote:
    I have an application running on Weblogic 8.1 ( with JRockit as the JVM). This
    application in turns talks to an iPlanet Directory server via LDAP/SSL. The problem
    seems to happen on loading the machine..the performance progressively gets worse
    and after a couple of seconds, all the threads stop responding. I checked the
    heap, cpu and the idle threads in the execute queue and there is nothing there
    to trigger alarms...there are quite a few idle threads still and the heap and
    the cpu utilization seem OK. On doing a thread dump, Is see that all the other
    threads seem to be in a state where they are waiting for data from LDAP and it
    is basically read only data that they are waiting on.
    Does anyone know what it is going on and help point me in the right direction.
    -Ayub

  • Automatic upload of roles from ECC to portal (UME with LDAP)

    Hi experts,
    This thread reopen the question asked on the following message : automatic upload of roles from BI to portal
    However, it concerns this time "UME with LDAP".
    Problematic :
    SAP Library 04s tells us that is not yet possible to automate role replication (or role assigment replication) from ABAP Based back-end to Netweaver Portal. Only manual process for initial upload is possible.
    Source = http://help.sap.com/saphelp_nw04s/helpdata/en/41/5e4d40ecf00272e10000000a155106/frameset.htm
    Questions :
    1 - Did anyone ever try to implement such an automatic tool ?
    2 - What if I'm not able to write on the Active Directory ? I am still able, at least, to automate role assignment replication from ABAP Based back-end to Netweaver Portal (ie. UME with LDAP) ? Directly from SAP R/3 to EP through UME, without passing through Active Directory since the group field is not maintained in AD.
    Many thanks for your inputs
    Alexis MARTIN

    Hello,
    As I did not read the previous thread I don't know what exactly you are trying to achieve, but I can tell you about what we have done - as far as it is not too late yet.
    We use the portal with integration to a BI system. In the ABAP stack we have lots of roles with menu items for hundreds of reports. We want the users to see these roles in the portal.
    First we have used the role migration tool of the portal to upload these roles. There is a Java API for executing role uploads from code. You need to create a webservice in the java stack to call this api, and can call the webservice from ABAP.
    However it is just a question of time and role size until this will not work at all. Standard role migration is more or less crap, stability is a problem. It also creates a lot of logs in the PCD and thus fills the database with trash. (After a few OSS messages there is now a program for deleting logs + you can turn of logging.) Also upload of larger roles takes up to an hour, and you alwasy have the problem that your portal roles are not up to date during the day.
    When I got completely fed up, I have implemented an own navigation connector. When you log on to the portal it will connect to the ABAP stack via RFC, load the role, and generate the portal menu from it. It uses caching, but on every logon it checks whether the role has been updated in ABAP since the last time it was loaded. It is up to date, faster then PCD navigation, and you need absoluetely no periodical synching at all. I cant even understand why this is not offered by SAP per standard!
    Drawback is that it will of course only work for the menu items, and only menu items with an "URL-type" are supported. I'm prettry sure however that it would be possible to implement a few other types as well.
    Let me know if you are interested in the solution, I can give you a few additional details: oliverDOTsvisztATwienerbergerDOTcom
    Oliver

  • Configure BOE XI R3.1 with LDAP autentication

    Hi,
    I am trying to configure BO Enterprise XI R3.1 with LDAP autentication and receive this error at the end of procedure:
    "Si è verificato un errore all'interno del plug-in secLdap."
    ("An internal error has occured in the secLdap plugin.")
    We have our OpenLDAP deployed on the same machine where BO is deployed.
              LDAP Server Attribute Mappings
                   Object Class:           objectclass
                   Static Group:      
                   Static Group Member:      
                   Dynamic Group:      
                   Dynamic Group Filter:      
                   Group Description:      
                   User Object Class:      inetOrgPerson
                   User Name:           uid
                   User Full Name:      cn
                   User Email:           mail
                   User Description:      cn
              LDAP Default Search Attributes
                   Default Group Search Attribute:      cn
                   Default User Search Attribute:      uid
              Only with Admin credential, no SSL, no SSO.     
    any help appreciated,
    thanks
    SC

    openldap is not currently among our tested LDAP servers so I can't verify your LDAP options.
    You can packet scan the CMS when it is making LDAP queries and see from the response if it's the right value.
    That error also occurs on some version of Oracle CMS DB drivers. If you search our notes DB for ld_preload there is a posted solution for this. I don't have the number off hand
    Regards,
    Tim

  • Issue with LDAP sign in

    Hello experts,
    We have hooked up our BO application with LDAP in our company. In BOE configuration evry thing went fine. But, when the user from LDAP side tries to login into  BO it  is  not accepting their USER ID's indeed they are able to login with their full CN and DN names.
    Details..
    > users cannot login with their original id's.
    > but they are able to login with cn and dn names.
    I tried to change the settings of BO searching criteria in ldap groups. but i am not able to do that.
    anyone faced these kind of issue.. please help me guys. 
    Points will be assigned for every small clue.
    Thanks
    Prashanth

    The user search name is the value you should be looking at in the LDAP attributes, that's the one that it will send to LDAP on a logon attempt. If you changed this value after mapping a group, I'm not sure but you may have to remap the group to get the change.
    So on the LDAP side verify the user search attribute = the username you expect to login with (i.e. cn, samaccountname, uid, etc)
    Regards,
    Tim

  • Issue in Infoview Logon with AD Credentials

    Hi All,
    I have implemented AD Authentication in BOXI3.1 Environment.
    Kinit is working fine and Iam able to logon to Desktop Intelligence and Webi Rich Client without any issue.
    But iam facing issue when logging into Infoview. I can logon to Infoview with the [email protected], but not with Username without mentioning the Domain name.
    Previously there was spaces in my Username such as Test User and then I have renamed it to Test_User and tried but no luck. Getting the below error when i try to logon with Test_User.
    Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserName@DNS_DomainName, and then try again. (FWM 00006)
    Enter your user information and click Log On.
    (If you are unsure of your account information, contact your system administrator.)
    Please let me know what might be the issue causing this error.
    Regards,
    Deepika Palani

    Hi
    Click Start > All Programs > Tomcat > Tomcat Configuration.
    Click the Java tab.
    Edit the lines beginning Djava.security.auth. and Djava.security.krb5 to include bscLogin.conf and Krb5.ini so they appear as below:
      Djava.security.auth.login.config=<fullpath>\bscLogin.conf
      Djava.security.krb5.conf=<fullpath>\Krb5.ini
    Save the changes
    Ensure that all mapped groups are correct and present in AD
    Ask Network admin to search for any duplicate service principal names in AD.
    Also ask him if any change has been made to concerned AD group.
    SSO enabled?
    When u said u changed to 'Test_User' you mean that you changed name in AD, right?
    Are there multiple domains?
    Sandeep

  • How to disable logon with token when session times out.

    Please help!!!,
    After I modified, save and close the web.config file and restart IIS, it continues to send me to the logon page after the session times out.
    Is there other way that i can disable the logon after the session times out?
    modified code:
    <!-- Set to false to disable logon with token when session times out -->
    <add key="logonTokenEnabled" value="false"/>
    CRS version: Crystal Server XI R2 SP2
    Viewer: .NET Infoview
    Thank you,
    Chico
    Edited by: Walter Chiriboga on Aug 29, 2008 8:26 PM

    I think if you enable some type of SSO (single sign-on) you could accomplish something like this, but with traditional logons this would be a security risk. You would need to allow your sessions to not time out. After a session times out with out some type of SSO involved it's impossible for our application to identify who the user is when they access an object. This is why you are reprompted for logon.
    There may be a way to extend session life indefinitely but it wouldn't be recommended.
    Regards,
    Tim

  • Untrusted server cert chain - while connecting with ldap

    Hi All,
    I am getting the following error while running a standalone java program in windows 2000+jdk1.3 environment to connect with LDAP.
    javax.naming.CommunicationException: hostname:636 [Root exception is ja
    vax.net.ssl.SSLException: untrusted server cert chain]
    javax.naming.CommunicationException: hostname:636. Root exception is j
    avax.net.ssl.SSLException: untrusted server cert chain
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(DashoA12
    275)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA12275)
    at java.io.OutputStream.write(Unknown Source)
    at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
    at Test2.getProxyDirContext(Test2.java:66)
    at Test2.main(Test2.java:40)
    Any help would be appreciated
    Thanks in Advance
    Somu

    This got resolved when in the code the following
    System.setProperty("javax.net.ssl.tmrustStore", CertFileName);
    where cert file name is the filename with complete path.the file is a CA certificate of the LDAP server
    in X509 format

  • Apex Application With Oralce SSO (inbuilt) application integration

    Hi,
    Installed oracle 11g, configured Application Express Release 3.0.
    I developed application in APEX.
    Now I want to authenticate my application with Oracle SSO login.
    Please help me on this.
    Thanks in advance.
    Thanks,
    Surya

    Hello Surya,
    If you follow the instructions here you should be able to connect to your SSO.
    http://www.oracle.com/technology/products/database/application_express/howtos/sso_partner_app.html
    Peter

  • Registering a Partner application with Oracle SSO 10gR2

    Hi Everybody
    I'd like to ask a question around registering a partner application with Oracle SSO.
    I have entered my home_url, logout_url and cancel_url e.g. home_url is https://vevopuitest1.co.uk/vevo_test1 and so on for the other fields.
    When I save the details some information is automatically created e.g. Site Id, Site Token etc.
    The bit that I am particularly interested in are the fields Single Sign-On URL and Single Sign-Off URL.
    For my purposes these fields are respectively: https://cwassotest1.co.uk/pls/orasso/orasso.wwsso_app_admin.ls_login and https://cwassotest1.co.uk/pls/orasso/orasso.wwsso_app_admin.ls_logout
    My questions are:
    1. Where do these values come from?
    2. Can I view them anywhere, say, in Oracle Directory Manager or using ldif queries?
    I would like to be able to verify these values.
    Many Thanks
    Andy

    I'm afraid this won't answer your question completely, but AFAIK in principle it does not matter on which machine SSO is running, as long as it passes the user id and credentials properly through the HTTP Header. Even more: in practice it is very common to have SSO running on a different machine than where your app runs.
    So what I would do is find out how to use ADF Faces with SSO. Perhaps someone else can provide pointers on that.
    Jan Kettenis

  • Problem with LDAP in BEA Portal

    Problem with LDAP in BEA Portal
    I have a list of 50 user which should be cerated in portal staging(devlopment) machine and should be transfered to
    production machine using LDAP
    Steps which i followed to create Users
    1.Create User Profile with 2 parameters branch and Role
    2.I have list user in the Xls file with Username,password ,branch and Role
    3.Write a java File which will read the Xls File
    4.The users are created in the staging machine for the portal
    Steps which i followed in LDAP to tranfer the created User form Devlopment to Production
    1.Export the created user from Devlopment (which was moved as .DAT in my local directory)
    2.import the user from local direcory to production machine
    The Users are imported in the production machine with username and password but the role and branch values are empty
    We need a solution for importing the user with role and branch corresponding to each user.
    Thanks in Adv
    Suresh

    In Portal 8.1, user name and password in stored in LDAP where as user profile values are stored in database. That is the reason you are not able to see the user profile values.
    Check once again whether you can see these values through admin tool. In case,it is not(after confirmation again),you might have to use APIs to do this for you incase you dont want to manage through Admin Tool.
    Thanks,
    Prashanth Bhat.

  • How can i send an auto reply with form content to sender?

    Hai!
    I'm new to website building, but i already came a long way
    i made a form and i like to send a auto reply with the form content (if that isnt too difficult) to the person who filled it in.
    The form i made is in PHP (coding i copied partly from someone from the internet .)
    You can see the from at: http://vinddit.nl/vindditnu%20php%20version.php
    My PHP coding so far
    <?php
    // Set email variables
    $email_to = '[email protected]';
    $email_subject = 'Aanvraag - VINDDIT NU!';
    // Set required fields
    $required_fields = array('Voornaam','email','Achternaam','Plaats');
    // set error messages
    $error_messages = array(
              'Voornaam' => 'Vul hier uw voornaam in a.u.b.',
              'email' => 'Vul hier een geldig email adres in a.u.b.',
              'Achternaam' => 'Vul hier uw achternaam in a.u.b.',
              'Plaats' => 'Vul hier uw woonplaats in a.u.b.'
    // Set form status
    $form_complete = FALSE;
    // configure validation array
    $validation = array();
    // check form submittal
    if(!empty($_POST)) {
              // Sanitise POST array
              foreach($_POST as $key => $value) $_POST[$key] = remove_email_injection(trim($value));
              // Loop into required fields and make sure they match our needs
              foreach($required_fields as $field) {
                        // the field has been submitted?
                        if(!array_key_exists($field, $_POST)) array_push($validation, $field);
                        // check there is information in the field?
                        if($_POST[$field] == '') array_push($validation, $field);
                        // validate the email address supplied
                        if($field == 'email') if(!validate_email_address($_POST[$field])) array_push($validation, $field);
              // basic validation result
              if(count($validation) == 0) {
                        // Prepare our content string
                        $email_content = 'New Website Comment: ' . "\n\n";
                        // simple email content
                        foreach($_POST as $key => $value) {
                                  if($key != 'submit') $email_content .= $key . ': ' . $value . "\n";
                        // if validation passed ok then send the email
                        mail($email_to, $email_subject, $email_content);
                        // Update form switch
                        $form_complete = TRUE;
    function validate_email_address($email = FALSE) {
              return (preg_match('/^[^@\s]+@([-a-z0-9]+\.)+[a-z]{2,}$/i', $email))? TRUE : FALSE;
    function remove_email_injection($field = FALSE) {
       return (str_ireplace(array("\r", "\n", "%0a", "%0d", "Content-Type:", "bcc:","to:","cc:"), '', $field));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
              <title>Aanvraag formulier</title>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <link href="style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.3.0/mootools-yui-compressed.js"></script>
        <script type="text/javascript" src="validation/validation.js"></script>
              <script type="text/javascript">
    var nameError = '<?php echo $error_messages['fullname']; ?>';
                        var emailError = '<?php echo $error_messages['email']; ?>';
                        var commentError = '<?php echo $error_messages['comment']; ?>';
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
        </script>
    <style type="text/css">
    </style>
    </head>
    <body onload="MM_preloadImages('icons/x.png')">
    <p> </p>
    <p>
      <?php if($form_complete === FALSE): ?>
    </p>
        <form action="vindditnu php version.php" method="post" enctype="application/x-www-form-urlencoded" name="Form"  id="commentsform">
        <h1><img src="icons/vinddit3.gif" width="220" height="80" alt="logo" /></h1>
        <h1>Wat zoekt u?:</h1>
                     <table width="690" border="0">
            <tr>
              <td>In welke categorie zoekt u?*</td>
              <td colspan="3"><select name="Ophalen_verzenden" id="Ophalen_verzenden">
                <option selected="selected">Meubels </option>
                <option>Witgoed </option>
                <option>Woon accesoires </option>
                <option>Kleding </option>
                <option>Schoenen </option>
                <option>Mode accesoires </option>
                <option>Speelgoed </option>
                <option>Boeken, tijdschriften, papierwaren </option>
                <option>Overig </option>
              </select></td>
            </tr>
            <tr>
              <td>Kleur:* </td>
              <td colspan="3"><select name="kleuren" id="kleuren">
                <option>Blauw</option>
                <option>Rood</option>
                <option>WIt</option>
                <option>Zwart</option>
                <option>Beige</option>
                <option>Bruin</option>
                <option>Geel</option>
                <option>Oranje</option>
                <option>Rood</option>
                <option>Metallic (Bijv. Zilver/Goud/Brons/Koper</option>
                <option>Meerkleurig</option>
                <option selected="selected">Overig/ N.v.t</option>
              </select></td>
            </tr>
            <tr>
              <td>Merk: </td>
              <td colspan="3"><input name="Merk" type="text" id="Merk5" value="<?php echo isset($_POST['Merk'])? $_POST['Merk'] : ''; ?>" />
                <?php if(in_array('Merk', $validation)): ?>
                <span class="error"><?php echo $error_messages['Merk']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Type/Model:</td>
              <td colspan="3"><input type="text" name="type" id="type" value="<?php echo isset($_POST['type'])? $_POST['type'] : ''; ?>" />
                <?php if(in_array('type', $validation)): ?>
                <span class="error"><?php echo $error_messages['type']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Materiaal: </td>
              <td colspan="3"><input name="Materiaal" type="text" id="Materiaal" value="<?php echo isset($_POST['Materiaal'])? $_POST['Materiaal'] : ''; ?>" />
                <?php if(in_array('Materiaal', $validation)): ?>
                <span class="error"><?php echo $error_messages['Materiaal']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Maat: </td>
              <td colspan="3"><input type="text" name="Maat" id="Maat" value="<?php echo isset($_POST['Maat'])? $_POST['Maat'] : ''; ?>" />
                <?php if(in_array('Maat', $validation)): ?>
                <span class="error"><?php echo $error_messages['Maat']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Conditie*:</td>
              <td colspan="3"><select name="conditie" id="conditie" >
                <option>Zo goed als nieuw</option>
                <option>Nieuw</option>
                <option>Bebruikt</option>
                <option selected="selected">Geen voorkeur </option>
              </select></td>
            </tr>
            <tr>
              <td>Ophalen/Verzenden:*</td>
              <td colspan="3"><select name="ophalen" id="ophalen">
                <option>Ophalen</option>
                <option>Verzenden</option>
                <option>N.v.t</option>
                <option>Geen voorkeur </option>
              </select></td>
            </tr>
            <tr>
              <td>Prijs Min:</td>
              <td><input name="prijsmin" type="text" id="prijsmin" size="10" value="<?php echo isset($_POST['prijsmin'])? $_POST['prijsmin'] : ''; ?>" />
                <?php if(in_array('prijsmin', $validation)): ?>
                <span class="error"><?php echo $error_messages['prijsmin']; ?></span>
                <?php endif; ?></td>
              <td>Prijs Max:</td>
              <td><input name="Prijs" type="text" id="Prijs" size="10" value="<?php echo isset($_POST['Prijs'])? $_POST['Prijs'] : ''; ?>" />
                <?php if(in_array('Prijs', $validation)): ?>
                <span class="error"><?php echo $error_messages['Prijs']; ?></span>
                <?php endif; ?></td>
            </tr>
          </table>
          <h1>Opmerkingen:</h1>
          <table width="690" border="0">
            <tr>
              <td height="25">Opmerkingen:</td>
              <td rowspan="2"><textarea name="Opmerkingen" cols="67" rows="10" id="Opmerkingen"><?php echo isset($_POST['Opmerkingen'])? $_POST['Opmerkingen'] : ''; ?></textarea>
                <?php if(in_array('Opmerkingen', $validation)): ?>
                <span class="error"><?php echo $error_messages['Opmerkingen']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td height="78"> </td>
            </tr>
          </table>
          <h1>Uw Gegevens:</h1>
          <table width="690" border="0">
            <tr>
              <td>Voornaam/Voorletters*:</td>
              <td><input type="text" name="Voornaam" id="Voornaam" class='invul' value="<?php echo isset($_POST['Voornaam'])? $_POST['Voornaam'] : ''; ?>" />
                <?php if(in_array('Voornaam', $validation)): ?>
                <span class="error"><?php echo $error_messages['Voornaam']; ?></span>
                <?php endif; ?></td>
              <td>Achternaam:* </td>
              <td><input type="text" name="Achternaam" id="Achternaam" class='invul' value="<?php echo isset($_POST['Achternaam'])? $_POST['Achternaam'] : ''; ?>" />
                <?php if(in_array('Achternaam', $validation)): ?>
                <span class="error"><?php echo $error_messages['Achternaam']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Straatnaam:</td>
              <td><input type="text" name="Straat" id="Straat" class='invul' value="<?php echo isset($_POST['Straat'])? $_POST['Straat'] : ''; ?>" />
                <?php if(in_array('Straat', $validation)): ?>
                <span class="error"><?php echo $error_messages['Straat']; ?></span>
                <?php endif; ?></td>
              <td>Huisnummer:</td>
              <td><input name="Huisnummer" type="text" id="Huisnummer" class='invul' size="10" value="<?php echo isset($_POST['Huisnummer'])? $_POST['Huisnummer'] : ''; ?>" />
                <?php if(in_array('Huisnummer', $validation)): ?>
                <span class="error"><?php echo $error_messages['Huisnummer']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Postcode:</td>
              <td><input type="text" name="Postcode" id="Postcode" class='invul' value="<?php echo isset($_POST['Postcode'])? $_POST['Postcode'] : ''; ?>" />
                <?php if(in_array('Postcode', $validation)): ?>
                <span class="error"><?php echo $error_messages['Postcode']; ?></span>
                <?php endif; ?></td>
              <td>Plaats:* </td>
              <td><input type="text" name="Plaats" id="Plaats" class='invul' value="<?php echo isset($_POST['Plaats'])? $_POST['Plaats'] : ''; ?>" />
                <?php if(in_array('Plaats', $validation)): ?>
                <span class="error"><?php echo $error_messages['Plaats']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Email Adres:*</td>
              <td colspan="3"><input type="text" name="email" id="email" class='invul' value="<?php echo isset($_POST['email'])? $_POST['email'] : ''; ?>" />
                <?php if(in_array('email', $validation)): ?>
                <span class="error"><?php echo $error_messages['email']; ?></span>
                <?php endif; ?></td>
            </tr>
            <tr>
              <td>Telefoonnummer:</td>
              <td colspan="3"><input name="Telefoon" type="text" id="Telefoon" class='invul' value="<?php echo isset($_POST['Telefoon'])? $_POST['Telefoon'] : ''; ?>" />
                <?php if(in_array('Telefoon', $validation)): ?>
                <span class="error"><?php echo $error_messages['Telefoon']; ?></span>
                <?php endif; ?></td>
            </tr>
          </table>
          <p>
            <label for="Straat"></label>
            <label for="Huisnummer"><br />
            </label>
            <input type="submit" name="Submit" id="Submit" value="Verstuur" />
                   <input type="reset" name="Reset" id="Reset" value="Wissen" />
          </p>
        </form>
        <?php else: ?>
        <div class="bedankt">
          <p>Bedankt voor uw aanvraag!</p>
          <p>Wij zullen uw aanvraag zo spoedig mogelijk behandelen. Meestal duurt dit 2 a 3 werkdagen.</p>
          <p><img src="icons/vinddit3.gif" width="220" height="80" alt="logo" /></p>
    </div>
        <p>
          <script type='text/javascript'>
    setTimeout("ourRedirect()", 5000)
    function ourRedirect() {
          </script>
          <?php endif; ?>
    </body>
    </html>
    and .JS
    window.addEvent('domready', function() {
              // Get the form
              var form = $('comments_form');
              //  if the form is found...
              if (form) {
                        // obtain error fields
                        var name = $('fullname');
                        var email = $('email');
                        var comment = $('comment');
                        // Set the default status
                        var isValid = true;
                        // input error function for the error messages
                        var addError = function (field, msg) {
                                  field.addClass('error'); // Add error class to field
                                  var error = field.getParent().getElement('span') || new Element('span', {'class': 'error'}); // add error message if not already placed
                                  error.set('text', msg); // error text msg
                                  error.inject(field, 'after'); // Insert error message after field
      // detach error function used to delete any error messages and remove the error class
                        var removeError = function (field) {
                                  field.removeClass('error'); // Remove error class from form fields
                                  var error = field.getParent().getElement('span'); // find any existing error messages
      // destroy if error message
                                  if (error) {
                                            error.destroy();
    //  insert submit form event
                        form.addEvent('submit', function (e) {
                                  // Test name length
                                  if (name.get('value').length === 0) {
                                            isValid = false;
                                            addError(name, nameError);
                                  } else {
                                            isValid = true;
                                            removeError(name);
    // check email length
                                  if (email.get('value').length === 0) {
                                            isValid = false;
                                            addError(email, emailError);
                                  // check email validity
                                  } else if (!email.get('value').test(/^([a-zA-Z0-9\+_\-]+)(\.[a-zA-Z0-9\+_\-]+)*@([a-zA-Z0-9\-]+\.)+ [a-zA-Z]{2,6}$/)) {
                                            isValid = false;
                                            addError(email, emailError);
                                  } else {
                                            isValid = true;
                                            removeError(email);
                    // check comment length
                                  if (comment.get('value').length === 0) {
                                            isValid = false;
                                            addError(comment, commentError);
                                  } else {
                                            isValid = true;
                                            removeError(comment);
                                  // If form invalid then stop event happening
                                  if (!isValid) {
                                            e.stop();

    lisavs12686 wrote:
    Whould it also be possible to send the sender the submited data (looking like the filled in form or so)?
    not really nessecary but whould be a nice  jextra
    You can but you would need to send it as an html email which is much more complicated.
    What you would do is build a page/table construction like below. You would need to use the php variables to echo out the information in the <td></td> cells (example below).
    $reply = $_POST['email'];
    $from = '[email protected]';
    $replysubject = "Auto-Reply: Website Name";
    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    $headers .= "From: $from\r\nReply-to: $reply";
    $replymessage = '
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Comments from Website</title>
    </head>
    <body>
    <table>
    <tr>
    <td bgcolor="#ffffff" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; padding: 10px 15px;">Name: </strong>'.$name.'
    </td>
    </tr>
    </table>
    </body>
    </html>';
    mail($reply, $replysubject, $replymessage, $headers);

  • I bought this MAC from a family member. Did everything need to change items to my apple id. Today I did the update for IOS Yosemite now the app store is auto filling with someone else id?? But they seem to be my apps??

    I bought this MAC from a family member. Did everything need to change items to my apple id. Today I did the update for IOS Yosemite now the app store is auto filling with someone else id?? But they seem to be my apps??

    If you didn’t erase the drive and install using you AppleID, then the OS and the purchased apps are still registered to the other AppleID. You cannot change that by logging into iCloud. Apps are forever tied to the AppleID used to purchase/download them.
    You have to erase the drive and download/install the Apps using your AppleID.

Maybe you are looking for

  • Returning XML to client from web service

    Hi, I am new to developing web services using JAX_RPC. I am trying to return a xml document to the client from the web service. My Server implementation is as follows: Interface: public interface OntoIF extends Remote public DataHandler ontoCompare (

  • TS4062 itunes stops working while syncing with ipad

    Itunes progam closes while syncing with itunes. Please advise

  • What the freeking hell does this mean ?

    I get a error message in Netscape 6 and in IE6 when loading an applet. The error is: "Exception: java.lang.ClassCastException: Fruit" Why is this and how do I fix it ? HELP !!!

  • Dashboard Prompt - Integer field (material number) - remove commas

    Hi all, We have a problem with one number field that added as a prompt in the dashboard. This is an integer field contains Material numbers shows commas and we need to remove commas. Problem is we cannot cast it because we need to keep it as ineteger

  • Your ideas

    Hi! Hi friends! Sorry i was out of this forum for a while this days. A lot of things to do! but let me get everything sorted then i will start coming to the forum again. I stumble to this blog, which got me interested, need some ideas to do this This