FSDB to Windows Share on UNIX Portal

Hi all,
I'm struggling to setup a FSDB to a windows share (actually a Distributed File System) on a AIX based portal. I've gone through the steps of this blog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/284(but this blog is somewhat outdated) and verified the settings on help.sap.com but they are not very clear.
Has anyone succesfully setup such a CM repository manager? When I set it up as a FileSystem Repository Manager it works immediatly.
There are two things that confuse me the most:
the network path -> is it required or not and if so where do you enter this information in the RM config? According to the blog you entere the full network path in the Windows Landscape System but in the [online help|http://help.sap.com/saphelp_nw70/helpdata/EN/62/468698a8e611d5993600508b6b8b11/frameset.htm] it sais that this field is not required for CM repository managers on UNIX???? if you don't use the network path how do you provide the network credentials of the shared drive to the portal?
slashes -> when so you use forward slashes in the config and when the backward to the network shares?
Points will be awarded of course!
Marcel

This doesn't quite work at all. I can understand for OSX to be serving the files the need too change /etc/smb.conf, however, my OSX machine doesn't serve any files, thus the smb service is offline. I have tried adding that tag to my fileserver using samba (its a linux nas box) and it still is slow as ****. I know it works with tiger because one of my sisters is using a macbook on tiger and is able to connect wirelesssly to it and download files as fast as my MBP downloads through ethernet (mine is leopard). My other sister has the exact same configuratino of macbook, however hers is leopard like mine and it moves crazy slow. I know this is the reason why apple pedaled back about network drive time machine because they realized the broke something so I'm giving them the beneffit of the dooubt. If 10.5.2 rolls around and I don't see improvement I think i'll just go back to tiger...

Similar Messages

  • File Adapter (UNIX) to Windows Share

    Hi,
    I am still quite confused how SAP can call this a File Adapter until it is not possible to use the most common transfer method: UNC Paths
    When I start thinking about this I am getting sick, but ok.
    So I want to send a file from anywere to a Windows Share, which in general should not be that difficult. Again, this is one of the most used scenarios and this is not supported by SAP because my XI is on Unix. The possible solutions I found are:
    1) Samba
    2) Mount
    3) FTP Adapter
    For me Mount is no possible because I do have a WAN in between and this connection would be too vulnerable, FTP not as well because there is no FTP Server where I want to go.
    Does anyone of you use a script called from the file adapter which transfers the file via Samba? Any experience with that?
    BR Markus

    You can as well use a J2SE adapter to perform the requirement using XI. I am not sure if you have tried that option.

  • Upload file to windows share folder running on unix

    Hi, I am having requirement to upload the files into windows share folder, It works fine If I run the application on windows, but we moved the application to UNIX, so right now the client has to upload the files to windows shareholder , server is running on the UNIX,
    as I am using the simple File file = new File(//share/shareholder),
    so the problem is once we move to UNIX, how can I handle ., any example will really helpful.
    Thanks
    Srikanth

    k, when I run the UNIX, I am getting below error, It works fine If I run in windows, but when I run in Unix getting error, as all are inside the network.
    jcifs.smb.SmbException: Failed to connect to server
    java.net.UnknownHostException: shareServer
    at jcifs.UniAddress.getByName(UniAddress.java:297)
    at jcifs.UniAddress.getByName(UniAddress.java:201)
    at jcifs.smb.SmbFile.getAddress(SmbFile.java:792)
    at jcifs.smb.SmbFile.connect(SmbFile.java:820)
    at jcifs.smb.SmbFile.connect0(SmbFile.java:797)
    at jcifs.smb.SmbFile.open0(SmbFile.java:852)
    at jcifs.smb.SmbFile.open(SmbFile.java:881)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:139)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:97)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:67)
    at jcifs.util.FileTest.main(FileTest.java:37)
    at jcifs.smb.SmbFile.connect0(SmbFile.java:799)
    at jcifs.smb.SmbFile.open0(SmbFile.java:852)
    at jcifs.smb.SmbFile.open(SmbFile.java:881)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:139)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:97)
    at jcifs.smb.SmbFileOutputStream.<init>(SmbFileOutputStream.java:67)
    at jcifs.util.FileTest.main(FileTest.java:37)

  • How to ftp to windows server from unix server

    Hi Gurus,
    Can anybody please guide me how to ftp the files to windows server from unix server. I can do the file transfer via unix by using the shell scripts, where as for windows how can we do that.
    Please advice.
    Regards
    Nagendra

    Hi.
    It's possible many solution.
    1. Setup Ftp server on Windows and use general scripts.
    http://support.microsoft.com/kb/323384
    2. Create general share folder on windows and use smbclient from samba.
    3. Create general share folder on windows and mount this folder to Linux.
    Reagrds.

  • CM repository - windows share permission issue

    Hello,
    I have configured CM repository to point to windows share. We are running EP 7.0 Everything worked fine. The user name I used in configuring network path is  - epdshare. I have chosen AclSecurityManager as Security.
    However, the physical network share currently has Everyone with read/write permissions, which is a security concern of course.  When removed it, all stoped working, and CM repository is not even visible. I made sure that the user used in Network path - epdshare to has full control on this share, but as long as Everyone is not there, it does not work.
    It looks like Portal is trying to access the share with something else? Any idea what this user could be? Is there anything that I am doing wrong?
    Thanks,
    Alex

    Hi Alex,
    NWA should be the most convenient way to search the log files. But you can also use the [Log Viewer|http://help.sap.com/SAPHELP_NW04S/helpdata/en/57/5f1140d72dc442e10000000a1550b0/frameset.htm] inside of the Visual Admin or just navigate on the OS System to the folder /usr/sap/<SID>/<instance_number>/j2ee/cluster/server<X>/log/ and open the file defaultTrace.X.trc. You find the correct X either by comparing the file size (it should be the file that is smaller than the others) or sorting by date.
    Try to reproduce the problem when you remove the group everyone and check for an error.
    In special cases you can also change the log level to get more information written in the log files, but I am pretty sure you should have an error in the logs when the repository is not displayed.
    Let me know if anything is unclear,
    Robert

  • Fileadapter: UNC path to share from Unix?

    Is it possible to access a windows server share from XI running on Unix (hp-ux)?
    -AD

    The file adapter can read from windows share, when the user <SID>adm has access to the share and the domain.
    But for security and monitoring reasons, I would recommend using FTP for this purpose.
    Regards
    Stefan

  • "samba-discovery". An automounter script for windows shares

    Hi.
    At the last lan party I found it quite annoying to mount samba shares by hand all the time (as I don't use a smb capable browser with fuse like dolphin or the like). So here's what I've come up with. Explenations on how it works are at the start of the script. You can also download it directly from here. Basically you run it and anything available on the lan will be tidily mounted to /mnt/samba-discovery/*.
    #!/bin/bash
    # Hi and welcome to this samba/windows share automounting script.
    # It will:
    # - Scan the network for windows/samba hosts.
    # - Mount all their available guest shares
    # - If rerun it will check if all shares are still accesible
    # - Unmount everything if you use the -u option
    # It will not:
    # - Work on password protected shares. No idea what will happen,
    # I guess mount.cifs will spit an error but the script will continue
    # Run it without options to mount/rescan, use -u to unmount everything.
    # Before running it please specify the options below.
    # Post questions on the Archlinux forum: http://bbs.archlinux.org/viewtopic.php?pid=596979#p596979
    # MOST IMPORTANTLY: If it eats all your files for breakfast, it's none
    # of my responsibility! It should be quite safe though because it's
    # always checking if a dir is empty before deleting it.
    ### Options
    # Specify the name of your network adapter (e.g. eth0):
    netiface='eth0'
    # Specify which range of IPs you're interested in (less is faster)
    lowend=1
    highend=20
    ### Code
    # Prepare samba-discovery folder
    if [[ ! -d /mnt/samba-discovery/ ]]; then
    mkdir /mnt/samba-discovery
    fi
    # Unmount all shares and clean up directories using -u
    umountcount=0
    uhostcount=0
    if [[ $1 == "-u" ]]; then
    shopt -s nullglob dotglob
    dirs=(/mnt/samba-discovery/*)
    (( ${#dirs[@]} )) || sharefolders=1
    shopt -u nullglob dotglob
    if [[ ! $sharefolders == 1 ]]; then
    for i in /mnt/samba-discovery/*/*; do
    umount "$i" 2>/dev/null
    cd "$i" 2>/dev/null
    shopt -s nullglob dotglob
    files=(*)
    (( ${#files[*]} )) || dirempty=1
    shopt -u nullglob dotglob
    if [[ ! $dirempty == 1 ]]; then
    echo ">>> warning: target directory not empty although share unmounted"
    echo ">>> aborting. please investigate directory:"
    echo " $i"
    exit 1
    else
    dirempty=0
    rm -R "$i"
    echo " share on $i unmounted, folder removed."
    ((umountcount++))
    fi
    done
    for i in /mnt/samba-discovery/*; do
    umount "$i" 2>/dev/null
    cd "$i" 2>/dev/null
    shopt -s nullglob dotglob
    files=(*)
    (( ${#files[*]} )) || dirempty=1
    shopt -u nullglob dotglob
    if [[ ! $dirempty == 1 ]]; then
    echo ">>> warning: target directory not empty although all shares unmounted"
    echo ">>> aborting. please investigate directory:"
    echo " $i"
    exit 1
    else
    dirempty=0
    rm -R "$i"
    echo " parent folder $i removed."
    ((uhostcount++))
    fi
    done
    echo "-> Removed $umountcount shares and $uhostcount parent folders"
    exit 0
    else
    echo "no parent folder found, nothing to unmount"
    exit 0
    fi
    fi
    # Normal run. Scan for shares which are no longer on the network...
    if [[ ! $1 == "" ]]; then
    echo "Invalid option. Aborted"
    exit 1
    fi
    shopt -s nullglob dotglob
    dirs=(/mnt/samba-discovery/*)
    (( ${#dirs[@]} )) || sharefolders=1
    shopt -u nullglob dotglob
    if [[ ! $sharefolders == 1 ]]; then
    echo ':: Cleaning up orphaned shares...'
    cleancount=0
    for i in /mnt/samba-discovery/*/*; do
    if [[ ! $(ls $i 2>/dev/null) ]]; then
    umount "$i" 2>/dev/null
    cd "$i" 2>/dev/null
    shopt -s nullglob dotglob
    files=(*)
    (( ${#files[*]} )) || dirempty=1
    shopt -u nullglob dotglob
    if [[ ! $dirempty == 1 ]]; then
    echo ">>> warning: target directory not empty although share unmounted"
    echo ">>> aborting. please investigate directory:"
    echo " $i"
    exit 1
    else
    dirempty=0
    rm -R "$i"
    echo " share on $i no longer accesible, removed."
    ((cleancount++))
    fi
    else
    if [[ ! $(cat /proc/mounts | grep "cifs" | awk '{print $2}' | grep $i) ]]; then
    cd "$i" 2>/dev/null
    shopt -s nullglob dotglob
    files=(*)
    (( ${#files[*]} )) || dirempty=1
    shopt -u nullglob dotglob
    if [[ ! $dirempty == 1 ]]; then
    echo ">>> warning: target directory not empty although nothing mounted there"
    echo ">>> aborting. please investigate directory:"
    echo " $i"
    exit 1
    else
    dirempty=0
    rm -R "$i"
    echo " nothing mounted on $i, removed."
    ((cleancount++))
    fi
    fi
    fi
    done
    echo "-> Cleaned out $cleancount shares"
    fi
    # ... and then scan for new hosts and mount shares
    echo ':: Scanning for new hosts and shares...'
    netaddr=$(ifconfig eth0 | grep "inet addr" | awk '{print $2}' | awk -F ":" '{print $2}' | awk -F "." '{print $1"."$2"."$3}')
    hostcount=0
    sharecount=0
    for ((ip=$lowend; ip<=$highend; ip++)); do
    printf " scanning $netaddr.$ip...\r"
    if (( $(nmap -PN -p139,445 "$netaddr.$ip" | grep -e "139/tcp open" -e "445/tcp open" | wc -l) == 2 )); then
    hostwinname="$( nmblookup -A $netaddr.$ip | grep "<00>" | grep -v "<GROUP>" | awk '{print $1}')"
    hostdirname="$(echo $hostwinname | tr [:upper:] [:lower:])"
    echo " found $hostwinname on $netaddr.$ip"
    IFS=$'\n' shares=($(smbclient -N -gL \\\\$netaddr.$ip\\ 2>&1 | grep -e "Disk|" | grep -v '\$' | awk -F "|" '{print $2}'))
    for share in ${shares[*]}; do
    sharedir="$(echo $share | sed s/\ /_/g | tr [:upper:] [:lower:])"
    if [[ "$(cat /proc/mounts | grep ",unc=\\\\\\\\$netaddr.$ip\\\\$share,")" ]]; then
    echo " share "$share" already mounted in /mnt/samba-discovery/$hostdirname/$sharedir"
    else
    if [[ ! -d "/mnt/samba-discovery/$hostdirname" ]]; then
    mkdir "/mnt/samba-discovery/$hostdirname"
    #echo "$hostwinname:$hostdirname:$netaddr.$ip" >> /mnt/samba-discovery/$hostdirname/ip.txt
    fi
    if [[ ! -d "/mnt/samba-discovery/$hostdirname/$sharedir" ]]; then
    mkdir "/mnt/samba-discovery/$hostdirname/$sharedir"
    else
    cd "/mnt/samba-discovery/$hostdirname/$sharedir"
    shopt -s nullglob dotglob
    files=(*)
    (( ${#files[*]} )) || dirempty=1
    shopt -u nullglob dotglob
    if [[ ! $dirempty == 1 ]]; then
    echo ">>> warning: mounting directory not empty although share not mounted!"
    echo ">>> aborting. please investigate directory:"
    echo " /mnt/samba-discovery/$hostdirname/$sharedir"
    exit 1
    fi
    dirempty=0
    fi
    mount "//192.168.1.$ip/$share" "/mnt/samba-discovery/$hostdirname/$sharedir" -o guest 2>/dev/null
    echo " mounted "$share" in /mnt/samba-discovery/$hostdirname/$sharedir"
    ((sharecount++))
    fi
    done
    ((hostcount++))
    fi
    done
    echo "-> Mounted $sharecount shares from $hostcount hosts."
    # Remove samba-discovery folder if it is empty
    if [[ -d /mnt/samba-discovery/ ]]; then
    cd "/mnt/samba-discovery/"
    shopt -s nullglob dotglob
    files=(*)
    (( ${#files[*]} )) || sambadirempty=1
    shopt -u nullglob dotglob
    if [[ sambadirempty == 1 ]]; then
    rm -R /mnt/samba-discovery/
    fi
    fi
    Here's some sample output of how it will look, including one orphaned share and a new one on a rerun of the script:
    [root@Mothership samba-discovery]# /home/medja/scripts/samba-discovery
    :: Cleaning up orphaned shares...
    share on /mnt/samba-discovery/blackrabbit/conflict_denied_ops no longer accesible, removed.
    -> Cleaned out 1 shares
    :: Scanning for new hosts and shares...
    found BLACKRABBIT on 192.168.1.2
    share CD-Images already mounted in /mnt/samba-discovery/blackrabbit/cd-images
    share CD-Images2 already mounted in /mnt/samba-discovery/blackrabbit/cd-images2
    share Filme already mounted in /mnt/samba-discovery/blackrabbit/filme
    share Filme2 already mounted in /mnt/samba-discovery/blackrabbit/filme2
    mounted Music Library in /mnt/samba-discovery/blackrabbit/music_library
    found MOTHERSHIP on 192.168.1.4
    share space already mounted in /mnt/samba-discovery/mothership/space
    found EEE on 192.168.1.5
    share SharedDocs already mounted in /mnt/samba-discovery/eee/shareddocs
    -> Mounted 1 shares from 3 hosts.
    Last edited by Shapeshifter (2009-08-07 18:51:05)

    thanks a lot, i wanted to write that script for a long time, but never got around. one thing though, you shouldn't mount stuff in a subfolder of /mnt because /mnt itself should be kept for such purposes (unix file hierarchy standards, afaik)
    but that should be easily fixed by myself
    cheers
    Phil
    Last edited by Heller_Barde (2009-08-07 21:42:46)

  • Access Windows Drive from UNIX using Java

    Does anyone know if you can access a windows share from a unix machine using Java?
    What options are available? Would a samba client have to be installed on the UNIX server first?

    mdreelin wrote:
    Does anyone know if you can access a windows share from a unix machine using Java?If your operating system can see the file system, I don't see why it wouldn't be available to Java.
    What options are available? Would a samba client have to be installed on the UNIX server first?Well you'd have to do something like that, otherwise you'd have to remote it via RMI or something (not recommended).

  • OWB Windows Client Accessing Unix Directory

    Can a OWB client running on a Windows machine access a Unix Directory Structure?
    I'm creating a module for Source flat files using my OWB Client on Windows 2000. Can I access the Unix Direcory structure for these files using the OWB Windows Client.

    There are several issues that you may be concerned about here...
    First, When you create the Flat File Module you are given the opportunity to enter a directory for this module. This directory is used when importing File metadata via a process OWB calls "sampling". At the time of the "sampling" your OWB client requires direct access to the actual physical flat file. If you are running the OWB client on a Windows PC and wish to access the physical files stored in on a unix machine, you will need some kind of "protocol handler" to make this work. NFS software (i.e. 3rd party) [ as discussed previosly] is the recommended (i.e. highest overall performance, etc) access method. There are others, Samba (which is free, would need to be installed on your unix machine) makes unix directories exported like Windows "shares". These steps are necessary to get direct access to the physical data so that it can be read and help guide you on the way to defining the metadata (ie structure) of the file. If you switch to using a Unix client, the "connection" information for the Flat File Module will have to be "re-entered" to be relative to that particular host.
    Second, When you deploy a map which uses the flat file as a source, a SQL*Loader control file will be created to read the data and populate a target table. Im the production versions of OWB, you need to configure the map and supply physical connection information relative to the machine on which the SQL*Loader control file is to be run. So if your database is hosted on a Unix machine, and that is where the SQL*Loader process is to be executed, the "path" information would need to be specified in the unix format and from the database's perspective.

  • Can no Longer See Windows Shares

    My network has always connected no problem. Suddenly today I can no longer see the computers on my LAN. These are all windows shares. All I see are two alias' Llbrary and Servers. Mail and internet operates normally both by ethernet and wireless. I've tried everything I can think of. I managed one time to bring up a folder Workgroups but I have lost that too. I think that folder is usually empty though. I was told there was a short power outage which required a reboot of the servers but that is not unusual. Windows client on the network continue to see each other. Any ideas?

    Tom,
    you have accidentally posted in the iPhone forum. You might want to try re-posting in the MacBook forum.

  • SOLVED--"object no longer exists" for Windows shares

    If you can see a Windows share in the Finder but can't connect to it, or get the error that says the object doesn't exist, I think I've found the answer. I was trying to mount a connected Western Digital USB drive which was shared from a Windows XP machine. It was seen correctly in Finder, but I could never actually connect to it. It wasn't until recently that I discovered that I was also having a problem connecting to it from another Windows machine, and that led me to find this solution.
    http://winhlp.com/node/40
    If you still have the error after rebooting your Windows machine where the share resides, increase the value of 15, then reboot. I had to go to 25 to make everything work.

    Kelly,
    Do you do any DDL on EMP table of HR schema?
    I guess, if you do any DDL on EMP, you may loose all the grants, you may need to regarnt permission again.
    Jaffar

  • Windows shares discoverability no longer working

    I never used to have a problem with this in Leopard. Windows shares always appeared in the Shared section of finder just fine.
    But a few months ago they just stopped appearing, and not just on one mac, I have an iMac Core Duo and an iBook G4 and they have stopped appearing on both. The 3 windows machines see each other just fine.
    I've tried restoring my router to factory defaults, that hasn't helped, so I've ruled that out. The only thing I can imagine is that a software update some months ago has broken it.
    I've been experimenting and have found that if I change the workgroup name on one of the macs and one of the windows machines they start to see each other again. But after an hour or so the windows share will disappear again. And rebooting both machines will not get it back, I have to rename the workgroup again. It's mental!
    Using the ip addresses in connect to server works just fine, it's only the discovering of netbios names that is broken. Also, the windows machines can see the macs just fine.
    What is going on?

    I have the same exact problem. Only thing I've found that makes it tolerable is I created an alias of the shared windows folder so I don't have to use the IP address every time I want to connect to it, I just click on the alias from my mac and it will automatically mount the shared volume.
    Still, I'd love to figure out why it won't list it under the shared section of the sidebar like it used to...

  • Windows Shares Not Showing Up In Finder (Master Browser Problem)

    Hi, on leopard I had no problems with Windows shares showing up in finder. However, having upgraded to Snow Leopard, I've now lost that ability.
    Before I had my Leopard computer set as the master browser. I did this by specifying domain master = yes and preferred master = yes in my smb.conf. However despite importing these settings into Snow Leopard's smb.conf, it is not acting as a master browser.
    When I run the command "nmblookup -M -- -" which in Leopard returned my Mac as the master browser, now it says "failed to find name _MSBROWSE_#01".
    I'm sure this is why the Windows PC is not showing up in finder, but I don't know why the smb-conf isn't taking effect in Snow Leopard, and setting it as the master browser?
    Also, I can use Go -> Connect to access my Windows shares, and Mac shares show up in Vista okay.
    Any help appreciated.

    Problem fixed upon updating to 10.6.2.

  • Problem with file permissions in Windows shares

    Due to a company merger we are now supporting a group of Macs in our PC environment. These Macs connect to our Windows shares. This generally works well, however we have discovered a problem. It’s to do with the way our Macs interact with our Windows shares. When they copy a file to a windows share they take the permissions for the file they copy from the route of the share rather than from the subfolder the files are copied to and write the file permissions accordingly.
    This only affects admin users who use Macs with the ability to change file permissions. Everyone else inherits the permissions from the subfolder as they should because their account can’t change the permissions. If the route and subfolder permissions are the same then there is no change. If they are different, the Mac will use the share route permissions as preference.
    We have shares where users don’t have access to the route folder but do have access to other folders. This is so that they can’t change the top level folder structure. However they are able to create folders and files under the top level folders. If an administrator uses a Mac, no one has access to any files or folders they create because users don’t have access to the route folder and this is copied to the files and folders they create. This doesn’t affect our PC’s only the Macs.
    We are using the latest Mac OS fully updated and Windows 2008 server. Is this a normal Mac ‘Feature’? Is there a work around?

    I’m a bit disappointed by the lack of response to my problem. As Windows is the predominant file server in business, this problem must have occurred before.
    Are Mac people really saying that Macs are not designed to connect to networks? At the moment our Macs are unusable apart from a few isolated tasks. Basically they are used by a few designers who work in isolation. If PC’s had this problem no one would buy them.

  • Cannot open Excel files on Windows share and ONLY Excel files

    I'm browsing a Windows share and for whatever reason it will not let me open Excel files directly from the network location. If I view the Coverflow, I can see a a preview of the actual file as well as copy it to the desktop and open it.
    I receive an error message that says "filename.xls could not be found."
    I can open up any other file from the network location, but not Excel files.
    I checked the file permissions and they mirror the other file types, it may be worth mentioning that I utilize network synchronization and view these files from a PC as well. I also noticed when I create a new file in that location, it will only appear in OS X and not Windows, but is still completely accessible.
    Any help is appreciated!
    Thanks

    Re:  Windows 8 vs. Excel problem
    Does your new Dell computer have MS Office installed?
    Jim Cone
    Portland, Oregon USA
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

Maybe you are looking for