Re: [Samba] WINS, must be master browser?
Thomas Spuhler wrote: As far as I understand, as long as you have an NT on the subnet, it will be the master browser and wins server. You also need to tell your W boxes who the wins server is. you can do it in the DHCP server or on every W box if not using DHCP Tom On Thu, 2004-01-29 at 23:47, Tim Smith wrote: of course i have set the samba server to wins support = yes I'm not that much of a dunce :) alton bailey wrote: you have to tell samba to be a wins server in smb.conf - Original Message - *From:* Tim Smith <mailto:[EMAIL PROTECTED]> *To:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> *Sent:* Thursday, January 29, 2004 8:45 PM *Subject:* [Samba] WINS, must be master browser? i have an NT4 server and a linux samba server. the NT4 server is currently the WINS server. it works perfectly. i want to ditch it and use my samba server as the WINS server, however WINS simply does not work. could this be becuase the WINS server also needs to be the local master browser? here is the global section of my smb.conf [global] workgroup = laboratory os level = 2 kernel oplocks = No security = user encrypt passwords = Yes guest account = Nobody map to guest = Bad User in this config samba will not win browser elections. I know the NT4 machine will win all browser elections, it's the only difference i can think of. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.sambaorg/mailman/listinfo/samba <http://lists.samba.org/mailman/listinfo/samba> Ok so that we are all clear. YES i have turned off WINS on the NT machine, only the samba server has it enabled and YES i have told the machine which WINS server to use and YES is it the samba server i have double checked. i don't think the problem is something obvious like the above. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] WINS, must be master browser?
of course i have set the samba server to wins support = yes I'm not that much of a dunce :) alton bailey wrote: you have to tell samba to be a wins server in smb.conf - Original Message - *From:* Tim Smith <mailto:[EMAIL PROTECTED]> *To:* [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> *Sent:* Thursday, January 29, 2004 8:45 PM *Subject:* [Samba] WINS, must be master browser? i have an NT4 server and a linux samba server. the NT4 server is currently the WINS server. it works perfectly. i want to ditch it and use my samba server as the WINS server, however WINS simply does not work. could this be becuase the WINS server also needs to be the local master browser? here is the global section of my smb.conf [global] workgroup = laboratory os level = 2 kernel oplocks = No security = user encrypt passwords = Yes guest account = Nobody map to guest = Bad User in this config samba will not win browser elections. I know the NT4 machine will win all browser elections, it's the only difference i can think of. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.sambaorg/mailman/listinfo/samba <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
[Samba] WINS, must be master browser?
i have an NT4 server and a linux samba server. the NT4 server is currently the WINS server. it works perfectly. i want to ditch it and use my samba server as the WINS server, however WINS simply does not work. could this be becuase the WINS server also needs to be the local master browser? here is the global section of my smb.conf [global] workgroup = laboratory os level = 2 kernel oplocks = No security = user encrypt passwords = Yes guest account = Nobody map to guest = Bad User in this config samba will not win browser elections. I know the NT4 machine will win all browser elections, it's the only difference i can think of. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Access97, in house VB6 app, terrible performance
Andrew Bartlett wrote: On Wed, 2004-01-28 at 10:49, Tim Smith wrote: hello everyone I am running suse9.0 with samba 2.2.8 kernel 2.4.23, the app is in vb6 using the vb jetengine to access access97 databases, roughly 15 of them all between 200 - 900 megs in size, all on the same shared drive. This arrangement works well on our NT4 server. but when we try to use linux/samba we find read/writing is incrediably slow. as an example our standard test on NT4 takes 4 -5 seconds to run. Now, with 6 workstations connected under samba this test also takes 4 - 5 seconds, BUT as soon as the entire lab is connected which is roughly 30 - 40 pc's, that time jumps to 20 - 30 seconds. Now here is what we have tried: standard samba install, oplocks are at defaults. very very slow performance. we have also tried vetto oplocks, seemed to have no affect. after much fiddling with socket options, log levels and much reading on how oplocks work we discovered if "fake oplocks = yes" was set our performance issues vanished. And so did all your database integrity! What syntax were you using for 'veto oplock files'? You could just turn off oplocks completely 'oplocks = no'. Andrew Bartlett our database integrity sure did vanish. i was under the impression the the .ldb file did the locking for the access files... but aparantly not. funny thing is oplocks = no didn't work either. for veto oplocks i user "veto oplocks = /dir/*.*db" so that all database files on our system we not locked. I have read plenty of documentation that states database files should NOT be locked. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Access97, in house VB6 app, terrible performance
I also forgot to mention that dhcpd is also running on this machine. that is the only other extra service. so anyone had any experiences like this before? i have read whats in the archives and they all point to not using oplocks, which i have tried and gotten no where, except with fake oplocks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Access97, in house VB6 app, terrible performance
hello everyone I am running suse9.0 with samba 2.2.8 kernel 2.4.23, the app is in vb6 using the vb jetengine to access access97 databases, roughly 15 of them all between 200 - 900 megs in size, all on the same shared drive. This arrangement works well on our NT4 server. but when we try to use linux/samba we find read/writing is incrediably slow. as an example our standard test on NT4 takes 4 -5 seconds to run. Now, with 6 workstations connected under samba this test also takes 4 - 5 seconds, BUT as soon as the entire lab is connected which is roughly 30 - 40 pc's, that time jumps to 20 - 30 seconds. Now here is what we have tried: standard samba install, oplocks are at defaults. very very slow performance. we have also tried vetto oplocks, seemed to have no affect. after much fiddling with socket options, log levels and much reading on how oplocks work we discovered if "fake oplocks = yes" was set our performance issues vanished. however, we then found we had troubles with deleteing a record in a database which was open. in our environment databases are constantly open so this is a big problem. our last attempt ( this morning ) was using locking = yes, which with 6 workstations connected appeared to be perfect. but alas it was also slow. here is our current configuration file. [global] workgroup = laboratory socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 IPTOS_LOWDELAY lock spin time = 15 lock spin count = 100 log level = 1 max log size = 50 level2 oplocks = no oplocks = no locking = yes getwd cache = yes os level = 2 time server = Yes unix extensions = Yes encrypt passwords = yes map to guest = Bad User printing = CUPS printcap name = CUPS wins support = yes ; wins server = 192.168.1.100 server string = Pathware add user script = domain master = false domain logons = no local master = no preferred master = auto ;; ldap server = 127.0.0.1 this is also how our shares are setup [share_d] comment = PathWare Data path = /raid/share_d force directory mode = 0777 force create mode = 0777 browseable = yes read only = no guest ok = no printable = no please fire away with questions and suggestions, if i havent made something clear i apologise. I'm all ears. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] BUG REPORT 2.2.1a nmbd crash
Hello samba team, I am not sure if this bug has been fixed or not yet. The situation is a print server running lprng/samba 2.2.1a kernel 2.4. this server has been running perfectly for a year until today when ONE machine on the network was unable to find //print. upon further investigation i found the following error in log.nmbd [2003/12/11 09:30:34, 0] nmbd/nmbd_namelistdb.c:standard_success_release(403) standard_success_release: Name release for name __MSBROWSE__<01> IP 192.168.1.140 on subnet 192.168.1.140. Name was not found on subnet. [2003/12/11 09:30:34, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(294) standard_fail_register: Failed to register/refresh name LABORATORY<1d> on subnet 192.168.1.140 [2003/12/11 09:30:34, 0] lib/fault.c:fault_report(40) === [2003/12/11 09:30:34, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 5908 (2.2.1a) Please read the file BUGS.txt in the distribution [2003/12/11 09:30:34, 0] lib/fault.c:fault_report(43) === [2003/12/11 09:30:34, 0] lib/util.c:smb_panic(1101) PANIC: internal error i restarted samba and the problem resolved itself. there is nothing obviously wrong with the server, and it has been running fine for a long time. and the error only showed up on the one pc, the pc next to it could print just fine. anyone keep up the great work. sincerely Tim Smith -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How Samba let us down
err are you asking for help, or just wasting our time? sounds like you have a big job ahead of you tonight setting up that NT machine better get that out of the way before telling us your life story like that - Original Message - From: "Chris de Vidal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 23, 2002 4:13 PM Subject: [Samba] How Samba let us down > Before you read this, I want to state (for reasons > listed below) that I don't expect an answer (advice is > welcomed, but please read this email carefully before > answering). I'm sharing this with the community with > the hope that better software results from our sad > experience... > > BACKGROUND > > I've been using NT for 4 years, Netware and Linux for > 3 years, and Samba for almost 2. I work in the IT > department of a medium-sized unit of a global > advertising company. We have a Netware and NT > environment with a bit of Linux. > > We installed a 280GB IDE Samba archive server (rare > usage) and a 15GB SCSI Mac/Samba file server (medium > usage). We also use Samba for more menial tasks like > smbmounts and file transfers. We thought we were > comfortable with Samba. We knew we were comfortable > with other types of file servers. > > OUR SETUP > > Going from my tired memory: > Athlon MP 1.8GHz (mem=nopentium) > 2GB ECC SDRAM > Tyan S2460(I think?) > Antec 450W PS > Lots of cooling > 5 IBM DeskStar 120GB drives with 8MB caches in RAID 5 > 3ware 7580(I think?) 8-port hardware RAID > 3ware hot-swappable drive cages > Intel e1000 Gigabit NIC, full duplex, 1000MBit, > autonegotiation off > 3com Gigabit switch, autonegotiation off > RedHat 7.3 > Kernel 2.4.19 with ACL support > ext3 with ACL support > Samba 2.2.5 with ACL support installed from a > recompiled SRPM from the samba.org FTP site. > Winbind > NO nfs daemon (I hear it's buggy w/ ACLs) > > We have a variety of clients, from DOS and OS/2 to > Windows (9x-2000) and Linux. The server acts as a > print spooling area (the actual queues are on an NT > server) and scratch area for database programmers to > manipulate their flat database files. As far as I > know, these files are not commonly accessed by more > than one user at a time. > > THE PROBLEM > > For the past year, our heaviest-used Netware server > has been under more and more stress.. filling up, > running out of licenses, slowing down, etc. > Preliminary tests using Samba on a fast Linux box > showed anywhere from 70% to 1000% speed improvements, > depending on the task. The decision was made to > switch it to Linux; the whole company is migrating > away from Netware and we (as a unit, not speaking for > the company) don't want to be completely trapped into > Windows if we can help it. > > The new hardware arrived and more preliminary tests > indicated all looked good. We were set to switch last > Saturday night. We turned off logins to the Netware > box, backed it up, restored it to the new Linux box, > set permissions, then made sure the various computers > in the building could log in. > > Yesterday, our first day, was rough. For most of the > day we fought random slow browsing with no > explanation. Clients would appear to lock up for > several seconds. We found some misconfigurations in > smb.conf but the problems reappeared. No errors were > seen in any machines' logs on debug level 2. I > trimmed the smb.conf to a minimal number of options > and that seemed to help with the slowness. Today, > however, the problem reappeared a few times with no > errors in the logs that we could see. > > The printers were missing some of the records sent to > them to print, something that had never happened with > Netware. Every time the missing records were > different. Occasionally, it would work right. > Oplocks (kernel, level I and II) were left to defaults > (turned on). > > THE OUTCOME > > Sadly, tonight we are installing a Windows NT server. > Installing a brand new server is actually cheaper for > us than the 8 or so hours of downtime to back up the > server, install NT on it, and restore the data to it. > We don't want to revert to Netware because so many > clients have been reconfigured to log on only to the > domain (DOS, OS/2, etc.) and that would require many > more hours reversing those changes. Also, some files > have been added since leaving Netware. We also > decided to proceed to use NT because is more proven in > this capacity. > > CONCLUSION > > To be fair, the problems could be related to some > misconfiguration. I have pasted the smb.conf below. > > I fear it might just be an oplock problem, but it is > not clear what would result if more than one user > happened to try to write to a file with them disabled. > Every advice we found said to leave them on to > prevent corruption and to improve performance. We ran > out of time to test it, and feared what failure would > bring. Running this: > grep -r -B5 -A5 oplock /var/log/samba/ | grep -B5 -A
[Samba] mounting a printer shared on a win9x machine
I need to be able to be able to mount a printer share on a win9x machine so that it appears to be a local printer allowing me to add it to printcap and share/manage it from the samba box. problem is when i "smbmount //server/printer /mnt/Kyocera5 -o guest " it appears to mount the printer BUT /mnt/Kyocera5 disappears and when i ls i get the message ls: Kyocera5: No such file or directory. .. So, am i completely barking up the wrong tree is do i have some other problem. help is much appreciated cheers tim smith __tim ICQ#: 146359336 Current ICQ status: + More ways to contact me __ online?icq=146359336&img=21 Description: Binary data