Fw: [Samba] How is the Samba people stress testing Samba.
I'm in the "testing and proof" stage of converting from Windows NT 4 to Linux/SAMBA and I'm very interested in any "stress testing" that you (or anyone else) could point me to. If you get your DOS Program working, would you mind sharing it? The other thing that interests me in your post is the corruption of a Paradox database. I'm also trying to convert of a buddy of mine to the SAMBA scene at his wife's Veterinarian clinic. They use a Paradox database for just about ALL of their record keeping and billing. Last week we setup a test server with Red Hat 8 and Samba 2.2.5 and got nearly 4 times the performance over Windows 2000 running the database on the same hardware. The problem is that they *pound* on the database 8-12 hours a day 6 days a week. I I'm looking at corruption 4-48 into production, I'm not going to have a buddy for very long Have been able to learn anything more on this front? I'm going back out the clinic tonight to do some more testing and I'll report anything that happens while I'm there. Kevin I understand your worry. I'm right now considering going back to Win98 as we have to figure out, where exactly the problem lies. Ihave tried with different kernels 2.4.16 through 2.4.19 but have not yet been able to solve this issue. If I were you I would be very careful about moving the database as things are right now. I suggest that youat leastrun a very lengthy concurrent paradox stress test (from multiply workstations) before moving. You could have acopy of my DOS testprogram, but it'sin Danish and I have never translated it to English. The program was written as we had problems with database corruption when moving a financial database from Netware toWindows NT3.5. The reason I posted the original message is that I'm really interested in knowing how Samba has beenstress tested. Bo
[Samba] help with NT-to-Samba
Hello, I have a PC running NT 4.0 SP6 and a SUN Solaris (natvpn2) running Samba 2.2.2-sun-solaris-2.8. I installed and configured Samba myself from the wealth of documentation available. I passed all steps in DIAGNOSIS.txt, except that TEST 9 does not ask for a password: D:\TEMPnet use s: \\natvpn2\wohl The command completed successfully. ... and this is my problem: Samba logs me on as nobody, so I have but few permissions on the UNIX box. I would like to log on as wohl (with password, of course). # This is my smb.conf: [global] workgroup = WORKGROUP server string = Samba Server hosts allow = 192.168.1.100 192.168.1.11 # These are: my NT^^^ SUN^ #My SUN user name is wohl; my NT user name is different username = wohl load printers = yes log file = /usr/local/samba/var/log.%m max log size = 50 security = share encrypt passwords = yes socket options = TCP_NODELAY dns proxy = no [homes] comment = Home Directories browseable = yes writable = yes read only = no public = yes [tmp] comment = Temporary file space path = /tmp read only = no public = yes Can you help please? -Peter -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] help with NT-to-Samba
Peter, Try: D:\TEMPnet use s: \\natvpn2\wohl /user:wohl and it will probably behave better. Good luck, Troy Peter Wohl [EMAIL PROTECTED] 11/14/02 10:12AM Hello, I have a PC running NT 4.0 SP6 and a SUN Solaris (natvpn2) running Samba 2.2.2-sun-solaris-2.8. I installed and configured Samba myself from the wealth of documentation available. I passed all steps in DIAGNOSIS.txt, except that TEST 9 does not ask for a password: D:\TEMPnet use s: \\natvpn2\wohl The command completed successfully. ... and this is my problem: Samba logs me on as nobody, so I have but few permissions on the UNIX box. I would like to log on as wohl (with password, of course). # This is my smb.conf: [global] workgroup = WORKGROUP server string = Samba Server hosts allow = 192.168.1.100 192.168.1.11 # These are: my NT^^^ SUN^ #My SUN user name is wohl; my NT user name is different username = wohl load printers = yes log file = /usr/local/samba/var/log.%m max log size = 50 security = share encrypt passwords = yes socket options = TCP_NODELAY dns proxy = no [homes] comment = Home Directories browseable = yes writable = yes read only = no public = yes [tmp] comment = Temporary file space path = /tmp read only = no public = yes Can you help please? -Peter -- 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
Re: [Samba] CUPS printing
Someone calling himself linuxpower adviced on this list: Message: 2 Date: Thu, 14 Nov 2002 07:30:18 +0100 (CET) From: =?iso-8859-1?q?linux=20power?= [EMAIL PROTECTED] Subject: Re: [Samba] CUPS printing To: [EMAIL PROTECTED] --0-1567453496-1037255418=:2514 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Replace -P %p in the print command line with the absolute path to the printer. Bug in samba. Hi, linuxpower, I have read your repeated advice on this list to use the absolute path to the printer inside the print command. On other occasions you talked about an absolute path to a printing device. I suppose, you mean the same thing with both your variants of your wording. Would you please be so kind to explain to me what you mean by these? Would you please give an example for an absolute path to the printer, for an absolute path to a printing device plus an example for the print command, as you imagine does work in the cases you advice to use it? Sorry, I can't make my mind up about this one. (I wouldn't mind about this -- but your advices leads to e-mails, directed to *my* mailbox, of people asking what the *~#?$§ this means...) Your talking in the context of CUPS about path to a device, makes it very likely to be mixed up with the clearly defined technical term device URI which CUPS uses. On one occasion, you have even given the specific advice Fix it by replacing -P %p with the absolute path to the printing device found in lpstat -v and on another one (Fri Oct 4 06:55:24 2002) you wrote There is a bug in samba which cannot resolve -P %p in the print command.Replace -P %p with the absolute path to the printer. Excuse me -- this advice is pure nonsense (while a bug in Samba might be there). Here are the reasons: lpstat -v on a CUPS based printing system gives something that is named a device URI in all relevant documentation. If it is the parallel:/dev/lp0 device-URI, one *could* assume to take the /dev/lp0 part as a path, even an absolute path. But what about device-URIs like lpd://10.160.51.131/PORT1 socket://hp-printer:9100 ipp://kde-cups-server/printers/infotec4105 ?? Would you also call //10.160.51.131/PORT1 or //hp-printer:9100 or //kde-cups-server/printers/infotec4105 an absolute path? CUPS does encode in the device-URI the protocol to be used for the communication with the printer plus something you might call absolute path to the device. You can't replace inside the Samba print command (in smbd.conf) the -P %p part by one of the quoted device URIs... Your creation and usage of the term of absolute path I found nowhere clearly defined -- it seems to only lead to utter confusion and urban legends... - About your conceived bug in Samba -- please consider this: There is also a hint in the smb.conf man page: ...*if* the setting is printing = cups and printcap = cups and ...*if* Samba is compiled against libcups, ...and *if* there is an entry in cupsd.conf to get CUPS to create a printcap file [Printcap /etc/printcap], then *any* print command setting in smb.conf will be *ignored*, as samba is then using a direct access to the CUPS API for printing This means: if the two simple settings printing = cups and printcap = cups don't work, you probably don't have a smbd which is compiled against libcups. To check, simply run as root ldd `which smbd` (on Linux, dunno about ldd on other Samba platforms). - Now for the original question Mark Belfanti [EMAIL PROTECTED] wrote: For printing from windows with windopws driver using cups you may need to reconfigure to have sups act as a raw print queue. See Chapter 7 of Samaba-HowTo-Collection. Regards, Mark On Thu, 2002-11-14 at 13:25, Darin Bawden wrote: Good evening everyone, Kist a quick-type question I hope. I've just switched my Linux server to use Cups instead of LPRng. I can print all day to our HP LaserJet 4 Plus. Hi, Mark, CUPS ships a well-working Laserjet driver. Install it (as root) with lpadmin -p laserjet4plus -v parallel:/dev/lp0 -E -m laserjet.ppd (The -m switch will retrieve the laserjet.ppd from the standard repository for not-yet-installed-PPDs, which CUPS keeps at /usr/share/cups/model/. Alter- natively, you may use -P /absolute/filesystem/path/to/where/there/is/PPD/your.ppd) You didn't state if the print system is working on the Linux side of things. Even if it does -- to print from Windows, invelves some more steps But let me first point out some more general things about printer drivers for Linux/Unix (yes, and for Mac OS X now!), be it you use CUPS or one of the venerable (I'd even call them ancient and rusty now...) printing systems. You -- and everybody else, for that matter -- should always also consult the database on linuxprinting.org for all recommendations about which driver is best used for which printer:
[Samba] anyone know when hpux 2.2.6
Anyone hear about the samba hpux version 2.2.6? was it released yet? thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: Fw: [Samba] How is the Samba people stress testing Samba.
On Thu, Nov 14, 2002 at 04:38:03PM +0100, Bo Jacobsen wrote: The reason I posted the original message is that I'm really interested in knowing how Samba has been stress tested. This came up recently in the thread How Samba let us down. Members of the Samba Team responded with some impressive facts and figures. Try here: http://marc.theaimsgroup.com/?l=sambaw=2r=1s=how+samba+let+us+downq=b In summary, Samba is tested with extreme thoroughness before a production release is put up on the FTP site. Many of the corruption problems are caused by clients and bad network hardware. Definitely set oplocks = off when using Samba with large or flat database files, or use the veto oplock files parameter to turn off oplocks for just the database files. If you are experiencing file corruption that is actually caused by Samba, then we'd all like to know exactly how to reproduce the problem. The Samba Team takes this kind of thing very seriously ... but the thing is, it's usually a client or network hardware problem. Jay Ts -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win98 stange behaviour in 2.2.6
I posted a rather lengthy message a few weeks ago. Andrew B and Jerry both responded with indications of furthers investigation requiredi was wondering if anyone found anything strange because I've had to go back to 2.2.5 to support those clients and with a bit of fear of potential strange behaviour in my XP clients. Don't wish to be a pest, but you guys have done so much for our installation, I've kinda gotten used to it :) Bill -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Win98 stange behaviour in 2.2.6
If you post to the group, rather to Samba developers directly, could you please describe the problem ? I don't think anybody is interested in postings that don't have problem description. What's the point ? William Jojo wrote: I posted a rather lengthy message a few weeks ago. Andrew B and Jerry both responded with indications of furthers investigation requiredi was wondering if anyone found anything strange because I've had to go back to 2.2.5 to support those clients and with a bit of fear of potential strange behaviour in my XP clients. Don't wish to be a pest, but you guys have done so much for our installation, I've kinda gotten used to it :) Bill -- 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
[Samba] General info Samba as Printserver for NT4.0
Hello dear reader, I was trying very hard for several days to setup a linux-server with Samba to work as a printserver in a NT-network. The Printserver should only offer the the print-service for networkable HP printers (1200) . This means, i just wanted to see, if i could replace the existing NT-printserver by a linux-machine. The only problem that i could not overcome, was, the automatic download of vendor printer driver files (for windows) from the linux-machine onto the NT-clients. All docs say this works fine for W9X and NT, but now, after studying a lot of Newsgroups, i think, it does not work for NT. My question now: Is it possible to use the old fashioned method (using printer driver file-, printer driver location-, printer driver-parameters) of printer driver downloads to Win/NT-Clients with Samba 2.2.1a and NT4.0 ? If not, is it possible to do that with a Samba Version 2.2.1 ? I hope you can answer my questions and thank you very much for your reply ! Kind Regards Martin -- Martin Rößiger LWV Württemberg-Hohenzollern D3 - Referat Informationsverarbeitung Tel: (49)-(0)711-6375-472 email: [EMAIL PROTECTED]
Re: [Samba] help on kinit
Gareth, Thanks for answering him. Be less rude about it, or keep your trap shut. -- Mike Ely Computer Support Specialist Phoenix-Talent School District #4 Talent, OR On Thursday 14 November 2002 02:27 am, Gareth Davies wrote: - Original Message - From: prerit To: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 6:05 AM Subject: [Samba] help on kinit Hello , I am trying to connect linux 7.2 client with the Windows KDC using kinit command . I am getting error line. kinit(v5): Clock skew too great while getting initial credentials Can you reply me what went wrong. Thanks and regards, Prerit. FFS Have you even LOOKED for the answer yourself? Google...2 seconds later.. Time Synchronization In order for Kerberos to work properly, your machine and the Kerberos servers time need to be within 5 minutes of each other. If they are too far off you may see a message like the following: kinit: Clock skew too great in KDC reply while getting initial credentials If this is a problem, you can log into an NCSA UNIX system (such as modi4.ncsa.uiuc.edu) and run the date command to get the time. Use the date command to set the system clock on your Unix system to the same time. Note: On Unix systems, you need to have root permissions in order to set the time. PS this has NOTHING to do with SAMBA. Please only post to this group if.. a) You have thouroughly RTFM and all associated docs b) You have Googled until your fingers bled c) You have tried to solve the problem with a complex layout of monkeys in tubes. And you still haven't found your answer. HAND Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :. --- [This E-mail scanned for viruses by Declude Virus] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] locking issue
Title: locking issue Dear list, I personally think this is a non-issue, but I may be incorrect. If it is a non issue I need to find a way to get some communication going on making it evident to the devlopers of a software program. I have strict locking = YES (which is by default set to NO) set and I have been repeatedly told that there is a locking issue within SAMBA. I don't believe this is the case as we are pushed towards a propriatary client. Basically it boils down to this... 1.) Samba has been stable...no/few issues 2.) Locking is set to strict...shouldn't have the issues that COMPANY X and COMPANY Y had right? 3.)Why do I want to pay thousands of dollars because COMPANY X and COMPANY Y couldn't figure out that locking should be set. Now what I'm asking if: A.) Is this locking issue is indeed resolved by me setting this lock? B.) Even if that setting resolves said issue or not - what can I do to get some communication open for testing so we don't have to purchase X product because of a simple fix or setting change. I'd be more than happy to get ahold of some developers at this place to get some kind of a dialog set up. It _should_ be in their best intrest to get interoprability going with samba as we aren't the only customer running it with thier products. The following message is from a developer at the software company... = From an UNIX / NT interoperability point of view, it is correct that the solutions we have evaluated are NFS clients that can be installed on Windows, in order to access data from UNIX server through NFS. The 2 solutions we have evaluated are Hummingbird NFS Maestro and Intergraph Disk Access (also available through MS Services For UNIX). We are not recommending the use of Samba based solutions : you report a data corruption issue at COMPANY X; I have been on my side reported data corruption issue at COMPANY Y with Samba based solutions. These 2 issues added to the fact that Samba solutions do not support NFS locking interoperability are enough not to recommend such solutions. What is documented corresponds to what we have successfully evaluated and what we could recommend a customer to evaluate if looking for an UNIX/NT interoperability solution (we also recommend customers to verify that these tools match their own constraints (from a security, performance, ..., points of view). If a customer reports a problem specific to one of these tool, we would be able to provide some support as we have this software available for problem determination, but in the case the problem was in the NFS client itself (and not in CATIA code), we would not be able to provide direct support on these tools are they are third party components, supported by their respective vendors. I hope this answers your question. Regards,
Re: [Samba] help on kinit
Yes boss! Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :. - Original Message - From: Mike Ely [EMAIL PROTECTED] To: Gareth Davies [EMAIL PROTECTED]; prerit [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 4:59 PM Subject: Re: [Samba] help on kinit Gareth, Thanks for answering him. Be less rude about it, or keep your trap shut. -- Mike Ely Computer Support Specialist Phoenix-Talent School District #4 Talent, OR On Thursday 14 November 2002 02:27 am, Gareth Davies wrote: - Original Message - From: prerit To: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 6:05 AM Subject: [Samba] help on kinit Hello , I am trying to connect linux 7.2 client with the Windows KDC using kinit command . I am getting error line. kinit(v5): Clock skew too great while getting initial credentials Can you reply me what went wrong. Thanks and regards, Prerit. FFS Have you even LOOKED for the answer yourself? Google...2 seconds later.. Time Synchronization In order for Kerberos to work properly, your machine and the Kerberos servers time need to be within 5 minutes of each other. If they are too far off you may see a message like the following: kinit: Clock skew too great in KDC reply while getting initial credentials If this is a problem, you can log into an NCSA UNIX system (such as modi4.ncsa.uiuc.edu) and run the date command to get the time. Use the date command to set the system clock on your Unix system to the same time. Note: On Unix systems, you need to have root permissions in order to set the time. PS this has NOTHING to do with SAMBA. Please only post to this group if.. a) You have thouroughly RTFM and all associated docs b) You have Googled until your fingers bled c) You have tried to solve the problem with a complex layout of monkeys in tubes. And you still haven't found your answer. HAND Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :. --- [This E-mail scanned for viruses by Declude Virus] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Solaris version 8
Hello, Can Samba be run on Solaris version 8? Michael L. Hall PTC Building Coordinator Roche Carolina Inc. 6173 East Old Marion Highway Florence, SC 29506 Phone: 843-629-4179 Fax: 843-629-4128
[Samba] locking issue
Dear list, I personally think this is a non-issue, but I may be incorrect. If it is a non issue I need to find a way to get some communication going on making it evident to the devlopers of a software program. I have strict locking = YES (which is by default set to NO) set and I have been repeatedly told that there is a locking issue within SAMBA. I don't believe this is the case as we are pushed towards a propriatary client. Basically it boils down to this... 1.) Samba has been stable...no/few issues 2.) Locking is set to strict...shouldn't have the issues that COMPANY X and COMPANY Y had right? 3.)Why do I want to pay thousands of dollars because COMPANY X and COMPANY Y couldn't figure out that locking should be set. Now what I'm asking if: A.) Is this locking issue is indeed resolved by me setting this lock? B.) Even if that setting resolves said issue or not - what can I do to get some communication open for testing so we don't have to purchase X product because of a simple fix or setting change. I'd be more than happy to get ahold of some developers at this place to get some kind of a dialog set up. It _should_ be in their best intrest to get interoprability going with samba as we aren't the only customer running it with thier products. The following message is from a developer at the software company... = From an UNIX / NT interoperability point of view, it is correct that the solutions we have evaluated are NFS clients that can be installed on Windows, in order to access data from UNIX server through NFS. The 2 solutions we have evaluated are Hummingbird NFS Maestro and Intergraph Disk Access (also available through MS Services For UNIX). We are not recommending the use of Samba based solutions : you report a data corruption issue at COMPANY X; I have been on my side reported data corruption issue at COMPANY Y with Samba based solutions. These 2 issues added to the fact that Samba solutions do not support NFS locking interoperability are enough not to recommend such solutions. What is documented corresponds to what we have successfully evaluated and what we could recommend a customer to evaluate if looking for an UNIX/NT interoperability solution (we also recommend customers to verify that these tools match their own constraints (from a security, performance, ..., points of view). If a customer reports a problem specific to one of these tool, we would be able to provide some support as we have this software available for problem determination, but in the case the problem was in the NFS client itself (and not in CATIA code), we would not be able to provide direct support on these tools are they are third party components, supported by their respective vendors. I hope this answers your question. Regards, _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP Pro And Samba
On 07:47 PM 11/14/2002 +0100, linux power wrote: We dont have so good experience here on the list connecting XP's. I'm running 2.2.6 here and have no problems with XP (I'm using XP on this boxen as we speak). There is something called sign-or-seal which is a registry patch you should try using, but I've actually built new XP b0xen without any need for patching. Glenn --- Glenn E. Sieb System Administrator Lumeta Corporation +1 732 357-3514 (V) +1 732 564-0731 (Fax) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Bytle Locking
I am running RH8 with Samba 2.2.6. I am attempting to connect a Win2k box to my Linux box. I see Linux in Network Neighborhood, I can ping the Win2k BIOS name, and I can ping the Linux box BIOS name. However When I click on accessing linux I get resource not available. And when I run smbstatus I get the following: Samba version 2.2.6 Service uid gid pid machine -- Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting Can someone help me PLZZ! I have been workin on this for well over a week. Thx in advance. = Eat from the tree of life and throw away the verbal ham __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Bytle Locking
= Eat from the tree of life and throw away the verbal ham __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP Pro And Samba
Strange to hear. There have been so many postings here about the issue from people that couldent make it although they changed the signofseal signal. --- Glenn Sieb [EMAIL PROTECTED] skrev: On 07:47 PM 11/14/2002 +0100, linux power wrote: We dont have so good experience here on the list connecting XP's. I'm running 2.2.6 here and have no problems with XP (I'm using XP on this boxen as we speak). There is something called sign-or-seal which is a registry patch you should try using, but I've actually built new XP b0xen without any need for patching. Glenn --- Glenn E. Sieb System Administrator Lumeta Corporation +1 732 357-3514 (V) +1 732 564-0731 (Fax) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba = http://home.no.net/~knutove/knut_ove_hauge_kuren.htm __ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP Pro And Samba
I have stored your answers and will send it over to you the next time the problem shows up. --- Jack Malone [EMAIL PROTECTED] skrev: I'm runing 2.2.4 and 2.2.5 here an have 2 winxp pro machines logging into the samba servers on a workgroup with no problems either. Not sure what your problem could be. Also have 2 winxp pro machines on my network at home running 2.2.4 samba an they both login with no trouble. Had 3 before I got married an my roommate moved. will soon have wifes machine winxp pro also. jack At 01:52 PM 11/14/2002 -0500, Glenn Sieb wrote: On 07:47 PM 11/14/2002 +0100, linux power wrote: We dont have so good experience here on the list connecting XP's. I'm running 2.2.6 here and have no problems with XP (I'm using XP on this boxen as we speak). There is something called sign-or-seal which is a registry patch you should try using, but I've actually built new XP b0xen without any need for patching. Glenn --- Glenn E. Sieb System Administrator Lumeta Corporation +1 732 357-3514 (V) +1 732 564-0731 (Fax) -- 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 = http://home.no.net/~knutove/knut_ove_hauge_kuren.htm __ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Server v. Workstation installation
What is the output of these commands: /sbin/ipchains /sbin/iptables naugaranch [EMAIL PROTECTED] 11/14/02 01:42PM Hopefully someone can help me. I've been running a windows 2000 Workstation and Server. This spring I added a Linux workstation (Red Hat 7.2 - Samba 2.2.3a) to the network. Took some work but that is running fine. smb.conf seems to be giving me what I want. LAN addresses are assigned with DHCP. I have had several people tell me that they have a network running with static addresses. I DO NOT have a domain controller. While upgrading some machines, I decided to try a Linux server. Installed Red Hat 7.2 as a server. First installation of Samba was that distributed with Red Hat 7.2. I could read files on the windows machines but the W2K machines did not recognize the Linux Server. I could ping the address or server name and get a replay - just not available (Network Path Not Found) from windows. Even though I could ee the linux server in Netwrok Neighborhood. I tried upgrading to the latest Samba at the time - 2.2.5 -- still no luck -- even with smb.conf that is identical to the one on the workstation except for Netbios Name and Server String, identifiying the server. I appear to have a valid password file. This has been rebuilt a couple times. Here's a copy of the server smb.conf. I hope someone can help me. Thanks in advance. Tom Winfield ; Samba Workstation Configuration File ; Tom Winfield 10/25/02 [global] netbios name = linux-server server string = Tom's Linux Server workgroup = HOME hosts allow = 192.168.0. 127. encrypt passwords = yes guest ok = yes log level = 1 max log size = 100 security = user browsable = yes local master = yes domain master = no preferred master = no os level = 0 smb passwd file = /etc/samba/smbpasswd dns proxy = no path = /windows [homes] browseable = no writable = yes create mode = 0664 directory mode = 0775 [public] comment = Public Directory path = /windows guest ok = yes public = yes writable = yes write list = tomw napp [tomwsdir] comment = Tom's Directory path = /home/tomw valid users = tomw public = no writable = yes printable = no [nappsdir] comment = John's Directory path = /home/napp valid users = napp public = no writable = yes printable = no [root] comment = Linux root for root path = / valid users = tomw john public = no writable = no printable = no -- 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
Re: [Samba] Bytle Locking
-[ [EMAIL PROTECTED] wrote on 11/14/2002 11:02 AM -0800 ]- Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting Try running 'smbclient -L localhost' This has helped me in the past. It seems to initialize the databases that smbstatus looks at. However When I click on accessing linux I get resource not available. From win2k does 'net view \\linux' show you anything? That should list the available shares. If not, then it would seem that name resolution is the problem. Try 'net view ip.of.linux' If samba is happy, that should show you the shares. Also, make sure that the RH8 does not have the firewalling enabled. As root 'service iptables stop' should turn it off. Then try the access from the w2k box. If that works, then you will need to create firewall rules for samba traffic. Much has been posted about that in the past. --Ben-- Ben Griffith [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] nmbd memory leak in 2.2.x CVS
I am running 2.2.6 on a customer's site and everything has been perfect. However I noticed the other day that one of the two nmbd processes (it is a wins server) had grown to 13Mb over a two week period. I needed to update to the latest CVS version anyway and had hoped that something in that might fix things. Five days later and things are looking the same: nmbd started on Nov 9th: root 1271 0.0 0.2 3684 1456 ?SNov09 0:10 /usr/local/samba/bin/nmbd -o root 1272 0.0 0.8 7100 4428 ?SNov09 0:02 /usr/local/samba/bin/nmbd -o Today Nov 14th: root 1271 0.0 0.2 3688 1460 ?SNov09 0:21 /usr/local/samba/bin/nmbd -o root 1272 0.0 1.8 12376 9704 ?SNov09 0:07 /usr/local/samba/bin/nmbd -o As you can see nmbd process 1271 has slowly gets larger. I have tried restarting after removing wins.dat but to no avail. This is a PDC and the only server on a network with about ten XP clients. 'os level' is 65. The log looks perfectly normal. Anyone aware of the cause/solution or any suggestions to troubleshoot? Stumped, Noel Kelly --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP Pro And Samba
We dont have so good experience here on the list connecting XP's.It is rather difficult because M$ probably have done something with the XP firewall. However this could not be the problem here since your internet connection works fine.Samba uses ports 137(udp) ,138(udp) and 139 (tcp). make sure they are opened.You must also create the same user/passwd pair in linux as in samba, and log in with that in windows.But here you would probably got an Access denied error or permission denied error if that was not ok.Else make sure you have listed up thrusted interfaces in interfaces=x.x.x.x 127.0.0.1 in smb.conf.Eventually enable wins in smb.conf and set the wins ip in tcp/ip prop. in XP to the ip of your lan card.There could be a lot of other thing you must do that perhaps sombody else could answer, however I would check these things I mentioned first. --- [EMAIL PROTECTED] skrev: I have a win98 peer to peer network using a Samba server for file sharing. There 6 Machines on the net. I'm adding a XP Pro and cannot see the neighborhood network. I can get out to the Internet. I've made sure the workgroup name is correct and the XP is not set as DHCP. Our router is the DHCP. Is there something different about setting up the user for the XP Pro? I'm creating the user by: adduser, passwd, smbpasswd -a. Any help would be appreciated. __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba = http://home.no.net/~knutove/knut_ove_hauge_kuren.htm __ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] XP Pro And Samba
I don't know... but our setup here is: Win2k domain controller (2) Samba server (2) for unified home dirs for *nix and Windoze, as well as print sharing. Combo Win/FreeBSD clients, depending on the user. And it Just Works here... Glenn On 08:23 PM 11/14/2002 +0100, linux power said the following: Strange to hear. There have been so many postings here about the issue from people that couldent make it although they changed the signofseal signal. --- Glenn E. Sieb System Administrator Lumeta Corporation +1 732 357-3514 (V) +1 732 564-0731 (Fax) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Member Server or LDAP?
Hi, Is it possible for samba to act as a member server in a samba domain? What I'm trying to accomplish is: I already have a samba pdc setup. Everything works fine with login scripts, password change, etc. However I need to move all of the home directories onto another server with a much larger disk and would like to keep the existing server to authenticate users against. My idea was to point the new member server to the existing pdc as password server, and set the pdc server logon home option to point to \\member\home\%u. My ultimate goal is to centralize user/machine management and only have to do it one one machine, but have the option of several servers available to all users setup on said machine. Would looking at implementing LDAP be a more efficient option? Thanks for your help. Nick -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0a20 PDC + win2k client
I too am getting this error with samba alpha 20. I am using an ldap backend also. I have the add machine script also. It will take the admin password, create the machine account, then come back with parameter is incorrect. On Wed, Oct 09, 2002 at 10:31:16PM -0700, Hesham S. Ahmed wrote: Has anyone added windows 2000 computers to Samba3.0a20 PDC, I have been trying to do that and I always get Incorrect Parameter message on windows 2000 client, the same problem occured with alpha19, but joining alpha18 PDC used to work fine with me. Any suggestions? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0a20 PDC + win2k client
Here is my config. [global] workgroup = TESTDOMAIN netbios name = TEST null passwords = Yes passdb backend = ldapsam:ldap://localhost log file = /usr/local/samba/logs add user script = /usr/sbin/useradd -d /dev/null -g 503 -s /bin/false -M %u add machine script = /usr/sbin/useradd -d /dev/null -g 503 -s /bin/false -M %u logon path = \\%N\profiles\%g logon drive = U: domain logons = Yes os level = 255 preferred master = True domain master = True wins server = 192.168.0.15 wins support = Yes Ldap settings removed ldap ssl = start tls comment = Linux RedHat Samba Server guest ok = Yes security = server -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How is the Samba people stress testing Samba.
On Thu, Nov 14, 2002 at 01:03:04PM +0100, Bo Jacobsen wrote: A number of years ago I wrote a DOS program designed to run on multiple client hosts, stress and integrity testing a shared file on a Windows NT 3.51 file servers. In principal the program continuously locks a random part of the testfile (on the server), reads the data and test the data for errors, then writes a new testpattern and removes the lock. Lately I have tried it on different Samba servers with very different results. When I tried to test a Samba 2.2.5 server (SuSE 8.0 Kernel 2.4.19, oplocks disabled, AMD XP1900+, 256MB) with two Win98 clients, the clients could never run more then maybe 6 hours before one of the clients completely lost contact with the Samba server and had to be rebooted. Two bytes in the 250MB testfile was corrupted. If only one client was run, the client still lost contact to the server and had to be rebooted. When the same test was run on a Samba 2.2.6 server (SuSE 8.1 Kernel 2.4.19, oplocks disabled, AMD XP1900+, 256MB, and the same Win98 clients), the clients never lost contact to the server, but I have not yet been able to run the test more the maybe 48 hours without a corruption of the testfile. Can you send me this test please so I can run it against Samba ? amba is stress tested in many different ways. Whenever we discover a new locking problem we add it to the smbtorture test suite. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Bullet proof bulk email friendly hosting cheap mass email campaigns.
We are the marketing specialists www.host4bulk.com that provide cheap bullet proof bulk email friendly hosting for your website ($400 for one month of bullet proof hosting) and cheap bulk email campaigns ($200 for 1 million emails sent) As you may already know, many web hosting companies have Terms of Service (TOS) or Acceptable Use Policies (AUP) against the delivery of emails advertising or promoting your web site. If your web site host receives complaints or discovers that your web site has been advertised in email broadcasts, they may disconnect your account and shut down your web site. Our mission is to solve your problem and provide you with bulk email friendly hosting. You don't have to worry about your website being closed again. Adult and gambling sites welcomed. No set up fee. You may advertise your website by using your own resources or using 3rd party's service. However we can do all the advertising for your business. You just sit, relax and see how your income grows constantly. We guarantee the lowest prices on the web for our web hosting and bulk email campaigns. We only ask $200 us dollars for 1 million emails sent with your ad. We don't use duplicate emails. Our email base is up to date and it is updated weekly. Our current email data base contains over 50.000.000 emails sorted by various parameters to meet your specific needs. No competitors may offer this price. The lowest price you can find on the net is well over $500 for 1 million Don't make the mistake of bulk emailing directly to your website without bulletproof web hosting. Your web host will close your account and shut your site down in no time! No matter how long you have been with them, how much you are paying them, or how beautiful your site is. There are companies charging thousands for bulletproof web hosting and they can't keep you up and running like we can. If you host with us, your site will NOT BE SHUT DOWN due to complaints! Bulk email campaign together with bullet proof hosting will bring your business to success. Just imagine how many people will learn about your business or product at a really low price. Bulk email is considered to be the most effective way to advertise on the net. It is hundreds times effective than banner, solo ad and other campaigns. Once people use our service they always come back for more. We can always provide websites that use bulk email campaigns with our new reliable way to accept credit cards on the net without the need to open merchant account. You can start accepting credit card payments in second. It is totally free. Visit our website at http://www.host4bulk.com for more information and to order your bulk email hosting or/and email campaign. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] re: Am I using the wrong list???
A day or two ago I posted information about error messages I was getting in my logs after installing 2.2.6. No one has replied! Am I using the wrong list? If you don't mind looking back, please take a look at my message and provide some input! Thanks, Tait Shrum Bryant Public Schools Hi Tait. You are using the right list, you were just unlucky. Not everyone gets an answer to their questions. I suggest you repost your question, as people aren't that likely to go to the trouble of looking up your old posting. I'd also suggest that you make the subject a little bit more specific concerning your problem. People tend to skim the subjects of the mailing list and see if there is anything that they know about or are interested in. If you mention the area you are having trouble with and the problem you're having, you may catch the eye of someone who knows about that stuff. Also you may want to try posting to the Samba forum on Tek-tips web site. Go to www.tek-tips.com and search for a forum called Andrew Tridgell:Samba good luck with future posts. sorry I can't help you with your specific problem -peter. Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] How can I read and write a file at the same time?
My usage scenario is one Samba 2.2.5 installed on FreeBSD as server, and 2 windows 2000 boxes as clients, both mapping to the same share as the same user to Samba server. While one Windows box is writing a file, I start reading on the other Windows box. It always fails even I have locking, oplocks all as no in the config. Does anybody know if there is a way to make this work, or the reasons that this should never work? Thanks, Chere -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with integrating Samba 2.2.6 into NT 4.0 domain
Hey, I have a problem with the integration of Samba 2.2.6 into a NT 4.0 Domain. My environment: - Samba 2.2.6 as SuSE rpm from samba.org - SuSE 7.3 Intel - Kernel 2.4.10 - running smbd, nmbd, winbind - NT 4.0 PDC (german edition) - NT 4.0- / W2K- / XP-client (german edition) - Joining the Samba into the domain looks like o.k.: + samba is in the browser list visible + wbinfo, getent show the domain informations Samba should offer a share so, that different user's can use the Windows tools to create subfolders / files in the samba share and change the acl's. The problem: - Only the owner of the samba share (i.e. dom+administrator9 can delete permissions. - If I try to change permisions or add new user's/group's + permissions this changes have no effect or I get an error message like no permissions to modify acl's - I try a lot of combination's of the smb.conf write list, read list, ... parameters. I will thank you for any hint. Thanks for your help Ralf signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
[Samba] Su vivienda en Miami, Florida.
Esta buscando invertir en Bienes Raíces en Miami, Florida? Quiere vender su vivienda en Miami, Florida? Quisiera no lidiar con los dolores de cabeza de administrar su inversión? Si usted ha respondido que si, nosotros somos su solución. Con mas de 20 años de experiencia en el mercado y una cartera de clientes extranjeros, C.T. Internacional, INC. se especializa en extranjeros que quieren invertir en Bienes Raíces en Miami, Florida. Oprima ahora para mas información!! http://64.192.176.97/pro/index.htm - Demo Version Sent. --
[Samba] Solaris version 8
Hello, Can Samba be run on Solaris version 8? Michael L. Hall PTC Building Coordinator Yep, we have had samba running on solaris for years including solaris 8 more recently. -peter. Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can't 'save-as' from MS Word
Gene Huft [[EMAIL PROTECTED]] wrote: Samba Gurus, I've got a Solaris box running samba 2.0.7. A couple of users on Windows XP clients are reporting problems saving files from within MS Word, and Wordpad to the samba share, which of course is a mapped drive. They get an error saying This is not a valid file name These XP boxes do have the reg hacks plainpassword.reg and signorseal.reg installed. The work around is to save a file to a local directory and then copy the file over to the samba drive via windows explorer, but that s*cks! Any ideas? this is driving us bananas. Why not upgrade to a more modern version of samba? 2.2.6 is currently the latest stable. -- *--* Mail: [EMAIL PROTECTED] *--* Voice: 425.739.4247 *--* Fax: 425.827.9577 *--* HTTP://www.otak-k.com/~lawrence/ -- - - - - - - O t a k i n c . - - - - - -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NULL sessions - Listing shares anonymously - restrict anonymous
Hi, I am running 2.2.5 and I would like to know if the restrict anonymous as been implemented correctly, as it was supposed to behave from the start, in order to deny ALL anonymous connections as stated in the man : When restrict anonymous is yes, all anonymous connections are denied no matter what they are for. Ive been reading some dev mailing lists and someone said that there would be 0, 1 , 2 as possible values to the restrict anonymous option, as it been done yet ? Yan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Server v. Workstation installation
Thanks Roger, Looks like I had a couple issues going --- Needed ipchains and iptables disabled and I needed files in the /var/cache/samba directory. Copied some of the files (unexected and connections, etc) onto the server. Seems like I have a working server now --- have to spend some time getting things secured a little better - but at least it's working now. Tom -Original Message- From: Rodger Haynes [mailto:rodger;thompsonprint.com] Sent: Thursday, November 14, 2002 3:20 PM To: naugaranch Subject: Re: [Samba] Server v. Workstation installation disable ipchains and iptables - my guess is that it's a firewall issue. samba needs ports 137, 138 and 139 open, so if it runs, restart the firewall with these ports open. - cheers naugaranch wrote: Hopefully someone can help me. I've been running a windows 2000 Workstation and Server. This spring I added a Linux workstation (Red Hat 7.2 - Samba 2.2.3a) to the network. Took some work but that is running fine. smb.conf seems to be giving me what I want. LAN addresses are assigned with DHCP. I have had several people tell me that they have a network running with static addresses. I DO NOT have a domain controller. While upgrading some machines, I decided to try a Linux server. Installed Red Hat 7.2 as a server. First installation of Samba was that distributed with Red Hat 7.2. I could read files on the windows machines but the W2K machines did not recognize the Linux Server. I could ping the address or server name and get a replay - just not available (Network Path Not Found) from windows. Even though I could ee the linux server in Netwrok Neighborhood. I tried upgrading to the latest Samba at the time - 2.2.5 -- still no luck -- even with smb.conf that is identical to the one on the workstation except for Netbios Name and Server String, identifiying the server. I appear to have a valid password file. This has been rebuilt a couple times. Here's a copy of the server smb.conf. I hope someone can help me. Thanks in advance. Tom Winfield ; Samba Workstation Configuration File ; Tom Winfield 10/25/02 [global] netbios name = linux-server server string = Tom's Linux Server workgroup = HOME hosts allow = 192.168.0. 127. encrypt passwords = yes guest ok = yes log level = 1 max log size = 100 security = user browsable = yes local master = yes domain master = no preferred master = no os level = 0 smb passwd file = /etc/samba/smbpasswd dns proxy = no path = /windows [homes] browseable = no writable = yes create mode = 0664 directory mode = 0775 [public] comment = Public Directory path = /windows guest ok = yes public = yes writable = yes write list = tomw napp [tomwsdir] comment = Tom's Directory path = /home/tomw valid users = tomw public = no writable = yes printable = no [nappsdir] comment = John's Directory path = /home/napp valid users = napp public = no writable = yes printable = no [root] comment = Linux root for root path = / valid users = tomw john public = no writable = no printable = no -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] migrating from NT to samba
does anyone know if there is a doc on migrating a PDC from NT to Samba ? Thanks, Pete -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Help on ACLs and samba
Hi, Firstly I want to declare I am a newbie to Samba. I am installing samba over Redhat 8.0 I need to know whether Samba can replace my NT4 PDC in the following aspects and how to do it:- 1. ACLs. Must i create the every user name in Samba as in the NT4 PDC? How do I create groups like Protocol Stack with space in between the groupname? (Making sure that the ACls are mapped properly when transfering files over to Linux Samba) 2. If I were to transfer files from the NT4 PDC to Linux Samba, can I retains the ACLs being set on NT4? How must I do to ensure the ACls are retained? (Similar to question 1) 3. Is there any method to transfer the SAM over without creating every user and group all over again? FYi, my PDC is doing file sharing only with permissions set for different groups in different levels of the directories. I am going to remove the NT4 server and use Samba ultimately. If cannot answer in 1 email, please refer me to the right documentation to do so. Thanks. newbie adrian -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba3.0a20 PDC + win2k client
On Thu, 14 Nov 2002, Samba Guy wrote: Here is my config. [global] workgroup = TESTDOMAIN netbios name = TEST null passwords = Yes passdb backend = ldapsam:ldap://localhost log file = /usr/local/samba/logs add user script = /usr/sbin/useradd -d /dev/null -g 503 -s /bin/false -M %u add machine script = /usr/sbin/useradd -d /dev/null -g 503 -s /bin/false -M %u logon path = \\%N\profiles\%g logon drive = U: domain logons = Yes os level = 255 preferred master = True domain master = True Oops! Either you are a WINS Server, or you are a WINS Client - BUT not both. wins server = 192.168.0.15 This says I am a WINS Client wins support = Yes ^^ This says I am a WINS Server. Ldap settings removed ldap ssl = start tls comment = Linux RedHat Samba Server guest ok = Yes security = server - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Switching to another Samba server
Yup, that definitely did the trick. Thanks! By the way, you wouldn't happen to know anything about Microsoft's Services for Unix, would you? Their newsgroup isn't very populated and little help can be found there. Or, conversely, do you know of any good NFS clients for Windows? Basically, the file permissions difference between Samba and Windows is causing problems with my .NET websites. An NFS clients that translates the permissions better would be ideal, especially if it could mount an NFS share to a local folder on the Windows drive so that Windows can't tell (or doesn't care) the difference (you know, the Unix way... The way it _should_ be). David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: John H Terpstra [mailto:jht;samba.org] Sent: Wednesday, November 13, 2002 10:43 PM To: David Donahue Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server David, If this samba server IS your domain controller then you definitely do NOT want security = server. This option requires you to add password server = * so that samba can find the external password server (domain controller). Instead you want security = user. That should get rid of the error messages. - John T. On Wed, 13 Nov 2002, David Donahue wrote: Well, it would appear that the newly created smbpasswd file, in conjunction with Andrew's advice to export /tmp before running smbd, did the trick... Mostly. The domain itself seems to be physically working. Of course, I'll be conducting more tests as I go along. However, my logs still show that same error about a password server. I'll re-paste it here: [2002/11/13 07:09:17, 0] smbd/password.c:server_cryptkey(1054) password server not available It doesn't _seem_ to be causing any problems, but any error in a log file is cause for concern in my book. Especially when it has the word password in it. Do you have any idea what it could mean, or perhaps could point me in another direction to find it? Again, I can't thank you enough for your offer to help on this one. And, if you wish, I can stop spamming you with all my problems and log files :) David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: David Donahue Sent: Wednesday, November 13, 2002 9:11 AM To: 'John H Terpstra' Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server What is your platform? Mandrake Linux 9.0 (old server is Mandrake Linux 8.1). Did you build the samba binaries? 2.2.2, yes. 2.2.6 was built as part of the OS install. I did a full install (every package on the list), if that's useful to you. If so, what argumentes did you give to configure when you built it? For 2.2.2, none. Just ./configure;make;make install Which files did you copy from the old server to the new one? smb.conf, smbpasswd, smbusers On the new machine are the UIDs the same as on the old one? Identical. But, as I said, I'll be re-making the smbpasswd file tonight anyway. So if there are any discrepencies in users that I've overlooked, that will fix them. - John T. On Wed, 13 Nov 2002, David Donahue wrote: I really appreciate your help in this matter. It would seem that I'm still running into some problems with 2.2.6, but this time I have lots and lots of log info that might help. First, we'll start with my smb.conf file: ## ## ### [global] workgroup = SAMBA security = server netbios name = EPYON server string = Samba 2.2.6 interfaces = 192.168.0.10/24 encrypt passwords = Yes passwd program = /usr/bin/passwd %u smb passwd file = /etc/samba/smbpasswd passwd chat = *New password:* %n\r *New password (again):* %n\r *Password changed* unix password sync = Yes syslog = 2 log file = /var/log/samba/log.%m time server = Yes add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u logon script = %U.bat logon path = \\epyon\profile\%U domain logons = Yes os level = 34 preferred master = Yes domain master = Yes lock directory = /var/lock/samba/locks admin users = root hosts allow = 192.168.0. hide dot files = No [netlogon] comment = Domain Logon Services path = /etc/samba/smblogon browseable = No [homes] comment = Home Directory for : %u path = /home/%u writeable = Yes create mask = 0644 directory mask = 0755 browseable = No [profile] comment = User profiles path = /etc/samba/smbprofile writeable = Yes create mask = 0600 directory mask = 0700
RE: [Samba] Switching to another Samba server
On Thu, 14 Nov 2002, David Donahue wrote: Yup, that definitely did the trick. Thanks! By the way, you wouldn't happen to know anything about Microsoft's Services for Unix, would you? Their newsgroup isn't very populated and little help can be found there. Or, conversely, do you know of any good NFS clients for Windows? Basically, the file permissions difference between Samba and Windows is causing problems with my .NET websites. An NFS clients that translates the permissions better would be ideal, especially if it could mount an NFS share to a local folder on the Windows drive so that Windows can't tell (or doesn't care) the difference (you know, the Unix way... The way it _should_ be). What is the problem? Can't you control the difference by using Unix file and directory permissions? Details please, and I'll try to help. - John T. David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: John H Terpstra [mailto:jht;samba.org] Sent: Wednesday, November 13, 2002 10:43 PM To: David Donahue Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server David, If this samba server IS your domain controller then you definitely do NOT want security = server. This option requires you to add password server = * so that samba can find the external password server (domain controller). Instead you want security = user. That should get rid of the error messages. - John T. On Wed, 13 Nov 2002, David Donahue wrote: Well, it would appear that the newly created smbpasswd file, in conjunction with Andrew's advice to export /tmp before running smbd, did the trick... Mostly. The domain itself seems to be physically working. Of course, I'll be conducting more tests as I go along. However, my logs still show that same error about a password server. I'll re-paste it here: [2002/11/13 07:09:17, 0] smbd/password.c:server_cryptkey(1054) password server not available It doesn't _seem_ to be causing any problems, but any error in a log file is cause for concern in my book. Especially when it has the word password in it. Do you have any idea what it could mean, or perhaps could point me in another direction to find it? Again, I can't thank you enough for your offer to help on this one. And, if you wish, I can stop spamming you with all my problems and log files :) David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: David Donahue Sent: Wednesday, November 13, 2002 9:11 AM To: 'John H Terpstra' Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server What is your platform? Mandrake Linux 9.0 (old server is Mandrake Linux 8.1). Did you build the samba binaries? 2.2.2, yes. 2.2.6 was built as part of the OS install. I did a full install (every package on the list), if that's useful to you. If so, what argumentes did you give to configure when you built it? For 2.2.2, none. Just ./configure;make;make install Which files did you copy from the old server to the new one? smb.conf, smbpasswd, smbusers On the new machine are the UIDs the same as on the old one? Identical. But, as I said, I'll be re-making the smbpasswd file tonight anyway. So if there are any discrepencies in users that I've overlooked, that will fix them. - John T. On Wed, 13 Nov 2002, David Donahue wrote: I really appreciate your help in this matter. It would seem that I'm still running into some problems with 2.2.6, but this time I have lots and lots of log info that might help. First, we'll start with my smb.conf file: ## ## ### [global] workgroup = SAMBA security = server netbios name = EPYON server string = Samba 2.2.6 interfaces = 192.168.0.10/24 encrypt passwords = Yes passwd program = /usr/bin/passwd %u smb passwd file = /etc/samba/smbpasswd passwd chat = *New password:* %n\r *New password (again):* %n\r *Password changed* unix password sync = Yes syslog = 2 log file = /var/log/samba/log.%m time server = Yes add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u logon script = %U.bat logon path = \\epyon\profile\%U domain logons = Yes os level = 34 preferred master = Yes domain master = Yes lock directory = /var/lock/samba/locks admin users = root hosts allow = 192.168.0. hide dot files = No [netlogon] comment = Domain Logon Services path = /etc/samba/smblogon browseable = No [homes] comment = Home Directory for :
RE: [Samba] Switching to another Samba server
Well, the fact that the problem is with the permissions isn't set in stone, but it's my best assessment at the moment. Regular websites seem to work fine in IIS from the Samba share. But .NET sites seem to be a different story. The error comes in the MyBase.New line of code in the .NET site, which I believe is the server trying to maintain a read/write relationship with the directory that has the website. Anyway, in Windows, when I right-click on the folder within the Samba share and view the permissions, it shows me 3 sets of permissions: Everyone, the WWW Group on the Samba domain, and the WWW User on the Samba domain. These correspond to the permissions that are on the Linux filesystem for this folder, which is chmod'ed to 775 and owned by the www user and the www group. However, while Windows understands that much of the permissions, none of the boxes are actually checked. It knows _who_ should have rights, but not _what_ rights they should have. And checking the boxes doesn't do anything, as they immediately un-check when I try to apply the changes. As for the configuration of the Windows box, the WWW user on the Samba domain is logged into the console with the Samba shares mapped as drives. It's ok for this user to stay perpetually logged into the console. The share to which it is connecting, and to which the IIS server's wwwroot points, is Read/Write from Samba's point of view, and the WWW user owns every file/folder in that directory, recursively. In the IIS Directory Security settings for the main website, Anonymous Access is allowed, and the Anonymous user is set to [Samba domain]\www with the correct password set. Digest authentication for windows domain servers is checked, and greyed to not allow un-checking. Nothing else is checked. Also of note is the fact that, ultimately, I would also like to make virtual directories in IIS that point to domain users' home directories on the Samba share. The idea being that users will click on those links and be presented with Windows login prompts in their browsers which authenticate them to the server. That way I can build all kinds of cool account maintenance tools in .NET and my users can maintain their accounts on my website. I somewhat was able to accomplish this... I made the virtual directories, was presented with the login prompt and, upon authentication, I was able to see the home directory's contents. However, I was only able to see things that were world-readable (the home directory itself was world-readable). Well, that's it in a nutshell. David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: John H Terpstra [mailto:jht;samba.org] Sent: Thursday, November 14, 2002 7:43 PM To: David Donahue Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server On Thu, 14 Nov 2002, David Donahue wrote: Yup, that definitely did the trick. Thanks! By the way, you wouldn't happen to know anything about Microsoft's Services for Unix, would you? Their newsgroup isn't very populated and little help can be found there. Or, conversely, do you know of any good NFS clients for Windows? Basically, the file permissions difference between Samba and Windows is causing problems with my .NET websites. An NFS clients that translates the permissions better would be ideal, especially if it could mount an NFS share to a local folder on the Windows drive so that Windows can't tell (or doesn't care) the difference (you know, the Unix way... The way it _should_ be). What is the problem? Can't you control the difference by using Unix file and directory permissions? Details please, and I'll try to help. - John T. David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: John H Terpstra [mailto:jht;samba.org] Sent: Wednesday, November 13, 2002 10:43 PM To: David Donahue Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server David, If this samba server IS your domain controller then you definitely do NOT want security = server. This option requires you to add password server = * so that samba can find the external password server (domain controller). Instead you want security = user. That should get rid of the error messages. - John T. On Wed, 13 Nov 2002, David Donahue wrote: Well, it would appear that the newly created smbpasswd file, in conjunction with Andrew's advice to export /tmp before running smbd, did the trick... Mostly. The domain itself seems to be physically working. Of course, I'll be conducting more tests as I go along. However, my logs still show that same error about a password server. I'll re-paste it here: [2002/11/13 07:09:17, 0] smbd/password.c:server_cryptkey(1054) password server not available It doesn't _seem_ to be causing any problems, but any error in a log file is cause for concern in my book. Especially when it
[Samba] Bullet proof bulk email friendly hosting cheap mass email campaigns.
We are the marketing specialists www.host4bulk.com that provide cheap bullet proof bulk email friendly hosting for your website ($400 for one month of bullet proof hosting) and cheap bulk email campaigns ($200 for 1 million emails sent) As you may already know, many web hosting companies have Terms of Service (TOS) or Acceptable Use Policies (AUP) against the delivery of emails advertising or promoting your web site. If your web site host receives complaints or discovers that your web site has been advertised in email broadcasts, they may disconnect your account and shut down your web site. Our mission is to solve your problem and provide you with bulk email friendly hosting. You don't have to worry about your website being closed again. Adult and gambling sites welcomed. No set up fee. You may advertise your website by using your own resources or using 3rd party's service. However we can do all the advertising for your business. You just sit, relax and see how your income grows constantly. We guarantee the lowest prices on the web for our web hosting and bulk email campaigns. We only ask $200 us dollars for 1 million emails sent with your ad. We don't use duplicate emails. Our email base is up to date and it is updated weekly. Our current email data base contains over 50.000.000 emails sorted by various parameters to meet your specific needs. No competitors may offer this price. The lowest price you can find on the net is well over $500 for 1 million Don't make the mistake of bulk emailing directly to your website without bulletproof web hosting. Your web host will close your account and shut your site down in no time! No matter how long you have been with them, how much you are paying them, or how beautiful your site is. There are companies charging thousands for bulletproof web hosting and they can't keep you up and running like we can. If you host with us, your site will NOT BE SHUT DOWN due to complaints! Bulk email campaign together with bullet proof hosting will bring your business to success. Just imagine how many people will learn about your business or product at a really low price. Bulk email is considered to be the most effective way to advertise on the net. It is hundreds times effective than banner, solo ad and other campaigns. Once people use our service they always come back for more. We can always provide websites that use bulk email campaigns with our new reliable way to accept credit cards on the net without the need to open merchant account. You can start accepting credit card payments in second. It is totally free. Visit our website at http://www.host4bulk.com for more information and to order your bulk email hosting or/and email campaign. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba's Printer Going Off-Line (after a Win98 Machine speaks to it)
Hi, I have a light firewall machine that also acts as a Samba print server for a Win32 host on my intranet. For some reason, if the Win98 machine hasn't printed for an extended length of time, the printer goes off-line. When the Win32 tries to print, the printer throws an error and we have to unplug the printer and then plug it back in. It then tries to finish the print job which doesn't look too pretty (its an HP Laserjet 5L). What is very strange is that that particular machine also is the lpd print server and there are no problems whatsoever printing from an lpd client; the only time the printer goes off-line is after a Win32 client speaks with the Samba Print Server, probably when the Win32 client shows the print dialog. Any ideas on what is causing this problem and possibly a solution? Thank you, Elizabeth -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba's Printer Going Off-Line (after a Win98 Machinespeaks to it)
It sounds like a power management problem on the printer. Have you tried disabling power save. I think that model has one. James Elizabeth Barham wrote: Hi, I have a light firewall machine that also acts as a Samba print server for a Win32 host on my intranet. For some reason, if the Win98 machine hasn't printed for an extended length of time, the printer goes off-line. When the Win32 tries to print, the printer throws an error and we have to unplug the printer and then plug it back in. It then tries to finish the print job which doesn't look too pretty (its an HP Laserjet 5L). What is very strange is that that particular machine also is the lpd print server and there are no problems whatsoever printing from an lpd client; the only time the printer goes off-line is after a Win32 client speaks with the Samba Print Server, probably when the Win32 client shows the print dialog. Any ideas on what is causing this problem and possibly a solution? Thank you, Elizabeth -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Switching to another Samba server
On Thu, 14 Nov 2002, David Donahue wrote: Well, the fact that the problem is with the permissions isn't set in stone, but it's my best assessment at the moment. Regular websites seem to work fine in IIS from the Samba share. But .NET sites seem to be a different story. The error comes in the MyBase.New line of code in the .NET site, which I believe is the server trying to maintain a read/write relationship with the directory that has the website. Anyway, in Windows, when I right-click on the folder within the Samba share and view the permissions, it shows me 3 sets of permissions: Everyone, the WWW Group on the Samba domain, and the WWW User on the Samba domain. These correspond to the permissions that are on the Linux filesystem for this folder, which is chmod'ed to 775 and owned by the www user and the www group. However, while Windows understands that If you set the SUID/SGID flag on the directory permissions then Unix will ensure that all files created will be owned by the user and group set on the directory. That solves your access problem. If you like, on the samba share definition you can add force user = WWW, and force group = WWW, and that will ensure that all remote users will be the correct user for this share. That way you do not need to even bother with setting permission from an MS Windows box. There are other ways you could do this, but enough for now. Cheers, John T. much of the permissions, none of the boxes are actually checked. It knows _who_ should have rights, but not _what_ rights they should have. And checking the boxes doesn't do anything, as they immediately un-check when I try to apply the changes. As for the configuration of the Windows box, the WWW user on the Samba domain is logged into the console with the Samba shares mapped as drives. It's ok for this user to stay perpetually logged into the console. The share to which it is connecting, and to which the IIS server's wwwroot points, is Read/Write from Samba's point of view, and the WWW user owns every file/folder in that directory, recursively. In the IIS Directory Security settings for the main website, Anonymous Access is allowed, and the Anonymous user is set to [Samba domain]\www with the correct password set. Digest authentication for windows domain servers is checked, and greyed to not allow un-checking. Nothing else is checked. Also of note is the fact that, ultimately, I would also like to make virtual directories in IIS that point to domain users' home directories on the Samba share. The idea being that users will click on those links and be presented with Windows login prompts in their browsers which authenticate them to the server. That way I can build all kinds of cool account maintenance tools in .NET and my users can maintain their accounts on my website. I somewhat was able to accomplish this... I made the virtual directories, was presented with the login prompt and, upon authentication, I was able to see the home directory's contents. However, I was only able to see things that were world-readable (the home directory itself was world-readable). Well, that's it in a nutshell. David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: John H Terpstra [mailto:jht;samba.org] Sent: Thursday, November 14, 2002 7:43 PM To: David Donahue Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server On Thu, 14 Nov 2002, David Donahue wrote: Yup, that definitely did the trick. Thanks! By the way, you wouldn't happen to know anything about Microsoft's Services for Unix, would you? Their newsgroup isn't very populated and little help can be found there. Or, conversely, do you know of any good NFS clients for Windows? Basically, the file permissions difference between Samba and Windows is causing problems with my .NET websites. An NFS clients that translates the permissions better would be ideal, especially if it could mount an NFS share to a local folder on the Windows drive so that Windows can't tell (or doesn't care) the difference (you know, the Unix way... The way it _should_ be). What is the problem? Can't you control the difference by using Unix file and directory permissions? Details please, and I'll try to help. - John T. David P. Donahue [EMAIL PROTECTED] First Call Computer Solutions -Original Message- From: John H Terpstra [mailto:jht;samba.org] Sent: Wednesday, November 13, 2002 10:43 PM To: David Donahue Cc: [EMAIL PROTECTED] Subject: RE: [Samba] Switching to another Samba server David, If this samba server IS your domain controller then you definitely do NOT want security = server. This option requires you to add password server = * so that samba can find the external password server (domain controller). Instead you want security = user. That should get rid of the error messages. -
Re: [Samba] Samba's Printer Going Off-Line (after a Win98 Machine speaks to it)
I am having similar issues with my samsung ML1650. The ready light routinely goes red after printing. I usually flip open the top cover and shut it, which wakes the printer up to go ahead and print the job. Powering it down would usually result in 10 pages of junk. I have tried two different ethernet print servers, but still get the same results. I am using windows print drivers, no spoolss, raw print queue to the IP address and port, lprng. My windows machine is Windows 2000 Professional, SP3 (rats... I'll bet that was a bad move...). Any ideas? - Original Message - From: James Hubbard [EMAIL PROTECTED] To: Elizabeth Barham [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 9:58 PM Subject: Re: [Samba] Samba's Printer Going Off-Line (after a Win98 Machine speaks to it) It sounds like a power management problem on the printer. Have you tried disabling power save. I think that model has one. James Elizabeth Barham wrote: Hi, I have a light firewall machine that also acts as a Samba print server for a Win32 host on my intranet. For some reason, if the Win98 machine hasn't printed for an extended length of time, the printer goes off-line. When the Win32 tries to print, the printer throws an error and we have to unplug the printer and then plug it back in. It then tries to finish the print job which doesn't look too pretty (its an HP Laserjet 5L). What is very strange is that that particular machine also is the lpd print server and there are no problems whatsoever printing from an lpd client; the only time the printer goes off-line is after a Win32 client speaks with the Samba Print Server, probably when the Win32 client shows the print dialog. Any ideas on what is causing this problem and possibly a solution? Thank you, Elizabeth -- 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
Re: [Samba] Samba's Printer Going Off-Line (after a Win98 Machine speaks to it)
James Hubbard [EMAIL PROTECTED] writes: It sounds like a power management problem on the printer. Have you tried disabling power save. I think that model has one. James Hi James, Thank you for responding so quickly. I have not seen any power management option on any of the printer-related dialogs. The closest I can find to anything remotely like a put printer in powersave mode is found in win.ini under [PrinterPorts]: // Read PrinterPorts from win.ini.Returned string should be of the // form driver,port,timeout,timeout, such as winspool,LPT1:,15,45. From: http://216.239.37.100/search?q=cache:puy-J3mEMk0C:msdn.microsoft.com/library/en-us/gdi/prntspol_27uc.asp+printerports+win.ini+site:msdn.microsoft.comhl=enie=UTF-8 But that may be in reference to timing out as when the printer does not respond or some other possible error condition: http://216.239.37.100/search?q=cache:Px6cAqvYsuoC:msdn.microsoft.com/library/en-us/wceddk/htm/_wceddk_global_printer_settings.asp+site:msdn.microsoft.com+timeout+printerhl=enie=UTF-8 Elizabeth -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba's Printer Going Off-Line (after a Win98 Machine speaks to it)
Steve Thom [EMAIL PROTECTED] writes: I am having similar issues with my samsung ML1650. The ready light routinely goes red after printing. I usually flip open the top cover and shut it, which wakes the printer up to go ahead and print the job. Powering it down would usually result in 10 pages of junk. That sounds like a good work-around for the time being. We'll have to try that. Thank you. I have tried two different ethernet print servers, but still get the same results. I am using windows print drivers, no spoolss, raw print queue to the IP address and port, lprng. My windows machine is Windows 2000 Professional, SP3 (rats... I'll bet that was a bad move...). Elizabeth -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NT domain vs simple workgroups???
Hi, I've been following some of the posts (never received a reply to mine but found one similiar). I have a question that I hope you can clarify. Original question: I can see the server from my Windows XP machine using network neighbors, but when I double click on it I get: Path not found One reply: If you're using NT domains (not simple workgroups)... What is the difference between the NT domains and simple workgroups? Where do you set a workgroup name in NT? I understand it in Linux, Win 98/95, but NT only asks for domain name. At least that I can see. At home I'm using RedHat 6.0 samba server (version?), NT4;service pack 1, and Win 98. My intranet is running on Apache in the samba server. From the NT and Win 98 pc's I can access the intranet via Netscape and MIE. I can see the samba server in Network Neighborhood and I can open the path to the files. I can open the .html and .txt files from them also and make changes to them. I have not had to make any changes to the default smb.conf or the apache config files. The files are saved in /home/user/public_html At work I'm using RedHat 6.0 samba server (version?), NT4 (service pack??) and Novell Netware Server (version??). My intranet is running on Apache in the samba server. From the NT pc's I can access the intranet via Netscape and MIE. I can see the samba server in Network Neighborhood but when I try to open it I get Path not found, no valid path to server, etc. I am unable to open any files on the samba server, which is what I need to be able to do. The files are saved in /home/user/public_html I only have administrator access to the samba server. There is a coworker with administrator access to the NT machine's, but they know less about this than me. Neither of us have access to the Netware server and evidently, the coworker wants to leave out the main IT people. What can I do on the samba server, or have done on the NT machines? Not knowing the service pack version, but having read that 3 and above don't allow plain text passwords, I have asked him to EnablePlainTextPassword in the registry. Will this work? Do I need to make changes to the smb.conf file? What changes? Well any help would be appreciated! Thank you. C Bud __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba's Printer Going Off-Line (after a Win98 Machine speaks to it)
Sorry, I just noticed that you said 5L, I was thinking of the larger ones with a LCD on the front. It does have a power save mode that kicks in instantly. Have you tried reinstalling the drivers or checking for newer ones? You might try using an old LaserJet driver that is compatible with the printer. A laserjet II or III driver might work. James Elizabeth Barham wrote: James Hubbard [EMAIL PROTECTED] writes: It sounds like a power management problem on the printer. Have you tried disabling power save. I think that model has one. James Hi James, Thank you for responding so quickly. I have not seen any power management option on any of the printer-related dialogs. The closest I can find to anything remotely like a put printer in powersave mode is found in win.ini under [PrinterPorts]: // Read PrinterPorts from win.ini.Returned string should be of the // form driver,port,timeout,timeout, such as winspool,LPT1:,15,45. From: http://216.239.37.100/search?q=cache:puy-J3mEMk0C:msdn.microsoft.com/library/en-us/gdi/prntspol_27uc.asp+printerports+win.ini+site:msdn.microsoft.comhl=enie=UTF-8 But that may be in reference to timing out as when the printer does not respond or some other possible error condition: http://216.239.37.100/search?q=cache:Px6cAqvYsuoC:msdn.microsoft.com/library/en-us/wceddk/htm/_wceddk_global_printer_settings.asp+site:msdn.microsoft.com+timeout+printerhl=enie=UTF-8 Elizabeth -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Did I get hacked?? strange log info...
I noticed I got a strange connection from what seems to be a user in italy?!? and he connected to my SMB client maybe?? I'm assuming the errors in his logfile ( http://68.48.247.187/log.gustavo.txt ) not finding the service.c file are because he is being denied access.. but how is he connecting in the first place.. And why isnt he being refused by my servers hosts.deny file...? I have about 6 of these rogue logs with different connect names being used.. what can I do to clear this up?? Also on a side note, Any of you know what the deal is with the martian messages my kernel is getting?? or how to stop them?? They appeared right after a connection attempt by Gustavo.. I've attached a sample.. there are about 200-500 of them :: Nov 14 04:40:00 server CROND[20451]: (root) CMD ( /usr/share/msec/promisc_check.sh) Nov 14 04:40:14 server smbd[20459]: [2002/11/14 04:40:14, 0] smbd/service.c:make_connection(248) Nov 14 04:40:14 server smbd[20459]: gustavo (195.250.245.176) couldn't find service c Nov 14 04:40:28 server kernel: martian source 169.254.191.7 from 169.254.191.7, on dev eth1 Nov 14 04:40:28 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:06 Nov 14 04:40:28 server kernel: martian source 169.254.191.7 from 169.254.191.7, on dev eth1 Nov 14 04:40:28 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:06 Nov 14 04:40:29 server kernel: martian source 169.254.191.7 from 169.254.191.7, on dev eth1 Nov 14 04:40:29 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:06 Nov 14 04:40:30 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:30 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:30 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:30 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:31 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:31 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:31 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:31 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:31 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:31 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:31 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:31 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:32 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:32 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:33 server kernel: NET: 1 messages suppressed. Nov 14 04:40:33 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:33 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:38 server kernel: NET: 13 messages suppressed. Nov 14 04:40:38 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:38 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:43 server kernel: NET: 4 messages suppressed. Nov 14 04:40:43 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:43 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:48 server kernel: NET: 3 messages suppressed. Nov 14 04:40:48 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:48 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:53 server kernel: NET: 6 messages suppressed. Nov 14 04:40:53 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:53 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:40:58 server kernel: NET: 9 messages suppressed. Nov 14 04:40:58 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:40:58 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:41:00 server CROND[20461]: (root) CMD ( /usr/share/msec/promisc_check.sh) Nov 14 04:41:55 server kernel: NET: 1 messages suppressed. Nov 14 04:41:55 server kernel: martian source 169.254.255.255 from 169.254.191.7, on dev eth1 Nov 14 04:41:55 server kernel: ll header: ff:ff:ff:ff:ff:ff:00:50:da:1e:ba:32:08:00 Nov 14 04:42:00 server CROND[20470]: (root) CMD ( /usr/share/msec/promisc_check.sh) Any help would be appreciated.. just email me please.. [EMAIL PROTECTED] _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- To unsubscribe from this list go to the following URL and read the
[Samba] NT domains -vs- simple workgroups????
Hi, I've been following some of the posts (never received a reply to mine but found one similiar). I have a question that I hope you can clarify. Original question: I can see the server from my Windows XP machine using network neighbors, but when I double click on it I get: Path not found One reply: If you're using NT domains (not simple workgroups)... What is the difference between the NT domains and simple workgroups? Where do you set a workgroup name in NT? I understand it in Linux, Win 98/95, but NT only asks for domain name. At least that I can see. At home I'm using RedHat 6.0 samba server (version?), NT4;service pack 1, and Win 98. My intranet is running on Apache in the samba server. From the NT and Win 98 pc's I can access the intranet via Netscape and MIE. I can see the samba server in Network Neighborhood and I can open the path to the files. I can open the .html and .txt files from them also and make changes to them. I have not had to make any changes to the default smb.conf or the apache config files. The files are saved in /home/user/public_html At work I'm using RedHat 6.0 samba server (version?), NT4 (service pack??) and Novell Netware Server (version??). My intranet is running on Apache in the samba server. From the NT pc's I can access the intranet via Netscape and MIE. I can see the samba server in Network Neighborhood but when I try to open it I get Path not found, no valid path to server, etc. I am unable to open any files on the samba server, which is what I need to be able to do. The files are saved in /home/user/public_html I only have administrator access to the samba server. There is a coworker with administrator access to the NT machine's, but they know less about this than me. Neither of us have access to the Netware server and evidently, the coworker wants to leave out the main IT people. What can I do on the samba server, or can be done on the NT machines? Not knowing the service pack version, but having read that 3 and above don't allow plain text passwords, I have asked him to EnablePlainTextPassword in the registry. Will this work? Do I need to make changes to the smb.conf file? What changes? Well any help would be appreciated! (But please don't say get a newer version of Linux) If I need a newer version of samba, where do I dowload it from? Is it rpm? or tar? Easy to install/compile? etc... Thank you. C Bud __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Su vivienda en Miami, Florida.
Esta buscando invertir en Bienes Raíces en Miami, Florida? Quiere vender su vivienda en Miami, Florida? Quisiera no lidiar con los dolores de cabeza de administrar su inversión? Si usted ha respondido que si, nosotros somos su solución. Con mas de 20 años de experiencia en el mercado y una cartera de clientes extranjeros, C.T. Internacional, INC. se especializa en extranjeros que quieren invertir en Bienes Raíces en Miami, Florida. Oprima ahora para mas información!! http://64.192.176.97/pro/index.htm - Demo Version Sent. --
Re: [Samba] Did I get hacked?? strange log info...
Jesse Vaughan sagte: Also on a side note, Any of you know what the deal is with the martian messages my kernel is getting?? 'martian sources' are a FAQ amongst linux firewall guys. In short, a network device reports a 'martian source' when it sees a packet that can't be 'from this planet' so it must be from mars (=martian source). An example would be a packet which comes from the internal net, HAS mac adress info (=is not routed) but doesn't fit the network config of the device in question. For deeper insights, google for it. bye, MH -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Su vivienda en Miami, Florida.
Esta buscando invertir en Bienes Raíces en Miami, Florida? Quiere vender su vivienda en Miami, Florida? Quisiera no lidiar con los dolores de cabeza de administrar su inversión? Si usted ha respondido que si, nosotros somos su solución. Con mas de 20 años de experiencia en el mercado y una cartera de clientes extranjeros, C.T. Internacional, INC. se especializa en extranjeros que quieren invertir en Bienes Raíces en Miami, Florida. Oprima ahora para mas información!! http://64.192.176.97/pro/index.htm - Demo Version Sent. --
Re: [Samba] NT domains -vs- simple workgroups????
You dont write what you use workgroup or domain or you use NT4 WS or Server? I mean you use WS and workgroup. Your samba have config this is reported by linux command testparm -s send reply of this command with allconf to me or samba list when you have problem. Secondary is your defined smbusers ... send login names from smbpasswd file. Afther this i can help you. At your que what is diferent domain of workgroup... 1. Domain server must register all NT XP W2K clients to work but workgroup not. 2. Domain server can profile store and login script for any Wx client workgroup not. 3. Domain server PDC on samba exist only one per domain in NT can secondary BDC backup. 4. Domain server central store of acl to all domain subservers and clients. Workgroup nothing. - Original Message - From: C Bud [EMAIL PROTECTED] To: samba [EMAIL PROTECTED] Sent: Friday, November 15, 2002 6:32 AM Subject: [Samba] NT domains -vs- simple workgroups Hi, I've been following some of the posts (never received a reply to mine but found one similiar). I have a question that I hope you can clarify. Original question: I can see the server from my Windows XP machine using network neighbors, but when I double click on it I get: Path not found One reply: If you're using NT domains (not simple workgroups)... What is the difference between the NT domains and simple workgroups? Where do you set a workgroup name in NT? I understand it in Linux, Win 98/95, but NT only asks for domain name. At least that I can see. At home I'm using RedHat 6.0 samba server (version?), NT4;service pack 1, and Win 98. My intranet is running on Apache in the samba server. From the NT and Win 98 pc's I can access the intranet via Netscape and MIE. I can see the samba server in Network Neighborhood and I can open the path to the files. I can open the .html and .txt files from them also and make changes to them. I have not had to make any changes to the default smb.conf or the apache config files. The files are saved in /home/user/public_html At work I'm using RedHat 6.0 samba server (version?), NT4 (service pack??) and Novell Netware Server (version??). My intranet is running on Apache in the samba server. From the NT pc's I can access the intranet via Netscape and MIE. I can see the samba server in Network Neighborhood but when I try to open it I get Path not found, no valid path to server, etc. I am unable to open any files on the samba server, which is what I need to be able to do. The files are saved in /home/user/public_html I only have administrator access to the samba server. There is a coworker with administrator access to the NT machine's, but they know less about this than me. Neither of us have access to the Netware server and evidently, the coworker wants to leave out the main IT people. What can I do on the samba server, or can be done on the NT machines? Not knowing the service pack version, but having read that 3 and above don't allow plain text passwords, I have asked him to EnablePlainTextPassword in the registry. Will this work? Do I need to make changes to the smb.conf file? What changes? Well any help would be appreciated! (But please don't say get a newer version of Linux) If I need a newer version of samba, where do I dowload it from? Is it rpm? or tar? Easy to install/compile? etc... Thank you. C Bud __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- 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
Cannot get net ads join to work under Solaris 8
HI, Any clues would be appreciated in getting net ads join working on Solaris 8. I have downloaded the latest CVS samba 3.0. on to a solaris 8 box as is. I have followed the same procedures as the LINUX CVS port that I have got going. The only mod needed was that the --without-sendfile flag did not appear to work so I put in with-sendfile=no in configure rather that the default yes for the Solaris port. This was not necessary for the Linux port. Clocks on the machines are synchronized. kdestroy works correctly kinit works correctly klist works correctly net ads join fails for the Solaris port but works for the Linux port, errors reported below. root#l ./net ads join -Uadminuser [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UCS-2LE to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from ASCII to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UCS-2LE not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to ASCII not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported adminuser password: [2002/11/14 21:01:11, 1] libsmb/clikrb5.c:krb5_mk_req2(63) krb5_get_credentials failed for w2kads$@OUR.DOMAIN.AU (Clock skew too great in KDC reply) [2002/11/14 21:01:11, 0] libads/kerberos.c:ads_kinit_password(133) kerberos_kinit_password [EMAIL PROTECTED] failed: Preauthentication failed [2002/11/14 21:01:11, 1] utils/net_ads.c:ads_startup(148) ads_connect: Invalid credentials Thanks in advance Clive - Clive Elsum BAppSc, RHCE Systems Engineer - Information Technology Group CSIRO Atmospheric Research PMB 1, Aspendale, Victoria, Australia 3195 Phone : (+61 3) 9239 4509 Fax:(+61 3) 9239 E-mail [EMAIL PROTECTED] -
Re: Cannot get net ads join to work under Solaris 8
On Thu, 2002-11-14 at 21:30, [EMAIL PROTECTED] wrote: HI, Any clues would be appreciated in getting net ads join working on Solaris 8. I have downloaded the latest CVS samba 3.0. on to a solaris 8 box as is. I have followed the same procedures as the LINUX CVS port that I have got going. The only mod needed was that the --without-sendfile flag did not appear to work so I put in with-sendfile=no in configure rather that the default yes for the Solaris port. This was not necessary for the Linux port. Clocks on the machines are synchronized. kdestroy works correctly kinit works correctly klist works correctly net ads join fails for the Solaris port but works for the Linux port, errors reported below. root#l ./net ads join -Uadminuser [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UCS-2LE to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from ASCII to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UCS-2LE not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to ASCII not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported adminuser password: [2002/11/14 21:01:11, 1] libsmb/clikrb5.c:krb5_mk_req2(63) krb5_get_credentials failed for w2kads$@OUR.DOMAIN.AU (Clock skew too great in KDC reply) Can you try putting the Solaris machine in the GMT timezone? My thinking is that the gmtime() replacement might not be functioning correctly. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part
Re: [Samba] multiple ldap servers
Andrew Bartlett wrote: Gerald (Jerry) Carter wrote: On Fri, 1 Nov 2002, Nathan Ehresman wrote: Hello, I was looking at the ldap authentication code (in 2.2.5) and it looks like there is no support for having multiple ldap servers for authentication (ie, if one is not responding, try from a backup). Does anyone have a patch to add this functionality? If not, I'll go ahead and do it but I wanted to check to see if it has already been done first. Check the HEAD code. There may be support in there you can back port. No such support at present, but in HEAD you can come close by setting up 2 passdb backends. (This isn't ideal however, beocuse lookups that fail in the first will always go to the second). Adding such support to HEAD would be very nice - the difficult bit is actually deciding how to construct smb.conf options. I've added support for this to my copy of 2.2.5. I've run it through several tests with different combinations of our ldap servers being up and down during our off hours here to verify it, and it things seem to be working just fine so I thought I'd send you guys a patch if you are interested. As far as syntax for the smb.conf options, I just used the existing option (ldap server) but allowed for multiple hosts to be separated by a space or comma. This was simple but doesn't take into account the possibility of ldap servers running on different ports. Thanks for everything you guys do. Nathan Ehresman --- samba-2.2.5/source/passdb/pdb_ldap.cFri Nov 1 14:13:39 2002 +++ samba-2.2.5/source/passdb/pdb_ldap.cFri Nov 1 14:34:22 2002 -117,6 +117,9 int tls; uid_t uid = geteuid(); struct passwd* pass; + char *ptr; + pstring server; + int conn_established=0; DEBUG(5,(ldap_open_connection: starting...\n)); /* -144,11 +147,18 port = 389; } - DEBUG(10,(Initializing connection to %s on port %d\n, - lp_ldap_server(), port )); + ptr = lp_ldap_server(); + + while (!conn_established next_token(ptr, server, , , sizeof(server))) { + DEBUG(10,(Initializing connection to %s on port %d\n, server, port +)); + if ((*ldap_struct = ldap_init(server, port)) == NULL) + DEBUG(0, (The LDAP server on %s is not responding !\n, +server)); + else + conn_established = 1; + } - if ((*ldap_struct = ldap_init(lp_ldap_server(), port)) == NULL) { - DEBUG(0, (The LDAP server is not responding !\n)); + if (!conn_established) { + DEBUG(0, (None of the specified LDAP servers are responding!\n)); return False; }
RE: Cannot get net ads join to work under Solaris 8
Many thanks Andrew!! Setting the Solaris box to GMT certainly did the trick. Well done, I appreciate the prompt response to my query. Clive Elsum -Original Message- From: Andrew Bartlett [mailto:abartlet;samba.org] Sent: Thursday, 14 November 2002 10:19 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Cannot get net ads join to work under Solaris 8 On Thu, 2002-11-14 at 21:30, [EMAIL PROTECTED] wrote: HI, Any clues would be appreciated in getting net ads join working on Solaris 8. I have downloaded the latest CVS samba 3.0. on to a solaris 8 box as is. I have followed the same procedures as the LINUX CVS port that I have got going. The only mod needed was that the --without-sendfile flag did not appear to work so I put in with-sendfile=no in configure rather that the default yes for the Solaris port. This was not necessary for the Linux port. Clocks on the machines are synchronized. kdestroy works correctly kinit works correctly klist works correctly net ads join fails for the Solaris port but works for the Linux port, errors reported below. root#l ./net ads join -Uadminuser [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UCS-2LE to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from ASCII to CP850 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UCS-2LE not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to ASCII not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2002/11/14 21:01:07, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported adminuser password: [2002/11/14 21:01:11, 1] libsmb/clikrb5.c:krb5_mk_req2(63) krb5_get_credentials failed for w2kads$@OUR.DOMAIN.AU (Clock skew too great in KDC reply) Can you try putting the Solaris machine in the GMT timezone? My thinking is that the gmtime() replacement might not be functioning correctly. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net
smb_register_passdb()
Hi Andrew, Here's a patch to add a smb_register_passdb() function. It puts the list of available backends in a double linked list, and lets you add backends with smb_register_passdb(). In this patch, the double linked list contains a name and a pointer to an init function that allocates and fills a pdb_methods structure. A different approach might be to add an init() pointer to the pdb_methods structure and put a name and pointer to a pdb_methods structure in the double linked list. Could you please take a look at it and tell me whether you have any comments? Btw. Good luck with your exam today! Jelmer Index: include/passdb.h === RCS file: /home/cvs/samba/source/include/passdb.h,v retrieving revision 1.21 diff -u -3 -p -d -r1.21 passdb.h --- include/passdb.h21 Oct 2002 19:28:55 - 1.21 +++ include/passdb.h14 Nov 2002 19:20:21 - -156,6 +156,7 struct pdb_init_function_entry { char *name; /* Function to create a member of the pdb_methods list */ pdb_init_function init; + struct pdb_init_function_entry *prev, *next; }; #endif /* _PASSDB_H */ Index: passdb/pdb_interface.c === RCS file: /home/cvs/samba/source/passdb/pdb_interface.c,v retrieving revision 1.29 diff -u -3 -p -d -r1.29 pdb_interface.c --- passdb/pdb_interface.c 14 Nov 2002 18:16:17 - 1.29 +++ passdb/pdb_interface.c 14 Nov 2002 19:20:22 - -25,8 +25,11 #define DBGC_CLASS DBGC_PASSDB /** List of various built-in passdb modules */ - -const struct pdb_init_function_entry builtin_pdb_init_functions[] = { +const struct { +char *name; +/* Function to create a member of the pdb_methods list */ +pdb_init_function init; +} builtin_pdb_init_functions[] = { { smbpasswd, pdb_init_smbpasswd }, { smbpasswd_nua, pdb_init_smbpasswd_nua }, { tdbsam, pdb_init_tdbsam }, -39,6 +42,50 const struct pdb_init_function_entry bui { NULL, NULL} }; +static struct pdb_init_function_entry *backends; +static void lazy_initialize_passdb(void); + +static void lazy_initialize_passdb() +{ + int i; + static BOOL initialised = False; + + if(!initialised) { + initialised = True; + + for(i = 0; builtin_pdb_init_functions[i].name; i++) { + smb_register_passdb(builtin_pdb_init_functions[i].name, +builtin_pdb_init_functions[i].init, PASSDB_INTERFACE_VERSION); + } + } +} + +BOOL smb_register_passdb(char *name, pdb_init_function init, int version) +{ + struct pdb_init_function_entry *entry = backends; + + if(version != PASSDB_INTERFACE_VERSION) + return False; + + DEBUG(5,(Attempting to register passdb backend %s\n, name)); + + /* Check for duplicates */ + while(entry) { + if(strcasecmp(name, entry-name) == 0) { + DEBUG(0,(There already is a passdb backend registered with +the name %s!\n, name)); + return False; + } + entry = entry-next; + } + + entry = smb_xmalloc(sizeof(struct pdb_init_function_entry)); + entry-name = name; + entry-init = init; + + DLIST_ADD(backends, entry); + DEBUG(5,(Successfully added passdb backend '%s'\n, name)); + return True; +} + static NTSTATUS context_setsampwent(struct pdb_context *context, BOOL update) { NTSTATUS ret = NT_STATUS_UNSUCCESSFUL; -371,8 +418,12 static NTSTATUS make_pdb_methods_name(st { char *module_name = smb_xstrdup(selected); char *module_location = NULL, *p; + struct pdb_init_function_entry *entry; NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL; - int i; + + lazy_initialize_passdb(); + + entry = backends; p = strchr(module_name, ':'); -385,12 +436,11 static NTSTATUS make_pdb_methods_name(st trim_string(module_name, , ); DEBUG(5,(Attempting to find an passdb backend to match %s (%s)\n, selected, module_name)); - for (i = 0; builtin_pdb_init_functions[i].name; i++) - { - if (strequal(builtin_pdb_init_functions[i].name, module_name)) + while(entry) { + if (strequal(entry-name, module_name)) { - DEBUG(5,(Found pdb backend %s (at pos %d)\n, module_name, i)); - nt_status = builtin_pdb_init_functions[i].init(context, methods, module_location); + DEBUG(5,(Found pdb backend %s\n, module_name)); + nt_status = entry-init(context, methods, module_location); if (NT_STATUS_IS_OK(nt_status)) { DEBUG(5,(pdb backend %s has a valid init\n, selected)); } else { -400,6 +450,7 static NTSTATUS
Correction To DOMAIN_MEMBER.html
[this is almost too trivial to bother with, but in the interests of accuracy ..] I just converted a Samba 2.2.3a-for-Debian server from being a stand-alone workgroup member using plain-text passwords into a full NT-administered domain member using encrypted passwords and security=domain. This being the first server we've done this with, I paid attention to the apparent authoritative document on the subject, DOMAIN_MEMBER.html in docs/htmldocs. It runs pretty much like this : cut In order to join the domain, first stop all Samba daemons and run the command: root# smbpasswd -j DOM -r DOMPDC -UAdministrator%password [...] Now, before restarting the Samba daemons you must edit your smb.conf(5) file to tell Samba it should now use domain security. Change (or add) your security = line in the [global] section of your smb.conf to read: security = domain Next change the workgroup = line in the [global] section to read: workgroup = DOM as this is the name of the domain we are joining. You must also have the parameter encrypt passwords set to yes in order for your users to authenticate to the NT PDC. cut So, in plodder fashion, that's the order I tried to do things in. Unfortunately, unless you edit smb.conf to set encrypt passwords = yes *first*, you can't run the smbpasswd domain-joining call - it fails with : SAMBABOX:/etc/samba# smbpasswd -j MYDOMAIN -r MYPDC -Uadminuser%adminpassword Error connecting to MYPDC Unable to join domain MYDOMAIN. I just thought it might help other folks, to document this explicitly. I spent a couple of hours trying to figure out what I was doing wrong, jacking up the Samba debug level, getting Ethereal traces of the join operation, etc. ... I checked, and it's still the same in the version posted on the Samba.org website, although there's also Samba-HOWTO-Collection.html which has a section Make Samba a member of an MS Windows NT security domain which documents the same thing in a somewhat different and perhaps less confusing manner. I'd have gladly produced an edited version of DOMAIN_MEMBER.html for consideration, but I know the project uses Docbook for this stuff, and I don't know the first thing about that :( Cheers Nick Boyce EDS, Bristol, UK
RE: Cannot get net ads join to work under Solaris 8
On Fri, 2002-11-15 at 04:38, [EMAIL PROTECTED] wrote: Many thanks Andrew!! Setting the Solaris box to GMT certainly did the trick. Well done, I appreciate the prompt response to my query. Well, it just means that we need to find a real replacement for gmtime(). Any chance you could have a look at that function, and see if you can figure out why the current replacement doesn't work? Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part
RE: Unable to authenticate with security=ADS
-Original Message- From: José Alberto Patiño Limón [mailto:jalbertop;aranea.com.mx] Sent: Wednesday, November 13, 2002 6:43 PM To: ZINKEVICIUS,MATT (HP-Loveland,ex1) Cc: [EMAIL PROTECTED] Subject: RE: Unable to authenticate with security=ADS Ok. Well I had the same problem when I was starting to setup SAMBA 3.0. But I dont remember what I did to fix it. I remeber that the main problem that I had was with the nss_ldap module, remember that you need to have the passwd and group info available to the samba daemon. I have 2 setups to get this info from Active Directory and OpenLDAP. But you must be certain at least that you have a entry in the /etc/passwd to get the uid data for the W2K user that you are using to share the storage in Samba. I need a local unix account for every user that can authenticate via ADS? I want to use ADS for authentication, not local unix accounts. That's the whole point. The error looks like a problem in ticket handling anyway, so I don't think this has to do with not being able to find a local account to verify against. sigh... I guess I'll go read the active directory code now. Just to be sure, I assume that you /etc/krb5.conf is configured to see the kerberos realm for Active Directory. Yep. My krb5.conf is attached to the original email if you want to look at it. I think that the klist tickets command is supposed to be tested in the W2K machine and noy in the unix box. My W2K box doesn't seem to have klist installed (At least not in my path) --Matt
Su vivienda en Miami, Florida.
Esta buscando invertir en Bienes Raíces en Miami, Florida? Quiere vender su vivienda en Miami, Florida? Quisiera no lidiar con los dolores de cabeza de administrar su inversión? Si usted ha respondido que si, nosotros somos su solución. Con mas de 20 años de experiencia en el mercado y una cartera de clientes extranjeros, C.T. Internacional, INC. se especializa en extranjeros que quieren invertir en Bienes Raíces en Miami, Florida. Oprima ahora para mas información!! http://64.192.176.97/pro/index.htm - Demo Version Sent. --
RE: Unable to authenticate with security=ADS
On Thu, 2002-11-14 at 16:26, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote: -Original Message- From: José Alberto Patiño Limón [mailto:jalbertop;aranea.com.mx] Sent: Wednesday, November 13, 2002 6:43 PM To: ZINKEVICIUS,MATT (HP-Loveland,ex1) Cc: [EMAIL PROTECTED] Subject: RE: Unable to authenticate with security=ADS Ok. Well I had the same problem when I was starting to setup SAMBA 3.0. But I dont remember what I did to fix it. I remeber that the main problem that I had was with the nss_ldap module, remember that you need to have the passwd and group info available to the samba daemon. I have 2 setups to get this info from Active Directory and OpenLDAP. But you must be certain at least that you have a entry in the /etc/passwd to get the uid data for the W2K user that you are using to share the storage in Samba. I need a local unix account for every user that can authenticate via ADS? I want to use ADS for authentication, not local unix accounts. That's the whole point. The error looks like a problem in ticket handling anyway, so I don't think this has to do with not being able to find a local account to verify against. sigh... I guess I'll go read the active directory code now. Well I think you are right. You are having problems in this section of code: if ((ret = krb5_rd_req(context, auth_context, packet, NULL, keytab, NULL, tkt))) { DEBUG(3,(krb5_rd_req with auth failed (%s)\n, error_message(ret))); return NT_STATUS_LOGON_FAILURE; } So the origin of the problem is in the MIT krb5_rd_req function call.. My smb.conf file is: bash-2.05$ cat /usr/local/samba-3.0alpha20/lib/smb.conf [global] realm = CONSUMOMS.ARANEA.COM.MX ads server = MSKDC1.CONSUMOMS.ARANEA.COM.MX security = ads workgroup = CONSUMOMS [personal] path = %H writable = yes but I didn't see any info for realm and ads server in your smb.conf my /etc/krb5.conf is: [libdefaults] default_realm = CONSUMOMS.ARANEA.COM.MX egd_socket=/dev/egd-pool clockskew = 300 # default_etypes_des = des-cbc-crc arcfour-hmac-md5 default_etypes = des-cbc-crc default_etypes_des = des-cbc-crc default_tkt_enctypes = des-cbc-crc default_tgs_enctypes = des-cbc-crc [realms] CONSUMOMS.ARANEA.COM.MX = { kdc = MSKDC1.CONSUMOMS.ARANEA.COM.MX kpasswd_server = MSKDC1.CONSUMOMS.ARANEA.COM.MX admin_server = MSKDC1.CONSUMOMS.ARANEA.COM.MX default_domain = CONSUMOMS.ARANEA.COM.MX } [domain_realm] .consumoms.aranea.com.mx = CONSUMOMS.ARANEA.COM.MX .CONSUMOMS.ARANEA.COM.MX = CONSUMOMS.ARANEA.COM.MX Hopes this help you! Just to be sure, I assume that you /etc/krb5.conf is configured to see the kerberos realm for Active Directory. Yep. My krb5.conf is attached to the original email if you want to look at it. I think that the klist tickets command is supposed to be tested in the W2K machine and noy in the unix box. My W2K box doesn't seem to have klist installed (At least not in my path) You need to download the klist command from the MS Site. Search for the free W2K Resource Kit utilities. Alberto
Re: NULL sessions - Listing shares anonymously - restrict anonymous
On Thu, Nov 14, 2002 at 08:50:47PM -0500, Yannick Mercier wrote: I am running 2.2.5 and I would like to know if the restrict anonymous as been implemented correctly, as it was supposed to behave from the start, in order to deny ALL anonymous connections as stated in the man : When restrict anonymous is yes, all anonymous connections are denied no matter what they are for. In the Samba 2.2 branch the 'restrict anonymous' parameter behaves as per the manual page. It's broken and unlikely to be fixed. Ive been reading some dev mailing lists and someone said that there would be 0, 1 , 2 as possible values to the restrict anonymous option, as it been done yet ? In the Samba HEAD and 3.0 branches however the parameter behaves more like the RestrictAnonymous registry setting. Only 'restrict anonymous = 1' is currently supported though. Tim.
Su vivienda en Miami, Florida.
Esta buscando invertir en Bienes Raíces en Miami, Florida? Quiere vender su vivienda en Miami, Florida? Quisiera no lidiar con los dolores de cabeza de administrar su inversión? Si usted ha respondido que si, nosotros somos su solución. Con mas de 20 años de experiencia en el mercado y una cartera de clientes extranjeros, C.T. Internacional, INC. se especializa en extranjeros que quieren invertir en Bienes Raíces en Miami, Florida. Oprima ahora para mas información!! http://64.192.176.97/pro/index.htm - Demo Version Sent. --
Tiny conceptual nmblookup buglet.
I've come across and interesting, but mostly benign, problem with nmblookup. Here's the deal: IIS registers some NetBIOS names when it starts up. One of these is the Internet Group name INet~Services1C. This name is translated to NBT wire format *without* up-casing the name first (which is against the rules, and should probably be considered a bug in IIS). The result looks like this: EJEOGFHEHOFDGFHCHGGJGDGFHDCACABM The thing is, nmblookup does abide by the rules, so it up-cases all names before encoding them. The name INET~SERVICES1C looks like this: EJEOEFFEHOFDEFFCFGEJEDEFFDCACABM Match those up and you'll see they're different. Samba is further polite in that it decodes names and does a case-insensitive comparison when trying to match names. Windows, it seems, does not do this. As a (reasonable) speed hack, they just compare the wire formats. As a result, nmblookup cannot find the INet~Services1C on the network. Chris -)- Ps. Yes, if I have time I'll try to work out a solution. Pps. There's another IIS/NetBIOS name bug. IIS also registers a name built by prepending the string IS~ to the machine name. If the result is too long, it will overwrite the suffix byte. -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
Semaphore timeouts when connecting to samba share
Hello When trying to connect to samba file shares on a VMS system, I get a semaphore timeout. Other services work fine such as telnet. Any ideas/pointers please people Many thanks
CVS update: samba/examples
Date: Thu Nov 14 17:42:01 2002 Author: jelmer Update of /home/cvs/samba/examples In directory dp.samba.org:/tmp/cvs-serv15456 Modified Files: smb.conf.default Log Message: a cups printing backend is now available as well Revisions: smb.conf.default1.14 = 1.15 http://www.samba.org/cgi-bin/cvsweb/samba/examples/smb.conf.default?r1=1.14r2=1.15
CVS update: samba/source/passdb
Date: Thu Nov 14 18:21:22 2002 Author: jelmer Update of /home/cvs/samba/source/passdb In directory dp.samba.org:/tmp/cvs-serv18437/passdb Modified Files: Tag: SAMBA_3_0 pdb_interface.c Log Message: Remove #ifdef's for NISPLUS_SAM - there are no function name collisions anymore Revisions: pdb_interface.c 1.10.2.7 = 1.10.2.8 http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_interface.c?r1=1.10.2.7r2=1.10.2.8
CVS update: samba/examples
Date: Thu Nov 14 18:24:14 2002 Author: jelmer Update of /home/cvs/samba/examples In directory dp.samba.org:/tmp/cvs-serv18600 Modified Files: Tag: SAMBA_3_0 smb.conf.default Log Message: There is support for the cups printing system now as well Revisions: smb.conf.default1.13.2.1 = 1.13.2.2 http://www.samba.org/cgi-bin/cvsweb/samba/examples/smb.conf.default?r1=1.13.2.1r2=1.13.2.2
CVS update: samba/docs
Date: Thu Nov 14 21:04:12 2002 Author: jelmer Update of /home/cvs/samba/docs In directory dp.samba.org:/tmp/cvs-serv517 Modified Files: docs-status Log Message: Update testparm for 3.0 Revisions: docs-status 1.8 = 1.9 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docs-status?r1=1.8r2=1.9
CVS update: samba/docs/docbook/projdoc
Date: Thu Nov 14 21:18:22 2002 Author: jelmer Update of /home/cvs/samba/docs/docbook/projdoc In directory dp.samba.org:/tmp/cvs-serv1352/docbook/projdoc Modified Files: VFS.sgml Log Message: Add more info about stackable VFS objects Revisions: VFS.sgml1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/projdoc/VFS.sgml?r1=1.1r2=1.2
CVS update: samba/docs/docbook/projdoc
Date: Thu Nov 14 21:36:46 2002 Author: jelmer Update of /home/cvs/samba/docs/docbook/projdoc In directory dp.samba.org:/tmp/cvs-serv2922 Modified Files: Speed.sgml Log Message: Remove some obsolete info Revisions: Speed.sgml 1.1 = 1.2 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/projdoc/Speed.sgml?r1=1.1r2=1.2
CVS update: samba/docs/docbook/projdoc
Date: Thu Nov 14 22:54:23 2002 Author: jelmer Update of /home/cvs/samba/docs/docbook/projdoc In directory dp.samba.org:/tmp/cvs-serv9074/projdoc Modified Files: ADS-HOWTO.sgml Log Message: Some small updates - 'ads server' is no longer required for example Revisions: ADS-HOWTO.sgml 1.2 = 1.3 http://www.samba.org/cgi-bin/cvsweb/samba/docs/docbook/projdoc/ADS-HOWTO.sgml?r1=1.2r2=1.3
CVS update: samba/source
Date: Fri Nov 15 00:33:55 2002 Author: tpot Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv17533 Modified Files: Makefile.in Log Message: A cool idea from mbp: create a big shared library of all Samba objects which we can use to link against Samba unit test programs. Now we can compile and link unit tests without having to create 4MB executables for each program It's called libbigballofmud.so both to discourage casual usage and also to reflect what the dependencies within Samba have become. Revisions: Makefile.in 1.574 = 1.575 http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in?r1=1.574r2=1.575