Mail and Kerberos problem

Mail client: 10.7.4
Mail server: 10.6.8
Mail protocol: imap
Authentication: Kerberos V5
The problem: when I login on my client, a TGT is acquired normally, klist shows it, and if I launch Mail, mail get a imap service ticket and all works fine.
When my TGT expires, I cannot get a new TGT otherwise than a kinit, which is unacceptable for my users. Before, whith Snow Leopard or Leopard mail client, if no TGT was present on client, mail poped up a specific kerberos dialog box to ask the password and then get a new TGT and imap service ticket. It is anyway the actual behavior with others services as AFP for example.
I have try to create an user Launch Agent which make a kinit periodically, but when the Mac client get out of long sleep state, the TGT is expired and I have no way to launch my script at this moment.
To reproduce the problem with no ticket at sequence start:
foo-mac1:~ foo$ klist
klist: krb5_cc_get_principal: No credentials cache file found
foo-mac1:~ foo$ kinit  kinit [email protected]
foo-mac1:~ foo$ klist
Credentials cache: API:501:12
        Principal: [email protected]
  Issued           Expires          Principal
Jul  5 10:41:50  Jul  5 20:41:50  krbtgt/[email protected]
A this point, I launch Mail, a service ticket is created, my account is connected and well working.
foo-mac1:~ foo$ klist
Credentials cache: API:501:12
        Principal: foo@XSERVER1. MYDOMAIN.NET
  Issued           Expires          Principal
