How to set S/MIME in iOS7?

I got a certificate for my email, but my iPod Touch just can't find it.
Actually, I don't think iPod have downloaded it into any folder because when I recieve that certificate with email, iPod don't know how to open it.

The recomended procedure is to open the certificate on OSX's Keychain (or equivalent application) and then export it from there. Then you can mail the new certificate file to yourself and iOS will give you the option to install it on your device.
I followed the instructions from this blog post.

Similar Messages

  • How to set MIME type for JNLP in Windows2000 IIS

    Hi!
    I try to set up my windows 2000 IIS's MIME type for JNLP to test java web start, but I have no idea how to set
    the MIME type. Can anybody help me???
    Best wishes

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • How to set MIME-TYPE in weblogic6.1

    hi,
    i have developed a sample example putted in weblogic,
    how can i set the mime-type in weblogic6.1 to
    application/x-java-jnlp-file
    so that it returns the above given mime-type.....
    thanks in advance

    http://e-docs.bea.com/wls/docs60//programming/webappdeployment.html#1007217
    in version 6.0 it works like this ......
    Step 11: Define MIME mapping
    <mime-mapping>
    (Optional)
    Define MIME types
    For more information, see
    mime-mapping Element
    <extension>ext</extension>
    <mime-type>mime type</mime-type>
    </mime-mapping>
    I hope it helps .....
    cheers
    <marc>

  • How to set APN in Iphone5 with IOS7 updated, How to set APN in Iphone5 with IOS7 updated

    Could anybody please help me how to set APN in Iphone5 with IOS7? I do not find APN in setting under cellular.
    Please help me.....

    I presume that would be a passcode to the Restrictions. You'll need to restore the iPhone to factory settings. If the customer set up Find My iPhone and hence Activation Lock, you'll need the customer's Apple ID and password, or you'll need to get them to erase it via iCloud:
    http://support.apple.com/kb/PH13695
    Regards.

  • How To Get AppleToCare About You (iOS7 wifi solved)

    I recently encountered the now seemingly infamous iOS7 upgrade wifi bug. After upgrading to iOS 7.1.1 my wifi was subsequently knocked out. After reading skimming the forums and trying a few of the suggested work arounds I was still unable to get my wifi working (at all). I decided to wait for the next software update assuming Apple would fix the bug. What can I say? I like to believe people are inherently good and accountable. No such luck. When I went back to the forums for a better understanding of the problem I was (somewhat) surprised to discover the magnitude of the issue. For me, the end result was a new FREE iPhone despite my warranty expiring several months ago.
    Try all of the (reasonable) suggested solutions. They did not work for me but that does not mean they will not work for you - no seriously actually try them:
    I turned off wifi and bluetooth, set the phone to airplane mode, turned it off, left it off for several minutes, turned it back on - Nothing.
    I reset my Wifi Router - Nothing.
    I reset all Settings - Nothing.
    I reset my Network Connection - Nothing.
    I did a Soft Reset - Hold down the power and home buttons simultaneously and do not release until after the screen goes black and the apple logo appears. - Nothing.
    I did a Hard Reset (aka Factory Reset) - BACK UP YOUR PHONE FIRST. I connected to iTunes and performed a backup then hit restore (within iTunes). This can be done directly from your phone but if you're here because you're experiencing wifi issues your phone is probably not backed up to iCloud.
    Genius Bar. BE POLITE but firm and know your stuff. They don't owe you anything. Well Apple kinda does, but the employees in the store didn't break your phone so don't act like they did. At the end of the day Apple wrote a buggy code and isn't acknowledging the problem or compensating it's loyal customers. The only way Apple will be held accountable for leaving so many customers out to dry is if customers demand it. However, the Genius Bar is not the place to take out your rage. When I went into the Genius Bar I explained the issue I was having and the steps I had taken in an attempt to fix it. I let her run all the tests and tricks she wanted (knowing full well they weren't going to work). She politely explained to me that I would need to purchase a new phone. I explained to her that I could not, in good conscious, give a company money to solve a problem that they caused. (Some people are crying conspiracy on the part of Apple to get people to buy new phones but I haven't drank the punch yet. - I only took a sip.) I asked if she could do anything else for me. She told me that AppleCare might be responsive to my issue despite my expired warranty as they are a separate entity from Genius Bar and have more authority to help customers. I (sincerely) thanked her (several times) for helping me and asked if I could speak to a manager just to see if there was anything else they could do in store. She said absolutely and that she would "grab a nice manager". I spoke with the manager and briefly explained the issue. I then explained my issue lies primarily with Apple's business model. I, personally, take excellent care of my devices and expect them to last more than a year. I expect that when I buy a device with a premium reputation and a premium price tag that it should be supported by the company for a reasonable amount of time. The iPhone 4s is still being sold in stores and Apple is already neglecting 4s customers - (WILDLY) unacceptable.  The manager was very nice about it and expressed that I made valid points and my frustration was justified but yet no solution.
    AppleCare. After stopping in the Windows store to check possible new phones I trudged home. (Despite my fortunate result I still have a sour taste in my mouth from Apple's method of forcing customers to spend money unnecessarily on constantly changing but marginally improving products. I'm now seriously considering a Windows tablet to replace my aging MacBook.) Anyway, when I got home I called AppleCare and had a very similar exchange with the associate on the phone as I'd had in the store and was subsequently transferred my to a manager. Again, I was extremely polite to the associate and grateful for the help but made a firm point of dissatisfaction with Apple. When I got on the phone with the manager our exchange was quite short but he acknowledged that because the issues arose from a software update causing a hardware problem Apple would compensate me. (Yes, software can physically affect hardware. The CIA uses code to blow up bomb detonators masked as cell phones. It's dope. There's a TED talk about it.) In the end I got a new iPhone for FREE (with a standard replacement fee - ok Apple you won that round. It's still significantly less money I'd spend on a new phone from Apple or elsewhere).
    Moral of the story: Be polite but demand more from the companies you made (filthy) rich. Companies don't care about their customers as much as they should and we can't sit around and wait for them to behave themselves. We need to demand it (even if it ruins our Sunday afternoons). I'd also like to make it known that several times during these exchanges that I'm probably ditching Apple for good. If you use that approach you should be ready to back it up. I'm probably not going to buy another MacBook as I'm a grown up now doing actual work and Apple's inability to play nice with others makes it really difficult to run much of the software at the level I need. (Programmers, you know what I'm talking about!)  As for phones, I require much less of my phone.  Beyond, you know, using it as an actual phone, I really only use the GPS, music, photos, and web browser so I've always been a fan of the iPhone. After this, however, I don't know if I'll be getting another. I don't like spending money when I don't need to, especially if it's just making fat cats fatter.
    How to get AppleToCare about you (iOS7 wifi problem solved):
    I recently encountered the now seemingly infamous iOS7 upgrade wifi bug. After upgrading to iOS 7.1.1 my wifi was subsequently knocked out. After reading skimming the forums and trying a few of the suggested work arounds I was still unable to get my wifi working (at all). I decided to wait for the next software update assuming Apple would fix the bug. What can I say? I like to believe people are inherently good and accountable. No such luck. When I went back to the forums for a better understanding of the problem I was (somewhat) surprised to discover the magnitude of the issue. For me, the end result was a new FREE iPhone despite my warranty expiring several months ago.
    Try all of the (reasonable) suggested solutions. They did not work for me but that does not mean they will not work for you - no seriously actually try them:
    I turned off wifi and bluetooth, set the phone to airplane mode, turned it off, left it off for several minutes, turned it back on - Nothing.
    I reset my Wifi Router - Nothing.
    I reset all Settings - Nothing.
    I reset my Network Connection - Nothing.
    I did a Soft Reset - Hold down the power and home buttons simultaneously and do not release until after the screen goes black and the apple logo appears. - Nothing.
    I did a Hard Reset (aka Factory Reset) - BACK UP YOUR PHONE FIRST. I connected to iTunes and performed a backup then hit restore (within iTunes). This can be done directly from your phone but if you're here because you're experiencing wifi issues your phone is probably not backed up to iCloud.
    Genius Bar. BE POLITE but firm and know your stuff. They don't owe you anything. Well Apple kinda does, but the employees in the store didn't break your phone so don't act like they did. At the end of the day Apple wrote a buggy code and isn't acknowledging the problem or compensating it's loyal customers. The only way Apple will be held accountable for leaving so many customers out to dry is if customers demand it. However, the Genius Bar is not the place to take out your rage. When I went into the Genius Bar I explained the issue I was having and the steps I had taken in an attempt to fix it. I let her run all the tests and tricks she wanted (knowing full well they weren't going to work). She politely explained to me that I would need to purchase a new phone. I explained to her that I could not, in good conscious, give a company money to solve a problem that they caused. (Some people are crying conspiracy on the part of Apple to get people to buy new phones but I haven't drank the punch yet. - I only took a sip.) I asked if she could do anything else for me. She told me that AppleCare might be responsive to my issue despite my expired warranty as they are a separate entity from Genius Bar and have more authority to help customers. I (sincerely) thanked her (several times) for helping me and asked if I could speak to a manager just to see if there was anything else they could do in store. She said absolutely and that she would "grab a nice manager". I spoke with the manager and briefly explained the issue. I then explained my issue lies primarily with Apple's business model. I, personally, take excellent care of my devices and expect them to last more than a year. I expect that when I buy a device with a premium reputation and a premium price tag that it should be supported by the company for a reasonable amount of time. The iPhone 4s is still being sold in stores and Apple is already neglecting 4s customers - (WILDLY) unacceptable.  The manager was very nice about it and expressed that I made valid points and my frustration was justified but yet no solution.
    AppleCare. After stopping in the Windows store to check possible new phones I trudged home. (Despite my fortunate result I still have a sour taste in my mouth from Apple's method of forcing customers to spend money unnecessarily on constantly changing but marginally improving products. I'm now seriously considering a Windows tablet to replace my aging MacBook.) Anyway, when I got home I called AppleCare and had a very similar exchange with the associate on the phone as I'd had in the store and was subsequently transferred my to a manager. Again, I was extremely polite to the associate and grateful for the help but made a firm point of dissatisfaction with Apple. When I got on the phone with the manager our exchange was quite short but he acknowledged that because the issues arose from a software update causing a hardware problem Apple would compensate me. (Yes, software can physically affect hardware. The CIA uses code to blow up bomb detonators masked as cell phones. It's dope. There's a TED talk about it.) In the end I got a new iPhone for FREE (with a standard replacement fee - ok Apple you won that round. It's still significantly less money I'd spend on a new phone from Apple or elsewhere).
    Moral of the story: Be polite but demand more from the companies you made (filthy) rich. Companies don't care about their customers as much as they should and we can't sit around and wait for them to behave themselves. We need to demand it (even if it ruins our Sunday afternoons). I'd also like to make it known that several times during these exchanges that I'm probably ditching Apple for good. If you use that approach you should be ready to back it up. I'm probably not going to buy another MacBook as I'm a grown up now doing actual work and Apple's inability to play nice with others makes it really difficult to run much of the software at the level I need. (Programmers, you know what I'm talking about!)  As for phones, I require much less of my phone.  Beyond, you know, using it as an actual phone, I really only use the GPS, music, photos, and web browser so I've always been a fan of the iPhone. After this, however, I don't know if I'll be getting another. I don't like spending money when I don't need to, especially if it's just making fat cats fatter.

    I recently encountered the now seemingly infamous iOS7 upgrade wifi bug. After upgrading to iOS 7.1.1 my wifi was subsequently knocked out. After reading skimming the forums and trying a few of the suggested work arounds I was still unable to get my wifi working (at all). I decided to wait for the next software update assuming Apple would fix the bug. What can I say? I like to believe people are inherently good and accountable. No such luck. When I went back to the forums for a better understanding of the problem I was (somewhat) surprised to discover the magnitude of the issue. For me, the end result was a new FREE iPhone despite my warranty expiring several months ago.
    Try all of the (reasonable) suggested solutions. They did not work for me but that does not mean they will not work for you - no seriously actually try them:
    I turned off wifi and bluetooth, set the phone to airplane mode, turned it off, left it off for several minutes, turned it back on - Nothing.
    I reset my Wifi Router - Nothing.
    I reset all Settings - Nothing.
    I reset my Network Connection - Nothing.
    I did a Soft Reset - Hold down the power and home buttons simultaneously and do not release until after the screen goes black and the apple logo appears. - Nothing.
    I did a Hard Reset (aka Factory Reset) - BACK UP YOUR PHONE FIRST. I connected to iTunes and performed a backup then hit restore (within iTunes). This can be done directly from your phone but if you're here because you're experiencing wifi issues your phone is probably not backed up to iCloud.
    Genius Bar. BE POLITE but firm and know your stuff. They don't owe you anything. Well Apple kinda does, but the employees in the store didn't break your phone so don't act like they did. At the end of the day Apple wrote a buggy code and isn't acknowledging the problem or compensating it's loyal customers. The only way Apple will be held accountable for leaving so many customers out to dry is if customers demand it. However, the Genius Bar is not the place to take out your rage. When I went into the Genius Bar I explained the issue I was having and the steps I had taken in an attempt to fix it. I let her run all the tests and tricks she wanted (knowing full well they weren't going to work). She politely explained to me that I would need to purchase a new phone. I explained to her that I could not, in good conscious, give a company money to solve a problem that they caused. (Some people are crying conspiracy on the part of Apple to get people to buy new phones but I haven't drank the punch yet. - I only took a sip.) I asked if she could do anything else for me. She told me that AppleCare might be responsive to my issue despite my expired warranty as they are a separate entity from Genius Bar and have more authority to help customers. I (sincerely) thanked her (several times) for helping me and asked if I could speak to a manager just to see if there was anything else they could do in store. She said absolutely and that she would "grab a nice manager". I spoke with the manager and briefly explained the issue. I then explained my issue lies primarily with Apple's business model. I, personally, take excellent care of my devices and expect them to last more than a year. I expect that when I buy a device with a premium reputation and a premium price tag that it should be supported by the company for a reasonable amount of time. The iPhone 4s is still being sold in stores and Apple is already neglecting 4s customers - (WILDLY) unacceptable.  The manager was very nice about it and expressed that I made valid points and my frustration was justified but yet no solution.
    AppleCare. After stopping in the Windows store to check possible new phones I trudged home. (Despite my fortunate result I still have a sour taste in my mouth from Apple's method of forcing customers to spend money unnecessarily on constantly changing but marginally improving products. I'm now seriously considering a Windows tablet to replace my aging MacBook.) Anyway, when I got home I called AppleCare and had a very similar exchange with the associate on the phone as I'd had in the store and was subsequently transferred my to a manager. Again, I was extremely polite to the associate and grateful for the help but made a firm point of dissatisfaction with Apple. When I got on the phone with the manager our exchange was quite short but he acknowledged that because the issues arose from a software update causing a hardware problem Apple would compensate me. (Yes, software can physically affect hardware. The CIA uses code to blow up bomb detonators masked as cell phones. It's dope. There's a TED talk about it.) In the end I got a new iPhone for FREE (with a standard replacement fee - ok Apple you won that round. It's still significantly less money I'd spend on a new phone from Apple or elsewhere).
    Moral of the story: Be polite but demand more from the companies you made (filthy) rich. Companies don't care about their customers as much as they should and we can't sit around and wait for them to behave themselves. We need to demand it (even if it ruins our Sunday afternoons). I'd also like to make it known that several times during these exchanges that I'm probably ditching Apple for good. If you use that approach you should be ready to back it up. I'm probably not going to buy another MacBook as I'm a grown up now doing actual work and Apple's inability to play nice with others makes it really difficult to run much of the software at the level I need. (Programmers, you know what I'm talking about!)  As for phones, I require much less of my phone.  Beyond, you know, using it as an actual phone, I really only use the GPS, music, photos, and web browser so I've always been a fan of the iPhone. After this, however, I don't know if I'll be getting another. I don't like spending money when I don't need to, especially if it's just making fat cats fatter.
    How to get AppleToCare about you (iOS7 wifi problem solved):
    I recently encountered the now seemingly infamous iOS7 upgrade wifi bug. After upgrading to iOS 7.1.1 my wifi was subsequently knocked out. After reading skimming the forums and trying a few of the suggested work arounds I was still unable to get my wifi working (at all). I decided to wait for the next software update assuming Apple would fix the bug. What can I say? I like to believe people are inherently good and accountable. No such luck. When I went back to the forums for a better understanding of the problem I was (somewhat) surprised to discover the magnitude of the issue. For me, the end result was a new FREE iPhone despite my warranty expiring several months ago.
    Try all of the (reasonable) suggested solutions. They did not work for me but that does not mean they will not work for you - no seriously actually try them:
    I turned off wifi and bluetooth, set the phone to airplane mode, turned it off, left it off for several minutes, turned it back on - Nothing.
    I reset my Wifi Router - Nothing.
    I reset all Settings - Nothing.
    I reset my Network Connection - Nothing.
    I did a Soft Reset - Hold down the power and home buttons simultaneously and do not release until after the screen goes black and the apple logo appears. - Nothing.
    I did a Hard Reset (aka Factory Reset) - BACK UP YOUR PHONE FIRST. I connected to iTunes and performed a backup then hit restore (within iTunes). This can be done directly from your phone but if you're here because you're experiencing wifi issues your phone is probably not backed up to iCloud.
    Genius Bar. BE POLITE but firm and know your stuff. They don't owe you anything. Well Apple kinda does, but the employees in the store didn't break your phone so don't act like they did. At the end of the day Apple wrote a buggy code and isn't acknowledging the problem or compensating it's loyal customers. The only way Apple will be held accountable for leaving so many customers out to dry is if customers demand it. However, the Genius Bar is not the place to take out your rage. When I went into the Genius Bar I explained the issue I was having and the steps I had taken in an attempt to fix it. I let her run all the tests and tricks she wanted (knowing full well they weren't going to work). She politely explained to me that I would need to purchase a new phone. I explained to her that I could not, in good conscious, give a company money to solve a problem that they caused. (Some people are crying conspiracy on the part of Apple to get people to buy new phones but I haven't drank the punch yet. - I only took a sip.) I asked if she could do anything else for me. She told me that AppleCare might be responsive to my issue despite my expired warranty as they are a separate entity from Genius Bar and have more authority to help customers. I (sincerely) thanked her (several times) for helping me and asked if I could speak to a manager just to see if there was anything else they could do in store. She said absolutely and that she would "grab a nice manager". I spoke with the manager and briefly explained the issue. I then explained my issue lies primarily with Apple's business model. I, personally, take excellent care of my devices and expect them to last more than a year. I expect that when I buy a device with a premium reputation and a premium price tag that it should be supported by the company for a reasonable amount of time. The iPhone 4s is still being sold in stores and Apple is already neglecting 4s customers - (WILDLY) unacceptable.  The manager was very nice about it and expressed that I made valid points and my frustration was justified but yet no solution.
    AppleCare. After stopping in the Windows store to check possible new phones I trudged home. (Despite my fortunate result I still have a sour taste in my mouth from Apple's method of forcing customers to spend money unnecessarily on constantly changing but marginally improving products. I'm now seriously considering a Windows tablet to replace my aging MacBook.) Anyway, when I got home I called AppleCare and had a very similar exchange with the associate on the phone as I'd had in the store and was subsequently transferred my to a manager. Again, I was extremely polite to the associate and grateful for the help but made a firm point of dissatisfaction with Apple. When I got on the phone with the manager our exchange was quite short but he acknowledged that because the issues arose from a software update causing a hardware problem Apple would compensate me. (Yes, software can physically affect hardware. The CIA uses code to blow up bomb detonators masked as cell phones. It's dope. There's a TED talk about it.) In the end I got a new iPhone for FREE (with a standard replacement fee - ok Apple you won that round. It's still significantly less money I'd spend on a new phone from Apple or elsewhere).
    Moral of the story: Be polite but demand more from the companies you made (filthy) rich. Companies don't care about their customers as much as they should and we can't sit around and wait for them to behave themselves. We need to demand it (even if it ruins our Sunday afternoons). I'd also like to make it known that several times during these exchanges that I'm probably ditching Apple for good. If you use that approach you should be ready to back it up. I'm probably not going to buy another MacBook as I'm a grown up now doing actual work and Apple's inability to play nice with others makes it really difficult to run much of the software at the level I need. (Programmers, you know what I'm talking about!)  As for phones, I require much less of my phone.  Beyond, you know, using it as an actual phone, I really only use the GPS, music, photos, and web browser so I've always been a fan of the iPhone. After this, however, I don't know if I'll be getting another. I don't like spending money when I don't need to, especially if it's just making fat cats fatter.

  • How to set alert mail contain SQL text activities

    How to set alert mail contain SQL text activities.
    In "Notification Templates" topic have no Available Tags about sql text. Can I send mail alert with SQL text?

    it should be text/plain, for a complete list refer
    http://www.freeformatter.com/mime-types-list.html
    Regards.

  • How to filter with mime types

    Again thanks for the help getting up and running.
    Now that I am up and running I know my task at hand and I have comleted most of it except for a couple of things. Here is my task:
    To have 1 URL filter lists. Lets call it WhiteList-special. What my manager wants is this.
    To all URL's matching the WhiteList-special filter allow the connections filtering out a set of mime types.
    To all URL's not in the WhiteList (still allow them them) but apply a different set of mime type restrictions.
    How can I go about doing this? Do I use the http:// resource and set up the whitelist-special there with a mime list and then in default set up an allow list of basically .* with a different mime type list ??
    Also I noticed that in the mime.types file gnu zip (.gz) was listed as an encoding and not application. Thus if I include the gz mime type in my <Filter "filter-ct" ...> line the gz seems to be ignored. I block all other mime types that are of the application type but I cannot block any encoding type. Am I doing something wrong?
    thanks
    Doug

    Here is what you can do:
    (the simplest way)
    Use a filter that will add a variable to all the mime-types that you want to whitelist.
    Then use a filter to deny all the other types. In the below code, the identity filter is the one that you can use to touch all the whitelist -- (below, it only allows text/plain), and the deny filter will deny all the rest.
    To your question on content-type, check how the content-length is obtained in the below code.
    -------obj.conf------------
    <Object ppath="http://.*">
    ObjectType fn="cache-enable" query-maxlen="10" log-report="off"
    ObjectType fn="cache-setting" lm-factor="0.10" max-uncheck="7200"
    Output fn="insert-filter" type="text/plain" filter="identityfilter"
    Output fn="insert-filter" type="*" filter="denyfilter"
    Service fn="proxy-retrieve" method="*"
    </Object>
    |cat identityfilter.c
    * Usage:
    *     At the end of magnus.conf:
    *         Init fn="load-modules"
    *              shlib="<path>/identityfilter.<ext>"
    *              NativeThread="no"
    *     Inside an object in obj.conf:
    *         Output fn="insert-filter"
    *                type="text/*"
    *                filter="identityfilter"
    #include "nsapi.h"
    int identityfilter_insert(FilterLayer *layer, pblock *pb) {
        pblock_nninsert("identityfilter", 1, layer->context->rq->vars);
        return REQ_PROCEED;
    void identityfilter_remove(FilterLayer *layer) {
    int identityfilter_write(FilterLayer *layer, const void *buf, int amount) {
        return net_write(layer->lower, buf , amount);
    NSAPI_PUBLIC int nsapi_module_init(pblock *pb, Session *sn, Request *rq) {
        FilterMethods methods = FILTER_METHODS_INITIALIZER;
        methods.insert = &identityfilter_insert;
        methods.remove = &identityfilter_remove;
        methods.write = &identityfilter_write;
        const Filter *filter = filter_create("identityfilter", FILTER_CONTENT_TRANSLATION, &methods);
        return REQ_PROCEED;
    |cat denyfilter.c
    * Usage:
    *     At the end of magnus.conf:
    *         Init fn="load-modules"
    *              shlib="<path>/denyfilter.<ext>"
    *              NativeThread="no"
    *     Inside an object in obj.conf:
    *         Output fn="insert-filter"
    *                type="text/*"
    *                filter="denyfilter"
    #include "nsapi.h"
    int denyfilter_insert(FilterLayer *layer, pblock *pb) {
        char* processed = pblock_findval("identityfilter", layer->context->rq->vars);
        if (!processed) {
            pb_param *pp = pblock_remove("content-length", layer->context->rq->srvhdrs);
            if (pp) param_free(pp);
            layer->context->data = (void*)1;
            Request* rq = layer->context->rq;
            rq->status_num = 403;
            pp = pblock_remove("status", rq->srvhdrs);
            if (pp) param_free(pp);
            pblock_nvinsert("status", "403", rq->srvhdrs);
        } else {
            layer->context->data = (void*)0;
        return REQ_PROCEED;
    void denyfilter_remove(FilterLayer *layer) {
    int denyfilter_write(FilterLayer *layer, const void *buf, int amount) {
        if ( layer->context->data ) return IO_ERROR;
        else return net_write(layer->lower, buf, amount);
    NSAPI_PUBLIC int nsapi_module_init(pblock *pb, Session *sn, Request *rq) {
        FilterMethods methods = FILTER_METHODS_INITIALIZER;
        methods.insert = &denyfilter_insert;
        methods.remove = &denyfilter_remove;
        methods.write = &denyfilter_write;
        const Filter *filter = filter_create("denyfilter", FILTER_CONTENT_TRANSLATION, &methods);
        return REQ_PROCEED;
    -----------------------------------What is my best approach? Can I simply call another Filter from mine?
    check out func_exec and friends in nsapi.

  • Java Callout - how to set Sender Name by InstanceName

    I have a following code on Java Callout executed on Listening Channel:
    import oracle.tip.b2b.message.InstanceMessage;
    import oracle.tip.b2b.model.instance.Instancemessage;
    // some other imports //
    public class GetPartner implements Callout {
      public void execute(CalloutContext calloutContext, List input,
      List output) throws CalloutDomainException,
      CalloutSystemException {
      Logger log = Logger.getLogger(TransportCallout.class.getName());
      DiagnosticService.log("MKRTransportCallout: Init");
      try {
      log.setLevel(Level.INFO);
      CalloutMessage message =
      (CalloutMessage)input.get(0); 
      Instancemessage inst = new Instancemessage();
      InstanceMessage instance = new InstanceMessage(inst);
      String name = instance.getSenderId();
      String name2 = instance.getSenderName();
      log.info("SENDER ID FROM JAVA CALL " + name);
      log.info("SENDER NAME FROM JAVA CALL " + name2);
    Both logged values are null.
    My question is - how to connect CalloutMessage variable with Instancemessage variable via Java code?
    My variable "inst" is null, because the context from variable "message" is not related with it - there is no connection between CalloutMessage and Instancemessage. How to set connection like this?

    just a short addition. At the moment i use the following code to generate a MimeMessage:
    try
                // Get session
                Session session = Session.getDefaultInstance(MailQueue.props, null);
                // Define message
                this.message = new MimeMessage(session);
                message.setFrom(new InternetAddress(from));
                message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
                message.setSubject(subject);
                // pass the mail content and set the Mime Typ
                message.setContent(msg, MimeTyp);   
            catch (MessagingException me)
            } 

  • Web server and setting up mime type

    All,
    We have written a httpd server program that handles http calls. I want to use this server to execute jnlps. I am confused as how to set the jnlp mime type on this server. Anybody has their own server and able to set the mime type? or is there any idea anyone has to set up mime type?
    Please reply. It is very critical.
    Thanks,
    Rama

    We have written a httpd server program that handles
    http calls. I want to use this server to execute
    jnlps. I am confused as how to set the jnlp mime type
    on this server. Anybody has their own server and able
    to set the mime type? or is there any idea anyone has
    to set up mime type?This is easy. Your server does not execute the jnlps. It just tells Java Web Start (the jnlp client) this is a jnlp and then hands it the jnlp file.
    For this the header part of the HTTP response needs to prove the jnlp mime type as content type.
    Example:
    If I log in by hand and hack in a request for a jnlp doc
    $ telnet zope 8080
    Trying 192.168.0.250...
    Connected to zope
    Escape character is '^]'.
    GET http://zope:8080/public/GUI/WebStart/Versant.jnlp HTTP/1.0then the server replies with
    HTTP/1.0 200 OK
    Server: Zope/Zope 2.2.2 (source release, python 1.5.2, linux2) ZServer/1.1b1
    Date: Fri, 21 Sep 2001 10:01:30 GMT
    Connection: close
    Content-Type: application/x-java-jnlp-file
    Content-Length: 1223
    Last-Modified: Mon, 03 Sep 2001 15:30:13 GMT
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://zope:8080/public/GUI/WebStart" href="Versant
    jnlp">
      <information>
      <!-- ... -->
    </jnlp>
    Connection closed by foreign host.You should use such a content type like above.
    Regards,
    Marc

  • How we set up multiple websites on OSX Server

    BACKGROUND
    After fiddling and futzing around for weeks (actually since last year) I've finally figured out how to set up multiple websites (virtual sites) using one port and one IP address. While there seems to be lots of discussion on this topic, it seems that the basic assumption is that one knows everything about websites, DNS and all that stuff, which I do not.
    When our network was originally established the engineer set up a wiki and also configured webmail, so we had two sites, one secured for mail and the other open for Calendar and the wiki. We were not hosting any websites locally because our school website is hosted by a company in New England.
    This year I wanted to set up websites for teachers and students. As great as the wiki is, there are some things it just can't do as well as a website. So I figured if I set up the sites teachers could link back and forth from one to the other. In addition kids could now start to use a real website instead of the cobbled together file mess I had when we ran a Windows network. Also iWeb is a much more accessible tool than FrontPage.
    SERVER SIDE:
    Snow Leopard Server - 10.6.4
    There are two - actually three pieces if you want your iWeb clients to connect to the server: Server Side Web Services, DNS and, in my case, FTP.
    ================================================ SERVER SIDE - WEB SERVICES
    If you haven't turned on Web services, you'll need to open Server Admin and do that. If you don't know how to set up web services - just reply and I'll step you through that as well.
    Once web services are set up and turned on, you'll see it listed under your server’s name in the Server Admin sidebar. Click on "Web" and then click on the "Sites" tab at the top of page. This is where you list all your sites.
    Click the plus button and enter the fully qualified name of your site, for example: "students.myschool.org". Don't use the defaults here (no name) - that's what got me in trouble before. BE SPECIFIC!
    You'll be looking at the "General" tab (the other tabs, "Options", "Realms", etc. we'll deal with in a second).
    On the "General Tab", the default IP address ("any") and port (80) is just fine. We'll run everything over port 80. (Apache figures all the virtual site stuff out - you don't need your rocket science degree for that.)
    "Web Folder:" is important because this is how you'll "segment" your websites. While I would NEVER do this again, we have a solid state hard drive for the OS and a RAID array for our data files. IF you have that, make sure you do NOT use the default "Web Folder" because it will store all your files on your solid state drive. There may not be enough room, over time, on that drive. I've not experienced it yet, but it's my understanding that if the drive fills up, the server shuts down.
    I store my web sites on a folder on the RAID array.
    Everything else on that tab can be left as the default. (Just make sure that you have an "index.html" or "index.php" file in your web folder root, but iWeb will take care of that for you.)
    I would put in your email address in the "Administrator Email:" field.
    Under "Options" you really don't have to put anything. I've tested making websites with iWeb and it doesn't appear that anything needs to be checked.
    Nothing needs to be entered in "Realms" as well from what I see working w/ iWeb.
    The defaults in "Logging" are fine.
    You can leave "Security" alone, but we do have a (self-issued) certificate listed for our webmail site.
    "Aliases" is important. Under "Web Server Aliases" you enter how you want the site to respond to when users type in a URL in their web browsers.
    When our web server was initially set up the engineer set up "wiki.myschool.org" on port 80 and "mail.myschool.org" on port 443. In the aliases section was nothing but a "*" (the wildcard character). That means, from what I can figure out, that the webserver will respond to these sites regardless of what is typed in the URL. (Well, something like that - point is, if you create OTHER websites, you'll NEVER get to them because the wildcard character in the "Aliases" section, in effect, grabs those web requests and redirects them to the sites that are already there.
    In my case I deleted both of those wild card characters. For my "wiki.myschool.org" site, I entered "mail.myschool.org". That means if you type EITHER "wiki." or "mail.", go to the site that’s stored in the “Web Folder” we set up when those sites were created.
    For "mail.myschool.org" I just DELETED the wildcard character. I wanted that site (since it was secured) only to respond to "mail." - nothing else. (You're not going to that secured site for any other reason than to get your mail.)
    "Proxy" can be left blank. Have no idea what that does. As time permits I'll do some research and figure out what it's used for.
    "Web Services" is if you want to provide any MORE services to this particular site. Most likely you'll want to uncheck all the boxes. For our "wiki." site, we have checked "Wikis", "Blogs", and "Calendar". For our "mail." site we have those checked PLUS "Mail".
    I would create a separate "Web Folder" for each of your sites. I don't know if that's a requirement but for housekeeping purposes, I would keep the sites separated. And I SUSPECT that it's "best practice" to separate your wiki from your other websites.
    SERVER SIDE - DNS
    OK...now you have to make your site reachable and the only way to do that is to set up DNS so that folks don't need to type in the IP address of your web server. You need to set up DNS inside your network and, if you want folks in the outside world to reach your website, you'll need to set up an external DNS as well. I'm going to cover INTERNAL DNS - if you don't know how to set up EXTERNAL DNS - reply or email me and I'll post those instructions.
    Most likely you have already created Zones for you network...all you really need to do is create "Aliases" so that when you type "students.myschool.org" your web browser will know that site resides on IP address XXX.XXX.XXX.XXX.
    If you've set up Zones then you already have a "Machine" setting that translates your server’s name to an IP address and vice versa.
    All you need to do is create an "Alias" (CNAME) record for, in this case, "students". You’ll see the choices for types of records when you click the "Add Record" button.
    There are only two fields to configure for a record: "Alias Name" - in this case "students" and "Destination" - in this case "servername.myschool.org". (You've already entered a machine record that says "servername" = 192.168.1.x.)
    That's it for Internal DNS.
    SERVER SIDE - FTP
    Now you have to get iWeb to communicate with the webserver.
    There are only three ways iWeb will communicate with webservers: MobileMe, Local Folder and FTP Server.
    Local Folder is really only practical if you want to host a website on a laptop (I was blown away initially when I found out that all Macs had a built-in web server - how neat is that?). I think there are some very cool things teachers could do with configuration, and, of course, you wouldn't need to set up any web services on the web server, but that's for another discussion. You need to set up FTP services on the web server.
    Turn on and enable FTP on your webserver.
    You can leave the defaults for "General", "Messages" and "Logging". "Advanced" is the only thing you want to set. I set "Authenticated Users See:" to "Home Folder Only". I set the "FTP Root" to the same root folder in which I plan to store my web sites (/VOLUMES/RAID Array/WebServer/Documents). This setting sets that folder only to be accessible via FTP.
    I would suggest returning to your DNS settings and adding one more "Alias". Set "ftp." to point to your webserver. Why? So folks can edit their sites from home (see below).
    CAVEAT: If you are running FTP on other servers, make sure that the settings here do not conflict with the settings on the other servers. For example, I'm running FTP on my file server so that my scanners can communicate with it. However, I configure my FTP settings by machine name and NOT "ftp.myschool.org".
    ================================================
    CLIENT SIDE - CONFIGURING iWEB
    Now you have to configure iWeb so that it will communicate with your server.
    Click on the "Site" icon so that "Site Publishing Settings" appears.
    Publishing:
    "Publish to:" = "FTP Server"
    You can set the "Site name:" and "Contact email:" to whatever you want. But see below!
    FTP Server Settings:
    "Server address"=ftp.myschool.org (you could also enter in servername.myschool.org or the IP address. However, if you want folks to be able to work on the site from home, you will need to configure external DNS for that. If you use the IP address, you're out of luck for remote access to the site. (You can do it but it's beyond the scope of this discussion.)
    "Username" & "Password" should be your user's network login credentials.
    "Directory/Path" - this is important. Remember, you set your "FTP Root" to be "/VOLUMES/RAID Array/WebServer/Documents". If you leave this field blank then the website will be dumped into this folder. If you are only setting up one site, that may be OK. However I wanted to set up a "students" site folder, a "faculty" site folder and a separate site for our literary magazine.
    THEREFORE: I have, in my ..../Documents folder (on the server), a "students" folder, a "faculty" folder, and a "litmag" folder.
    SO...in my "Directory/Path:" field, I have "/faculty". That means the full path to this website is "ftp root/faculty" or "/VOLUMES/RAID Array/WebServer/Documents/faculty" (You don't need a trailing "/" character. iWeb will automatically append the folder for you user depending on what you entered in "Site Name:" in the "Publishing" area.
    Website URL:
    This is the root website depending on whether it is "students" or "faculty". Since iWeb will append the site name to this root website, I accomplished what I hoped to accomplish in this post (http://discussions.apple.com/message.jspa?messageID=12288561#12288561).
    Faculty sites will be @ http://faculty.myschool.org/username. Students @ http://students.myschool.org/username. PERFECT!
    iWeb is such a GREAT tool - NOW the kids can start using it!
    I want to reiterate that this works for our school but it should work for you as well. There may be better ways to do this but it works for us.
    Hope this has been helpful and you won't have to spend weeks trying to figure this all out by yourself!

    OK...here's how we did it.
    To get access to the website you created from outside your network there are a couple of steps.
    First, you have to have a STATIC IP address from your ISP. If you have a T1 circuit, no problem...you usually get a couple of static IPs you can use. However, if you have a cable modem circuit, most likely you have a dynamic IP address which changes when you connect to the internet. Usually a static IP will cost a bit more because the ISP has to go through a couple of steps to set it up for you. But once you have the address, you now have a way for folks outside your network to connect with you.
    (I’m also assuming that you use a router of some sort through which traffic flows out to the internet and that you aren’t using connection sharing or something like that.)
    The next thing you need to do is have your new static IP address associated with the server on which you are hosting your website. You've probably already done that if your website works inside your network. However, you've associated a private ip (192.168.x.x, etc.) to your web server. That doesn't mean anything to folks on the outside because private IP addresses are just that - private - folks can't access them. (I won't get into VPN because that's a whole other topic.)
    The way you associate your new static IP address to your web server is through some sort of dns application from your ISP. For example, we use TierraNet to manage our external DNS information. They have a web interface control panel that is very similar to the DNS interface for XServer. You can create CNAME records (aliases - other ways that folks can access your servers).
    Basically you create an "A" (CNAME) record with a fully qualified domain name (e.g. webserver.myschool.org) and point it to your public IP address (XXX.XXX.XXX.XXX) which you just got from your ISP. It's going to take a while (24-48 hours) for this change to take effect. BTW, you can create as many “A” records as you want. For example mail.myschool.com and wiki.myschool.com could point to the same place.
    You want to make sure that the fully qualified domain name you enter in the external dns utility matches the name you used when you created your internal dns records on your XServer.
    OK...so now folks can get to your domain - but, remember, you have a private network IP scheme between them and you. You now have to tell your router that when web traffic arrives, allow it inside the network and direct it to your web server.
    Let's say your public IP address is 205.100.112.50 and your web server is 192.168.0.5.
    You have to create, in your router’s "Security Zone" (router companies call them different things) a couple of rules. Usually the first rule is: "Let everything inside the network get out to the web." You've probably already done that if folks inside the network can reach the internet.
    You then have to tell the router to allow web traffic (port 80) into your network AND redirect that traffic to 192.168.0.5.
    We use AdTran routers and they have a web interface which allows you to write "rules" affecting public and private traffic. Public is folks outside the network, private is folks inside.
    AdTran calls them "Security Zones" and you modify those zones with policies.
    So my "Policy" would say, in the above example, redirect traffic from my public IP (205.100.112.50) -> to my web server -> (192.168.0.5).
    THEN you have to modify this policy with what AdTran calls "Traffic Selectors". You've said, OK, you can get in, but WHAT can get in?
    The "Traffic Selector" is written to say: "Permit" "TCP" traffic from 205.100.112.50 only through Port 80. (That's the port that web traffic goes over. If you wanted a secure website, you'd add another traffic selector that opens port 443, for example.)
    I'll tell you I'm no genius when it comes to this. I called AdTran and had them configure my router for me. I told them what I wanted done, they remoted into the router and configured it. But then I could go to the web interface and see what they did and then added rules later on when I wanted, for example, to get access to the network via Apple Remote Desktop or VPN into the network on my iPad.
    I'd bet that your router has a maintenance agreement that includes this service and if it doesn't it should have.
    I did find that I still had issues when I tried to set this up originally and it had to do with the ORDER of the policies. I can’t remember exactly what the issue was, but, effectively one of the policies highjacked traffic before the policy that I wanted got triggered. Simply moving them around in the list fixed that issue. So if you have this set up but still can’t access the site, check the order of your rules.
    I don’t know if that helps or not, but I try to think about this stuff conceptually and then get someone to help me with the details. I work with this stuff so infrequently that I forgot how I did something 6 months or a year ago. I’m in the process of creating a wiki for the school which documents all this stuff, but that’s a major undertaking.
    Cheers,
    John

  • How to set Compatibility Mode for a single site in ie10

    This question was originally posted on the Answers forum -
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-to-set-compatibility-mode-for-a-single-site-in/187152e3-142a-4d96-8d1b-af82ef571eec
    I am having problem with getting ie10 to set ie9 compatibility for a single site (sharepoint.contoso.com).
    When I add this website in Compatibility View Settings (Alt > Tools > Compatibility View Settings > 'Add this Website') it adds the domain 'contoso.com' and not the individual website (sharepoint.contoso.com).
    This cause other sites (www.contoso.com) to be configured to use compatibility mode. Because this is a separate site (different web server) to the site sharepoint.contoso.com (sharepoint 2010 server) we need different compatibility settings.
    Using a different example to explain the issue -
    Microsoft has three websites that are different websites created by different developers written in different programming languages and they only work with certain browsers.
    microsoft.com (Website1 created by Developer1) - compatible with ie8/ie9/ie10
    msdn.microsoft.com (Website2 created by Developer2) - compatible with ie8/ie9
    technet.microsoft.com (Website3 website created by Developer3) - compatible only with ie10
    The only thing the three website share is the URL contains 'microsoft.com'.
    Marking 'msdn.microsoft.com' to run in compatibility mode affects the other 2 websites - mainly technet.microsoft.com which will not work now since it only runs in pure ie10 mode. 
    Should you be able to add an individual site to the compatibility list instead of all sites that have  .microsoft.com in the URL? Am I missing a simple setting in the ie10?
    As a workaround I am using the F12 Developer Tools to set the Browser Mode which temporary sets the compatibility mode. However this is not a nice solution to the end users at our organisation. 

    problem is not solved for non corporate environments...
    You could start your own thread.  Then if you got that answer and it was marked Answered you would have the ability to unmark it.  The OP of this one seems satisfied.  Also note that this is TechNet.  Consumers can get help on Answers
    forums.
    Robert Aldwinckle
    Oh! I wrote it wrong: I should have said: This is not solved for NON-AD environments. No demands what so ever to use Window 7/8 professional in a small corporation or on a big corporation with Island of smaller departments for example offshore.
    The problem is that the thread is not "Answered" by the OP, its is marked answered by a moderator (and same moderator that did the answer) so no way of telling if the OP is satisfied.
    But you are right in the fact that I am almost kidnapping the thread. But a complete answer would benefit all in this case I would presume.
    Regards
    /Aldus

  • Once and for all: How to set up and use SSH

    Yes, I know ssh has been discussed on and off, but never in its entirety; and yes, there are step by step instructions on the www, but at one point or another they skip a crucial instruction that would be necessary for unix-dummies (e.g. how to save and close the nano-editor in Terminal). So, please pardon my question:
    There are several points I'd like to ask for ssh-connecting two macs on a local network:
    1) In terminal-file-"connect to server" you can ask for an ssh connection to be set up. For this to work, do I need to create private and public keys first? If so, how? Please point me to a reliable and step-by-step instruction site.
    There are some free ssh-utilities out there, but their documentation is just not helpful enough for a UNIX-dummy.
    2) Apparently I managed to connect via ssh once (from the terminal, see point 1) to a local server (allowing remote connection set to ON at the server). But then, when I connected to that server from the client's finder and tried to get into my user account on that server it told me that no secure connection could be established. What's wrong here? Do I have to continue working from within the terminal to use this connection? That would be difficult for an average MacUser.
    3) What is the security advantage of an SSH connection on a local wireless network (Airport Base Station) over WPA2, if at all?
    4) And how to set up an ssh-connection over the internet cloud to safely build a remote control/desktop sharing connection, e.g., a friend's Mac when she has a problem?
    Thanks for your consideration.

    First I'm not sure what your goals are.
    1) In terminal-file-"connect to server" you can ask for an ssh connection to be set up. For this to work, do I need to create private and public keys first?
    If you have ssh keys, you can do this without passwords. If you have not exchanged keys with the remote system, you will be asked for the password of the user you are attempting to login as.
    If so, how? Please point me to a reliable and step-by-step instruction site. There are some free ssh-utilities out there, but their documentation is just not helpful enough for a UNIX-dummy.
    Log into the remote system. This could be via ssh.
    On the remote system, run the following command to generate an ssh key for that remote system:
    ssh-keygen -t rsa
    Generating public/private rsa key pair.
    Enter file in which to save the key (/Users/username/.ssh/id_rsa): <<take default>>
    Created directory '/Users/username/.ssh'.
    Enter passphrase (empty for no passphrase): <<enter nothing>>
    Enter same passphrase again: <<enter nothing again>>
    Your identification has been saved in /Users/username/.ssh/id_rsa.
    Your public key has been saved in /Users/username/.ssh/id_rsa.pub.
    The key fingerprint is:
    aa:bb:cc:dd:ee:ff:gg:hh:ii:jj:kk:ll:mm:nn:oo:pp [email protected]
    This will generate an ssh key for the remote system. This could be any system that support ssh, such as a Unix system, or another Mac.
    Copy the id_rsa.pub file from the remote system to your Mac. When I say "your Mac" I mean the one that you want to make the ssh connection from. The id_rsa.pub is found in the remote system's ~username/.ssh/ directory.
    Append the copied id_rsa.pub to your Mac's ~himbear/.ssh/authorized_keys2 file
    cat id_rsa.pub >>~himbear/.ssh/authorized_keys2
    Now when you ssh to that specific remote system, it will NOT ask for a password. The first time you ssh to any system, ssh will ask if the system is really the system you thing it is. But once you say "yes", it will not ask that question again.
    Repeat for every remote system you wish to log into using an ssh key.
    2) Apparently I managed to connect via ssh once (from the terminal, see point 1) to a local server (allowing remote connection set to ON at the server). But then, when I connected to that server from the client's finder and tried to get into my user account on that server it told me that no secure connection could be established. What's wrong here? Do I have to continue working from within the terminal to use this connection? That would be difficult for an average MacUser.
    MacUser. A flash from the past, as in the MacUser magazine.
    ssh is not used by default when you make connections. If you want an ssh connection, you have to establish it intentionally.
    ssh can be used to pre-establish a tunnel (or tunnels) that other services can use. Once an ssh tunnel is establish, connections to local host's tunnel port will be connected to the specified remote port. For example:
    ssh -L 5901:localhost:5900 [email protected]
    will establish a tunnel that VNC can use. The VNC client would connect to localhost display 1 or port 5901.
    ssh allows multiple -L tunnels to be specified on the ssh command line.
    3) What is the security advantage of an SSH connection on a local wireless network (Airport Base Station) over WPA2, if at all?
    Inside you home. Not much. Unless of course you do not trust the other members of your family. That is to say, others having your WPA2 password, and are thus on the inside, and can sniff you packets.
    4) And how to set up an ssh-connection over the internet cloud to safely build a remote control/desktop sharing connection, e.g., a friend's Mac when she has a problem?
    If you are using the Mac OS X Leopard built-in *Screen Sharing* and you are connecting to another Mac's built-in Leopard System Preferences -> Sharing -> Remote Management (Tiger's Apple Remote Desktop), then in the *Screen Sharing* preferences, is an "Encrypt all network data" option.
    If you wish to set this option in advance, you can launch *Screen Sharing* by double clicking on System -> Library -> CoreServices -> Screen Sharing.app
    You can *Screen Sharing* connections over the net using iChat. This is one of the easiest ways to take control of their system. Of course they need to cooperate. I use a Free AOL Instant Messager (AIM) account for my iChat connections. And as a side benefit you can text, audio chat and/or video chat with the person at the other end.
    If you are NOT using the build-in Mac OS X *Screen Sharing* and/or you are NOT using the build-in remote Mac OS X remote management server, then this is a situation where an ssh tunnel would be a very good idea.
    However, setting up an ssh tunnel between 2 systems across the internet gets complex.
    In this case you might want to consider using something like LogMeIn.com which will deal with all those nasty home routers without needing to to do nasty router configurations, and it will be a secure connection. LogMeIn.com will not be as fast as a *Screen Sharing* connection or a VNC connection, but it will be secure and easy to establish. Again, this is only if you can not to Mac to Mac *Screen Sharing* using built-in Mac OS X remote desktop.
    Now if you want to roll your own ssh tunnels for VNC, then I'm just going to outline the things you need to do.
    If the remote system is behind a home router, you need to configure that remote home router to "Port Forward" port 22 on the Internet side to port 22 on the target Mac. Bonus points if the internet side using a high number port to discourge net bots from knocking on your door. Use the ssh -p 12345 option to connect to the high numbered port that is forwarded to port 22 of the destination Mac.
    On the remote Mac you need to run a VNC server. If this is a Mac, then Leopard System Preferences -> Sharing -> Remote Management (Tiger's Apple Remote Desktop). If it is not a Mac, then for Windows, TightVNC, UltraVNC, RealVNC are possible options. Linux has a built-in vncserver, or you can install x11vnc which has the advantage of displaying the desktop screen.
    Once you can access the remote system, you use an ssh command like the following:
    ssh -p 12345 -L 5901:localhost:5900 remote.system.address
    You can get the remote system's address by having the remote system surf over to http://whatismyip.com. Then they can tell you the IP address.
    If you are going to be doing this a lot, you can get a free no-ip.com or dyndns.org dynamic DNS name for the remote system, and the remote system can run a dynamic DNS client (available from no-ip.com or dyndns.org) which will keep the dynamic DNS name updated as the remote person's ISP change's their IP address.
    Finally, now that you have an ssh tunnel for VNC traffic, you have your VNC client connect to
    Address: localhost
    Port: 5901
    Depending on your VNC client you may need to specify Display 1 instead of Port 5901. Or if you do not get a Display or Port option you specify localhost:5901

  • TS3899 I can't SEND email from Telus account in Alberta, Canada? Does anyone know how to set up the Outgoing server? Help! And thanks!

    Can't SEND email from Telus account in Alberta, Canada, unless I go to web mail. Does anyone know how to set up the Outgoing server? Incoming is fine. Outgoing used to work. We changed it when we went to another location, and can't get it back. Telus support can't fix it. Neither smtp.telus.net NOR mail.telus.net works for Outgoing server to send mail. Please help! Thanks.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • How to set up roaming profile on Macs using AD like in windows

    I can bind the workstations to the domain fine.. But can someone direct me to instructions of how to set up the roaming profiles ?
    What steps do I need on the server ? This is what I've done so far.
    I already have OU's for the departments and the users have a shared folder inside their department folder.... \\server\shared_folder\user
    I have done the usual things with AD as far as the profile settings on the windows server.
    Am currently running Mac OS 10.5 and above
    My windows AD runs on windows server 2008
    All my windows workstation are able to use roaming profile without a problem.
    So far i have tried the so many avenues including..
    Make sure the Mac systems are joined to the domain controller and an ADS user can log on successfully. Use "Directory Utility" under "Utilities" menu to join the system to the domain.
    Backup all the contents from /Users to the storage or somewhere locally.
    Configure automount - Go to "Utilities" -> "Directory Utility" - Select the domain and click "Show advanced options" - Click "Mounts" tab and add automount as mentioned below. Remote NFS URL: nfs://server_name/share_name/path/to/profile/directory Mount location: /Users Additional mount parameters: -P,-T Apply the settings and this will mount the remote shared folder or we can name it as Roaming Profile Space - under /Users directory
    Enable roaming profile - Go to "Utilities" -> "Directory Utility" - Select the domain and click "Show advanced options" - Click "Services" -> Select "Active Directory" and click "Show advanced option" - Click "User experience" tab and select the option "Create mobile account at login".
    Reboot the system and log in as any ADS user. The Roaming shared folder will be mounted and the user profile will be created on the shared folder
    Can anyone kindly assist me

    Hi Guys, anyone with the Soln...or Tips..Am waiting

  • How to set up user account and share folders

    We are a family of four sharing our first iMac. I would like to set up one account for my wife and I and one account for my kids on which I plan to enable Parental Controls.
    I have struggled with setting up my kids user account. After setting up a Standard account for the kids - I noticed none of our music or files were visible in the kids accounts. I spent 20 min on the phone with Apple and the tech was clueless. He had me copying my music folder all over the computer until I had about 6 copies of the same folder. I did figure out how to move the music library to SHARED folder and redirect iTunes source folder to the same shared folder.
    My problem now - when I copy my documents to the SHARED folder my kids can see the files and open them, but they can not save them. How do I give the kids account read write privileges?
    Should I set up a GROUP account instead?
    I need the best way to have two or three users who can access all data on the same iMac, while giving me the ability to enable Parental Controls on the accounts.

    Do this:
    Here's how to set it up by using ACLs:
    1. Create a new folder in /Users/Shared. Call it "Sharefolder".
    2. Log in to an Admin account, open Terminal and paste in all of this at the same time:
    chmod -R +a "everyone allow delete,chown,list,search,add_file,\
    addsubdirectory,delete_child,file_inherit,directoryinherit" \
    /Users/Shared/Sharefolder
    That will automatically make everything copied or created to the sharefolder writable by all users. Note: After setting this up, if you have existing files that you want to move to the sharefolder, hold down the option key when dragging them in. That will make new copies of them in the sharefolder. Dragging existing files in (i.e. simply moving them there) won't cause the ACL to inherit properly and they won't be writable by all users. Files that are copied or +newly created+ in the sharefolder shouldn't have this problem.
    Make sure you keep good backups. One user accidentally deleting a shared file will affect everybody else who uses it.

Maybe you are looking for

  • Windows 7 and Mac 10.5 network file sharing

    I am having extreme difficulties sharing files over my home network! I have 3 PCs and one Mac. I have tried the Mac forums and the Windows forums, to no avail. On the Mac side: File Sharing is ON, with smb Users are set to Everyone with read/write pr

  • Unable to burn CDs

    Hi; I have just installed iTunes on a new WIN 7 64 bit computer and I am unable to burn CDs. When starting iTunes I get the message that I need to re-install iTunes to fix the problem. I have done that but still does not solve the issue, Also install

  • Is there a way to temporarily ignore the Creative Cloud Desktop update? i.e. Mobile data use

    I am a mobile tablet user (Windows 8).  I am connected via mobile data wifi sometimes, and I need to grab a font or make a quick update to an Illustrator or InDesign project with a new font etc.  The problem is that when a Creative Cloud Desktop upda

  • Is my iMac too old to benefit from ML?

    I have an iMac, a 2007 alu model with a 2GHz Core 2 Duo, 4 Gb RAM. I know ML will run via the minimum specs required, but will it run ok? Is this a release that not just adds features but also tightens up/improves the code? I ask as last year I upgra

  • Ipad photos duplicating

    My photos seem to be duplicating when I sync with my iMac - any ideas why?