Access Linux shared folder from Windows OS

Hi,
From the web based Java application I need to copy a XML file from Windows OS to Linux OS in a shared folder.
For that we had used sambha and had mounted the shared directory in Linux OS and now we can access the folder by a user id guest with password guest.
Now from JSP web application how do I pass by default the user id and password so that when linux shared folder is acccessed it does not prompt for user id and password.
Thanks..

Thanks...
The folder is currently mounted. Currently what I need is how do I set my default user id and passowrd to the machine such that when the mounted drive is accessed it does not prompt me for the user id and password.
Currently The server and folder name is specified in a property file, Can we configure the user id and password too by default such that when its accessed it does not prompt for user is and password..
Thanks....

Similar Messages

  • Access linux file system from windows and vice versa

    Friends
    Do anyone of you have any idea about how to access linux file system from windows using java. Thanx in advance.
    Regards
    Rakesh

    "Accessing" is vague. Do you want to read? write? Both?
    Here are two ways I'll mention.
    1. Write an ftp client for the "cleint" computer. I beleive java has some framework functions for doing this.
    2. Write java RMI client and server to open, read or write, and close a file. Pass a byte array parameter containing each block of data.

  • Cannot access OS X 10.7 sharing folder from Windows OS

    Since we need to scan documents from copier, and those files will be saved to User's computer sharing folder directly.
    For those users who are using OS X 10.6, share 'scan-files'
    At Windows XP, net view \\computer-ip-address.
    Can show the share name below. So the scanning is successful.
    Share Name                           Type
    Judy's Public Folder                       Disk             Judy's Public Folder
    KONICA MINOLTA bizhub C361                Print
    scan-files                                      Disk             scan-files
    For those users who are using OS X 10.7.2 or 10.7.3, share 'scan-files'  (These users upgraded their OS to 10.7 recently)
    At Windows XP, net view \\computer-ip-address.
    "System error 5 has occurred. Access is denied." error message is appearred. So can't scan file from copier to their computer directly.
    No matter how I try and do the same setting with OS X 10.6 on 10.7 compputer. Net view command from XP  is still failed.
    It's only happen on OS X 10.7. Anyone can help? Thanks much.

    Hello SharlotteDC,
    Thanks for using Apple Support Communities.
    Have you formatted the drive for use on your Mac?  Follow the directions in the post below to reformat your drive for it to work with your Mac.
    Mac Pro: How do I format a new hard drive?
    https://discussions.apple.com/thread/1532469
    Take care,
    Alex H.

  • Cannot access my WebDAV folder from Windows XP

    I have an Xserve running Tiger server hosted remotely. It's used primarily as a web and mail server. Today I set up a WebDAV folder on the server and tested it by logging on from my MacPro using the Finder in Leopard. I had obsolutely no problem moving files to and fro, so the permissions would appear to be set correctly. However, when I boot up into Windows using Boot Camp and then try to create a new Network Place, my server won't authenticate the user from Windows. I've tried just about everything I can think of but Windows XP just can't get onto the sever. Does anyone have any idea what I might be doing wrong?

    Create new network place with Add Network Place wizard. Even if you are connecting to a default HTTP port 80 specify the port in the address string, and the exact folder: http://example.webdavsystem.com:80/storage/.

  • How to access to network shared folder from in-house web application mozilla firefox?

    We are trying to access network shared folder from our in-house application but its not possible. The reason we found was because of security model. Please can you provide solution for this issue.
    Incident Details for shared folder access issue
    Expected behaviour:
    Network shared folders should be opened via all versions of Internet Explorer from an in-house web application.
    Actual behaviour:
    Works fine in IE but not in Mozilla firefox. Refer snapshot.
    Server configuration:
    Web server: Apache
    Operating System: Windows Server 2008 R2
    Image uploaded:
    Network Shared Folder doesn’t open in Mozilla. Uploaded image is from IE it allows to access to network shared folder but not Mozilla.
    No warning or error message is shown.

    Hi,
    If its a shared folder on windows drive with access permission to all, you might get your work done using simple GUI_UPLOAD.
    Have you checked this. Just a thought.
    thnx,
    Ags.

  • Problem accessing smb shared folder

    Hi,
    I have Linux Ubuntu server in which i have shared folder. Now the problem is from my home (internet) I have connected to vpn connection and trying to access shared folder but it gives an error saying
    "Connection Failed - The Server "my hostname" may not exist or it is unavailable at this time. Check the server name of ip address, check your network connection and then try again.
    But when access same shared folder from any cyber centre (internet cafe) it works fine.
    Please help
    Thanks,
    Gulab Pasha

    I'm not sure how that's better than Get Info and clicking the Locked checkbox.
    In any case, there are a bunch of these. We use a source control system that is not available for the Mac. All the source code that we have to work on is going to be locked.
    What I'd really like to know is whether this is a bug in SL, or is there some setting that I can make that would make SL work like Leopard.

  • [SOLVED] VBox: Access shared folders from Windows Server 2008 Guest

    Hi,
    I have installed virtualbox v4.2.4 on Arch and I launch a WIndows Server 2008 guest. I want to access shared folder from guest. How to do it?
    Last edited by toni (2012-11-26 00:31:21)

    Hi,
    I have done this but it does not work.
    My network is configured as a NAT in virutalbox.
    Also from WIndows server 2008 guest I do:
    net use z:\\vboxsvr\mySharedFolder
    Do I have to install additional software in host or do I have to configure something in Windows server 2008 guest?
    illusionist wrote:
    See Here
    Also Here

  • [HELP!] Can't access shared folder from Azure Web Role on same Azure Virtual Network

    I have an Azure Virtual Network that has a virtual machine acting like an app server running some legacy applications that is writing some files to a folder that is shared.
    This shared folder is accessible from other virtual machines within that virtual network without issue.
    The problem I am having is that I have an Azure Web Role that is also attached to the above
    Azure Virtual Network that is unable to access the shared folder. I know the web role can see the app server as it is able to ping the IP of the machine.
    There is some code that needs access to the shared folder to process some of the files that is stored there, but the code won't run because it can not access these files. I used Remote Desktop to see if I could ping the machine, and I can, but I cannot navigate
    to the path in file explorer due to access being denied.
    Can anyone offer any advice or tips to point me in the right direction to gain access to this shared folder from my Azure Web Role?

    Hi Robert,
    Thanks for your posting!
    Form your descirpiton, I suggest you can refer to Tom Zhang's solution via this
    link:
    1. Enable Remote Desktop. (You have done this step)
        2. RDP to one instance of your service. Open up IIS Manager and set the application pool identity to use the account that we used for RDP.
        3. On on-premise local machine, right click "My Computer' and select "Manage". Add a new account with the same account name and password as we specified for Remote Desktop.
        4. Give the new account necessary permissions to write file to the shared folder. (I think you have done this step too)
        5. Try running the code again and see if it works.
        6. If it still says "access to path <folder path located on local machine> is denied". Please check the permission of the shared folder again.
        7. If it works, then the next step is to configure the application pool identity using Startup Task instead of using Remote Desktop (See the suggestion inhttp://social.technet.microsoft.com/Forums/en-US/windowsazuresecurity/thread/247ba75e-87d9-497c-9ec6-1fd4e2c7ff90).
    But I still recommend you enable Remote Desktop for your web role to check if the Startup Task has successfully configured the application pool identity or not.
    Regards,
    Will
    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.

  • "There are currently no logon servers available to service the logon request." when trying to access a shared folder in domain environment.

    Hi,
    I already have a windows server 2003 working as a Primary Domain Controller (PDC) and now I created another windows server 2012 to work as an Additional Domain Controller (ADC).
    - PDC is doing (Active directory domain services + DNS + DHCP)
    - ADC is doing (Active directory domain services + DNS)
    For testing purposes, I shutdown the PDC and let the ADC up and running. Now, Whenever I try to access a shared folder on any server in the domain, I got this message "\\x.x.x.x is not accessible. You might not have permission to use this network resource.
    Contact the administrator of this server to find out if you have access permissions.
    There are currently no logon servers available to service the logon request."
    Actually, the replication of AD objects and DNS records between the PDC and ADC is done successfully.  I also can resolve names using the ADC's DNS. Also, I can ping servers hosting the files I want to access. 
    Appreciate your help.

    The PDCe is required for a lot of services, to include DFS.
    Turn the PDC back on and try again.  If it's still not working, ensure the file server has the correct DNS entries on the NIC.
    I think I see what you were trying to test.  The issue is that not all DCs are equal.  Yes, they hold the same information, but some DCs do extra work.  That is why FSMOs exist.
    Let me know how it goes.
    - Chris Ream -
    **Remember, if you find a post that is helpful, or is the answer, please mark it appropriately.**

  • How to exclude a file/folder from Windows Defender malware scan in Windows 8/8.1?

    How to exclude a file/folder from Windows Defender malware scan in Windows 8/8.1?
    http://answers.microsoft.com/en-us/protect/wiki/protect_defender-protect_scanning/how-to-exclude-a-filefolder-from-windows-defender/f32ee18f-a012-4f02-8611-0737570e8eee

    Hi,
    Thank you for sharing the solutions & experience here. It will be very beneficial for other community members who have similar questions. 
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Restrict workgroup computers in accessing my shared folder

    How to restrict workgroup computers in accessing my shared folder.
    And only allow a specific system in the workgroup to have full control access to that shared folder.
    Operating System :Windows Server 2003

    Hi Tiju,
    You cannot restrict access to a folder using computer accounts. The access to the share folder can only giving to everyone or local accounts if the network environment is
    Workgroup.
    Because the computer account never tries to access the shared folders. The access attempt is made by the user account; and if the user account isn't in the ACL of the file, he won't get access.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/57739cb5-ec63-403d-b2c5-3949d440a845/restrict-access-to-network-folder-in-workgroup?forum=w7itpronetworking
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • I'm trying to access a Mac OSX xserve's shared folder from a windows xp pc

    So I'm trying to access the Shared Folders on a Mac OSX Xserve Server. this server does not provide authentication or home folders, etc. Pretty much using it for network storage. I've been able to successfuly connect to the folders using Windows 7, but the Windows XP computers will not connect. I keep getting a "You might not have permission to this folder" etc dialog box popup.
    This is my method of connection. Start -> Run -> \\1.1.1.1 -> Enter.  I see the folders. I double click on the folder icon to access the folder, i get a login dialog box. On the Windows 7 machine I typed in my LOCAL MACHINE'S username and password. Success! On the XP machine, I do the exact same thing and receive the error.
    please Help!
    the Macs on my network (96% of users) have absolutely no problem connecting to the server using ⌘K in Finder

    Try mapping the drive as normal and then see what happens.
    \\1.1.1.1\Share Name

  • Automaticly sync photos from iphone to shared folder on windows server 2012 r2

    Hey,
    I'm making photo's of cars for a company and we got a server running locally. I make photo's with my iPhone and i used to use dropbox for auto syncing pictures with the dropbox cloud and access from my pc.
    Since dropbox is too slow and we got a server running with big amounts of storage i want my iPhone to sync with my server instead of my dropbox. i already got a shared folder and a network drive for this.
    Thanks in advance.
    Marc

    The slow is more than likely your cell and or network service provider however this one may help.
    http://windows.microsoft.com/en-us/onedrive/ios-faq
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Cannot access a shared folder in TC with Windows XP

    I have a Windows XP machine that has a network share to the time capsule. Basically, when I click on it, the folder opens as expected and displays the same contents that I see on my mac. But when I click on a shared folder within the TC folder, there are no contents in the folder - but actually there are hundreds of files within that folder.
    I installed Bonjour on the XP machine, but it appears to be a printing application or something? plz help - it will save me headache.

    How did you put this shared folder onto the TC?
    If you copy a file/folder to the TC manually (drag&drop), any computer with access to the TC will be able to read it. I don't think an XP machine will be able to use a folder that was backed up to the TC using Time Machine.
    If you manually copied the file/folder, and still can't access it from the XP machine, make sure that you've set the "workgroup" in the TC setup to be the same as the workgroup on the XP PC. Default for XP is Mshome. Also make sure that sharing is set to "read/write".
    Have you tried connecting to the TC by clicking my computer/my network places/windows network/workgroup/time capsule, rather than using a network share?

  • How i can access the linux shell file from windows platform

    Hey Friends,
    Anyone can tell me that through RMI how i can access the linux shell file or files from windows platform.
    Thanks in advance...

    it happend by mistake......
    sorry allYou've vanished, I checked your posting history and you have posted numerous threads about this problem. I hope you are reading the document that I suggested and will return knowing how to post smart questions. Otherwise you have a long way to go before you qualify for that -ji at the end of your id.

Maybe you are looking for