Is OCS useful in comparision with MS Exchange?

Some clients asked me about this tool.
What is the main diffrerences in comparison with MS Exchange. What is more workable and useful?
As i can see OCS weights 4 CD-ROMS, Exchange 1 CD-ROM.
A'm affraid it 4 times harder to tune and support, is it?

It is pretty hard to compare the two. OCSv2 has all the features that MS exchange has and many more. You have to make the final decision.
http://otn.oracle.com/products/cs/content.html
Call a Oracle Sales Rep and they will be able to explain the differences in detail and even show you a real time example. One Major thing to talk about is cost. OCS is much cheaper to implement and support.
Call an Oracle Sales Rep.
http://www.oracle.com/corporate/contact/

Similar Messages

  • Outlook 2013 with Office365 exchange Scheduling assistant not retrieving free/busy information

    Hi, we are using Outlook 2013 with Office365 Exchange and when using the Scheduling assistant in Outlook users are seeing "No Information. No free/busy information could be retrieved".  The scheduling assistant works fine in OWA.  
    I have spent time trying to find an answer on the web but most answers involve different exchange variations.
    Mark

    Hi,
    Since the problem only exists on Outlook Client, we can try running Outlook with the switch "/cleanfreebusy", this will clear and regenerate free/busy information:
    outlook.exe /cleanfreebusyin the blank box, then press Enter.
    You can also switch between Online and Cached Mode to check if there's a difference.
    Regards,
    Melon Chen
    TechNet Community Support

  • I bought a new imac running Loin and Office 2011. The server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software.

    I bought a new imac running Loin with Office 2011. I am the only mac in the office and the Server we use to access emails runs exchange 2003 and my IT person says the imac is not compatible with the server. The server does not want to let me access using any email software other than webmail access through our website. It looks as though 2011 is not compatible with 2003 per some searches online, but what are some options I have to gain full access again? I purchased parallels in hopes that this my help and I am able to use remote desktop connection to log on to server but can not drag and drop files I need. There is a shared drive on that Server we all use to exchange files.
    The two main issues are gaining access to my email again and ability to drag and drop files from mac to pc. I hope this is enough info to get some solutions.
    PS - IT person says my iMac's IP is what his server does not understand so that is why I can not login.

    Office 2011 is not compatbile with Exchange 2003.
    I suggest you post further Office related questions on Microsoft's own forums for their Mac software:
    http://answers.microsoft.com/en-us/mac

  • Just updated to my macbook pro to 10.8.2. ical not synching with my Exchange 2010 server. Worked flawlessly prior to the upgrade. Settings set to auto discover. I matched settings of a partner in my who is still using 10.7.1 without issues. Help!

    Just updated to my macbook pro to 10.8.2. ical not synching with my Exchange 2010 server. Worked flawlessly prior to the upgrade. Settings set to auto discover. I matched settings of a partner in my who is still using 10.7.1 without issues. Help!

    Also - my battery has been telling me "service battery" for a LONG time and then it switched to "replace soon" som time ago. Can't really see what this has to do with anything but whatever.
    That could conceivably explain all the problems you're describing. Replacing a Mac's battery should not be postponed since a failed battery will cause other problems to occur. It is also possible that its hard disk has failed, which means the information on it may soon become unrecoverable.
    ... my latest TM back up was from April 2014, can I just run this when I have rescued everthing and then it might not be as slow?
    If that Time Machine backup remains intact, it may be the only viable means of recovering that Mac's information. I suggest you do not attempt to restore its contents to your ailing Mac.
    Given that you are having trouble creating a newer Time Machine backup you should stop using that Mac immediately and have it serviced as soon as you are able. Do not take it to anyone other than Apple or a service facility authorized by Apple, for the very reasons you explained. If there are no Apple Stores in your vicinity search for an Authorized Apple Service Provider using the Contact Us link below. Use one of the options that appear under Contact Apple Support. The language on that page will be different for your location.

  • Integrating Exchange 2013 & Lync Server 2013: can't use a certificate with Seth-AuthConfig

    I'm trying to integrate Exchange and Lyn Server. One of the first steps is to bind a correct certificate to IIS on all of the CAS servers and set it as a main certificate in the global AuthConfig object. The certificate must be the same on all of the
    CAS servers because the autodiscover.domain.local DNS record points to all of them, and Lync Server uses this FQDN to access Exchange servers. The thumbprint of this certificate must be specified in Set-AuthConfig command run on an Exchange server.
    We have an internal enterprise CA. I generated a certificate on one of the CAS servers and bound it to all of the Exchange services. Then I exported it, imported it on the second CAS server and bound it to all of the services as well. Now Exchange correctly uses
    it for OWA, for example, and IE gives no security warnings when I connect to OWA.
    However, whenever I run Set-AuthConfig command on any server, it keeps telling me that
    The certificate with thumbprint XXXX was found but is not valid for use with Exchange Server (reason: PrivateKeyNotAccessible).
    The key IS accessible - I can export the certificate along with its private key. What's wrong?

    Here's the answer.
    It seems that the -Server switch in the Set-AuthConfig command is only used to specify where you want to look for the certificate with the given thumbprint. However, it's impossible to predict which Exchange server will actually perform the operation
    (the Server switch doesn't influence it a bit). It could be ANY server, even a mailbox one with no CAS role at all. And, of course, another Exchange server has no access to the certificate store of the CAS server where the certificate is actually stored. It
    was exactly the case in my environment.
    So in order to enable this certificate you must import it on ALL of your Exchange servers. You need't (and even shouldn't) enable it for any services on your mailbox servers if you don't want to, just import it.

  • Using MS Outlook settings to set up Evolution with an Exchange server

    I am currently using Outlook with an Exchange server, and I would like to use Evolution instead.  I installed evolution and evolution-ews, and in going through the initial account setup, I am asked for a host URL and an OAB URL.  I'm not sure what these are and can't find them in Outlook.  Surely these paths are stored somewhere in Outlook, right?

    When I used outlook before, I was able to log in through a web browser as another way to browse my mails when away from the office. The example in the link was
    https://server-ip.com/exchange
    which is the same as I was able to use. Of course, I am almost sure the address can be different. With my limited knowledge, I would recommend just entering your credentials in Evolution and click "Authenticate". If all goes well, you should then be prompted for your password. If you don't have that option, try to login to that address from your web browser. If not, maybe you can get in touch with IT or the server admin to see if the outlook server is setup to allow webdav and if in fact that is the correct address.
    Last edited by BluMongoose (2014-09-03 19:49:57)

  • Have iphone5 & ipad 3 with Outlook Exchange 2003 emails. Random emails aren't delivered to my IOS devices but appear on my PC. Using no filters or rules. Is there a fix?

    Have iphone5 & ipad 3 with Outlook Exchange 2003 emails. Random emails aren't delivered to my IOS devices but appear on my PC. Emails have no attachments nor am i Using any filters. Is there a fix?

    Does anyone have any input here? The tech team at work just stonewalls me when I tell them I have an iPhone and being able to check my emails was one of the main deciding factors in getting one for me.

  • Using Mac Mail with Exchange problem - Please HELP

    When using mac mail with exchange server 2000 when i delete an email from mac mail it doesnt delete it from exchange i know this because when i login to my email from microsoft outlook the mail that i deleted is still there.
    i have tried changing the mailbox behaviours in mail preferences to not store deleted messages on the server but this didnt do anything do i need to setup directory access in utilities to get an exchange account to work properly any help would be appreciated as we dont want to have to use microsoft products
    many thanks

    Are you set up for POP or IMAP? For POP, that's the normal behavior. For IMAP, try making sure you have the synchronize mail folders option selected. The is under Mail->Preferences->Accounts->Advanced.

  • Hi i m using 4s and its updated but i cant configure with microsoft exchange for my gmail account. Anytime i tried to configure it the message comes connection to the server failed. Pls help me out.

    Hi i m using 4s and its updated but i cant configure with microsoft exchange for my gmail account. Anytime i tried to configure it the message comes connection to the server failed. Pls help me out.
    <Email Edited by Host>

    Discontinued by Google. Read here:
    http://googlesystem.blogspot.com/2012/12/google-sync-discontinued-for-gmail.html

  • Assertion Failures using Mail.app with Exchange 2007...

    We have been implementing and migrating our end-users to Exchange 2007. In doing so we found that Mail.app end-users were experiencing Assertion failures in Console.app. They used to cause Mail.app to crash and lose connectivity frequently to the Exchange 2007 server. We made a change to the firewall to allow communication to happen between domain controllers, but haven't been able to determine if this in fact resolved or helped hide the root cause. We seem to be no longer crashing Mail.app or losing connectivity, but the same logs when we would crash/lose connectivity are still happening when you look in Console.app.
    *Here is an example of an Assertion failure where "The Operation couldn't be completed":*
    +11/12/10 1:19:36 PM Mail[3201] * Assertion failure in -[EWSConnection sendMessage:forRequest:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSConnection.m:374+
    +Received an unexpected error: Error Domain=NSXMLParserErrorDomain Code=5 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 5.)", response: (null)+
    + 0 Message 0x00007fff804216e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137+
    + 1 Message 0x00007fff80421649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220+
    + 2 Message 0x00007fff8036301b -[EWSConnection sendMessage:forRequest:] + 1117+
    + 3 Message 0x00007fff8036e5b9 -[EWSGateway sendMessage:forRequest:] + 79+
    + 4 Message 0x00007fff80381a63 -[EWSRequestOperation executeOperation] + 104+
    + 5 Message 0x00007fff8042fab9 -[MonitoredOperation main] + 229+
    + 6 Foundation 0x00007fff8654bde4 -[__NSOperationInternal start] + 681+
    + 7 Foundation 0x00007fff8662abeb __doStart2 + 97+
    + 8 libSystem.B.dylib 0x00007fff863522c4 dispatch_call_block_andrelease + 15+
    + 9 libSystem.B.dylib 0x00007fff86330831 dispatch_workerthread2 + 239+
    + 10 libSystem.B.dylib 0x00007fff86330168 pthreadwqthread + 353+
    + 11 libSystem.B.dylib 0x00007fff86330005 start_wqthread + 13+
    *I also get this Assertion failure every time I re-open Mail.app that shows up in Console.app that says "Mail did something wrong: The specified folder could not be found in the store.":*
    +11/12/10 12:44:22 PM Mail[3201] * Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSResponseOperation.m: 420+
    +Mail did something wrong: The specified folder could not be found in the store. on EWS response <EWSGetFolderResponseOperation: 0x1012f1830> (EXECUTING)+
    + 0 Message 0x00007fff804216e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137+
    + 1 Message 0x00007fff80421649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220+
    + 2 Message 0x00007fff80382956 -[EWSResponseOperation handleResponseMessage:withObject:] + 2295+
    + 3 Message 0x00007fff80377aae __-[EWSGetFolderResponseOperation executeOperation]block_invoke1 + 88+
    + 4 CoreFoundation 0x00007fff879c26d7 __NSArrayEnumerate + 1399+
    + 5 Message 0x00007fff80377d86 -[EWSGetFolderResponseOperation executeOperation] + 445+
    + 6 Message 0x00007fff8042fab9 -[MonitoredOperation main] + 229+
    + 7 Foundation 0x00007fff8654bde4 -[__NSOperationInternal start] + 681+
    + 8 Foundation 0x00007fff8662abeb __doStart2 + 97+
    + 9 libSystem.B.dylib 0x00007fff863522c4 dispatch_call_block_andrelease + 15+
    + 10 libSystem.B.dylib 0x00007fff86330831 dispatch_workerthread2 + 239+
    + 11 libSystem.B.dylib 0x00007fff86330168 pthreadwqthread + 353+
    + 12 libSystem.B.dylib 0x00007fff86330005 start_wqthread + 13+
    +11/12/10 12:44:22 PM Mail[3201] Recieved EWS error: Error Domain=MFEWSErrorDomain Code=79 UserInfo=0x1148c1d10 "The specified folder could not be found in the store."+
    We are getting these Assertion Failures for other end-users as well that are using Mail.app and connecting to Exchange 2007 Server. I have wiped my mail.app account and started from fresh and that didn't help. I did it manually as well ensuring that preference files, caches, and passwords related to mail.app, ical.app, and Address Book.app were removed. That did not work. I just went from 10.6.4 to 10.6.5 hoping that would correct the issue, it did not. I even set up on another Mac a baseline Snow Leopard and patched it and then configured my mail account and still got the same errors.
    What I am hoping for is not a miracle (Fixing the problem), but being told what these errors mean and if there is any risks to be concerned with. In other words, can I ignore these error messages or should I be concerned? Like I said it was causing us to get the sideways thunderbolt or triangle with an exclamation point and even crashing Mail.app at times. That hasn't happened since we let the all of the domain controllers talk to each other, even though they shouldn't have to.

    I echo your hope for someone shedding a light on this. I too am geting Assertion failures, every few days, though without much in the way of crashes.
    Here is an example of a log entry describing one recent such failure:
    +5.12.2010 11:04:40 Mail[17075] * Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSResponseOperation.m: 420+
    +Mail did something wrong: The specified folder could not be found in the store. on EWS response <EWSGetFolderResponseOperation: 0x11d80ec70> (EXECUTING)+
    0 Message 0x00007fff81f7d6e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff81f7d649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Message 0x00007fff81ede956 -[EWSResponseOperation handleResponseMessage:withObject:] + 2295
    3 Message 0x00007fff81ed3aae __-[EWSGetFolderResponseOperation executeOperation]block_invoke1 + 88
    4 CoreFoundation 0x00007fff8448c6d7 __NSArrayEnumerate + 1399
    5 Message 0x00007fff81ed3d86 -[EWSGetFolderResponseOperation executeOperation] + 445
    6 Message 0x00007fff81f8bab9 -[MonitoredOperation main] + 229
    7 Foundation 0x00007fff847b4de4 -[__NSOperationInternal start] + 681
    8 Foundation 0x00007fff84893beb __doStart2 + 97
    9 libSystem.B.dylib 0x00007fff85f6b2c4 dispatch_call_block_andrelease + 15
    10 libSystem.B.dylib 0x00007fff85f49831 dispatch_workerthread2 + 239
    11 libSystem.B.dylib 0x00007fff85f49168 pthreadwqthread + 353
    12 libSystem.B.dylib 0x00007fff85f49005 start_wqthread + 13
    Perhaps coincidentally, I am having trouble with syncing iCal with my Exchange account. Ii have only found this thread on the subject, and am in the process of trying to find there the solution to that problem:
    http://discussions.apple.com/thread.jspa?threadID=2138051
    Any and all insight would be greatly appreciated.

  • I am unable to get Thunderbird to work with my exchange email account

    I have tried a heap of different configurations including using ExQuilla with no success. I will provide the insrtuctions I received for accessing my account using outlook.
    I hope you can help, as I find Thunderbird a great platform, and really don't want to go back to Outlook.
    *Note – the instruction at step 5 is fairly important. It is easy to miss it and hit “check name”. Don’t – It’ll piss you off no end.
    Let me know how you go.
    Using Outlook via the Internet
    If you are using Microsoft® Office Outlook® 2003, you can connect to the computer running Windows® Small Business Server through the Internet using the feature called RPC over HTTP. This means you can remotely access your server e-mail account from the Internet when you are working outside your organization's firewall. You do not need security-related hardware or software (such as smart cards or security tokens), and you do not have to establish a virtual private network (VPN) connection to the server.
    Comparing RPC over HTTP and Outlook Web Access
    When using RPC over HTTP to access your mailbox, you get the full functionality of Outlook 2003. For example, you can work offline, use Microsoft Office Word 2003 as your e-mail editor, and easily organize your mailbox.
    To use Outlook via the Internet
    Ensure that the following requirements have been met on the client computer:
    Verify that the computer is running Microsoft Windows XP Service Pack 1 or later
    • Click Start, right-click My Computer, and then click Properties.
    The version of the operating system and service pack is displayed under System. If you do not see a service pack version, there is no service pack installed.
    Verify that Windows update Q331320 is installed on the computer (not required if you are running Windows XP Service Pack 2 or later)
    1. Click Start, click Control Panel, and then open Add or Remove Programs.
    2. Under Currently installed programs, search for the item Windows XP Hotfix (SP2) Q331320.
    3. If the item is not present, go to the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=18651) and follow the instructions to download and install it.
    Verify that the computer is running Outlook 2003 or later
    1. Open Outlook.
    2. Click the Help menu, and then click About Microsoft Office Outlook. The version number appears at the top of the box.
    Verify that the computer trusts the certificate used by the server
    1. Open Internet Explorer, and then in the address bar type:
    https://vpn.alaea.asn.au/remote
    • If the certificate is trusted, a certificate warning does not appear. In this case, continue with step 1 under Ensure that you have an Outlook profile configured for the server.
    • If the certificate is not trusted, a warning appears. Click View Certificate, click Install Certificate, and then follow the instructions.
    Ensure that you have an Outlook profile configured for the server
    1. Click Start, and then click Control Panel.
    • If you are viewing Control Panel in the default Category view, switch to Classic view, and then double-click Mail.
    • If you are viewing Control Panel in Classic view, double-click Mail.
    2. In the Mail Setup dialog box, click Show Profiles. If your profile appears in the list, select your profile, click Properties, click E-mail Accounts, select View or change existing e-mail accounts, and then click Next. If your profile does not appear, open Outlook and follow the instructions to create a profile before proceeding.
    • If Microsoft Exchange Server does not appear in the list, the existing profile is not associated with a Microsoft Exchange Server e-mail account. Click Cancel, and then click Close. Continue with step 3 to add a profile.
    • If there is an existing Microsoft Exchange Server profile, continue with step 3 under Configure the computer for RPC over HTTP.
    3. Click Add. The New Profile dialog box appears.
    4. In the Profile Name box, type a name for the new profile, and then click OK. The E-mail Accounts dialog box appears.
    5. Under E-mail, select Add a new e-mail account, and then click Next. The Server Type dialog box appears.
    6. Click Microsoft Exchange Server, and then click Next.
    7. Continue with step 4 under Configure the computer for RPC over HTTP.
    Configure the computer for RPC over HTTP
    1. Click Start, and then click Control Panel.
    • If you are viewing Control Panel in the default Category view, switch to Classic view, and then double-click Mail.
    • If you are viewing Control Panel in Classic view, double-click Mail.
    2. In the Mail Setup dialog box, click E-mail accounts, click View or change existing e-mail accounts, and then click Next.
    3. In the E-mail accounts dialog box, click Microsoft Exchange Server, and then click Change.
    4. In the Microsoft Exchange Server box, type the local name of the Exchange server:
    alaea-sbs1.alaea.alaea.asn.au
    5. In the User Name box, type the user name that you use to log on to the Remote Web Workplace. Do not click Check Name.
    6. In the Exchange Server settings page, click More Settings.
    7. On the Connection tab, under Exchange over the Internet, select Connect to my Exchange mailbox using HTTP, and then click Exchange Proxy Settings. The Exchange Proxy Settings dialog box appears.
    8. Under Use this URL to connect to my proxy server for Exchange, type the following URL:
    vpn.alaea.asn.au
    9. Select Connect using SSL only, and then select Mutually authenticate the session when connecting with SSL.
    10. In the Principal name for proxy server box, type the following text:
    msstd:vpn.alaea.asn.au
    11. Select On slow networks, connect using HTTP first, then connect using TCP/IP.
    12. Under Proxy authentication settings, select Basic Authentication.
    13. Click OK, and then click OK again. Click Next, and then click Finish. Click Close.
    14. In the Mail dialog box, if Always use this profile is selected, choose the newly configured profile.
    15. Open Outlook and type your Windows Small Business Server user name (in the format ALAEA\user name) and password. You can now work with your Outlook mailbox.

    Sheesh. That looks hard. I think it will fall over at this point:
    "Connect to my Exchange mailbox using HTTP" 'cos Thunderbird uses only the regular email protocols: POP, IMAP and SMTP.
    Here (at work) we have in the past have had IMAP and SMTP enabled on our Exchange server so Thunderbird could then connect just like to any other regular internet-based service.
    With the change here to outlook365/outlook 2010 I've had to switch to using DavMail which lets Thunderbird talk to the mail server using OWA.
    I haven't (seriously) tried Exquilla. Whilst I have great respect for its author and some of his other add-ons, I saw no reason to use an add-on that required payment when DavMail works for free.

  • I'm trying to use kerberos V5 with ActiveDirectory but get an error

    I'm trying to use kerberos V5 with ActiveDirectory im using simple code from previuos posts but
    when i try with correct username/password i get :
    Authentication attempt failedjavax.security.auth.login.LoginException: Message stream modified (41)
    when i try incorrect username/pass i get :
    Pre-authentication information was invalid (24)
    Debug info is :
    Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    Kerberos username [naiden]: naiden
    Kerberos password for naiden:      naiden
              [Krb5LoginModule] user entered username: naiden
    Acquire TGT using AS Exchange
              [Krb5LoginModule] authentication failed
    Pre-authentication information was invalid (24)
    Authentication attempt failedjavax.security.auth.login.LoginException: Java code is :
    import javax.naming.*;
    import javax.naming.directory.*;
    import javax.security.auth.login.*;
    import javax.security.auth.Subject;
    import com.sun.security.auth.callback.TextCallbackHandler;
    import java.util.Hashtable;
    * Demonstrates how to create an initial context to an LDAP server
    * using "GSSAPI" SASL authentication (Kerberos v5).
    * Requires J2SE 1.4, or JNDI 1.2 with ldapbp.jar, JAAS, JCE, an RFC 2853
    * compliant implementation of J-GSS and a Kerberos v5 implementation.
    * Jaas.conf
    * racfldap.GssExample {com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true doNotPrompt=true; };
    * 'qop' is a comma separated list of tokens, each of which is one of
    * auth, auth-int, or auth-conf. If none is supplied, the default is 'auth'.
    class KerberosExample {
    public static void main(String[] args) {
    java.util.Properties p = new java.util.Properties(System.getProperties());
    p.setProperty("java.security.krb5.realm", "ISY");
    p.setProperty("java.security.krb5.kdc", "192.168.0.101");
    p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
    System.setProperties(p);
    // 1. Log in (to Kerberos)
    LoginContext lc = null;
    try {
    lc = new LoginContext("ISY",
    new TextCallbackHandler());
    // Attempt authentication
    lc.login();
    } catch (LoginException le) {
    System.err.println("Authentication attempt failed" + le);
    System.exit(-1);
    // 2. Perform JNDI work as logged in subject
    Subject.doAs(lc.getSubject(), new LDAPAction(args));
    // 3. Perform LDAP Action
    * The application must supply a PrivilegedAction that is to be run
    * inside a Subject.doAs() or Subject.doAsPrivileged().
    class LDAPAction implements java.security.PrivilegedAction {
    private String[] args;
    private static String[] sAttrIDs;
    private static String sUserAccount = new String("Administrator");
    public LDAPAction(String[] origArgs) {
    this.args = (String[])origArgs.clone();
    public Object run() {
    performLDAPOperation(args);
    return null;
    private static void performLDAPOperation(String[] args) {
    // Set up environment for creating initial context
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    // Must use fully qualified hostname
    env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389/DC=isy,DC=local");
    // Request the use of the "GSSAPI" SASL mechanism
    // Authenticate by using already established Kerberos credentials
    env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    env.put("javax.security.sasl.server.authentication", "true");
    try {
    /* Create initial context */
    DirContext ctx = new InitialDirContext(env);
    /* Get the attributes requested */
    Attributes aAnswer =ctx.getAttributes( "CN="+ sUserAccount + ",CN=Users,DC=isy,DC=local");
    NamingEnumeration enumUserInfo = aAnswer.getAll();
    while(enumUserInfo.hasMoreElements()) {
    System.out.println(enumUserInfo.nextElement().toString());
    // Close the context when we're done
    ctx.close();
    } catch (NamingException e) {
    e.printStackTrace();
    }JAAS conf file is :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };krb5.ini file is :
    # Kerberos 5 Configuration File
    # All available options are specified in the Kerberos System Administrator's Guide.  Very
    # few are used here.
    # Determines which Kerberos realm a machine should be in, given its domain name.  This is
    # especially important when obtaining AFS tokens - in afsdcell.ini in the Windows directory
    # there should be an entry for your AFS cell name, followed by a list of IP addresses, and,
    # after a # symbol, the name of the server corresponding to each IP address.
    [libdefaults]
         default_realm = ISY
    [domain_realm]
         .isy.local = ISY
         isy.local = ISY
    # Specifies all the server information for each realm.
    #[realms]
         ISY=
              kdc = 192.168.0.101
              admin_server = 192.168.0.101
              default_domain = ISY
         }

    Now it works
    i will try to explain how i do this :
    step 1 )
    fallow this guide http://www.cit.cornell.edu/computer/system/win2000/kerberos/
    and configure AD to use kerberos and to heve Kerberos REALM
    step 2 ) try windows login to the new realm to be sure that it works ADD trusted realm if needed.
    step 3 ) create jaas.conf file for example in c:\
    it looks like this :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };step 4)
    ( dont forget to make mappings which are explained in step 1 ) go to Active Directory users make sure from View to check Advanced Features Right click on the user go to mappings in secound tab kerberos mapping add USERNAME@KERBEROSreaLm for example [email protected]
    step 5)
    copy+paste this code and HIT RUN :)
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    import javax.security.auth.Subject;
    import javax.security.auth.login.LoginContext;
    import javax.security.auth.login.LoginException;
    import com.sun.security.auth.callback.TextCallbackHandler;
    public class Main {
        public static void main(String[] args) {
        java.util.Properties p = new java.util.Properties(System.getProperties());
        p.setProperty("java.security.krb5.realm", "ISY.LOCAL");
        p.setProperty("java.security.krb5.kdc", "192.168.0.101");
        p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
        System.setProperties(p);
        // 1. Log in (to Kerberos)
        LoginContext lc = null;
        try {
                lc = new LoginContext("ISY", new TextCallbackHandler());
        // Attempt authentication
        lc.login();
        } catch (LoginException le) {
        System.err.println("Authentication attempt failed" + le);
        System.exit(-1);
        // 2. Perform JNDI work as logged in subject
        Subject.doAs(lc.getSubject(), new LDAPAction(args));
        // 3. Perform LDAP Action
        * The application must supply a PrivilegedAction that is to be run
        * inside a Subject.doAs() or Subject.doAsPrivileged().
        class LDAPAction implements java.security.PrivilegedAction {
        private String[] args;
        private static String[] sAttrIDs;
        private static String sUserAccount = new String("Administrator");
        public LDAPAction(String[] origArgs) {
        this.args = origArgs.clone();
        public Object run() {
        performLDAPOperation(args);
        return null;
        private static void performLDAPOperation(String[] args) {
        // Set up environment for creating initial context
        Hashtable env = new Hashtable(11);
        env.put(Context.INITIAL_CONTEXT_FACTORY,
        "com.sun.jndi.ldap.LdapCtxFactory");
        // Must use fully qualified hostname
        env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389");
        // Request the use of the "GSSAPI" SASL mechanism
        // Authenticate by using already established Kerberos credentials
        env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    //    env.put("javax.security.sasl.server.authentication", "true");
        try {
        /* Create initial context */
        DirContext ctx = new InitialDirContext(env);
        /* Get the attributes requested */
        //Create the search controls        
        SearchControls searchCtls = new SearchControls();
        //Specify the attributes to return
        String returnedAtts[]={"sn","givenName","mail"};
        searchCtls.setReturningAttributes(returnedAtts);
        //Specify the search scope
        searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
        //specify the LDAP search filter
        String searchFilter = "(&(objectClass=user)(mail=*))";
        //Specify the Base for the search
        String searchBase = "DC=isy,DC=local";
        //initialize counter to total the results
        int totalResults = 0;
        // Search for objects using the filter
        NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
        //Loop through the search results
        while (answer.hasMoreElements()) {
                SearchResult sr = (SearchResult)answer.next();
            totalResults++;
            System.out.println(">>>" + sr.getName());
            // Print out some of the attributes, catch the exception if the attributes have no values
            Attributes attrs = sr.getAttributes();
            if (attrs != null) {
                try {
                System.out.println("   surname: " + attrs.get("sn").get());
                System.out.println("   firstname: " + attrs.get("givenName").get());
                System.out.println("   mail: " + attrs.get("mail").get());
                catch (NullPointerException e)    {
                System.err.println("Error listing attributes: " + e);
        System.out.println("RABOTIII");
            System.out.println("Total results: " + totalResults);
        ctx.close();
        } catch (NamingException e) {
        e.printStackTrace();
    }It will ask for username and password
    type for example : [email protected] for username
    and password : TheSecretPassword
    where ISY.LOCAL is the name of kerberos realm.
    p.s. it is not good idea to use Administrator as login :)
    Edited by: JOKe on Sep 14, 2007 2:23 PM

  • I am having much trouble with the new reminders in IOS7 and how it interacts with Outlook Exchange. Many features lost in the new version.

    When I downloaded IOS7, I found that the reminders/task app and how it interacts with Outlook Exchange is much more difficult to use. Some of the issues that I am having are...
    1. Trying to edit my task on my phone is not possible, if the notes are lengthy. When you click on the text to edit data near the top, it will scroll to the bottom and not allow you to edit the text because you cant see it.
    2. Now all of my task are in one long list. I can not move from day to day like we could in previous version IOS6
    3. When I do edit a short task reminder and click done, it crashes and completly goes away. It does save the edit though
    4. You can only add task at the bottom of each days reminders. This is very inconvient and much more difficult than IOS6
    5. There is a major delay or latency when interacting inside of reminders in this version. Much more than IOS6. It is very unstable and quirky.
    I have never seen Apple take a step back with a product until now. I am a huge Apple fan and always will be, so I am hoping they make enhancements to fix these issue. It is a big time prodcutivity killer.
    Thanks for any and all help you can give.
    Troy Meachum

    Some power supplies or designed so that if there is a short or overload they shut them selfs off and some will not turn back on. Some have a relay that will click back on and work, some you have to  cycle the power switch. Those that won't come back on will have to be replaced. I'm not saying that yours is that type as I have no way of telling. But if you have a friend who will loan you a good power supply you might try it. As someone else said just turning off the power will not darn all the power from some motherboards. To test this turn off your power supply than turn on the computer with the start botton. Mine will flash the lights and fans will start to spin than die. So every time you turn off computer to work on it. After turning off PSU hit the start botton to drian any power left in it before working on it. Also do this after unplugging it just to make sure.

  • How do i sync my itunes account with outlook exchange

    I have recently upgraded to a 5s from my 4s.  I have synced my mail accounts with my exchange and i can send/recieve emails no problem.
    However when in itunes my outlook account will not show (as it used to) so i am unable to sync callenders and contacts.  I have tried deleting the old phone from iTunes/iCloud and find my iPhone incase this was causing conflict but it does not seem to have worked.
    Please help

    You're welcome.
    You didn't mention that slightly important info.
    If a Windows sufferer.
    http://support.apple.com/kb/TS1538
    For a Mac.
    http://support.apple.com/kb/TS1591?viewlocale=en_US

  • How to use create ExchangeService with TokenCredentials?

    I wanted to use the EWS Managed API in my Office Mail App.  I would like to obtain the credential from the mailbox in JS and then pass it to the code behind to create the
    Microsoft.Exchange.WebServices.Data.ExchangeService
    object.  I was able to create the object if I use the WebCredential with username and password, but I would like to use the credential in the mailbox, so I don't have to ask the user for username and password again.  I saw that there
    is an identitytoken available in JS
    Office.initialize = function () {
    // Checks for the DOM to load using the jQuery ready function.
    $(document).ready(function () {
    // After the DOM is loaded, app-specific code can run.
    _mailbox = Office.context.mailbox;
    _mailbox.getUserIdentityTokenAsync(getUserIdentityTokenCallback);
    _Item = _mailbox.item;
    $(mailID).val(_Item.itemId);
    $(url).val(_mailbox.ewsUrl);
    function getUserIdentityTokenCallback(asyncResult) {
    $(token).val(asyncResult.value);
    so, I tried to use this token to create the ExchangeService object and get the mail item like below.
    public Item Test(string email, string token, string mailID, string url)
    ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack;
    exchangeService = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
    exchangeService.Credentials = new TokenCredentials(token);
    exchangeService.TraceEnabled = true;
    exchangeService.TraceFlags = TraceFlags.All;
    exchangeService.Url = new Uri(url);
    Item item = null;
    try
    item = this.GetEmail(mailID);
    catch (Exception ex)
    string a;
    return item;
    public Item GetEmail(string mailID)
    if (!string.IsNullOrEmpty(mailID))
    Logger.ErrorLog("GetEmail: mailID =" + mailID);
    ItemId itemID = new ItemId(mailID);
    Item emailItem = Item.Bind(exchangeService, itemID);
    emailItem.Load(new PropertySet(Exchange.BasePropertySet.FirstClassProperties, ItemSchema.MimeContent));
    return emailItem;
    else
    throw new Exception("mailID is null or empty");
    I get the following exception:
    "The request failed. The remote server returned an error: (401) Unauthorized."}
    on  Item emailItem = Item.Bind(exchangeService, itemID); in the GetEmail function.  How do I properly retrieve tokens in JS in the mailbox to create a EWS Managed API ExchangeServices?
    Thank, Hilda

    Ok, I got it to work with "getCallbackTokenAsync".  Use the token that this function delivers and attach to Exchange services with it like so... (I persist the token I receive for all future communications in a global var)
    try
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013)
    Credentials = new OAuthCredentials(in.cnxToken),
    Url = new Uri(in.uriEws)
    ItemId itemID = new ItemId(in.itemId);
    message = Item.Bind(service, itemID);
    catch (Exception ex)
    eaResp.status = "Error: Exchange GetItem failed.\n" + ex.Message.ToString();
    return eaResp;

Maybe you are looking for

  • Create a dynamic physical file path in FILE tcode

    Hi , I have a requirement where i need to create a file on application server. the physical path depend on the month in which it is executing. For example I have a file with the name 29082011_hh:mm:ss.dat. This file should be stored in the directory

  • SQL Server Memory And Di Object

    Hello Experts I'm doing a loop which use some DI Objects. This loop occurs more than 80 000 times. In this loop I manage a BusinessPartner Di Object like that private static SAPBobsCom.BusinessPartners myPartners; while(...) myPartners = (SAPBobsCom.

  • How to move char10 value into int4

    Hi All, i am trying to move the value of vbeln(table LIPS) into field obknr of table SER01 in my program. vbeln is of type char10 and obknr is of type int4 of size 10. while running the program, its giving dump. can anyone suggest me how to avoid the

  • Import problem,pls help!

    Hi,there, I'm new guy here,I'v got a problem about Import in table mode,I found I can import back all records successfully, but it just appends all records into the orignal table,not overwrite it,for example, I made a export for a table with 2 record

  • OAS4 + RH5/6 Help!!!!?

    Has anyone managed to get OAS4 running on RH5/6 sucessfully? I have been attempting to get OAS4 with the 4.0.7.1 patch working on RH6 but as yet I've had no joy. I now have everything working, but when I try to launch a PL/SQL application via the adm