this is all a matter of software-settings. And for that you should tell what software you are running, meaning which os...
If you have a 10.x system, did you take a closer look at the system preferences -> sharing? I suppose you must have the server versions. Unfortunately I never worked with the server versions, but what you are planning to do seems typical to me and that's why I believe it should be done very easily.