Eric Geater 11/10/03
2003-Nov-18 20:54 UTC
[Samba] Docs are hard to follow for port changing
Specifically, the instructions on the Samba3 doc file explain that I must edit the following information (as did John): Make an entry in /etc/services for a line called "swat". I've done that, it's called "swat3", and it ports to 902/TCP (Yes, I realize it's not the native port.) Make the adjustment in the /etc/xinet[d].d/swat3 file to point to the same port. Done that too, even though the machine didn't want me to edit this read-only file. The original has been saved for posterity, just in case this blows up. It is: service swat3 { port = 902 socket_type = stream wait = no only_from = 127.0.0.1 server = usr/sbin swat3 log_on_failure += USERID disable = NO } These were the total of the suggestions received here. The rest of the instructions, from the embedded reading info on the Samba3 box, include: Making a change to /etc/inetd.conf, which includes the following line: "swat3 stream tcp nowait.400 root /usr/sbin/swat3 swat3" And finally, according to the docs I have, I should HUP my xinetd. While I don't know what that means, I can say that there are other events that don't jibe with my eventual outcome. For one, I have discovered when I type /etc/xinetd.d/swat3, I get a "Permission Denied" reply. Also, there is no response from http://localhost:902 . Finally, I have also discovered that there are two probable locations that would include the correct line for the "swat stream" line in the inetd.conf file (/usr/sbin/swat3 or /usr/share/swat3), which COMPLETELY differs from the suggested location, which is /usr/local/samba/bin/swat. Please don't misunderstand me; I'm still very young at this stuff, and making changes on this level is intimidating, especially when the directions aren't clear, or ambiguous, or perhaps too clear for a mind that better understands these things. I'm still trying to shift my paradigm, but it's slow. Thanks again, everyone. Goofy as it sounds, I really appreciate this. Eric