Oliver.Burkhalter@gs-vbs.admin.ch
2003-Sep-18 13:23 UTC
[Samba] Use Samba on an other port than 137-139?
Hello, I would like to ask you if its possible to run Samba on an other port than 137-139? I tried once to edit the "/etc/services" File. The lines: ... netbios-ns 137/tcp netbios-ns 137/udp netbios-dgm 138/tcp netbios-dgm 138/udp netbios-ssn 139/tcp netbios-ssn 139/udp ... I changed it to: ... netbios-ns 6998/tcp netbios-ns 6998/udp netbios-dgm 6999/tcp netbios-dgm 6999/udp netbios-ssn 7000/tcp netbios-ssn 7000/udp ... but I`m now not sure if Samba runs really on these ports...? I hope you can help me. Yours sincerely oli ******************************************************** My system: Sun Solaris 8 / SPARCstation 20 Samba version: 2.2.8a My email: olimination@web.de ********************************************************
I don't really have the answer for you but I personally can't see how you could change it as the windows workstations will still try to use the services on the original ports (I would assume that's hardcoded as it's part of a standard) and would just not be able to find your samba server any more. I am convinced there must be a way to make samba work on different ports but am also convinced samba would then be useless to you. Andre -----Original Message----- From: samba-bounces+andre=vippayroll.co.za@lists.samba.org [mailto:samba-bounces+andre=vippayroll.co.za@lists.samba.org]On Behalf Of Oliver.Burkhalter@gs-vbs.admin.ch Sent: 18 September 2003 03:24 To: samba@lists.samba.org Subject: [Samba] Use Samba on an other port than 137-139? Hello, I would like to ask you if its possible to run Samba on an other port than 137-139? I tried once to edit the "/etc/services" File. The lines: ... netbios-ns 137/tcp netbios-ns 137/udp netbios-dgm 138/tcp netbios-dgm 138/udp netbios-ssn 139/tcp netbios-ssn 139/udp ... I changed it to: ... netbios-ns 6998/tcp netbios-ns 6998/udp netbios-dgm 6999/tcp netbios-dgm 6999/udp netbios-ssn 7000/tcp netbios-ssn 7000/udp ... but I`m now not sure if Samba runs really on these ports...? I hope you can help me. Yours sincerely oli ******************************************************** My system: Sun Solaris 8 / SPARCstation 20 Samba version: 2.2.8a My email: olimination@web.de ******************************************************** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba