I'm currently running version 2.0.7 of samba(CIFS9000). I have HPUX 11.x installed on the samba server. When I try to run this from inetd it doesn't work. I can run a startup script that runs the smbd as a daemon and it works fine. But if I try to run it from inetd it won't start. The previous version of Samba 1.9.18p10 that I had on this server worked fine. Is this a bug in 2.0.7 or am I doing something wrong? here is my entry in /etc/inetd.conf swat stream tcp nowait.400 root /opt/samba/bin/swat swat netbios-ssn stream tcp nowait root /opt/samba/bin/smbd -s /opt/samba/lib/smb.con f smbd netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd I have my IP allowed in inetd.sec to start the service netbios-ssn and netbios-ns. Any Ideas of suggestions why this doesn't work would be greatly apreciated. -- .____________________________. /\__/\ | | / O O\_| ---Todd Erwin--- | / \ IS Specialist Working | / \ \ FOR HP | / _ \ \_________________________! / |\____\ \ || / | | | |\____/ || / \| | | |/ | _|| / / \ ------- |_____| || / | | | __) VLSI Technology Center | | | |_____ __) Hewlett-Packard | |_|_|_| | \___) Fort Collins, CO /\ | !! / /\ | / EMAIL: twe@fc.hp.com / / | | | LOCATION: 6UJ11 _/ / | | | PHONE: (970)898-0543 |__/ c_c_c_C/ \C_c_c_c/
Hi Todd, I have the same setup, and it works fine for me... A couple of things: 1. /op/samba/lib/smb.conf is not the normal path to the smb.conf file for the hp installation of samba; normally it is in /etc/opt/samba/smb.conf - so it the smb.conf file really where you are telling smb.conf it is? 2. is it possible that something got screwed up when you edited inetd.conf, and the smbd line is actually multiple lines? so smbd is not recognizing where the smb.conf file is? 3. did you run inetd -c after adding the lines in the inetd.conf to force inetd to re-read it's configuration? 4. in /var/opt/samba, do you get ANY debug logs, that might tell us something... 5. in your /var/adm/inetd.sec, if you have a line like netbios_ns allow myhostname netbios_ssn allow myhostname where myhostname is your Samba server name, then something like smbclient -L myhostname would work, but a connection from anyone else would fail.... have you allowed both the unix server AND all the clients that will be attaching in the inetd.sec file? Sorry if these questions are too basic, Hope it helps, Don -----Original Message----- From: Todd Erwin [mailto:twe@fc.hp.com] Sent: Thursday, March 29, 2001 11:31 AM To: samba@samba.org Subject: INETD Question. I'm currently running version 2.0.7 of samba(CIFS9000). I have HPUX 11.x installed on the samba server. When I try to run this from inetd it doesn't work. I can run a startup script that runs the smbd as a daemon and it works fine. But if I try to run it from inetd it won't start. The previous version of Samba 1.9.18p10 that I had on this server worked fine. Is this a bug in 2.0.7 or am I doing something wrong? here is my entry in /etc/inetd.conf swat stream tcp nowait.400 root /opt/samba/bin/swat swat netbios-ssn stream tcp nowait root /opt/samba/bin/smbd -s /opt/samba/lib/smb.con f smbd netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd I have my IP allowed in inetd.sec to start the service netbios-ssn and netbios-ns. Any Ideas of suggestions why this doesn't work would be greatly apreciated. -- .____________________________. /\__/\ | | / O O\_| ---Todd Erwin--- | / \ IS Specialist Working | / \ \ FOR HP | / _ \ \_________________________! / |\____\ \ || / | | | |\____/ || / \| | | |/ | _|| / / \ ------- |_____| || / | | | __) VLSI Technology Center | | | |_____ __) Hewlett-Packard | |_|_|_| | \___) Fort Collins, CO /\ | !! / /\ | / EMAIL: twe@fc.hp.com / / | | | LOCATION: 6UJ11 _/ / | | | PHONE: (970)898-0543 |__/ c_c_c_C/ \C_c_c_c/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hi, I have it running fine with CIFS9000 1.05 under HPUX11. But, in my inetd.conf, I have netbios_ssn instead of netbios-ssn. May be it is the problem! Do you have any error in /var/adm/syslog/syslog.log when inetd starts ? Have a nice day, Thierry -----Original Message----- From: Todd Erwin [mailto:twe@fc.hp.com] Sent: Thursday, March 29, 2001 6:31 PM To: samba@samba.org Subject: INETD Question. I'm currently running version 2.0.7 of samba(CIFS9000). I have HPUX 11.x installed on the samba server. When I try to run this from inetd it doesn't work. I can run a startup script that runs the smbd as a daemon and it works fine. But if I try to run it from inetd it won't start. The previous version of Samba 1.9.18p10 that I had on this server worked fine. Is this a bug in 2.0.7 or am I doing something wrong? here is my entry in /etc/inetd.conf swat stream tcp nowait.400 root /opt/samba/bin/swat swat netbios-ssn stream tcp nowait root /opt/samba/bin/smbd -s /opt/samba/lib/smb.con f smbd netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd I have my IP allowed in inetd.sec to start the service netbios-ssn and netbios-ns. Any Ideas of suggestions why this doesn't work would be greatly apreciated. -- .____________________________. /\__/\ | | / O O\_| ---Todd Erwin--- | / \ IS Specialist Working | / \ \ FOR HP | / _ \ \_________________________! / |\____\ \ || / | | | |\____/ || / \| | | |/ | _|| / / \ ------- |_____| || / | | | __) VLSI Technology Center | | | |_____ __) Hewlett-Packard | |_|_|_| | \___) Fort Collins, CO /\ | !! / /\ | / EMAIL: twe@fc.hp.com / / | | | LOCATION: 6UJ11 _/ / | | | PHONE: (970)898-0543 |__/ c_c_c_C/ \C_c_c_c/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Damn! Thanks Thierry - when I replied, I didn't even CHECK spelling; but that sure would cause a problem! The correct entry IS as you mention with an "_", not a "-". And if the entry in the inetd.conf doesn't exactly match the entry for the services file, then when something comes in on that port, inetd isn't gonna spawn any processes... I bet you nailed it! Good work. Don -----Original Message----- From: MUNIERE,THIERRY (Non-HP-France,ex1) [mailto:thierry_muniere@non.hp.com] Sent: Friday, March 30, 2001 1:23 AM To: 'samba@lists.samba.org' Subject: RE: INETD Question. Hi, I have it running fine with CIFS9000 1.05 under HPUX11. But, in my inetd.conf, I have netbios_ssn instead of netbios-ssn. May be it is the problem! Do you have any error in /var/adm/syslog/syslog.log when inetd starts ? Have a nice day, Thierry -----Original Message----- From: Todd Erwin [mailto:twe@fc.hp.com] Sent: Thursday, March 29, 2001 6:31 PM To: samba@samba.org Subject: INETD Question. I'm currently running version 2.0.7 of samba(CIFS9000). I have HPUX 11.x installed on the samba server. When I try to run this from inetd it doesn't work. I can run a startup script that runs the smbd as a daemon and it works fine. But if I try to run it from inetd it won't start. The previous version of Samba 1.9.18p10 that I had on this server worked fine. Is this a bug in 2.0.7 or am I doing something wrong? here is my entry in /etc/inetd.conf swat stream tcp nowait.400 root /opt/samba/bin/swat swat netbios-ssn stream tcp nowait root /opt/samba/bin/smbd -s /opt/samba/lib/smb.con f smbd netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd I have my IP allowed in inetd.sec to start the service netbios-ssn and netbios-ns. Any Ideas of suggestions why this doesn't work would be greatly apreciated. -- .____________________________. /\__/\ | | / O O\_| ---Todd Erwin--- | / \ IS Specialist Working | / \ \ FOR HP | / _ \ \_________________________! / |\____\ \ || / | | | |\____/ || / \| | | |/ | _|| / / \ ------- |_____| || / | | | __) VLSI Technology Center | | | |_____ __) Hewlett-Packard | |_|_|_| | \___) Fort Collins, CO /\ | !! / /\ | / EMAIL: twe@fc.hp.com / / | | | LOCATION: 6UJ11 _/ / | | | PHONE: (970)898-0543 |__/ c_c_c_C/ \C_c_c_c/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba