In "Connect To Server...", all AFP servers show up in the "Local" SLP scope unless the network has been divided into scopes. Here is a method to do this without Mac OS X Server (based on a French Usenet article by Patrick Stadelmann). Just open /etc/slpsa.conf with a text editor and add the following line:
com.apple.slp.defaultRegistrationScope=My ScopeThe name of the scope may contain spaces. After restart, the scope will show up in Connect To Server..., with your computer in it. If there is already an AppleTalk zone with the same name, the list of AFP and Appletalk servers will be merged.
[Editor's note: I have not tested this hint.]
Post a comment • Comments (0)
Installing ProFTPd with MySQL user tables on Server
Dec 13, '02 03:04:17PM • Contributed by: didde
afp548.com published my article on how to replace the Apple-supplied FTP server with ProFTPd, with authentication through users and groups kept in MySQL instead of NetInfo or a simple passwd file. This is a nice tip if you're looking to serve up a lot of different users on a system without wanting them to be able to login via SSH and such. Read "ProFTPd, for the pro?" for the how-to.
[Editor's note: The article discusses the installation on OS X Server; I don't know for sure, but I suspect it would work as described for OS X Client as well.]
Allow multiple users to update websites on OS X Server
Dec 10, '02 08:13:53AM • Contributed by: shurakai
If you have a webpage hosted on OS X Server, you may want multiple people to have access to the front page (/Library/WebServer/Documents/) for updates. It takes a little bit of messing around, but it's all relatively easy; here's how (make sure you're an Admin before doing any of this):
To revert the status of the "/Library/Webserver/Documents/" folder follow steps 7-12 and replace webmaster with the the group admin, then deselect "Share this item and it's contents."
[Editor's note: I have not tested this hint myself.]
I'm setting up a Web Server with OS X Server (10.2), and have been having problems with creating users with directories accessible from FTP. In the provided Workgroup Manager, you can set the home directory of a new user but nothing is created initially. Instead, it waits for the user to log in through AFP before creating it, which for a web server, is not exactly convenient.
Fortunately, Apple thought of this problem ... after several days of researching various materials, I found that you can run a program called "createhomedir" in Terminal and all the home directories will be created for you. Here's the steps I took:
Firewall and NAT startup script for OS X Server
Dec 06, '02 08:54:45AM • Contributed by: Anonymous
I have put together a Firewall and NAT startup item for Mac OS X 10.2 Server. The server doesn't have a GUI for NAT, and BrickHouse doesn't support a second NIC card. I would appreciate some feedback, especially on the ipfw rules. I'm sure there are room for improvements. Please have a look at the Firewall script.
I use this startup item on a Mac OS X 10.2 server (with one extra NIC card) that acts as a Firewall and NAT server for an internal network. The server is connected to the Internet via ADSL with a static IP address. All the computers on the internal network get a private IP address via DHCP and can surf the Internet, look at home pages and check e-mail etc. I have made some pointers on how to configure it if you have a dynamic IP address from your ISP, but it's *not* tested.
By default, the script will set up ipfw to block ports 0-1023 in and allow ports 1024-65535 in. Everything outgoing is allowed. DNS, DHSP etc is also set up to work. Open up the services you use by uncommenting their rules in the script.
[Editor's note: I have not tested the following script myself, primarily due to a lack of OS X Server software (and a nice XServe to test on, of course!)]
A tutorial for installing moregroupware on Server
Oct 31, '02 09:32:16AM • Contributed by: Anonymous
After looking for help on a lot of on installing the moregroupware collaboration software, the website www.afp548.com has finally created a step by step tutorial on the installation and configuration of this handy software package.
[Editor's note: The instructions are designed for those running OS X Server, but could be useful if you're trying to get the package running on Client. I have not tested the tutorial.]
Set Windows' file permissions on OS X Server
May 14, '02 12:29:26AM • Contributed by: Anonymous
If you are using OS X server with Windows file sharing, you may have noticed that Windows client computers save files without any group permissions. So any other user belonging to the group is only able to read the file. I have been searching long and wide for a solution to this and have finally found a KB article (number 106570) that covers this.
I have tested it, and it works!
Søren Theilgaard of Consult Theilgaard has written a guide to installing and using OS X Server entitled "Mac OS X Server Configuration: The Additional Guide for (some of) the UNIX Stuff." The first three chapters are available online at the above hyperlink; the entire guide is available as a $20 shareware purchase through Kagi.
For a short review of the entire guide, read the rest of the article...
Use ImageMagick on OS X Server
Apr 24, '02 11:43:39PM • Contributed by: Anonymous
I'm running OSX as an internet server, and recently installed the killer blog app Movable Type (MT), an absolute poster child for server applications. MT uses ImageMagick, a very powerful, but, uh, tersely documented suite of command-line image-manipulation utilities to provide resizing and so forth for in-browser file uploads. Installing ImageMagick, or even finding comprehensible documentation on the installation process, is very difficult.
Read the rest of the article to see how I got it running on my system...
From our Sponsor...
Latest Mountain Lion Hints
HintsNo new hints
Comments last 2 days
Links last 2 weeksNo recent new links
What's New in the Forums?
Hints by Topic
News from Macworld
From Our Sponsors
All trademarks and copyrights on this page are owned by their respective owners.
Visit other IDG sites:
Created this page in 1.18 seconds