Jul  5 10:41:50  Jul  5 20:41:50  krbtgt/XSERVER1. MYDOMAIN.NET@XSERVER1. MYDOMAIN.NET
Jul  5 11:01:22  Jul  5 20:41:50  imap/xserver3.mydomain.net@XSERVER1. MYDOMAIN.NET
I quit mail and delete my TGT.
foo-mac1:~ foo$ kdestroy
foo-mac1:~ foo$ klist
klist: krb5_cc_get_principal: No credentials cache file found
If I launch Mail, my account cannot connect and does not propose password dialog as precedent versions so I cannot re-create TGT and imap service ticket otherwise than kinit.
moreover, Mail log a logic entry:
03/07/12 17:04:52,838 Mail: GSSAPI Error:  Miscellaneous failure (see text (No credentials cache file found (negative cache))
03/07/12 17:04:52,838 Mail: [<_LibSasl2SASLClient: 0x7f951dd4f080> mechanism: GSSAPI security layer: no] Failed to start the SASL connection
SASL(-1): generic failure: GSSAPI Error:  Miscellaneous failure (see text (No credentials cache file found (negative cache))
Do you have an idea to make Mail propose an user friendly dialog box when TGT expires or do you have an idea to launch a script when a Mac get out of sleep?

No solution at this point. Now we are seeing the same problem trying to authenticate radius users. Extremely frustrating!
/var/log/system.log:
Sep 19 11:22:58 hostname /usr/sbin/PasswordService[54]: wrong-sized secret 32
Sep 19 11:22:58 hostname /usr/sbin/PasswordService[54]: Unexpected State Reached in MS-CHAPv2 plugin
Sep 19 11:24:05 hostname /usr/sbin/PasswordService[54]: wrong-sized secret 32
Sep 19 11:24:05 hostname /usr/sbin/PasswordService[54]: Unexpected State Reached in MS-CHAPv2 plugin
Sep 19 11:26:27 hostname /usr/sbin/PasswordService[54]: wrong-sized secret 32
Sep 19 11:26:27 hostname /usr/sbin/PasswordService[54]: Unexpected State Reached in MS-CHAPv2 plugin
/var/log/radius/radius.log:
Fri Sep 19 14:21:56 2008 : Error: rlm_mschap: authentication failed -14090
Fri Sep 19 14:28:31 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
Fri Sep 19 14:28:31 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
Fri Sep 19 14:28:31 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
Fri Sep 19 14:28:48 2008 : Auth: rlm_opendirectory: Could not get the user's uuid.
I'm wondering if it's trying to use the wrong auth mech at first. I see the user come in with a successful DIGEST-MD5 during the problem, then successful MS-CHAPv2 following the password reset. Resetting the user's password "fixes" the issue. Until it happens again at an unspecified time.

Similar Messages

  • Mail and iPhoto Problems with sending photos.

    Mail and iPhoto Problems with sending photos.
    I have this problem that started a while ago and seems to be getting worse.
    Here are the different scenarios.
    -If I try to share a photo to email within iPhoto, it will insert the image file name in the mail message, but no image icon or opened image. In iPhoto Preferences under General I have chosen to use Email Photos using Mail.
    -If I choose to use iPhoto to send the photo, it will compose the message and the photo is viewable. If I send the message i can view the photo within the email I sent to myself. Nothing happens when I double click on the photo in the Mail message. Nothing happens when i control click on the photo in the mail message. Nothing happens when I try to drag the photo to the desktop from the mail message. When I try to save attachments from the email and choose a place to save it, the save button is grayed out and it cannot be saved. When I check the mail message it says there is an attachemnt but there is no file size listed.
    -If I use the stationary within Mail app I cannot drag a photo into the placeholder, I get a circle with a line through it symbol when I try. It happens if I try to drag a photo from the desktop or from the media browser within Mail app.
    -If I drag the photo to the desktop from iPhoto, I can double click it on the desktop and it will open in Preview.
    -If I then control click on the same photo on the desktop and scroll to share/email, the generic photo icon will be inserted in the mail message. If i double click the photo icon in the mail message  I get a message it can't be opened because it is empty.
    -If I drag that same image to the mail message body the same thing happens.
    -If I send that email to someone they cannot open the image file.
    What I can do:
    - I can drag that same image file on the desktop to my dropbox folder and  it will upload. From there I can go on my iPad and download the photo and send it through email just fine.
    -I can open the same image file on my desktop in Preview, I can copy and paste it into a mail message and the image will be viewable in the mail message by me and by the recipient.
    -I can drag that same image on the desktop to my safari browser window and it will be viewable in the page. i can then copy and paste that image into a mail message and it is viewable in the message.  I can then send that email message to myself and i can control click on the image and get all my options. It also shows as an attachment with the size of the image file in the mail message.
    I can send that message to someone and they can see the photo and open it fine.
    -If I send that same email to me I can see the photo within the mail.  If I then drag that photo to the desktop I cannot use it again to put in an email as the same problem happens again.
    I have tried all scenarios in my user account, another users account and in a guest account. The same happens in all. I am guessing because of this it is not a corrupt preference file, unless all of the preference files are corrupt. The guest user account I added a new email account so it was brand new and still had the problem.
    I am stumped, all and any help is appreciated.

    Another problem that may be related….
    I have Snapz Pro. I used to be able to save the snaps to my desktop or a folder. Now when I take a screenshot and try to save the file to my desktop or a folder on my desktop I get this message  "Files cannot be created in the selected location. You do not have permission to write to the selected location.   Please choose a different location."  I have found that i can only save the file to the clipboard.   I have repaired permissions many times and still I have this problem.

  • Simultaneous Mail and iCal problems - iCal shows old to-dos

    I was getting ready for my weekly backup, so I ran all the cleaning activities in OnyX. Then when I logged in after the restart, Quicksilver crashed on me 3 times in a row and acted as if I was installing it for the first time. I did not, however, have to completely reset Quicksilver. It did remember most of my settings.
    Once I dealt with Quicksilver, I launched SuperDuper for the back up. SuperDuper, however, asked me to register the software. I've had to re-enter license numbers for other products, so I didn't think much of it. I launched Mail to find the message with my registration info, and that's when I started freaking out.
    Mail and iCal launched simultaneously even though I clearly selected just Mail in Quicksilver. Mail displayed the welcome screen and asked me to set up a new account. iCal displayed about 30 alarms dating from early 2006 to today (9/22/2007). It also asked me if I wanted to changed the time zone setting in iCal to match the change on the computer. My calendars seemed in tact in iCal, but my to-do list is completely outdated. I now have old action items dating back to 8/2006.
    After several other trouble shooting steps detailed in another post (http://discussions.apple.com/thread.jspa?threadID=1145401), Mail opened up by itself (no iCal) and all my accounts and messages were there.
    iCal, however, still has all the old to-do items.
    Does anyone know or have any idea why this happened and how I can fix the to-do list?
    Thanks!

    No problem with Calendar but Mail keeps syncing with the server.  The activity window is full all the time - apparently re-syncing though no new mail is downloaded.  Rang in but they have no idea what's causing it and have sent diagnostic to engineers.  In 10.8, just a quick burst of activity when mail was checked for but now it's constant.  As a result, emptying the Deleted Items mailbox is very slow.  Am worried about the amount of bandwidth being eaten up.

  • Mail and Notes problems in Mavericks

    I've just installed Mavericks and I'm instantly having problems with Mail and Notes. To wit:
    1) Prior to the upgrade, I had dozens of messages flagged. Now, almost no messages show up as flagged.
    2) Some Smart Mailboxes now only display only a handful of messages, when before the upgrade some of those boxes contained dozens, if not hundreds of messages.
    3) Now that Notes has been separated from Mail (I skipped Mountain Lion altogether) I can't get my iCloud notes to sync to the new app.
    Any guesses or advice?
    Thank you,
    Jeff

    Hello Oskar98,
    Thank you for the details of the issue you are experiencing when importing video from your camera into iMovie.  I was not sure of the exact steps you took to import the video footage, and I wanted to provide the steps to confirm you are following all the steps.
    Try importing the footage from your camera by clicking on the link that refers to your camera type and following the steps in the related article:
    To create movies in iMovie, you must import (transfer) your video footage from your camera to your Mac. You can import from most types of cameras, including:
    iPad, iPhone, or iPod touch
    File-based cameras
    Tape-based cameras
    You can find additional information about importing at the following link:
    iMovie (2013): Importing overview
    http://support.apple.com/kb/PH14670
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • MAIL AND ICAL PROBLEM

    Hi , 
    I have a BBZ10 , and I have  a problem in sending e.mail and with the syncronization of the calendar with iCal of my MAC. 
    My smtp is configurated with the details of my domain , and the configuration is ok. 
    ICal is also configurated by following the instruciont found on this site. 
    In fact, after setting the mail account and the calendar everyting works good. 
    But at an certain point I have had a problme that is the mail the I send seem to be sent but the recipient of the mail do not receive it, seme thing with iCal, the event that i create do not appear any more on my MAC. 
    Thank you for your help 
    Bye 
    Dante

    Hey dantefav77,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Do you get a red X or a specific error message when sending out emails?  Also what type of email account are you using on the BlackBerry Z10?
    How often do you lose the connection with iCal and sending?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Mail and Keychain Problem

    I would like to refer to the problem of Mail asking multiple (50 plus) a day for the passwords for POP accounts. The question has been posted a couple of times here and a dozens of times in other forums. Nobody was able to give an answer. If nobody has an answer to a software problem, then it is normally called a bug.
    The simple question to Apple: When will you fix this bug? It makes Mail basically unusable.
    Regards

    sorry to have not provided details, as everybody I know has this problem. and a couple of others-:)
    -http://discussions.apple.com/thread.jspa?threadID=549320&tstart=150
    -http://discussions.apple.com/thread.jspa?threadID=542171&tstart=270
    -http://discussions.apple.com/thread.jspa?threadID=548118&tstart=285
    they all relate to exactly the same problem and they have been asked in the last 4-5 days in this forum and no solution has been offered. The last time I looked for an answer was 4 weeks ago and the ratio of asked questions (this question) and no answers was the same. I have seen this question in all other Mac user forums and no solution has been offered there as well. This has let me to the hypothesis, that it is a bug.
    ok the details:
    I have 5 POP accounts on my mac and one .Mac account. The .Mac never has a problem, but the POP accounts ask for the password randomly, sometimes twice a minute. This must happen when Mail checks with the respective mail server for new messages. The problem has popped up half a year ago, I believe when Tiger got introduced. We are five people in our office and everybody has this problem, at work and at home and with 6 different providers.
    Even if you check the box, "Save password in Keychain" it happens again. You can avoid this by closing Mail and just opening it when you check for new mail every couple of hours, or you can hit the button "Connect to Internet" in Mail. If you are lucky all the POP accounts get downloaded.
    I have tried the Keychain fixes, everything that got posted as possible fixes. Nothing worked.
    Help would be appreciated.
    G4 17 inch Mac OS X (10.4.7)

  • Mail and Leopard problem?

    Mail is not shutting down properly since upgrading to Leopard... I know others have this problem but I have not seen a credible way of resolving. Any ideas while the Jobs team is hopefully (!!) trying to resolve? Thanks, Floor.
    (while quitting Mail, window dissapears but Mail menu bars stays up and Mail is still active... need to use Force Quit to get it to go away).

    This forum is dedicated to the productivity application, AppleWorks. It is not a "catch-all" for how Apple computers work. For you I suggest the Mac OS X v10.5 Leopard > Mail and Address Book forum.

  • Mac Mail and Hotmail problem

    Hello,
    Sorry if this has been asked before but I have searched with no luck yet.
    I recently set up Mail to retrieve mail from my hotmail accounts.
    It worked fine for about 4 days then just stopped working. It will not connect to the hotmail server.
    I have tried all the suggestions I have seen during my search but nothing works.
    I deleted my accounts on Mac Mail and started again but now get the message that the server "pop3.live.com" is not responding during the setup.
    Why would this work for a few days then without any changes from me just stop working? Why does the server not respond now but did four days ago when I initially set it up without any problems.
    Any suggestions would be appreciated
    Regards.

    The same thing happened to me and probably to all other users of the httpmail plugin. I looked up on the Automagic Software website (creator of httpmail) and they mentioned that as of September 1st 2009, Microsoft has withdrawn support for HTTPmail protocol.
    If someone else has got it to work, please post here. Thanks.

  • Mail and Gmail problem (beginner in mac)

    Hello, I just moved from windows to mac. Right now I am having this problem:
    I seted up my gmail account in apple mail, i have never deleted an email in my gmail account (i have around 4k mails), and now when i sync the account, apple mail downloads all and every email to my mac from my gmail account.
    is there anyway to download only unread emails (update)? and after a day or two mail deletes old emails?
    i just followed mail's steps to set the g acct.
    thanks,

    I'm having the same problem, but before I follow this step, I just want to be clear:
    I want my NEW mails to be loaded with imap in Apple Mail, but I don't want the old messages (more than 18,000) to be downloaded. Are you saying that if I check "only messages I've read" that only the subject line of the emails will be automatically downloaded from the old mails, but not the contents of the emails themselves until I click on the mail?
    Problem is, I also work a lot 'offline' in airplanes, and I want to be able to work on my current emails so that when I'm back someplace where I'm 'online' all those messages can be sent. I do need to have the contents of my current emails (the ones I need to respond to), so will this work against me?
    Thanks in advance.

  • E-mail and Attachment Problem on web...

    hi guys,
    I developed a form in forms 6i for my client/server application. It was working well in c/s environment. I use to generate a PDF file and send the same file via attachment to the person by giving its e-mail address.
    But the same form is not working when i have deployed the form on web via forms9iAS.
    My code that use to send the e-mail and attachemnt was like this:
    Declare
    Outlook_Object OLE2.OBJ_TYPE;
    Mail_Object OLE2.OBJ_TYPE;
    Item1 OLE2.OBJ_TYPE;
    Item2 OLE2.OBJ_TYPE;
    OLEPARAM ole2.list_type;
    var_Send OLE2.OBJ_TYPE;
    var_Attach1 OLE2.OBJ_TYPE;
    var_Attach2 OLE2.OBJ_TYPE;
    plist ParamList;
    starting_date varchar2(10);
    ending_date varchar2(10) ;
    FileName varchar2(80);
    Lstarting_date varchar2(10);
    Get_Employee_ID varchar(200);
    Get_Where varchar(200);
    Mail_Subject varchar2(500);
    LcBody varchar2(2000);
    BEGIN
    -- Begining sending e-mail to Departmental Heads
    go_block('vBasc_inf');
    first_record;
         ---while :system.last_record = 'FALSE'
         loop
              if      :vBasc_inf.chkSend = 'Y' THEN
                   Plist := get_parameter_list ('Attendance');
                        if not Id_null(Plist) then
                             destroy_parameter_list(Plist);
                        end if ;
                        Plist := create_parameter_list('Attendance');
                        Starting_Date := To_char(:NonDatabase.txtStarting_date,'dd/mm/yyyy');
                        Ending_Date := To_char(:NonDatabase.txtending_date,'dd/mm/yyyy');
                   LStarting_date := to_char(:NonDatabase.txtStarting_date,'yyyy-mm-dd');
                   --FileName := 'c:\bss\attendance\'
                   -- || substr(:vBasc_inf.txtbranch,1,1) ||'-'
                   -- || Rtrim(substr(:vBasc_inf.txtDepartment,1,3)) || '-'
                   -- || LStarting_date || '.pdf';
                   FileName := 'c:\bss\attendance\'
                   || :vBasc_inf.Employee_id ||'-'
                   || LStarting_date || '.pdf';
                        mail_subject := 'Attendance Sheet ' || To_char(:NonDatabase.txtStarting_date,'dd-Mon-yy') || ' to ' || To_char(:NonDatabase.txtending_date,'dd-Mon-yy') || ' (' || :vBasc_inf.department_id || ')' ;
    --                    host('Del ' || filename ,NO_SCREEN );
                        --Add_parameter(plist,'PBranch_id',text_parameter,:vBasc_inf.branch_id);
                        --Add_parameter(plist,'pdepartment_id',text_parameter,:vBasc_inf.Department_ID);
                        Add_parameter(plist,'pstarting_date',text_parameter,Starting_date);
                        Add_parameter(plist,'pending_date',text_parameter,Ending_date);
                        Add_parameter(plist,'PEmployee_id',text_parameter, :vBasc_inf.employee_id);
                        Add_parameter(plist,'PARAMFORM',text_parameter,'NO');
                        Add_parameter(plist,'DESNAME',text_parameter,FileName);
                        Add_Parameter(plist,'DESTYPE',TEXT_PARAMETER,'FILE');
                        Add_Parameter(plist,'DESFORMAT',TEXT_PARAMETER,'PDF');
                        run_product(reports,'EmployeeWise_AttendanceSheet',synchronous,batch,filesystem,plist,screen);
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
                        Outlook_Object := OLE2.CREATE_OBJ('Outlook.Application');
    ---               OLE2.Set_Property(Outlook_Object,'UserName', 'Daily Attendance');
    ---               message ('Yes');
    ---               message ('Yes');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,'MAPI');
                        Mail_Object := OLE2.INVOKE_OBJ(Outlook_Object,'GetNameSpace',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        --newMail
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,0);
                        Item1 := OLE2.INVOKE_OBJ(Outlook_Object,'CreateItem',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        -- If you want to display outlook new message screen
    --               Item2 := OLE2.INVOKE_OBJ(Item1,'Display');
              ole2.set_property(Item1,'To',:vBasc_inf.e_mail);
              ---ole2.set_property(Item1,'To','[email protected]');
                        ole2.set_property(Item1,'Subject',Mail_Subject );
                        LcBody := :vbasc_inf.emp_name||','|| chr(13) ||chr(13) || :nondatabase.txtmessage ;
                        ole2.set_property(Item1,'Body',LcBody );
                        --ole2.set_property(Item1,'Body','This is First mail of Attendance Sheet');
                        var_Attach1 := OLE2.GET_OBJ_PROPERTY(Item1,'Attachments');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,FileName);
                        var_Attach2 := OLE2.INVOKE_OBJ(var_Attach1,'add',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        var_Send := OLE2.INVOKE_OBJ(Item1,'Send');
              end if ;
              :vBasc_inf.chksend := 'N';
         IF :system.last_record = 'TRUE' THEN
                   set_item_property('vBasc_inf.CMDCHECKALL', label, 'Check All');
              EXIT ;
         END IF ;
              next_record;
              end loop ;     
              OLE2.RELEASE_OBJ( Item1);
              OLE2.RELEASE_OBJ( Mail_Object );
              OLE2.RELEASE_OBJ( Outlook_Object );
              SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
              first_record;
              Message('Mail sent seccessfully.........');
              Message('Mail sent seccessfully.........');
    -- Ending sending e-amil to Departmental Heads     
    END;
    BUT now on web its giving me the following error:
    REP-0081: Error during the IO operations.
    REP-0110: Unable to open file 'C:\bss\attendance\14210-01/01/2005.PDF'.
    scaba 14
    What changes i have to made to this form to run well on web?
    Or is there any other way to send mails and attachment in forms 6i for web using oracle9iAS?
    Pliz help.
    Imran Baig

    I have changed my Code from run product to :
    Declare
    Outlook_Object OLE2.OBJ_TYPE;
    Mail_Object OLE2.OBJ_TYPE;
    Item1 OLE2.OBJ_TYPE;
    Item2 OLE2.OBJ_TYPE;
    OLEPARAM ole2.list_type;
    var_Send OLE2.OBJ_TYPE;
    var_Attach1 OLE2.OBJ_TYPE;
    var_Attach2 OLE2.OBJ_TYPE;
    plist ParamList;
    starting_date varchar2(10);
    ending_date varchar2(10) ;
         FileName varchar2(80);
    Lstarting_date varchar2(10);
    ln_emp_id number(8);
    lc_email varchar2(100);
    Get_Employee_ID varchar(200);
    Get_Where varchar(200);
    Mail_Subject varchar2(500);
    LcBody varchar2(2000);
    lc_msg_txt VARCHAR2(2000);
         lc_slc_stmt VARCHAR2(4000);
         lc_slc_stmt2 VARCHAR2(4000);
         lc_Slct_Smry VARCHAR2(4000);
         lpl_para_id PARAMLIST;
    lc_alert_btn NUMBER;
    LC_RP_HD          VARCHAR2(4000);
    LC_RP_HD2 VARCHAR2(4000);
    Lc_Rp_Order VARCHAR2(4000);
    web_message varchar2(4000);
    cursor C1 is
    select emp_employees.employee_id, emp_emp_info.e_mail
         from emp_employees, emp_emp_info
         where emp_employees.employee_id = emp_emp_info.employee_id
         and emp_emp_info.e_mail is not null
         and emp_employees.employee_id between :emp_date_blk.from_id and :emp_date_blk.to_id
         and emp_employees.employee_id = 14210
         order by emp_employees.employee_id;
    BEGIN
         OPEN C1;
         IF C1%ISOPEN THEN
              LOOP
                   FETCH C1 INTO ln_emp_id, lc_email;
                   EXIT WHEN C1%NOTFOUND;
                        Plist := get_parameter_list ('email_sal_slip');
                             if not Id_null(Plist) then
                                  destroy_parameter_list(Plist);
                             end if ;
                        Plist := create_parameter_list('email_sal_slip');          
                        FileName := 'c:\'
                   || ln_emp_id || '.pdf';
                   mail_subject := 'Salary slip for the month of ' || To_char(:emp_date_blk.from_date,'Month-yyyy') ;
                   lc_slc_stmt := User_Selection(lc_msg_txt, lc_slct_smry,lc_Rp_Hd,lc_Rp_Hd2,lc_Rp_Order);
                   lc_slc_stmt := 'P_where=' || '"' || lc_slc_stmt || '"';
                   lc_Rp_Hd := ' Rp_Heading=' || '"' || lc_Rp_Hd || '"';
                        lc_Rp_Hd2 := ' Rp_Heading2=' || '"' || lc_Rp_Hd2 || '"';
                        lc_Rp_Order := ' P_Order_BY=' || '"' || lc_Rp_Order || '"';
                        Add_parameter(plist,'PARAMFORM',text_parameter,'NO');
                        Add_parameter(plist,'DESNAME',text_parameter,FileName);
                        Add_Parameter(plist,'DESTYPE',TEXT_PARAMETER,'FILE');
                        Add_Parameter(plist,'DESFORMAT',TEXT_PARAMETER,'PDF');
                        --run_product(reports,'EmployeeWise_AttendanceSheet',synchronous,batch,filesystem,plist,screen);
                        Execute_Report('EMP_SAL_SLIP', 'EMP_SAL_SLIP.rdf', 'EMP_SAL_SLIP.PDF', 'PDF', 'BSSRepSrvA', 'ora-test-app', lc_slc_stmt2, web_message);
                        SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
                        Outlook_Object := OLE2.CREATE_OBJ('Outlook.Application');
    ---               OLE2.Set_Property(Outlook_Object,'UserName', 'Daily Attendance');
    ---               message ('Yes');
    ---               message ('Yes');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,'MAPI');
                        Mail_Object := OLE2.INVOKE_OBJ(Outlook_Object,'GetNameSpace',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        --newMail
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,0);
                        Item1 := OLE2.INVOKE_OBJ(Outlook_Object,'CreateItem',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        -- If you want to display outlook new message screen
    --               Item2 := OLE2.INVOKE_OBJ(Item1,'Display');
              ole2.set_property(Item1,'To',lc_email);
              ---ole2.set_property(Item1,'To','[email protected]');
                        ole2.set_property(Item1,'Subject',Mail_Subject );
                        ole2.set_property(Item1,'Body',LcBody );
                        --ole2.set_property(Item1,'Body','This is First mail of Attendance Sheet');
                        var_Attach1 := OLE2.GET_OBJ_PROPERTY(Item1,'Attachments');
                        OLEPARAM := OLE2.CREATE_ARGLIST;
                        OLE2.ADD_ARG(OLEPARAM,FileName);
                        var_Attach2 := OLE2.INVOKE_OBJ(var_Attach1,'add',OLEPARAM);
                        OLE2.DESTROY_ARGLIST( OLEPARAM );
                        var_Send := OLE2.INVOKE_OBJ(Item1,'Send');
              END LOOP;
         CLOSE C1;
         OLE2.RELEASE_OBJ( Item1);
              OLE2.RELEASE_OBJ( Mail_Object );
              OLE2.RELEASE_OBJ( Outlook_Object );
              SET_APPLICATION_PROPERTY(CURSOR_STYLE,'DEFAULT');
              Message('Mail sent seccessfully.........');
              Message('Mail sent seccessfully.........');
         END IF;
    END;
    Have used d2kwutility to execute my report. i have also instaled outlook on my application server.
    Now when i try to run my report and send e-mail it gives the following error.
    ORA-305500
    What is this error about and how to resolve it?
    Imran

  • Mail and safari problem

    Hi All busy week for the boards.
    Has anyone come across this one? Was trying the Mail contents of page ideas for creating custom
    mail and have found safari saying
    "Safari couldn’t create an email message because it couldn’t locate an email application.""You can use the Mail application included with Mac OS X to send webpages. To do so, you need to install Mail using the Mac OS X installation CDs."
    I have done the install of 10.5 which went smooth, then tried a seperate install of both mail and safari from the 10.5 disk but still nothing.
    Any ideas you gurus?

    B, Genius, that did the trick. It was down as default but just selected it again and bingo, the warning
    from safari went away, Had to restart mail though to make it all work but work it did.
    Thnx so much, that one had me, It's guys like you on the boards that help make mac great
    not just the genius of elJobso.

  • Hostname is .local and Kerberos problems

    Hi
    Having problems with our new xserve. The computername as set in server admin is 'serverx' which is giving a local hostname of serverx.local. I have DNS running with one zone of <domainname>.org.uk, servername of serverx giving a FQSN or serverx.<domainname>.org.uk
    However i had an email out from the mailman mailing list asking for permission to allow a post to a mailing list and it had the link to click on as http://Serverx.local/mailman/.....
    Obviously i'd like this to be http://serverx.<domainname>.org.uk
    This also extends to the server's searchbase, which on the old server we migrated from was dc=<hostname>,dc=org,dc=uk which now is showing as dc=serverx,dc=local under opendirectory - settings - protocals
    The Open directory pane shows everything running apart from Kerberos which is stopped. If i try and kerberize the server using the realm name of <DOMAINNAME>.ORG.UK it whirrs away before returning me to the 'kerberize the open directory master' dialogue. Looking at the slapconfig log i get the errors...
    The KDC is not running error = 3
    failed to configure error = 3
    Is there a way to change this so that the domain name and seachbase are correct and how do i get the KDC to run so i can kerberize the server.
    Hope some of that makes sense...
    Thanks
    Quad 2GHz Intel Xserve   Mac OS X (10.4.9)   2GB ram

    I had similar issues with .local and trying to migrate away. I decided to manually massage a backup into the non-.local domain. It worked for me, but I will stress that you should make a copy of your backup to do this on.
    First, decide what new domain you want to use. If you're building on a private network, you can use a non-valid domain, like '.int' . Setup your DNS.
    Use Server Admin to make a backup of your OD Domain. Make a copy. Burn it to CD. We don't want the original to change.
    Kerberize to the new domain. Make a new backup and burn it to CD as well.
    Open a modifiable copy of the backup. In it are many files, most of them are straight text files of one flavor or another. Time to get dirty...
    Backup.ldif is the big file to work with. You must go in and change all of the olddomain.locals to newdomain.tla (this is pseudocode, please use your own domains where you see these two.) You must also change all of the dc=olddomain,dc=local to dc=newdomain,dc=tla . The fun about this file is that Apple wraps it manually, which makes search and replace tedious, as there will be some of these things at the end of lines. The good news is that they are far from random, so you can search for parts of the name (local is a good search) and find the next iteration. Here are a couple examples...
    ...dc=ol
    ddomain,dc=local
    ...dc
    =olddomain,dc=local
    ...dc=olddoma
    in,dc=local
    The key is to search and replace the whole thing at once. I used textedit and pasted the entire offending text into the find box, then replaced with the proper new dc= values. You need not worry about wrapping, the importer doesn't care. The key is to make sure that you get it all.
    Now do the same with all of the other files. I didn't touch authservermain, which already had the new Kerberos domain in it. I did modify these files...
    Backup.ldif
    authserverreplicas
    authserveroverflow.x
    DSLDAPv3PluginConfig.plist
    slapd_macosxserver.conf
    local.dump
    local.krb5realm
    Make sure to check the other files, as different configurations will yield info in different files.
    Once you are done with this, it's time to turn your nice pretty domain into a standalone. It appears that the archive and restore tools are much better in 10.4.x that older versions, so it actually works to restore things. There was one caveat. My standalone seemed to ignore the /etc/krb5adm.keytab, which then caused the conversion to Master domain to hang. Move to krb5adm.keytab.old it in case you need to restore.
    Make your server a Master again, this time with the new FQDN and search string.
    Import your modified backup. Your users should now be in place, although I lost my domain admins in the process.
    Finally, backup your domain, revert to standalone, toss the .keytab, convert to Master, and restore. This last step converts the bdb back into text, then back to the bdb. I was having a little strangeness until I did this step, which I believe clears up some cruft.
    Here are the benefits that I've seen in this process...
    - Passwords translate
    - migration is complete to new domain
    - easily restorable and/or recoverable
    Of course, your mileage may vary.

  • Mail and keychain problems when upgrading to SL

    I have tried twice to upgrade to SL from 10.4.11.
    Initially everything is smooth as glass, fast, no issues at all.
    After I open mail everything works fine. After closing mail; the next time I open it and try to get mail the little boxes asking for my password shows up on 3 of the 5 accounts.
    I add the password and I can get mail.
    However if I check the box to save the PW to the keychain, mail stops working. In the worst case I loose all my mail in the account where I asked for the PW to be saved.
    Needless to say I only did that once.
    I do NOT get the use mail 1st time message until I loose my mail. Then everything is gone
    I have tried to remove and re-add the offending accounts both in mail set-up and in thew keychain.
    " " " " " the mail.plist.
    " " " " " " " " to the desktop and re-placing it.
    I have talked to apple support and nobody has a clue. 1st time was Aug, '10, then again this weekend.
    Still the same problem.
    On the positive side Safari was working again, and Aperture "flew"
    So I really want to upgrade.
    The people I have talked to who have upgraded from 10.4.11 to SL do not seem to have had a problem.
    Everything works fine with Tiger, except Safari and Aperture is slow. Firefox is also slow, but Safari doesn't work anymore.
    Being a former techie (retired now) I have checked, DBL checked and tripple checked. Permissions are fine, althoug after the upgrade there were a couple that I fixed.
    I am back on Tiger, Good thing I backup frequently.
    Please can anyone assist?????
    I am going to try it again, but not until I get some productive feedback
    Thanks
    Hanne333

    Thank you for the total lack of help!!
    Next time someone asks::
    Go to keychain firstaid ( I am assuming you know how to get there ;-p
    and run it, then repair it
    Keychain now works

  • Mail and Password problem

    I am trying to use Mail on a MacBookPro with Lion. My wife uses it successfully on her iMac using Snow Leopard. I use it (sometimes) on my iMac also using snow Leopard.  When I open Mail in Lion it asks for her password which is different from mine and if i use it,  it shows me all her mail, which I don't care about. I use other e-mail apps on my two computers so I can live without Mail if i have to. Is there a solution to this problem?

    Hi again. I saw that you tried another thread some days ago for the same problem. There you said: "Using Lion, on my MacBookPro Mail has an intermittent problem. Some days it asks for my wife's password (for her Mail account) and I cannot access my own new mail. Some days it works fine. Help."
    So, to get this right: On the MacBook Pro you have set up ONE account in Mail.app - YOUR account. And despite that it happens from time to time that Mail asks you for the password of a totally different E-Mail account - the one from your wife? And your wife's account is not set up in Mail.app.
    Everthing correct?
    Is your wife's account set up on different E-Mail applications on that MacBook Pro? Is she using this laptop as well, and if yes, is she using the same login account to the computer for this?

  • How to get back lost mail and Shutdown problems?

    Dear Apple Users and Support,
    I recently did an idiotic thing and managed to turn one of my mail boxes where I collected mail from 2-3 of my friends totally into junk. I remember highlighting all the message and was attempting to move them to a new mailbox/folder but then accidentally hit JUNK. Nothing happened so I assumed that I was alright. But when I opened my MAIL app yesterday I noticed all those messages were gone. I'm assuming they were marked as JUNK and due to my settings erased them when I quit the program.
    So my question is, how can I get those letters back? I had time machine back up about a week ago. Which would mean I would only lose like 5-6 messages total in the end. Is there a way I can use TIME MACHINE to get a specific inbox back in my MAIL?
    Also, my other option I think is because I pull my mail from the Gmail server and I leave the mail in Gmail, I might be able to pull all the messages that are still sitting on Gmail with the addresses that I need. Is there a way I can tell my MAIL to get all the messages from certain addresses off the server again from Gmail? I assuming there's a parameter that shuts down after retrieving the mail the first time, because otherwise it would constantly pull the same messages off the gmail server.
    Finally, for the past year, my MAIL app has been acting up, and I can never "Quit" out of it as normal. I usually have to Force Quit out of Mail to shut it down. Like 90% of the time it wont' shut down without me Force Quitting it. Any suggestions to stop this problem?
    Thank you for any assistance, those e-mails mean alot to me!
    Thanks!
    Tomes

    In your case, immediately stop using this phone memory card in case of further data loss and then, try to use take chances with some data recovery programs.
    I have ever had some data recovery success with the guidance of this video tutorial.
    Of course, also learn a lesson to make data backups all the time.
    I hope these words work for you.

Maybe you are looking for

  • How do I change the background color of a BufferedImage?

    I have a program and basically what I am doing is drawing on a BufferedImage object and then painting that BufferedImage object onto the panel. By default, the background is black and it draws in white. I am easily able to change the colour for drawi

  • Cannot get any ftp to work

    I can't seam to get vsftpd working, ( or any ftp daemon for that matter) my /etc/hosts.allow are correct, my /etc/services is correct, my vsftpd.conf is setup also. even nmap reports that ftp is open: PORT STATE SERVICE 21/tcp open ftp 22/tcp open ss

  • Reval Balance sheet adjustment account splitting to Constant Profit Centre

    Hi all I am performing currency revaluation for Vendors. Document splitting is active u2013 Cost Centre u2013 Profit Centre - Segment The original invoice was split between two Cost Centres. I revalue the invoice currency using FAGL_FC_VAL. The batch

  • Problem in including search help exit for MM03 transaction.

    Hi, i am trying to include search help for MM03 trasaction based on MATKL(material group)  WGBEZ (description) in the form of alv tree display. Fuctionality i want to achive is : 1. after pressing F4 on MM03, it prompts to select material group scree

  • Best way to create a similar 2 node RAC environment

    Hello all, I have a 2 node RAC(10.2.0.3) running on Solaris 10 as my Prod Database. We are planning to have another 2 node RAC for DEV purposes with 10.2.0.3 itself. [Due to certain reasons this will act as the PROD for few weeks, so we need exact co