Home Forums OS X Server and Client Discussion Mail x server 10.4

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #364535
    steve
    Participant

    Hi,
    guys iv’e blown my /etc/AFP.conf file.

    it seems to have gone/ got corrupted, can anyone post the contents of this file so i can add it back.

    #364543
    steve
    Participant

    sorry ,
    for posting in the mail section ,I panicked.

    It is sorted out , basically what happend was:

    I have just put in a new xserve ,after convincing my director it was the way to go, and scrap off the novell shiteware.
    we had real problems with the install, 2 days lost due to bad ram, shite manuals, nothing on usernet.
    then last night i noticed that the AFP was not connecting from my home computer.( it still does not, but it used to)

    so i went into AFP.CONF, and somehow got some extra characters in there and then saved it out, this messed up the remote admin, & servermonitor, by causeing them to lockup after 5 minutes when used remotely. ( still do not understand the relationship between afp & the admin tools)

    anyway I managed to sort it out by disabling all services except the open directory, and working thru it logically.
    I deleted the AFP.conf & restarted the services that fixed the problem.
    (AFP.conf , does not always seem to be re-written on a restart of services)
    however there is a bug that prevents AFP clients in different subnets from relibly connecting to the server ( which i filed with apple)

    I have a temp solution which is to come in via a vpn from a linux system in the same subnet, then the afp works like a dream.

    I’m at the stage of trying to get the apple VPN working, but again the documentation is crap.

    I can get a vpn connection, but my traffic does not seem to be routed from the client computer out thru the LAN & WAN

    I just do not understand what a “search domain” is ,
    nor do i understand how i route my VPN range 192.168.2.80-90
    to the afp range 192.168.2.4, or how to get my external client that comes in on 192.168.2.80-90, to go out via the wan.
    and i don’t know if “network routing def”
    takes my client trafic & routes it , or takes the server traffic & routes it.

    I am seriously sorry I ever recommended this kit( & i have used apple since os6), and my apple re-seller has absolutly no idea.

    I still do not like how AFP & samba binds to all network interfaces, and does not seem to be configurable.

    Steve

    #364547
    maximxygo
    Participant

    Well, it does sound like the Xserve was a good way to go, but as someone who’s been in the Mac-based IT consulting industry for years as I have been, I’ve seen a lot of people make the same mistake you’ve made: thinking that Apple made OS X under-the-hood anything like OS 9 and previous OSs. Fact is, they didn’t make a lot of what you see under the hood of OS X, especially on the server side.
    What I would recommend is getting to know OS X Server more before regretting your decision; OS X is *extremely* flexible, and can be configured to do most, if not all of (and much much more), of what you’re looking for it to do. It’s just a matter of learning it yourself, or having a consultant who knows OS X Server come in and do it for you.
    To answer your questions, though:
    VPN – yes, you need to make use of network routing definitions.
    Search Domain – this is what gets tacked onto the end of a hostname that does not have a domain specified (i.e. if your client has been given a search domain of "mydomain.office" and that client is configured to fetch mail from or connect to a server called "myosxbox", that client will automatically try to connect to "myosxbox.mydomain.office."
    SMB – look at /etc/smb.conf, /etc/smb.conf.template, and http://samba.org.
    Server Admin – What are these "extra characters" you shoehorned into your /library/preferences/com.apple.AppleFileServer.plist or afp.conf files? Do you make it a practice of just inserting characters into conf files arbitrarily? 😉

    #364551
    steve
    Participant

    I have actually been using osx on my dual g4 for several years , and really like it., and i know how flexable the osx is .
    but seriously this is turning out to be the server from hell.

    AFP is deff. not routing or allowing connections from different subnets.

    also my server admin & server monitor keep hanging, the server is running and providing services , but they just will not connect sometimes, and it requires a reboot to get them back on line

    #364561
    maximxygo
    Participant

    josh brings up a good point: be sure that the subnet of the network your vpn’ing from is different than that of the network you’re vpn’ing into.
    TCP is TCP… “routing AFP” isn’t an issue, since it’s just another TCP port/service. It sounds like you’ve got some issues with your vpn service. I would also make sure that your server is at 10.4.3, since it resolves some issues with servermgrd and hrdwared processes running away.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed