Failed publickey with SSFT

Since last week I have one user who's homedirectory doesn't sync with server side file tracking anymore.
I can completely move his account from his laptop and start with a new fresh homedirectory from the server (Which homedir I also moved for a fresh new one).
It goed wrong with the ssh connection that the filesync deamon starts. In the security logfile I see entry's like: Sep 27 10:08:17 habitat1 sshd[38092]: Failed publickey for user1 from 145.24.132.49 port 49196 ssh2
I've had this problem with this user a couple of times. The only remedy was to create a new user in OD, therefore changing his login name. But this isn't a real solution.
Does anybody have a clue?
With kind regards,
Patrick

Hi Brian,
The permissions for the private keys aren't world writable or readable on the server and client.
Also if I delete the homedir on the server and client, forcing a new homedir to be crated, I get the same behavior.
Permissions on client:
-rw------- 1 patrickvannerum staff 1675 23 mrt 2010 FileSyncAgent_key
-rwxr-xr-x 1 patrickvannerum staff 412 23 mrt 2010 FileSyncAgent_key.pub
Permissions on server:
-rw------- 1 patrickvannerum staff 1675 Oct 4 09:08 FileSyncAgent_key
-rwxr-xr-x 1 patrickvannerum staff 412 Oct 4 09:08 FileSyncAgent_key.pub
Also you can test the ssh connection from the client like this: ssh -vvv -F /System/Library/CoreServices/FileSyncAgent.app/Contents/Resources/FileSyncAgentsshconfig USER@SERVER
This will create the following log entries:
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009
debug1: Reading configuration data /System/Library/CoreServices/FileSyncAgent.app/Contents/Resources/FileSyncAgentsshconfig
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to habitat1.wdka.hro.nl [145.24.236.13] port 2336.
debug2: fd 3 setting O_NONBLOCK
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug3: timeout: 10000 ms remain after connect
debug3: Not a RSA1 key file /Users/patrickvannerum/Library/FileSync/FileSyncAgentkey_dir/FileSyncAgentkey.
debug2: keytype_fromname: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: keytype_fromname: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /Users/patrickvannerum/Library/FileSync/FileSyncAgentkey_dir/FileSyncAgentkey type 1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.2
debug1: match: OpenSSH_5.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.2
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2MSGKEXINIT sent
debug1: SSH2MSGKEXINIT received
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie- hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kexparsekexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kexparsekexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected] m,hmac-sha1-96,hmac-md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected] m,hmac-sha1-96,hmac-md5-96
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit: none,[email protected],zlib
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: kexparsekexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie- hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kexparsekexinit: ssh-rsa,ssh-dss
debug2: kexparsekexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kexparsekexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kexparsekexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected] m,hmac-sha1-96,hmac-md5-96
debug2: kexparsekexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected] m,hmac-sha1-96,hmac-md5-96
debug2: kexparsekexinit: none
debug2: kexparsekexinit: none
debug2: kexparsekexinit:
debug2: kexparsekexinit:
debug2: kexparsekexinit: firstkexfollows 0
debug2: kexparsekexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2MSG_KEX_DH_GEXREQUEST(1024<1024<8192) sent
debug1: expecting SSH2MSG_KEX_DH_GEXGROUP
debug2: dhgenkey: priv key bits set: 132/256
debug2: bits set: 518/1024
debug1: SSH2MSG_KEX_DH_GEXINIT sent
debug1: expecting SSH2MSG_KEX_DH_GEXREPLY
debug3: puthostport: [145.24.236.13]:2336
debug3: puthostport: [habitat1.wdka.hro.nl]:2336
debug3: checkhost_inhostfile: filename /dev/null
debug3: checkhost_inhostfile: filename /dev/null
debug1: checking without port identifier
debug3: checkhost_inhostfile: filename /dev/null
debug3: checkhost_inhostfile: filename /dev/null
Warning: Permanently added '[habitat1.wdka.hro.nl]:2336' (RSA) to the list of known hosts.
debug2: bits set: 502/1024
debug1: sshrsaverify: signature correct
debug2: kexderivekeys
debug2: set_newkeys: mode 1
debug1: SSH2MSGNEWKEYS sent
debug1: expecting SSH2MSGNEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2MSGNEWKEYS received
debug1: SSH2MSG_SERVICEREQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2MSG_SERVICEACCEPT received
debug2: key: /Users/patrickvannerum/Library/FileSync/FileSyncAgentkey_dir/FileSyncAgentkey (0x100125400)
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred publickey
debug3: authmethod_lookup publickey
debug3: remaining preferred:
debug3: authmethodisenabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/patrickvannerum/Library/FileSync/FileSyncAgentkey_dir/FileSyncAgentkey
debug3: sendpubkeytest
debug2: we sent a publickey packet, wait for reply
Received disconnect from 145.24.236.13: 2: Too many authentication failures for patrickvannerum

