Inability to scp files between DeveloperDays machines

Hi all!
I am trying to test a Data Guard configuration on two appropriately configured Oracle Open Days images on Virtual Box. Unfortunately when trying to copy the password file from the primary to the standby using the following command.....
scp orapworcl oracle@dg2:/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs
......I get the following error/message (because it isn't an error as such...)
All passwords are oracle or noted if otherwise.
Could it be that this is a functionality that is turned off for these images? It would be really helpful to get this going!
Many thank for your help in advance!
Regards,
Kev

I gotta it.
File f=new File("\\\\"+"Linshuaibing"+"\\card\\DSC00134.jpg");[Thank you very much v!

Similar Messages

  • Cannot scp a password file between virtual machines

    Hi all!
    I am trying to test a Data Guard configuration on two appropriately configured Oracle Open Days images on Virtual Box. Unfortunately when trying to copy the password file from the primary to the standby using the following command.....
    scp orapworcl oracle@dg2:/home/oracle/app/oracle/product/11.2.0/dbhome_2/dbs
    ......I get the following error/message (because it isn't an error as such...)
    All passwords are oracle or noted if otherwise.
    Could it be that this is a functionality that is turned off for these images? It would be really helpful to get this going!
    NOTE:
    Both machines have statically assigned IPAddresses
    TNSPING and PING show the other machine to be alive and databases "accessible"
    No passwords have been changed
    The Oracle version is 11.2.0.3
    Many thank for your help in advance!
    Regards,
    Kev

    Excerpt "man scp",
    "scp copies files between hosts on a network. It uses ssh(1) for data
    transfer, and uses the same authentication and provides the same security
    as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if
    they are needed for authentication."
    Other useful information for "ssh",
    [OL6u3 ~]$ which ssh
    /usr/bin/ssh
    [OL6u3 ~]$ rpm -qf /usr/bin/ssh
    openssh-clients-5.3p1-81.el6.x86_64
    [OL6u3 ~]$ rpm -ql openssh-clients
    /etc/ssh/ssh_config
    /usr/bin/.ssh.hmac
    /usr/bin/scp
    /usr/bin/sftp
    /usr/bin/slogin
    /usr/bin/ssh
    /usr/bin/ssh-add
    /usr/bin/ssh-agent
    /usr/bin/ssh-copy-id
    /usr/bin/ssh-keyscan
    /usr/share/man/man1/scp.1.gz
    /usr/share/man/man1/sftp.1.gz
    /usr/share/man/man1/slogin.1.gz
    /usr/share/man/man1/ssh-add.1.gz
    /usr/share/man/man1/ssh-agent.1.gz
    /usr/share/man/man1/ssh-copy-id.1.gz
    /usr/share/man/man1/ssh-keyscan.1.gz
    /usr/share/man/man1/ssh.1.gz
    /usr/share/man/man5/ssh_config.5.gz

  • Send and receive files between unix machines

    Hi friends,
    I have to send and receive files from one unix machine to another unix machine. In my first unix machine I have tomcat webserver. Using a JSP I have to send and receive files from this machine to another machine. The destination machine contain some BAAN implementation, which take the files I send as input .
    Can you send me a java program to solve this problem.

    Hi friends,
    I am getting a problem in my application. I will state the complete problem in detail. I have to transfer 3 files from one NT machine to unix machine some where kept in net work, I used an ftp in 'Process p = getRunTime().exec("ftp -i -s:ftp.txt")'. In ftp.txt file I have given the necessary things for ftp to unix machine. The files are transfering into the unix box. When I to the process for the 2nd time I have to check whether the file are exists in the unix box, then only transfer the files. Now, again I am doing ftp bring the files from the unix box to NT machines using 'Process p = getRunTime().exec("ftp -i -s:ftp1.txt")' where ftp1 contains all the necessary things for ftp to unix machine . Now I am checking for the files available in the NT machine using boolean=(new File(filename)).exists(), Fine out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false', even the same happens if I delete the 3 files after checking, out of 3 files, 2 file shows the return type as 'true' and one file is showing 'false'. I went to the folder where I am bring files from and removing the files manually, one file is showing share violation, one process is using the file . I am unable to resolve this problem, will this code what I write is acceptable if not suggest any other code. I have sending all the snippets of the programs. I am doing this in the development environment like this. My production environment is totally both are unix machines.
    1. ftp to transfer files.(tranfer.txt)called in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    put d:/dathu/CSV/bssfa932.txt
    put d:/dathu/CSV/bssfa933.txt
    put d:/dathu/CSV/bssfa936.txt
    bye
    2. ftp to get the files(get.txt)used in java code down
    open 172.16.30.6
    informix
    informix
    bin
    has
    cd /tmp
    lcd d:/dathu/hold
    get bssfa932.txt
    get bssfa933.txt
    get bssfa936.txt
    bye
    3. java code snippet to getfiles
    Process p = Runtime.getRuntime().exec("ftp -i -s:get.txt");
    4. java code to check the files exist
    boolean filestatus=moCreatFlatFilerobj.isFileExists();
    public boolean isFileExists(){
    boolean isfileexisting=false;
    boolean blnordhead = (new File(file1 with path)).exists();
    boolean blnordlines = (new File(file2 with path)).exists();
    boolean blnaccount = (new File(file3 with path)).exists();
    if(blnordhead && blnordlines && blnaccount){
    isfileexisting=true;
    return isfileexisting;
    5. java code to delete files
    public void deleteFiles(){
    boolean header= (new File(file1 with path)).delete();
    boolean line =(new File(file2 with path)).delete();
    boolean account=(new File(file3 with path)).delete();
    6. java code to tranfer files.
    p = Runtime.getRuntime().exec("ftp -i -s:transfer.txt");

  • Copy file from client machine to unix db server

    Dear all,
    I have oracle form 10g, and data base server using 10 r 2,
    I have an oracle for to browse client XML file and return the name of the file including the path to TEXT item what I want to do after that is to copy the seelcted file from the client to DB server (hint this server over Unix operating system)
    I tried
    V_Cpy_Result := Webutil_File.Copy_File ('C:\File_Name.Xml', '/u01/oradata/odsuat/ssr_xml_dir/Outbound/File_Name.Xml');
    but this does't work, please provide me with the way or the command that I can copy the selected file from client to Unix DB server...

    Hello,
    If you want to transfer files between client machine and A.S. or database machine, use the Webutil file_transfer package's functions.
    Francois

  • How do I share files between users on the same machine?

    I tried using /Users/shared to share files between myself (Admin user) and another user on the machine (Standard user). Whenever I put a file or a folder into said directory permissions are 755 for directories and 644 for files, my umask is 0022. The files and directories belong to my user and the group staff. This means I can read and write and others can read. If I do the same using the other users account. Permissions are 700 and 600 respectively. (Owner is the other user and group is staff.) Strangely the other users umask is 0022, too.
    The result is, that all directories and files I create with my account (Admin user) are readable to every other user on the machine, whereas all directories and files the other user (Standard user) creates are not readable for anyone else. I can easily rectify this using the Terminal and chmod and/or chown, but it is a pain having to do this, since I also need to forcefully restart the Finder App for it to notice the changed permissions.
    Ideally I'd like all directories in /Users/Shared to have permissions 777 and all files 666 no matter which user created, copied or moved them to said location. I think this could possibly be done using applescript and shellscripting and the folder action hook. So far my attempts to find such a script on the net or/and write it myself have failed. I'd be grateful for any hints how I:
    a) write and setup such a script
    b) accomplish what I try to do (share files and folders on the same machine) in another possibly more Mac way
    Kind regards
    David

    The following AppleScript will recursively descend the directory tree and change the items to your modes:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to this_folder after receiving these_items
    repeat with some_item in these_items
    ProcessStuff from some_item
    end repeat
    end adding folder items to
    to ProcessStuff from SomeItem
    processes items contained in SomeItem, recursively descending the directory tree
    parameters - SomeItem [mixed]: an item containing the items to process
    returns nothing
    set SomeItem to SomeItem as text
    set FileInfo to (info for SomeItem as alias)
    if (folder of FileInfo) and not (package folder of FileInfo) then -- a folder (not a package)
    do shell script "chmod 666 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    try -- to get items in the folder
    tell application "Finder" to set SubFolder to (items of folder SomeItem)
    on error
    return {}
    end try
    repeat with SubItem in SubFolder -- process the sub items
    ProcessStuff from SubItem
    end repeat
    else -- a file
    do shell script "chmod 777 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    end if
    return
    end ProcessStuff
    </pre>
    You shouldn't need to change the ownership, so I commented out the chown shell script since this would need to be run as a super user. You can run a shell script with administrator privileges, but in order to be used by a standard user you will need to provide the appropriate user name and password in the script, which might not be a good idea - note that the folder action script will need to be attached in all accounts that you want to change the permissions, which means that it would need to be accessible to those accounts.

  • Problem using scp to copy files between Macs

    I've been trying to copy a folder hierarchy containing a slew of icon files between two of my Macs. Using scp has proven to be futile.
    The command line I'm using is
    scp -r -p -C -E [email protected]:/Icons /Icons
    After a number of files are copied I receive the following error message on a file and all thereafter:
    ./icons/Agrapha-Christmas/Boxes: Too many open files
    More specifically the "too many open files" message.
    I am using Tiger 10.4.7
    What am I doing wrong here?

    One more piece of information. I ran scp with the verbose switch and have attached a portion of the feedback showing successfull copies followed by the error which occurs on all subsequent files:
    Entering directory: D0777 0 Adobe CS Icons
    Sending file modes: C0644 6148 .DS_Store
    .DS_Store 100% 6148 6.0KB/s 00:00
    copyfile(/icons/Adobe CS Icons/..DSStore, /tmp/scp.md.DJyatJ, PACK)
    Sending file modes: C0400 82 ..DSStore
    ..DSStore 100% 82 0.1KB/s 00:00
    copyfile(/icons/icons/Adobe CS Icons/..DSStore.N8P, /icons/icons/Adobe CS Icons/.DS_Store, UNPACK)
    Sending file modes: C0777 68489 Adobe CS Box.icns
    Adobe CS Box.icns 100% 67KB 66.9KB/s 00:01
    copyfile(/icons/Adobe CS Icons/._Adobe CS Box.icns, /tmp/scp.md.00r28e, PACK)
    Sending file modes: C0400 70745 ._Adobe CS Box.icns
    ._Adobe CS Box.icns 100% 69KB 69.1KB/s 00:00
    copyfile(/icons/icons/Adobe CS Icons/._Adobe CS Box.icns.K7Q, /icons/icons/Adobe CS Icons/Adobe CS Box.icns, UNPACK)
    Sending file modes: C0777 56691 Adobe CS Folder 2.icns
    Adobe CS Folder 2.icns 100% 55KB 55.4KB/s 00:00
    copyfile(/icons/Adobe CS Icons/._Adobe CS Folder 2.icns, /tmp/scp.md.EgDDb2, PACK)
    Sending file modes: C0400 58947 ._Adobe CS Folder 2.icns
    ._Adobe CS Folder 2.icns 100% 58KB 57.6KB/s 00:00
    copyfile(/icons/icons/Adobe CS Icons/._Adobe CS Folder 2.icns.hrC, /icons/icons/Adobe CS Icons/Adobe CS Folder 2.icns, UNPACK)
    Sending file modes: C0777 57330 Adobe CS Folder 3.icns
    Adobe CS Folder 3.icns 100% 56KB 56.0KB/s 00:01
    copyfile(/icons/Adobe CS Icons/._Adobe CS Folder 3.icns, /tmp/scp.md.rDiEBy, PACK)
    Sending file modes: C0400 59586 ._Adobe CS Folder 3.icns
    ._Adobe CS Folder 3.icns 100% 58KB 58.2KB/s 00:00
    copyfile(/icons/icons/Adobe CS Icons/._Adobe CS Folder 3.icns.5nC, /icons/icons/Adobe CS Icons/Adobe CS Folder 3.icns, UNPACK)
    Sending file modes: C0777 56289 Adobe CS Folder.icns
    Adobe CS Folder.icns 100% 55KB 55.0KB/s 00:00
    copyfile(/icons/Adobe CS Icons/._Adobe CS Folder.icns, /tmp/scp.md.CVrek6, PACK)
    Sending file modes: C0400 58545 ._Adobe CS Folder.icns
    ._Adobe CS Folder.icns 100% 57KB 57.2KB/s 00:00
    copyfile(/icons/icons/Adobe CS Icons/._Adobe CS Folder.icns.JMp, /icons/icons/Adobe CS Icons/Adobe CS Folder.icns, UNPACK)
    Sending file modes: C0777 54831 Adobe CS Logo.icns
    Adobe CS Logo.icns 100% 54KB 53.6KB/s 00:00
    copyfile(/icons/Adobe CS Icons/._Adobe CS Logo.icns, /tmp/scp.md.keUSYq, PACK)
    Sending file modes: C0400 57087 ._Adobe CS Logo.icns
    ._Adobe CS Logo.icns 100% 56KB 55.8KB/s 00:00
    copyfile(/icons/icons/Adobe CS Icons/._Adobe CS Logo.icns.M39, /icons/icons/Adobe CS Icons/Adobe CS Logo.icns, UNPACK)
    Entering directory: D0777 0 Agrapha-Christmas
    Sending file modes: C0644 12292 .DS_Store
    .DS_Store 100% 12KB 12.0KB/s 00:00
    copyfile(/icons/Agrapha-Christmas/..DSStore, /tmp/scp.md.1s6tDJ, PACK)
    Sending file modes: C0400 82 ..DSStore
    ..DSStore 100% 82 0.1KB/s 00:00
    copyfile(/icons/icons/Agrapha-Christmas/..DSStore.Jmw, /icons/icons/Agrapha-Christmas/.DS_Store, UNPACK)
    Sending file modes: C0777 0 Angel
    Angel 100% 0 0.0KB/s 00:00
    copyfile(/icons/Agrapha-Christmas/._Angel, /tmp/scp.md.hueGHQ, PACK)
    Sending file modes: C0400 44820 ._Angel
    ._Angel 100% 44KB 43.8KB/s 00:00
    copyfile(/icons/icons/Agrapha-Christmas/._Angel.ZDF, /icons/icons/Agrapha-Christmas/Angel, UNPACK)
    Sending file modes: C0777 0 Basket
    Basket 100% 0 0.0KB/s 00:00
    copyfile(/icons/Agrapha-Christmas/._Basket, /tmp/scp.md.8NWfFT, PACK)
    Sending file modes: C0400 49608 ._Basket
    ._Basket 100% 48KB 48.5KB/s 00:00
    copyfile(/icons/icons/Agrapha-Christmas/._Basket.eIY, /icons/icons/Agrapha-Christmas/Basket, UNPACK)
    Sending file modes: C0777 0 Boxes
    Boxes 100% 0 0.0KB/s 00:00
    copyfile(/icons/Agrapha-Christmas/._Boxes, /tmp/scp.md.oWFB8k, PACK)
    Sending file modes: C0400 46314 ._Boxes
    ._Boxes 100% 45KB 45.2KB/s 00:00
    copyfile(/icons/icons/Agrapha-Christmas/._Boxes.GGu, /icons/icons/Agrapha-Christmas/Boxes, UNPACK)
    Sending file modes: C0777 0 Broach
    /icons/icons/Agrapha-Christmas/Broach: Too many open files
    Sending file modes: C0777 0 Candy Cane
    /icons/icons/Agrapha-Christmas/Candy Cane: Too many open files
    Starting with the Broach file, all subsequent files display the error "too many open files".

  • I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?

    I am thinking of buying a iPad but my main desktop machine uses Windows 7 and MS Office.  How easy or difficult is it to transfer data files between the iPad and Windows?  Are there obvious problems or the need for some form of conversion programs?
    Many thanks for any advice.
    David

    You don't need conversion programs, iTunes can copy most of your content over to the iPad via the file sharing section, and some apps also support Dropbox, email attachments, transfer via your wifi network. There are a number of apps that you can get that support Microsoft office file (microsoft don't make an app versions of their software) e.g. from Apple there are Pages (word support), Numbers (excel) and Keynote (powerpoint), and from third-parties there are apps such as Documents To Go and QuickOffice HD

  • How to find difference of files between 2 checkpoints in a virtual machine

    hi ,
    i had 2 checkpoint . certain fucntionality works in one and  not  in other checkpoint .
    Same files are copied to 2 checkpoints . 
    IIS webserver /.net framework i guess might be corrupted . how do we find the difference in files between 2 checkpoints .

    Checkpoints are binary differences between two states of the VM thus there's no concept of change as it relates to file level or configuration level changes to track and I can't imagine really trying to find a difference between the two in this way.
    If this relates to creating a base/reference OS image, it's just another reason to use a build and caputre task sequence so that you always have a freshly built and clean image that is easily recreated.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • How to upload file from client machine to  database in server machine?

    I am developing a web application. this application is suppose to take file from client machine and store that to database in the server side.
    My jsp form is of multi part type. but I am confused about what to write in servlet.
    Can any one help me ?
    Edited by: chinmaya_mishra on Feb 16, 2009 2:55 AM
    Edited by: chinmaya_mishra on Feb 16, 2009 2:58 AM

    http://www.google.com/search?q=jdbc+blob
    Blob processing varies between databases; see also examples for whatever database you are using, e.g.
    http://www.google.com/search?q=jdbc+blob+oracle
    If you are storing text data instead of binary data, replace "blob" by "clob" in the searches.

  • How do I share files between two Macs on my wireless network?

    I have an iMac G4 and an ibook G3 on a wireless network. I have "file sharing" activated on both computers. (Also Appletalk, which may or may not be a misguided move, but I got the idea from OSX "Help.")
    When I try to get from either computer onto the other, my computer is recognized by name (another alternative is to log on as a "guest"). I'm prompted for a password. None of the passwords I use works. I've tried the administrative passwords for both computers.
    How do I get beyond this hurdle to share files? I've posted elsewhere to no avail. This must be an easy one. How do you share files between two macs on one network?

    Do your accounts on the machines have the same short name? It's an issue I've seen a few names.. one machine with bsmith, the other with bobsmith, but the long names for both being "Bob Smith". The login windows would confuse users because it showed their names, but because the short names didn't match, it wouldn't work.
    The password you should use is the administrative one, so I don't know why you're not having luck.

  • How do I share files between my two computers?

    I have one computer (which is somewhat old) that doesn't have wireless capabilities as well as a newer laptop and a Wii which are both connected to the internet wirelessly.  How do I share files and such between these machines?

    Enable File and Printer Sharing on each computer.Also make sure both the computer's are in the same workgroup...
    The default workgroup name in Windows Vista has been changed to WORKGROUP. In WindowsXP, the default workgroup name is MSHOME...
    Also go into the computer software firewall on each computer, and set it to "trust" the other computers on your network.
    If your firewall or PC security program keeps a list of trusted applications (also known as a "trusted zone"), then make sure that your router is in the trusted zone on your firewall...

  • How do I share files between Macs?

    I have a new Mac running Lion.  My wife has a MacBook running OS X 10.6.8.
    How do I share files between the 2 machines.  Her laptop shows up in my Finder and my Mac shows up in her Finder.  We try to copy files and it looks like they are copied (using iPhoto export), but there is nothing there.  When I try to browse her laptop from my Mac, I am told I don't have permission.
    Is this something that can be done?  I would like to think so.

    Target disk mode is one way: http://support.apple.com/kb/ht1661
    Another way:
    Drop files in the user/Public Folder
    Make changes in >Preferences>Sharing

  • How do I share files between a PowerPC 8100 OS 7.6.1 and an iMac OS 10.7.4 over ethernet

    How do I share files between a PowerPC 8100 OS 7.6.1 and an iMac OS 10.7.4 over peer to peer ethernet connection? I'm trying to get data off the old machine so I can retire it for good. Can I just save the data and worry about file conversion later?

    Addendum
    There is a relatively simple server-based way of avoiding difficulties with incompatible system versions et cetera. It could possibly be of some interest.
    I tested the following between a System 7.5.3 PowerBook 540 and a Windows XP PC. It ought to work with a System 7.6.1 Power Macintosh 8100 and a MacOS X 10.7.4 iMac as well.
    a) Download and install Microsoft Personal Web Server 1.0 for Macintosh onto the 8100. If the 8100 does not have a direct Internet connection, carry out the download on another computer, and then try to transfer the hqx file (as it is) on a CD-R (burn at a low speed) or a 1.44 MB floppy (use StuffIt Expander to decode the hqx on the 8100). Do not change or add anything after the installation; just leave the files as they are.
    http://support.microsoft.com/kb/164571
    b) Drag a compressed example archive (we can call it example_file.sit) to the folder My Personal Web Site (there are other files inside this folder; do not worry about them). Ensure that the compression format is compatible with a decompression tool on the receiving computer.
    c) Many people have access to a router (wired or wireless) with a built-in Ethernet switch (usually something like four LAN ports). If applicable, disconnect any incoming Internet (the WAN port). If possible/necessary, switch off the wireless (see the router manual for details about this).
    d) Switch off both computers (and the router).
    e) Connect an AAUI to RJ-45 transceiver (such as the aforementioned Apple Ethernet Twisted-Pair Transceiver) to the AAUI port of the 8100.
    f) Connect an Ethernet cable from the transceiver to the first LAN port of the router.
    g) Connect an Ethernet cable from the second LAN port of the router to the iMac.
    h) Switch on the router.
    i) Start the computers.
    j) The TCP/IP control panel on the 8100 is set to connect via Ethernet. DHCP Server is used in this case.
    k) Open the Microsoft Personal Web Server control panel.
    l) Click on the Start button.
    m) Wait (can take a while).
    n) Notice the exact address at My URL (under Monitor Web Site). Could be something like http://192.168.1.2 (depends on the router).
    o) Launch a web browser on the iMac (I did the testing on the PC with Firefox and Safari).
    p) Enter the exact address (see n above) in the browser's address field (http://192.168.1.2 in my example). Press Return. A standard web page should appear. Disregard this page for now.
    q) Add the exact file name (example_file.sit) to the address shown in the field. The result would be http://192.168.1.2/example_file.sit in my case. Press Return.
    r) The file should start to download to the modern computer.
    All the above is intended for a local connection only (otherwise security settings become of importance), and should be considered purely experimental. There are further possibilities (including an FTP plug-in), but it also makes everything more complicated. I have not tested the behaviour with large files or with various files types. Sometimes the server may crash. If so, try a restart. Make sure that you have backup copies of important files already at the 8100 before you begin.
    Good luck!
    Jan

  • How to share files between computers and TC

    What is the best way to share content/files between computers (iMac and MacBook Pro)?
    I thought about using Time Capsule for this...is this NOT wise?
    Thanks

    What is the best way to share content/files between computers (iMac and MacBook Pro)?
    The simplest way to do this would be to enable File Sharing on both Macs.
    On each Mac....
    Open System Preferences (gear icon on the dock)
    Open Sharing
    Enter a check mark next to File Sharing
    Now when you open the Finder or Macintosh HD, you will see the "other" Mac and you will be able to access files/folders, etc. on the other computer.
    I thought about using Time Capsule for this...is this NOT wise?
    The Time Capsule was designed to work with the Time Machine application to back up your Mac(s). As such, the TC will make a complete copy of each Mac on the first backup and backup any changes after that to keep a complete timeline of each Macs files. Each computer normally will only be able to access the backups for that given computer.
    While it is possible to store normal files or folders on the Time Capsule disk, this is not generally recommended as there will eventually be a struggle between Time Machine and the files on the disk as the drive begins to fill up. The other thing to keep in mind is that access to the drive for "normal" files will be quite slow.

  • Sharing Files Between 3 Arch Computers Using SAMBA [SOLVED]

    I am trying to network 3 of my computers together.  They are all running Arch 64.  I setup the smb.conf file according to various tutorials and then the folders show up on the other computers, but when you double click them (using Gnome 3) it gives an error "unable to mount location, failed to mount windows share"
    I know this has to be some permission issue but I have spent hours on this and am hitting a brick wall.  Here is my smb.conf file.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = share
    guest account = nobody
    [Z]
    path = /media/Z
    public = yes
    guest ok = yes
    writeable = yes
    only guest = yes
    browseable = yes
    [Documents]
    path = /home/myname/Documents
    public = yes
    guest ok = yes
    writeable = yes
    browseable = yes
    only guest = yes
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    ; passdb backend = tdbsam
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/local/samba/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    [Z]
    path = /media/Z
    public = yes
    guest ok = yes
    writable = yes
    only guest = yes
    browseable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    [Z]
    path = /media/Z
    public = yes
    guest ok = yes
    writable = yes
    only guest = yes
    browseable = yes
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    I know Z is in there twice, I tried adding it in a different spot after watching a tutorial, this doesn't have any bearing on my problem.
    Last edited by LuckyStrike (2012-02-18 00:26:51)

    Try setting it up this way...
    #======================= Global Settings =======================
    [global]
    log file = /var/log/samba/log.%m
    so_rcvbuf = 8192 SO_SNDBUF=8192
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    obey pam restrictions = yes
    socket options = TCP_NODELAY
    map to guest = bad user
    encrypt passwords = true
    passdb backend = tdbsam
    passwd program = /usr/bin/passwd %u
    dns proxy = no
    netbios name = ArchLinux
    server string = %h server (Samba, Arch)
    path = /home/username
    default = global
    unix password sync = yes
    os level = 20
    auto services = homes
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
    usershare allow guests = yes
    max log size = 1000
    pam password change = yes
    #======================= Share Definitions =======================
    [Home]
    guest account = nobody
    comment = Home Folder
    writeable = yes
    [Z]
    guest account = nobody
    comment = Z-Drive
    writeable = yes
    path = /media/Z
    [Documents]
    guest account = nobody
    comment = Documents Folder
    writeable = yes
    path = /home/myname/Documents
    Changing the username parts and other as necessary of course.

Maybe you are looking for

  • How to test ABAP mapping used in a Integration Process node

    Hi, anyone can suggest me how to debug an ABAP mapping used into a transformation node belonging to an Integration Process ? Thanks. Francesco

  • Problem with old namespace in WSDL file

    I have a problem with my WSDL file.  My scenario is SOAP to IDOC.  Originally the ESB data types were configured under namespace urn:test1:xxx  for development purposes.  When it came time to implement and test, we copied the data types from the old

  • T60 system not recognizing drivers.

    I have a T60 laptop, model 2613-HKU. Recently I just reinstalled Windows XP. After the OS installation, I installed every drivers listed on Lenovo's website: http://www-307.ibm.com/pc/support/site.wss/MIGR-62928.html Still, under "Device Manager", I

  • Instagram Photo Home Printing Guide

    Hi all, The attached PDF's are brief guides to printing Instagram photos using the following: HP Photosmart Essentials & Photo Creations software. e-Print & Air Print on IOS Apple mobile devices I've had trouble printing Instagram photos in the past

  • Module pool radio button

    How to design module pool with two radio buttons