Setting up a file server

You can try a login script...Or GPO as mentioned above.

If you are running  EsXi host on a domain with static ip and accessing and creating the new server via vsphere. How do you make it so that all domain users can see the share drive when they click "computer"?
This topic first appeared in the Spiceworks Community

Similar Messages

  • Help setting up a File Server

    Hello,
    I have a few questions about setting up a file server with Mac OS X 10.5 Server.
    I have set up a sub domain name for the server to use... I just don't know how to get the dynamic IP address to contact the domain name so can ftp to the server... Mac Server is very new to me and I have know Idea on how to set it up...
    FYI we plan to run the file server on a G5 Mac Pro, With a dynamic IP.
    -Ron

    You will not find this an easy setup to achieve.. the TC is not accessible remotely with BTMM unless it is the main router in the network.. and this is not possible when the Uverse is installed as the main router.
    The other method is to open AFP to outside access.. read the Tesserax methods here.
    AirPort Disk - Remote Access (3 Methods)
    The last method can be adjusted for using any brand router.. you do not need to port translate.. simply open port 548 to TC bridged behind the Uverse. It must be static IP so set that on the Uverse. And you will likely need to use ddns which is also built into the uverse.
    Good luck with the treatment.. I had a bone marrow transplant for Lymphoma 20years ago.. still alive.

  • Setting Up the File Server Dynamically

    I have a scenario wherin i have to set up the FTP server name  and directory where i have to put the final file dymically.
    I was able to set the directory path dynamically using Adapter Specific Message properties.
    Can somebody suggest me if i can set the server name also by module processor (have not written one till now)or some other way. The steps to follow etc
    Waiting for your useful answers.

    Hi Siva,
    Setting up a Server name Dynamically -I don't think so it is possible with this point of time.
    So try to do in Java Proxy if required.
    Receiver File Adapter - Dynamic FTP Server Address
    Hope this helps,
    Regards,
    Moorthy

  • Setting up a file server - Problem defined

    This is a file transfer server where I want to send
    1) A file CV.docx from Client to server
    2)The Server recieves this file as plaintext.docx
    3) Server now sends back the plaintext.docx back to the client
    I am able to successfully send the file from client to server (i.e send CV.docx from client to server), but there is problem while sending
    back file from server back to client (i.e plaintext.docx from server to back to client).
    Can anyone tell me how to slove this problem?
    Best Regards,
    Amar
    ------------------------------------------------Client Side----------------------------------------------------------------------------------------------------
    import java.net.*;
    import java.io.*;
    public class FileClient{
      public static void main (String [] args ) throws IOException {
    int filesize=4034296; // filesize temporary hardcoded
    long start = System.currentTimeMillis();
        // localhost for testing
        Socket sock = new Socket("155.245.20.34",13267);
        System.out.println("Connecting...");
          // sendfile
          File myFile = new File ("CV.docx");
          byte [] mybytearray1  = new byte [(int)myFile.length()];
          FileInputStream fis = new FileInputStream(myFile);
          BufferedInputStream bis = new BufferedInputStream(fis);
          bis.read(mybytearray1,0,mybytearray1.length);
          OutputStream os = sock.getOutputStream();
          System.out.println("Sending...");
          os.write(mybytearray1,0,mybytearray1.length);
          os.flush();
    //Receive file here
        int bytesRead;
        int current = 0;
         // receive file
        byte [] mybytearray  = new byte [filesize]; //PROBLEM HERE!
       // Stops at this point indefinately
        InputStream is = sock.getInputStream();
        FileOutputStream fos = new FileOutputStream("plaintext.docx");
        BufferedOutputStream bos = new BufferedOutputStream(fos);
        //PROBLEM HERE!
       // Stops at this point indefinately
        bytesRead = is.read(mybytearray,0,mybytearray.length);
        System.out.println("trace");
        current = bytesRead;
        System.out.println("Check123");
       do {
           bytesRead =
              is.read(mybytearray, current, (mybytearray.length-current));
           if(bytesRead >= 0) current += bytesRead;
        } while(bytesRead > -1);
        bos.write(mybytearray, 0 , current);
        bos.flush();
        bos.close();
        sock.close();
         os.close();
          sock.close();
    long end = System.currentTimeMillis();
        System.out.println(end-start);
    } ----------------------------------------------Server Side-----------------------------------------------------------------------------------------------
    //server module
    import java.net.*;
    import java.io.*;
    public class FileServer {
      public static void main (String [] args ) throws IOException {
    int filesize=4034296; // filesize temporary hardcoded
        long start = System.currentTimeMillis();
        int bytesRead;
        int current = 0;
        // create socket
        ServerSocket servsock = new ServerSocket(13267);
        while (true) {
          System.out.println("Waiting...");
          Socket sock = servsock.accept();
          System.out.println("Accepted connection : " + sock);
         // receive file
        byte [] mybytearray  = new byte [filesize];
        InputStream is = sock.getInputStream();
        FileOutputStream fos = new FileOutputStream("plaintext.docx");
        BufferedOutputStream bos = new BufferedOutputStream(fos);
        bytesRead = is.read(mybytearray,0,mybytearray.length);
        current = bytesRead;
        do {
           bytesRead =
              is.read(mybytearray, current, (mybytearray.length-current));
           if(bytesRead >= 0) current += bytesRead;
        } while(bytesRead > -1);
        bos.write(mybytearray, 0 , current);
        bos.flush();
    System.out.println("Sending file to client");
    // sendfile
          File myFile = new File ("plaintext.docx");
          byte [] mybytearray1  = new byte [(int)myFile.length()];
          FileInputStream fis = new FileInputStream(myFile);
          BufferedInputStream bis = new BufferedInputStream(fis);
          bis.read(mybytearray1,0,mybytearray1.length);
          OutputStream os = sock.getOutputStream();
          System.out.println("Sending...");
          // ******PROBLEM here!
         //******* Waits here indefinately
        //******** No exceptions till this point
    os.write(mybytearray1,0,mybytearray1.length);
          System.out.println("Check\n");
          os.flush();
          long end = System.currentTimeMillis();
          System.out.println(end-start);
          System.out.println("End\n");
      bos.close();
        os.close();
        sock.close();
    }

    Thank u all for ur replies.http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal — in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • Setting up permissions on the file server

    I am attempting to set up a file server with the OS X Server that came with my mac mini.
    I need to be able to set up permissions for 4 different users to be able to read and write, however with no permission to delete.
    I went to the MacMini section (on the left hand corner of the server app), then storage, and from there set up custom permissions
    I added the four users as a group.
    When I added the group to have access to the needed file, I clicked on the drop downs.
    I allowed all permissions for inheritance and reading. I selected all permissions for writting except for "delete" and "Delete subfolders and files"
    This give me a "-" sign next to write versus the check symbol (like it was shown for Read and Inheritance)
    After I set this up... I went to one of the users to test it out, it would not allow me to drop a file on the server or delete anything.
    How do I get this to work the way I want it!?!

    You can not do this with a single ACE.  Or at least I've never been able to.  This shoud resolve.
    Please make sure you test this however.  Remember that trying to overwrite is a delete and then a write.  So if you deny delete, then you can not replace a file or folder with one of the same name.  Also, renaming a file is also a delete.  You will not be able to rename.  Make sure you test this before putting into production to ensure you are getting the behavior you want.
    You have a share point named Archive.  You have a group called Archive_Users.  The Archive_Users are allowed to read and write but NOT delete data in the Archive.  Do do this, follow these steps:
    1:  Create a group called Archive_Users and place your users into the group.
    2:  Define your share point in File Sharing.
    3:  Edit to share point to add the group.  Press the + button and start typing the group name.  When it appears, set the permission to Read Write.  You permission window should have 4 entries at this point.  The everyone, the group (likely staff), and the owner (likely the server admin).  Then the one you added.  The bottom three are POSIX, the final one is an ACE.
    4:  Now, you need to get your hands dirty and create a custom ACE.  Server.app does not allow you to use the Deny rules so break out Terminal.
    5:  I will assume the Archive folder is in this path /Shares/Archive.  First get a list of the folder's ACL using:
    ls -le /Shares/Archive
    It should like like the following:
    drwxr-xr-x+ 2 carbon  wheel   68 Feb 18 22:27 Archive
    0: user:_spotlight inherited allow list,search,file_inherit,directory_inherit
    1: group:archive_users allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,readsecurity,file_inherit,directory_inherit
    6:  Now you must add your deny rule.  Use the following command:
    chmod +a# 2 "group:archive_users deny delete,file_inherit,directory_inherit" /Shares/Archive
    The syntax here is to add (+a) an ACE at index 2 (# 2), an ACE for the group archive_users that states the group can no delete any file or folder and this is inherited all the way down.
    7:  If you have content in the folder already, be sure to propagate the permissions.
    8:  Test, test, test.
    Remember, the deny rules can have some odd effects.  As mentioned, I can think of the renaming and the overwrite as possible deterrents.
    A possible alternative is to not give everyone read write access to the Archive. It might be more sane to define two groups.  The first groups, Archive_admins, is a subset of users who are entrusted with moving data to archived status.  The second group, Archive_users, is the rest of the team and they have read only access, allowing them to pull data but not edit the archive.  This allows you to use two simple ACEs in Server.app:  Archive_admin = read/write and Archive_users = read.
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • How set FTP file server set in my Data carriar   in DMS

    hi
    please say me how i set my FTP file server in in my Data carriar   Of  DMS
    please say me
    Nainesh

    Hi Andreas,
    It depends on your needs. If you want to provide redundancy to your FTP services, it is recommended to group two VMs in an Availability Set to ensures that during either a planned or unplanned maintenance event, at least one VM will be
    available and meet the 99.95% Azure SLA.
    http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-manage-availability/#configure-each-application-tier-into-separate-availability-sets
    If you want to set up two files servers in Azure VMs to an availability set, you can follow the steps below:
    1. Create a virtual network:
    http://azure.microsoft.com/en-us/documentation/articles/create-virtual-network/
    2. Create a VM in a new cloud service and choose teh virtual network you have created:
    http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-tutorial/
    3. After the VM is running, you can create an availability set on the VM in the Configure page of the VM in the managemeng portal.
    4. Create a new VM into the same cloud service and add it to the availability set.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Which Linux file-server software is best for sharing with Mountain Lion?

    Hi,
    I'm hoping someone here will have set up a file-server on a Linux box for their LAN, and will be able to advise me on which software they used.  I can't find a working tutorial for Netatalk and NFSv4 is buggy and slow.  I'd rather avoid Samba given it's the only one not native to either OS.
    Primary concern is ease of setup, followed by reliability, followed by speed.
    I've posted for help on Linux forums but I suspect very few of the perusers there are Mac users…
    Replies preferred from people who've actually implemented such a thing
    Thanks.

    FreeBSD based "FreeNAS" hands down @ http://www.freenas.org/
    Have fun!

  • How can I set-up my mac mini server to be a central file server for my windows boxes (they don't see the mac on the network), and how do I set-up a central iTunes server so that all my devices sync to the mac mini?

    I am looking for step by step instructions to configure my mac mini server to support the following:
    1. Central itunes server for all my devices (ipad, ipod, iphone, etc.)
    2. Central file server so that my windows devices can save and retrieve data from the central system (the mac does not show up in the network for the windows systems - all running windows XP or 7)
    Thanks,
    Keith

    You will need to enable file sharing in System Preferences
    as well as setting up sharing and permissions for the
    directories that you want shared.  You may also want to
    setup a non-administrative user or allow limited guest
    access.  The user would require entering a user name and
    password to make the connection, but would allow remotes
    to change files, if set up tat way.
    As for serving iTunes media, better to post in the iTunes forum.

  • Setting up permissions on a central file server...

    I am setting up a central file server in a small network enviornment where the users will share a drive and jobs on the drive. Problem I am having is if I set up seperate users and one group that they all belong to, when someone creates a job in there home directory and then copies it to the server, the rest of the users access it as read only. I need them to be able to read and write to each others folders. Any solution other than creating one user that they all share (since that kind of defeates the perpose).
    Thanks in advance,
    Larry

    The solution to your problem depends on whether you want to use ACLs or not.
    If you are managing a server, you should crack open the manuals- the answer to your question lies within those pages. To point you in the right direction.....
    If ACLs are NOT enabled for the volume. When you click the Share Point in WorkGroup Manager, then click the Protocols tab, you will see a check box for "Inherit Permissions from Parent". This is what you want.
    If this option is greyed, then you DO have ACLs enabled for the volume.
    The explanations for this are not short and managing a server requires reading, research and frustration.
    ACLs work more reliably than the Posix 'inherit' permissions option does.
    That said....
    A user of this forum put together an excellent guide to ACLs. Here's the link:
    http://discussions.apple.com/thread.jspa?messageID=648307&#648307
    Jeff

  • Setting up a TC as a file server. PLEASE HELP

    I am desparately trying to set up my TC as a file server through a 2wire, ATT Uverse Gateway. Can anyone walk me through it? I need it to remotely access my medical records while at numerous Dr's that I see for my Cancer treatments. Any help would be gratefully accepted.

    You will not find this an easy setup to achieve.. the TC is not accessible remotely with BTMM unless it is the main router in the network.. and this is not possible when the Uverse is installed as the main router.
    The other method is to open AFP to outside access.. read the Tesserax methods here.
    AirPort Disk - Remote Access (3 Methods)
    The last method can be adjusted for using any brand router.. you do not need to port translate.. simply open port 548 to TC bridged behind the Uverse. It must be static IP so set that on the Uverse. And you will likely need to use ddns which is also built into the uverse.
    Good luck with the treatment.. I had a bone marrow transplant for Lymphoma 20years ago.. still alive.

  • What documentation do I need to set up a second file server?

    I have a 10.4 server that used to be my OD master...  but I'm setting up a new Mac Pro to be the master (running 10.6) but would like the old 10.4 server to handle some of the network software.  I don't mind doing a bit of reading to set this up, but I couldn't find any documentation to help me.  The File Server Administration PDF doesn't talk about a second server for AFP or how to get the second server to look up user information on a different server running as the OD Master...
    Thanks in advance for any help or direction!  (either would be great!)
    Kevin

    Hi
    Launch Directory Access (/Applications/Utilities) on your 10.4 Server, click on the LDAPv3 Plug-in and create a New Entry. Add the fully qualified domain name of your 10.6 OD Master. There's no need to provide authentication unless you're disallowing anonymous binding on your 10.6 OD Master?
    Assuming everything is as it should be regarding internal DNS Services and that the 10.4 Server is referencing the correct DNS Server, the 10.4 Server should now be reading from the OD Master's LDAP Database - essentially your Users and Groups. Launch WorkGroup Manager on the 10.4 Server and you should see those Users and Groups.
    All of the above absolutely depends on properly working and configured DNS Services. You may want to add an A Record for the 10.4 Server in whatever you've designated as your DNS Server for your private network. Presumably this will be the 10.6 Server? For SSO (Kerberos) Authentication to work properly - assuming this is what you want? All Servers and Clients must be referencing the same NTP Server.
    Assuming all has gone well with the 'join', launch Server Admin and click on the Open Directory Service. This should report its role as "Connected to a Directory Service". Now start the AFP Service. Use WorkGroup Manager to define shares and access. I would enable Access Control Lists for volumes you wish to designate shares on. Once enabled restart the 10.4 Server. Use the ACL Permissions Model rather than the POSIX one. Make sure you propagate permissions afterwards. Don't share Volumes. Share folders instead.
    You can have as many Servers as you like presenting AFP Shares to as many clients as you like. There is no restriction. Basically it's just another server offering shares. The documentation you've read does not mention multiple servers probably because - no offence intended - it's kind of obvious and fairly straightforward.
    HTH?
    Tony

  • Setting up g4 as internal file server

    I work for a small company who happens to have a nearly full file server. I have been assigned the task to set up a Dual 867 PowerPC G4 as our main internal file server. The server would serve only internally, providing a place to store our files where anyone in the building can access the file server.
    One slight problem: I haven't really got a clue how to do this.
    We want the server to contain two (2) 750 GB drives... one mirroring the other automatically.
    I contacted Seagate to find out what the biggest hard drive they have for this particular machine and they said 120 GB. They said the bios on a G4 will not allow a 750GB drive. They told me to go to a company called www.attotech.com and get a controller card/host adapter that will provide 48-bit addressing... they said this would bypass the system bios and allow the machine to house larger drives (possibly up to 750 GB).
    Anyway... if anyone could give me some direction on this project, it would help out immensely. I just need some instruction on how to set this machine up... what i need to do... what hardware i need, etc. From the ground up, basically.
    Please help!!!
    Thanks a million!
    Machine specs:
    -OSx 10.4.8
    -Dual 1.2 GHz PowerPC G4
    -1 MB L3 cache per processor
    -768 MB DDR SDRAM

    Maooley,
    I am surprised you did not get a response from this post.
    I am not sure of the 120GB limit on that G4. I know an earlier version was limited to 80GB, so your info might be accurate. In any event going with a SATA card will definitely improve performance. While you are shopping I would also suggest replacing the internal HD. Drives fail. If this is the original drive then replace it before deploying your new server.
    Once you get all the hardware in place you can mirror the internal drives with Disk Utility (check out the RAID tab).
    You might also consider OS X Server. It's the same core OS but adds a set of services and the tools to managed the server. The 10 client version is $499. The 10 client limits concurrent AFP connections, but all other services are unlimited (SMB, FTP, web, etc)
    Often new admins set up a server and give one login to everyone, sometimes with no password. I strongly recommend each user have their own login name and password. This way you can keep track of who is connected, who is creating file, and you can give dedicated server space to each user.
    Have you considered backup? I sure hope so. Now that you have the company goods in one place you have the opportunity loose it all in one quick trash session. You also have the opportunity to pack it up and take it offsite site so you can recover from operator error, sabotage, flood, fire etc.

  • Can you set a max size for a folder on a file server

    I've got a G5 Xserve that I'm using as a file server running 10.3.9. I need more space on my array so I bought bigger drives and will move the data to the new, larger array.
    For the health of my drives, I want my array to maintain at least 10% free space so I would like for the people using the shares to only see 90% of the larger space. (I don't want to have to be the 'drive space' policeman 6 months from now when the RAID fills up again)
    I know I could create 2 partitions in diskutil but I'd like something more dynamic.
    Ideally I'd like to put my shared folders inside of a main folder and tell Server to only display 90% of the size of the partition when a folder from the partition is mounted remotely. That way people won't know there is a quota which keeps them from trying to copy data into a share that shows 10% free space.
    The shares are used by both macs and PCs so I'd rather not go with a solution based upon network protocol.
    Many Thanks,
    Paul
    G5 Xserve   Mac OS X (10.3.9)  

    There's no way I'm aware of to artificially display a different capacity/available space than what's actually there. If it's a 1TB volume, it's a 1TB volume and the OS isn't going to report that as 900GB.
    The only other solutions I can think of is to either enable quotas which will let you restrict the amount of disk space any user can consume, or attach a folder action to the volume where the script automatically checks the volume size whenever new files are added and takes action at the appropriate time (you need to define what that action is, though).

  • How to set up file server in Azure Availability Set?

    Hi,
    We're going to set up file servers with SMB shares on VM:s in Azure.
    How do we set up the file services in the VM:s so that it works in an availability set?
    I've read something about using DFS. Is that the recommended "Best practice" way of doing that in Azure?
    /Andreas
    AN

    Hi Andreas,
    It depends on your needs. If you want to provide redundancy to your FTP services, it is recommended to group two VMs in an Availability Set to ensures that during either a planned or unplanned maintenance event, at least one VM will be
    available and meet the 99.95% Azure SLA.
    http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-manage-availability/#configure-each-application-tier-into-separate-availability-sets
    If you want to set up two files servers in Azure VMs to an availability set, you can follow the steps below:
    1. Create a virtual network:
    http://azure.microsoft.com/en-us/documentation/articles/create-virtual-network/
    2. Create a VM in a new cloud service and choose teh virtual network you have created:
    http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-tutorial/
    3. After the VM is running, you can create an availability set on the VM in the Configure page of the VM in the managemeng portal.
    4. Create a new VM into the same cloud service and add it to the availability set.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Help Setting up Mac Mini Server for Printer/File Sharing to Windows comp.

    Hi, so in our office, we decided only to switch half of the office to macs for budgetary reasons. We purchased the mac mini server to replace the 5,000 year old one and have also gotten to macbooks and a mac mini. My other two co-workers unfortunately still are using two windows vista machines. We have important documents on the server hard drive and they also need our OLD ACT! database to access from it and I have not been able to get them to access the hard drive. Can someone please walk me through these steps? Also, ideally we want to be able to access this servers hard drive when we are out of the office and edit word documents and such, but I also have not been able to do that or make that work. Any help in these areas would be greatly appreciated!

    If you use a different login name for the network account to your existing local account then the local account will not be affected. You might want to transfer the contents of your existing local account to the new network account. To do this you could try the following
    Create new network account
    Login using old local account
    Now while logged in using old local account - connect to the File Server
    Enter the new login details
    It should hopefully list the Share that stores your new network account, complete the connection
    You should now have the Share mounted, copy the contents of your local account to the corresponding location in your new network account
    Note: The Library folder in your home directory contains all your settings
    Once complete logout of the old local account
    Try logging in to the new account
    In terms of limitations, it is going to be slower than a local account because it has to go across the network, and some badly written applications may have some issues but most will be fine.
    At this stage your local account has not yet been deleted so if you have problems you can revert to it.

Maybe you are looking for

  • Placed in an InDesign document other InDesign attached file on a specific page

    (inserted into another file indesign indesign on a specific page) Hey all ! I'm trying using Script: 1. in a document already open indesign: var myDoc = app.activeDocument; 2. place another file. indd  app.open(File("/c/myTestDocument.indd")); ---->

  • ITuned 9 "automatically add to itunes" folder does not add files

    Help! I am new to iTunes 9, just built a Win 7 HTPC works well but now wanting to add all of my music to iTunes. Have approx 7k songs in iTunes but when I drop any other folders into the Automatically Add to iTunes folder created by iTunes it does no

  • Change table usage in a form

    Hello, I've been working on a project for a few months now, and in charge of building Forms. Just recently we upgraded our Designer 6.0 to Developer Suite 10g (Designer 9.0.4.5.6). In their infinite wisdom, the architects have chosen to rename some o

  • Rental fee charged instead of using a credit

    A while back I decided to rent a movie since the store had given me three free rental credits for some screwup they made (I forget what) and when I did they charged me 5.99 instead of using a credit.  I complained and the refunded the money.  Still h

  • Weblogic Server 10.0 Limits in evaluation verstion

    Hi all, I'm having troubles in setting up a two instances cluster in Weblogic Server 10.0 My software is evaluation version. May it should be a problem? The configuration seems to be correct but I can't have more than one instance up. If I try to sta