Similar Messages

  • Is it possible to replace a failed drive with another unused hard drive within an ix12-300r

    I have an ix12-300r with a failed drive in a storage pool - I want to replace the failed drive with one of the other drives in the NAS that are unused (i.e. not part of any other storage pool)
    i.e. Storage Pool consists of 3 drives - disk 1, disk 2 and disk 3.
    Disk 3 has failed.
    Disk 4 is free and not used by any other storage pool.
    Can Disk 4 be pulled out and then put into the place of Disk 3?
    (All disks are the same model/size/speed)

    Hello cayliffe
    Yes!  In you case disk 4 would be usable as a replacement for disk 3.  
    You can remove disk 4 and put it in bay 3 if you wish, however you should be able to set the ix12 to use unused drives as hot spares so the firmware switches to the disk automatically.  In Drive Management > Settings the "Use available drives as hot spares" option will allow your device to use any compatible unused/available disk as a hot spare for any of the storage pools.  
    LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:
    US and Canada: https://lenovo-na-en.custhelp.com/
    Latin America and Mexico: https://lenovo-la-es.custhelp.com/
    EU: https://lenovo-eu-en.custhelp.com/
    India/Asia Pacific: https://lenovo-ap-en.custhelp.com/
    http://support.lenovoemc.com/

  • Airport Utility `install failed' error with both 6.0 and 6.1

    Hi folks
    I am running Mac OS X Lion 10.7.4 (11E53) and cannot get the Airport Utility to run at all. [5.5.3] The application icon flickers as though it is about to launch and then nothing happens.
    I have tried other 5.x downloads and they all fail because I am running OS X Lion 10.7.4.
    Doing a standard Software Update or using a download of 6.x from the Apple Support site, the installer comes up with an `install failed' error with both 6.0 and 6.1, having gotten through the complete process and looking like they were `successful'.
    It's the only time in two years and many updates later that i have come across this issue, so I am unsure how to start to tackle it.
    Any ideas or suggestions please?
    Thanks in advance.

    Welcome to Apple Communities
    Backup your files and try this:
    1. Reboot from recovery partition (or as in my case USB recovery drive)
    2. Select Re-install Mac OS X
    3. Allow the process to run through multiple restarts
    4. When reinstall process is complete run software update (side note, my software update would not launch as long as my USB recovery stick was plugged in, weird)
    5. Run all updates saving the Airport Utility 6.0 until last.
    6. Install the airport utility from software update.

  • Authentification failed messages with Adobe Content Viewer (still)

    I heard that there was a problem with Authentification failed messages with Adobe Content Viewer this morning with a server issue but I am running into those issues tonight. System Staus reads green. All my log-in info works in other places. What's up?

    Currently all the DPS services are up and running.
    Check DPS status page:
    http://status.adobedps.com/
    Kindly try to sign in again and let us know if you still have any trouble signing in.

  • Time Machine fails repeatedly with no problem detected on the external disk

    Since a couple of days, Time Machine fails repeatedly, several times a day. I repair the disk with the Disk utility, that finds no error, then I reset Time Machine as indicated, and after one or two successful backups, it fails again, with the following report given by the Time Machine Buddy widget:
    Starting standard backup
    Backing up to: /Volumes/Copies de sauvegarde Time machine/Backups.backupdb
    Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de MM size:8
    Error: (-50) Creating directory 2010-09-22-231449.inProgress
    Failed to make snapshot container.
    Error: (22) setxattr for key:com.apple.backupd.ModelID path:/Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de MM size:8
    Backup failed with error: 2
    I insist, the disk utility doesn't find any problem in the external USB disk. Should I reinstall the OS?
    Thanks a lot for any help!
    Best regards
    Mauricio

    This is the message after the ejection failure:
    Starting standard backup
    Backing up to: /Volumes/Copies de sauvegarde Time machine/Backups.backupdb
    No pre-backup thinning needed: 5.63 GB requested (including padding), 541.66 GB available
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Device not configured
    Error: (-36) SrcErr:NO Copying /Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement/Edgar 4.mov to /Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de Mauricio Milchberg/2010-09-24-025248.inProgress/5034B0A3-F84E-4992-A7B8-8B9166E9AD42/Mac intosh HD/Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement
    Stopping backupd because the backup volume was ejected!
    Stopping backup.
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Input/output error
    Error: (-8062) SrcErr:NO Copying /Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement/Edgar 4.mov to /Volumes/Copies de sauvegarde Time machine/Backups.backupdb/iMac de Mauricio Milchberg/2010-09-24-025248.inProgress/5034B0A3-F84E-4992-A7B8-8B9166E9AD42/Mac intosh HD/Users/mauriciomilchberg/Movies/Evenements iMovie/Nouvel événement
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Input/output error
    Copied 4768 files (2.8 GB) from volume Macintosh HD.
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: Input/output error
    Copy stage failed with error:11
    The word "événement" has been written not by me, but by the translation.
    Anyway, I'll follow your advice and start with the combo.
    Thans a lot again.
    Best regards
    Mauricio

  • CodedUI Tests Fails Intermittently With Initialization Errors

    I would like to re-ask the question asked in this thread:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/855c561b-2100-4494-bf65-c5b9ec83e4af/inconsistent-coded-ui-test-behavior-depending-on-lab-size?forum=vsmantest
    There was no answer given and no more replies coming in to that thread.
    We are exactly in the same situation. We have large number of CodedUI test cases (500+) which runs daily. Some of the tests fails intermittently with the initialization failures. The details are:
    ERROR MESSAGE
    Error calling Initialization method for test class TEST_CLASS_NAME: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
    ERROR STACK TRACE
    Microsoft.VisualStudio.TestTools.UITest.Playback.Engine.IRPFPlayback.SetSkipStepEventName(String skipStepEventName)
    Microsoft.VisualStudio.TestTools.UITest.Playback.ScreenElement.InitPlayback()
    Microsoft.VisualStudio.TestTools.UITesting.Playback.Initialize()
    Could someone please let us know what could be the issue of these intermittent failures?

    Hi digitali,
    According to your description, I would like to know the details:
    How many agent machines in the lab environment?
    What’s the details of these machines? (e.g. memory, system)
    What’s the version of TFS, MTM, test controller and test agent?
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DataSocket fails intermittently with multiple NICs enabled using LV7.1

    Using LV7.1 and Datasocket v4.2, I was intermittently (but quite often) having problems reading and writing to the datasocket server (primarily from the server side). My application should read the value in the item and upon finding a specific string it should immediately follow it with a write of a default string. However, it can find the same string multiple times and not complete the write. Logging the errors from the write shows that no error is occurring. The client is not at fault because it only writes the string once every few minutes. I was able to finally show that by disabling the extra NIC on my system running the datasocket server that the connection seems to operate reliably. Both NICs
    were set to static IP addresses, but only one was connected. I do have the program writing to "dstp://localhost/UUT" as opposed to a specific IP address (not sure if it matters).
    With Labview6.1 I did not have this problem. It was only after I re-compiled my application with LV7.1 that I started having issues.

    Philip,
    I do not feel I am running out of bandwidth since I have run it successfully on 1Gbit NIC connections on a P4 2.4GHz system as well as a 10/100Gbit NIC on an old 650MHz system with LV6.1. I only do two writes per variable (on up to 8 variables) once every few minutes. I did not seem to be a re-entrant VI issue.
    I have created two VIs which should allow you to recreate the failing conditions with multiple NICs enabled. It responds very quickly with one NIC enabled, but when one or two more NICs is enabled, it gets very slow to respond and has some timeouts.
    One VI is the writer, the other is the reader. Start both VIs and start all 8 reader loops. Then you can consecutive
    ly click on all 8 sender loops. Doing this with and without multiple NICs enabled should show you the problem.
    Note: I think the issue I was talking about in earlier posts about getting multiple strings back before it wrote out "Loop" was due to the fact that the writes were not occurring quickly enough and the reads were happening multiple times. Therefore, in these VIs, I revised the read and close timeouts to -1.
    I think it would be best if you could call me so we can discuss this issue. If you can email me, I will send you my contact information if you don't already have access to it.
    Attachments:
    ReadSocket_Multiple_MSHv1.vi ‏360 KB
    WriteSocket_Multiple_MSHv1.vi ‏216 KB

  • Tpinit fails randomly with tperrno=8

    Hi I have a TUXEDO 7.1 Multithreaded application.
    tpinit is failing randomly with tperrno=8.
    The ULOG error message for failures is LIBTUX_CAT:6251,
    it is quite interesting because the SECURITY is set to NONE in
    ubbconfig and TPINIT->password is set to an empty string.
    most of the time tpinit() succeeds. and fails randomly.
    I would appreciate if anybody can give any input on this.
    Thanks

    Prakash Pati:
    Hi I have a TUXEDO 7.1 Multithreaded application.
    tpinit is failing randomly with tperrno=8.
    The ULOG error message for failures is LIBTUX_CAT:6251,
    it is quite interesting because the SECURITY is set to NONE in
    ubbconfig and TPINIT->password is set to an empty string.
    most of the time tpinit() succeeds. and fails randomly.
    I would appreciate if anybody can give any input on this.
    ThanksA stray pointer clobbering memory used by Tuxedo libraries perhaps?
    best regards,
    Joerg Lenneis
    email: [email protected]

  • Replace standard fail popup with a custom one

    Dear all,
    I want to know if it's possible to replace the FAIL popup with a custom one.
    I want to do this because at a FAIL I also want to display what the tester can do to solve the problem.
    gr,
    Bart

    Its possible by overriding the POST UUT call back sequence ( refer help document for overriding callbacks).
    When you override the post uut there will be no popup.In the over ridden post uut call back sequence you can either call a custom vi\dll or even use a message popup to display.
    Also refer to the parameters of the overridden post uut callback to get the pass fail status.
    Hope this helps.

  • "Connection to server failed" error with Gmail exchange server

    Hi,
    I upgraded my iPhone 4 to iOS 4.3 on Friday and now I can't access my Gmail account using the Microsoft Exchange settings, I just get a "Connection to server failed" error.
    I also have a Google Apps email account for my website and I am able to access it using exchange... it's just my regular Gmail account that I can't access (and that's where all my contacts are stored).
    I can access the account using the regular Gmail email settings but that doesn't sync my contacts over the air, which is the advantage of using Exchange that I love the most.
    I don't know if it is related or not, but I had a really hard time upgrading to iOS 4.3. I guess the update file was corrupt and it put my phone into restore mode. I had to use a different computer for the upgrade to finally work. Because I was using a different computer I had to restore it as a new phone rather than restoring from a backup, so maybe that has something to do with my email problem.
    Message was edited by: KJones75

    I seem to have solved the problem. I deleted my Gmail account from the phone and then changed my Gmail password from my computer, and then tried adding the account to my phone again... and surprise, surprise, it worked.
    I'm not sure why changing the password fixed the problem, but I'm glad it's working again.

  • Scheuled report failing intermittently With Permission Error

    Hello,
    A scheduled custom report fails some days. The user has permission to both run and schedule the report. There is no problem to view the reports neither to set up the schedule. And the schedule often runs ok, just every now and then it fails with following error.
    errdetail=oracle.apps.xdo.servlet.scheduler.ProcessingException\: Job execution failed because the user who scheduled this job has no more permission or priviledge to run the job. [REPORT_URL]\=[/*********.xdo], [USERNAME]\=[USERNAME]\r\n\********(XDOJob.java\:356)\r\n\tat org.quartz.core.JobRunShell.run(JobRunShell.java\:195)\r\n\tat org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java\:520)\r\nI saw a related document in metalink [ID 1330421.1] but it mentions about sharing the scheduler bertween two instances which I am not sure what that means. I have also checked following forum but for that user the failuer is permanent unlike in our case where its random.
    Schedule problems
    We are currently on;
    Standalone Oracle BI Publisher 10.1.3.4
    Windows 2003
    Using LDAP (MS Active Directory) as a Security Model
    Thanks for your help.

    After we restarted the services, the issue went away. (very strange)

  • IPhone 4 in recovery mode after failed update with most recent software (3/25/13), I only have the past 30 days worth of photos and my contacts in iCloud, how do I get the rest of my pictures off of my phone? I have read the apple article already.

    Basically headline says it all, my phone is in recovery mode following a failed update through the phone and I want all my photos back.  I have already read the "iOS: Unable to Update or Restore" and it indicates that when restoring through iTunes, you lose all data on the phone. I have checked my iCloud (I am a Windows7 user so uploading does not happen automatically, as I unfortunately just figured out) and it only will upload my past 30 days of photos and contacts, inline with what I've read about the cloud only storing 30 days of your past data. I really would like to get all of my photos off of my phone, I had photostream activated and most were in that stream. Is there anything I can do? I don't know what operating system is on there currently, but I have always updated my phone succesfully until today when this happened, so I'm assuming whatever is most up to date until today is the OS it has. Thank you!

    When your phone is in recovery mode, it's like it crashed.  The only way that you can get it out of recovery mode is by restoring, and this erases all your data as well.   
    You can believe what you wish by "reading all over the internet".  This is Apple's technical support forum.  We do know what we're talking about.
    since you have very important photos on your phone, why haven't you been importing them to your computer as soon as possible after taking them?  This is how the phone is meant to be used.  Keeping critical data on only a device which can be easily stolen, dropped and broken is just plain foolish.  Also, did you not back up your phone (as you should be doing with any computer) before attempting any operating system update?  As you've now just painfully learned, updates do not always go as planned.
    I'm sorry for your data loss, but let this be a very important lesson.  BTW, when was the last time you backed up your computer?  I'm sure you have important data on your computer.  Hard drives WILL fail.

  • The following query failed: GetUserProfileByName - with the wrong username

    I have 2 users (out of 800), who run into this issue on occasion. Their username is 'fccs\user1' in the profile db, and in every UserInfo table in the system. But when they try to go to certain sites or open an infopath form, this error gets thrown:
    The following query failed: GetUserProfileByName (User: FCCS\[email protected], Form Name: Template, IP: , Connection Target: , Request: http://fccsteams/sites/DataManagement/Tasks/Lists/Tasks/Folders1.aspx?RootFolder=/sites/DataManagement/Tasks/Lists/Tasks/2013/11&, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2013-08-05T23:14:53:458Z Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error.  Operation Failure ---> Access Denied: To create a user profile, you must be an administrator, or create your own profile and have personal features rights.  UnauthorizedAccessAccess Denied: To create a user profile, you must be an administrator, or create your own profile and have personal features rights. The remote server returned an error: (500) Internal Server Error.)
    Notice how the username is now the entire email address and not just the username. I have no idea why it thinks that that is their username. Any ideas?

    Hi,
    According to your post, my understanding is that you got query failed error.
    Melick had written a blog said that the form access the user profile web service (Userprofileservice.asmx) using  UDC
    file.
    You can check whether the UDC connection was still pointing to root site.
    You can change this file to match with the sub site collection. Otherwise there may be a cross domain access issue.
    There are similar threads for your reference.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9c2f7f4c-0fa9-43bd-94b1-1d7075e35841/5566-error-with-getuserprofilebyname-and-infopah-browser-forms-using-claims-based-authentication
    http://social.msdn.microsoft.com/Forums/en-US/49753330-40c0-4327-9a9b-2c3304a74e67/sharepoint-infopath-and-populating-forms-with-ad-data?forum=sharepointcustomizationlegacy
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • BUILD FAILED: problem with junit

    Hi, I'm taking the CDJ-310A - Developing Applications for the J2EE Platform course and have run into a problem when issuing a call to asant. When I run asant test the message it gives is "Ant could not find the task or a class this task relies upon.".The errors I get refer to the junit package.
    I've check the CLASSPATH and it seams ok:
    D:\labs\FJ310\bankproject>javap junit.framework.TestCase
    Compiled from "TestCase.java"
    public abstract class junit.framework.TestCase extends junit.framework.Assert im
    plements junit.framework.Test{
    public junit.framework.TestCase();
    public junit.framework.TestCase(java.lang.String);
    public int countTestCases();
    protected junit.framework.TestResult createResult();
    public junit.framework.TestResult run();
    public void run(junit.framework.TestResult);
    public void runBare() throws java.lang.Throwable;
    protected void runTest() throws java.lang.Throwable;
    protected void setUp() throws java.lang.Exception;
    protected void tearDown() throws java.lang.Exception;
    public java.lang.String toString();
    public java.lang.String getName();
    public void setName(java.lang.String);
    D:\labs\FJ310\bankproject>javap junit.textui.TestRunner
    Compiled from "TestRunner.java"
    public class junit.textui.TestRunner extends junit.runner.BaseTestRunner{
    public static final int SUCCESS_EXIT;
    public static final int FAILURE_EXIT;
    public static final int EXCEPTION_EXIT;
    public junit.textui.TestRunner();
    public junit.textui.TestRunner(java.io.PrintStream);
    public junit.textui.TestRunner(junit.textui.ResultPrinter);
    public static void run(java.lang.Class);
    public static junit.framework.TestResult run(junit.framework.Test);
    public static void runAndWait(junit.framework.Test);
    public void testFailed(int, junit.framework.Test, java.lang.Throwable);
    public void testStarted(java.lang.String);
    public void testEnded(java.lang.String);
    protected junit.framework.TestResult createTestResult();
    public junit.framework.TestResult doRun(junit.framework.Test);
    public junit.framework.TestResult doRun(junit.framework.Test, boolean);
    protected void pause(boolean);
    public static void main(java.lang.String[]);
    public junit.framework.TestResult start(java.lang.String[]) throws jav
    a.lang.Exception;
    protected junit.framework.TestResult runSingleMethod(java.lang.String, java.
    lang.String, boolean) throws java.lang.Exception;
    protected void runFailed(java.lang.String);
    public void setPrinter(junit.textui.ResultPrinter);
    But still these errors still are produced:
    D:\labs\FJ310\bankproject>asant clean
    Buildfile: build.xml
    clean:
    [delete] Deleting directory D:\labs\FJ310\bankproject\build
    [delete] Deleting directory D:\labs\FJ310\bankproject\jar
    BUILD SUCCESSFUL
    Total time: 0 seconds
    D:\labs\FJ310\bankproject>asant
    Buildfile: build.xml
    prepare:
    [mkdir] Created dir: D:\labs\FJ310\bankproject\build
    [mkdir] Created dir: D:\labs\FJ310\bankproject\jar
    compile:
    [javac] Compiling 6 source files to D:\labs\FJ310\bankproject\build
    [javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:9: package junit
    .framework does not exist
    [javac] import junit.framework.*;
    [javac] ^
    [javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:11: cannot find
    symbol
    [javac] symbol: class TestCase
    [javac] public class BankMgrTest extends TestCase {
    [javac] ^
    [javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:15: cannot find
    symbol
    [javac] symbol : class Test
    [javac] location: class bank.BankMgrTest
    [javac] public static Test suite() {
    [javac] ^
    [javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:16: cannot find
    symbol
    [javac] symbol : class TestSuite
    [javac] location: class bank.BankMgrTest
    [javac] return new TestSuite(BankMgrTest.class);
    [javac] ^
    [javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:20: package juni
    t.textui does not exist
    [javac] junit.textui.TestRunner.run(suite());
    [javac] ^
    [javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:39: cannot find
    symbol
    [javac] symbol : method assertEquals(java.lang.String,java.lang.String)
    [javac] location: class bank.BankMgrTest
    [javac] assertEquals("Fred", data.getFirstname());
    [javac] ^
    [javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:40: cannot find
    symbol
    [javac] symbol : method assertEquals(java.lang.String,java.lang.String)
    [javac] location: class bank.BankMgrTest
    [javac] assertEquals("Flintstone", data.getLastname());
    [javac] ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 7 errors
    BUILD FAILED
    D:\labs\FJ310\bankproject\build.xml:14: Compile failed; see the compiler error o
    utput for details.
    Total time: 4 seconds
    Any help solving these errors would be highly appreciated. I'm stuck right now. Thanks!

    i have this problem too. and i added in CLASSPATH the path for junit.jar file. but still does not work
    my build.xml file :
    <project name="bankproject" default="deploy" basedir=".">
      <property environment="env"/>
      <property name="src.dir"     value="${basedir}/src"/>
      <property name="build.dir"   value="${basedir}/build"/>
      <property name="jar.dir"     value="${basedir}/jar"/>
      <target name="prepare">
        <mkdir dir="${build.dir}"/>
        <mkdir dir="${jar.dir}"/>
      </target>
      <target name="compile" depends="prepare" >
        <javac destdir="${build.dir}">
          <src path="${src.dir}"/>
        </javac>
      </target>
      <target name="package-bankmgr" depends="compile">
        <delete file="${jar.dir}/BankEJBModule.jar"/>
        <copy file="dd/bank-ejb-jar.xml" tofile="${build.dir}/ejb-jar.xml" overwrite="true"/>
        <copy file="dd/bank-sun-ejb-jar.xml" tofile="${build.dir}/sun-ejb-jar.xml" overwrite="true"/>
        <jar jarfile="${jar.dir}/BankEJBModule.jar">
          <metainf dir="${build.dir}" includes="ejb-jar.xml,sun-ejb-jar.xml" />
          <fileset dir="${build.dir}">
            <include name="bank/**" />
            <exclude name="bank/BankMgrTest.class" />
            <exclude name="bank/CustomerTest.class" />
          </fileset>
        </jar>
      </target>
      <target name="package-ejbs" depends="package-bankmgr" />
      <target name="package-client" depends="compile">
        <delete file="${jar.dir}/ClientModule.jar"/>
        <copy file="dd/bank-application-client.xml" tofile="${build.dir}/application-client.xml" overwrite="true"/>
        <copy file="dd/bank-sun-application-client.xml" tofile="${build.dir}/sun-application-client.xml" overwrite="true"/>
        <jar jarfile="${jar.dir}/ClientModule.jar">
          <manifest>
             <attribute name="Main-Class" value="bank.MessageClient" />
         </manifest>
          <metainf dir="${build.dir}" includes="application-client.xml,sun-application-client.xml" />
          <fileset dir="${build.dir}">
            <include name="bank/MessageClient.class" />
          </fileset>
        </jar>
      </target>
      <target name="assemble-app" depends="package-ejbs,package-client">
        <delete file="${jar.dir}/BankApplication.ear"/>
        <copy file="dd/bank-application.xml" tofile="${build.dir}/application.xml" overwrite="true"/>
        <ear destfile="${jar.dir}/BankApplication.ear" appxml="${build.dir}/application.xml">
          <fileset dir="${jar.dir}">
              <include name="BankEJBModule.jar"/>
              <include name="ClientModule.jar"/>
          </fileset>
        </ear>
      </target>
      <property name="j2ee.home"   value="${env.J2EE_HOME}" />
      <property name="admin.user"  value="admin" />
      <property name="admin.pass"  value="password" />
      <property name="appname"     value="BankApplication"/>
      <property name="ear.file"    value="${jar.dir}/${appname}.ear" />
      <target name="setAsadmin" >
         <condition property="asadmin" value="asadmin.bat">
            <os family="windows"/>
         </condition>
         <condition property="asadmin" value="asadmin">
            <not>
               <os family="windows"/>
            </not>
         </condition>
      </target>
      <target name="deploy" depends="assemble-app,setAsadmin">
        <echo message="Deploying ${ear.file}."/>
        <exec dir="." executable="${j2ee.home}/bin/${asadmin}">
            <arg line=" deploy"/>
            <arg line=" --user ${admin.user}"/>
            <arg line=" --password ${admin.pass}"/>
            <arg line=" --force=true"/>
            <arg line=" --name ${appname}"/>
         <arg line=" --retrieve=." />
            <arg line=" ${ear.file}"/>
         </exec>  
      </target>
      <target name="get-stubs" depends="setAsadmin">
        <echo message="Retrieving stubs JAR file for ${appname}."/>
        <exec dir="." executable="${j2ee.home}/bin/${asadmin}">
            <arg line=" get-client-stubs"/>
            <arg line=" --user ${admin.user}"/>
            <arg line=" --password ${admin.pass}"/>
            <arg line=" --appname ${appname}"/>
            <arg line=" ."/>
         </exec>  
      </target>
      <target name="undeploy" depends="setAsadmin">
        <echo message="Undeploying ${appname}."/>
        <exec dir="." executable="${j2ee.home}/bin/${asadmin}">
            <arg line=" undeploy"/>
            <arg line=" --user ${admin.user}"/>
            <arg line=" --password ${admin.pass}"/>
            <arg line=" ${appname}"/>
         </exec>  
      </target>
      <target name="test">
        <junit printsummary="on" haltonfailure="no" filtertrace="off">
          <classpath>
            <pathelement location="${build.dir}"/>
            <pathelement path="${java.class.path}"/>
            <pathelement path="BankApplicationClient.jar" />
          </classpath>
         <formatter type="plain" usefile="no"/>
          <test name="bank.BankMgrTest"/>
        </junit>
      </target>
      <target name="clean">
        <delete dir="${build.dir}" />
        <delete dir="${jar.dir} "/>
      </target>
    </project>

  • Pass/Fail issue with Quiz and Click Buttons

    Got a complicated one for ya!
    I have a project that has about 100 quiz questions.  I want to add slides with an image for backgrownd, a voice over and a "Click Button" to be used like a Simulation.  If the "Click Button" is not clicked on, I want the slide to act like a Quiz and be marked as wrong.
    At the end of the Quiz I want the Pass/Fail function to be: If Pass: "Continue" then if Fail "Jump to Slide". This Failed Slide would jump to the last slide; the end of the project with a "Thank you".  If Passed, the project continues to display more information on other slides.
    The tests I have done the Pass/Fail seems to not be working.  If failed, the project continues just like the Passed even though the "Pass/Fail" options are marked correctly.
    What do you think?

    Also check the options under Quiz > Settings > Required.  It could be that you have it set to something other than Optional which might be restricting things.

Maybe you are looking for