Hi all, I use Samba (nmbd) for WINS serving round here. Any one know how to set up two WINS servers (on different machines for resilience) using Samba? Also, whislt I'm on the subject. Suppose I have a machine with multiple (physical) interfaces, each with a unique IP address. When it ('s nmbd) registers with teh WINS server does it register all its addresses? Moreover, when the WINS server is asked for the IP address of that machine, which one does it hand out? (DNS servers have a defined sort-list for multi homed machines). Mac Assistant Systems Adminstrator @nibsc.ac.uk dmccann@nibsc.ac.uk Work: +44 1707 654753 x285 Everything else: +44 7956 237670 (anytime) NOTE: New Mobile Phone Number (see <URL:http://www.numberchange.org/> for why)
We run SAMBA v2.0.7 on an AIX v4.2.1 box. As of some recent SAMBA version, the fileservice has become extremely slow most of the time (reasonable speed may be seen, if you're really lucky). The transfer speed of file reads is 20-40 kBytes/sec. If you access the same AIX files from the same Windows client using FTP, you get close to media speed (10 Mbit Ethernet). The AIX box seems perfectly healthy, except for the speed of SAMBA. Question: Does anyone know a cure for improving the speed of SAMBA on AIX 4.2.1 ? Ole H. Nielsen Department of Physics, Technical University of Denmark,
Dr. Walter Willmertinger
2000-Jun-06 14:18 UTC
Compile and link errors of 2.0.7 under SCO ODT 3.0
Error 1: In lib/replace.c at line 174 there is a syntax error: if((grouplst = (gid_t *)malloc(sizeof(gid_t) * max_gr)) == NULL) { DEBUG(0,("initgroups: malloc fail !\n"); <===== missing right parenthesis return -1; } just add a second closing parenthesis DEBUG(0,("initgroups: malloc fail !\n")); maybe nobody is using this code? ********************************************* Error 2: SCO 3.2 V 4.2 has no fchmod, so I replaced in passdb/smbpass.c the line if(fchmod(fileno(fp), S_IRUSR|S_IWUSR) == -1) { with if(chmod(pfile, S_IRUSR|S_IWUSR) == -1) { I hope it does the same thing? I think I will try this release in a lonely hour with no people in our network! -- Mit freundlichen Gr??en, Dr. Walter Willmertinger CONSYS Gesellschaft f?r Softwaretechnologie und Systementwicklung mbH Dr. Walter Willmertinger Landsberger Strasse 402 EMail: willmertinger@consys.de 81241 Muenchen Phone: +49 89 580 81 81 Germany Fax: +49 89 588 77 6 WWW-Homepage: http://www.consys.de
> ------------------------------ > > Date: Mon, 05 Jun 2000 16:49:14 +0100 > From: Andrew Welham <welhama@scc01ca.europe.nokia.com> > To: samba@samba.org > Subject: inetd Hangup > Message-ID: <393BCBFA.97BF6A1A@scc01ca.europe.nokia.com> > MIME-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Dear all have any one seen the following errors fonud in the > /var.adm/messages file > > Every thing appears to be working ok > but i get the following errors > > Jun 5 10:41:19 ServerName inetd[194]: /opt/samba/bin/nmbd: Hangup > Jun 5 10:41:55 ServerName last message repeated 38 times > Jun 5 10:41:56 ServerName inetd[194]: netbios-ns/udp server failing > (looping), service terminated > Jun 5 10:53:27 ServerName inetd[194]: /opt/samba/bin/nmbd: Hangup > Jun 5 10:54:05 ServerName last message repeated 38 times > Jun 5 10:54:06 ServerName inetd[194]: netbios-ns/udp server failing > (looping), service terminated > Jun 5 11:05:27 ServerName inetd[194]: /opt/samba/bin/nmbd: Hangup > Jun 5 11:05:43 ServerName last message repeated 16 times > Jun 5 11:05:44 ServerName inetd[194]: /opt/samba/bin/nmbd: Hangup > Jun 5 11:06:05 ServerName last message repeated 21 times > Jun 5 11:06:06 ServerName inetd[194]: netbios-ns/udp server failing > (looping), service terminated > > The hardwars is a Sun E450 running Solaris 7 with file and print > services, the machine is not a wins server wunning Samba 2.0.7 > > Many Thanks > Andrew Welham >Andrew, I assume by this message that you are starting nmbd with inetd. This is not recommended for a server and this is probably why you experiencing the hang-up messages. I suggest you run Samba as stand alone daemons with an RC start-up script or similar. There is an example script that comes in the source directory. If this is not the case could you post any details about your config. Explicitly any compile time flags, smb.conf. (Also possibly your services file, I assume you haven't installed Solaris PC Nettling or the like as well). Anyway I think the first suggestion will solve your problem. Scott.
Hi Terry, I downloaded the 2.0.7pre-3 version to my 10.20 system, and do not have this problem when I run configure. I am using the HP 'cc' and all it's updated libraries from the latest patches. You might want to check, esp if you are using 'cc'. If you're using 'gcc' I'm afraid I won't be much help... Thanks, Don