[Samba] Re: File Systems - Which one to use?
With reference to my earlier posting in this thread (Dec 16, 2002), where I quoted some timings for tar and dump on ext and reiserfs, I received a mail from Mr. Stelian Pop, the maintainer of BSD/dump, who noted that tar is actually cheating when outputting to the bit bucket. I've checked it up and found out that tar indeed skips a lot if the target ("-f") is either "/dev/null" or redirected to "/dev/null". My suspicion that there is something wrong with IPC in Linux was unwarranted. The reason why tar is so much slower when it writes through a dd pipe is that it then needs to output all the data without skipping anything. To better understand the issue look at this table of backup speeds (in MB/s) and ratios: ext3 reiserfs ratio Backup method\From (fastdisk) (slowdisk) reiserfs/ext3 -- -- -- - tar > null 23.566.7 2.84 dump > null 19.4 -- ? dd > null 32.223.4 .73 tar | dd > null 10.3 8.8 .85 dump | dd > null 18.7 -- ? It shows that dump is a quite a bit more efficient backup tool than tar when tar doesn't cheat. A tar from ext3 is some 15% slower than a dump if we factor in the relative speeds of the two disks. That it is 2.8 times faster on reiserfs than on ext3 when it basically skips all data and only traverses the directories proves my point from previous postings - reiserfs is a quite a lot more responsive file system for meta data manipulations than ext3. Seeing how much handshake and massaging of meta data is caused by SMB I am prone to believe that reiserfs is ideal fs for samba. I hope to be able to fill in the blanks under dump/reiser entries in about a month and a half and then we shall review the data. My prediction is that a good reiserdump would be streaming at about 35 MB/s or better on the faster of the two IDE disks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] need roaming profile + local profile
Hi I've got a samba pdc set up but I've got a strange problem. Everything works fine I can login with the roaming profile BUT I also need a local profile, without the local profile he says that he cannot find the domain name. And the local profile has to be administrator or he doesn't remember my preferences of all my programs and settings. Any idea what I'm doing wrong? Sander -"Are you still wasting your time with spam?...There is a solution!" Protected by GIANT Company's Spam InspectorThe most powerful anti-spam software available.http://www.giantcompany.com
[Samba] xp problem
I would appreciate it if someone can point me in the right direction. I am having a problem connecting to other computers on my LAN. Configuration is this: 1. XP machine, 2 Win2K's, 1 FreeBSD running Samba (current or latest version). From XP, I can connect and read/write and print to FBSD but cannot connect to Win2k's. Win2k's cannot connect to XP. I suspect it has to do with the domain master and the os level settings for, when the FBSD machine is off, connections between XP and Win2k are ok. What do I have to to to be able to connect to Win2k's at the same time as the FBSD (Samba)? I am not running a domain, workgroup only. :)) Thanks in advance, Pippo -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: samba digest, Vol 1 #2006 - 24 msgs (Out of the office -Returning Monday, Jan. 6th)
I will be out of the office: From:Monday, Dec. 23rd Through: Friday, Jan. 3rd I will return to the office on Monday, Jan. 6th I will only be checking email or voicemail. Once or twice during that time period. Members of the I.T. dept. will be able to contact me if there is a critical issue. Enjoy the time off over the holidays and Happy New Year! >>> samba 12/21/02 12:00 >>> Send samba mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.samba.org/mailman/listinfo/samba or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of samba digest..." Today's Topics: 1. Not allowed from station. (Matt Larson) 2. Re: Winbindd question/problem (David Brodbeck) 3. 'credentials supplied conflict (Kenneth Illingsworth) 4. Re: "force group" not working with shared directories (John H Terpstra) 5. Validation problem with NAUTILUS 2.0.6 (Jorge Pereira) 6. RE: How to enforce client to download the profile form se rver (Owens, Bob) 7. Winbind Problems (Kenny Mann) 8. Re: "force group" not working with shared directories (Sam Hart) 9. Problem with slow connection... (Joao Alberto M. dos Reis (Listas de discucao)) 10. Re: How to enforce client to download the profile form server (Laurent Hofmann) 11. (no subject) (dpm8) 12. Re: XP slow to print to Samba 3.0 alpha21 server (Steve Langasek) 13. Problems installing samba (Viktor Pirard) 14. FW: [Samba] Strange locking errors with LabView under Samba 2.2.7 and HP-UX 11.11 (Windsor Dave (AdW/MOE2.1)) 15. samba upgrade (Norman Zhang) 16. Re: Cannot install samba (Joel Hammer) 17. Re: XP slow to print to Samba 3.0 alpha21 server...another data point from 2.2.7 (John Gerth) 18. Re: Create time changing by itself? (Jacob Anawalt) 19. Re: File Systems - Which one to use? (Dragan Krnic) 20. need roaming profile + local profile (sander) 21. xp problem ([EMAIL PROTECTED]) --__--__-- Message: 1 From: Matt Larson <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Date: Fri, 20 Dec 2002 10:56:25 -0600 Subject: [Samba] Not allowed from station. Trying to get w2k to connect to unix box and receive the following error "Account not authorized to login from this station." Even though it was able to before rebuild. Is there a file that needs to be in place for 2000 to connect? Please Advise Matt Larson --__--__-- Message: 2 From: David Brodbeck <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Date: Fri, 20 Dec 2002 12:03:14 -0500 Subject: [Samba] Re: Winbindd question/problem Forgot to CC this to the list, so I'm sending it again. Sorry for the inconvenience. > -Original Message- > From: [EMAIL PROTECTED] > I have not been able to make the new version work > without using the UNIX password file for vaildation as yet. > If you could > offer some advise or tips to get there I would appreciate it. FYI: The > getent command will not work for me. Don't know if that is > related. I am a UNIX admin and my Windows knowledge is limited. > -Original Message- > From: [EMAIL PROTECTED] > I just found out that "getent" is a solaris command. I am of course in > HP-UX. I don''t know if that will cause me grief or not. I'm not too familiar with HP-UX so you may need to ask on the mailing list. The first question that comes to mind is whether your nsswitch configuration is correct. Under Linux you edit /etc/nsswitch.conf, but I don't know about HP-UX. The relevent lines in mine look like this: passwd: files winbind nisplus nnis group: files winbind nisplus nis The important thing is that 'winbind' be in there. Secondly, make sure libnss_winbind.so.2 is installed in /lib. 'make install' does not do this on its own. Also, create a symbolic link to it named /lib/libnss_winbind.so. You may need to run ldconfig (or whatever the HP-UX equivalent is) after doing this. The absence of 'getent' shouldn't be a problem because it's only used for testing. I'm going to CC this to the samba mailing list in case someone with more HP-UX experience than me has a suggestion. --__--__-- Message: 3 Date: Fri, 20 Dec 2002 12:04:25 -0500 From: "Kenneth Illingsworth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [Samba] 'credentials supplied conflict I believe that I have managed to set up a SAMBA server to function as a = Windows NT PDC. However, when I try to add a Win2kPro workstation to the = SAMBA servers security DB (IE /usr/local/samba/private/MACHINE.SID), I get = an error dialog on the workstation indicating that the computer could not = be joined in the domain bacause the 'credentials supplied conflict with an = existing s
[Samba] samba win2k network path not found error 53
Hi all, i installed the samba 2.2.2 for solaris 8 on SPARC server and trying to connect it throught win2k machine but when i use the following command: net use \\sunmachine i get the following error message system error 53 has occured The network was path not found sunmachine name is also entered in the lmhosts file. I really appreciate the quick reply. My smb.conf is attached Regards, shakeel smb.conf Description: Binary data
[Samba] Error Saving Certain Files in Profile from Win XP PRO
running samba 2.2.7 on linux as a PDC. client box is win XP PRO SP1. When shutting down windows i am getting an error message as follows (paraphrased since it lasts for 30 seconds and disappears no matter what you do *&*$#$ ): Problem saving profile Documents and Settings/Start Menu/Programs/ Accessoreis/Entertainment/Windows Media Player.lnk there are lots and lots of other files and settings that get saved without a problem. i have tried it several times, with some different settings, and it sometimes chokes on a different file, but never completes properly. here are some of the relevant settings from smb.conf: domain logons = yes domain master = yes logon drive = Z: logon script=logon.bat logon home = \\mars.genwax.test\netlogon logon path = \\mars.genwax.test\profiles\%U os level = 99 preferred master = yes security = user [profiles] path = /usr/local/samba/profiles profile acls = yes browseable = yes read only = no create mask = 0600 directory mask = 0700 i have tried it with and without profile acls, same result. profiles seem not to work at all without browseable = yes. i have checked and windows has created this directory and it has proper ownership and permissions for the user to write in it. there is also a Windows Media Player.lnk that is correctly written into the Programs directory i have level 10 logs, but they are too big to post here. does anyone know what the problem is, or give me some more hints on how to diagnose it? is anyone out there successfully running 2.2.7 as a PDC with windows XP PRO clients? is everything running smoothly for production, or should i downgrade to using the samba workgroup features only? thanks for the help!! -- ___cliff [EMAIL PROTECTED]http://www.genwax.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 problem
Pippo, We will need more information than this to help you. Please explain in detail what happens when you try to access the WinXP machine from Win2K and vica versa. You need to explain how your samba is configured as well as how the Win2K/XP systems are configured. Without this information we would be jst guessing - not very productive. - John T. On Sat, 21 Dec 2002 [EMAIL PROTECTED] wrote: > I would appreciate it if someone can point me in the right direction. > I am having a problem connecting to other computers on my LAN. > Configuration is this: > 1. XP machine, 2 Win2K's, 1 FreeBSD running Samba (current or latest version). > From XP, I can connect and read/write and print to FBSD but cannot connect > to Win2k's. > Win2k's cannot connect to XP. > I suspect it has to do with the domain master and the os level settings > for, when the FBSD machine is off, connections between XP and Win2k are ok. > What do I have to to to be able to connect to Win2k's at the same time as > the FBSD (Samba)? > I am not running a domain, workgroup only. :)) > Thanks in advance, > Pippo > > > -- 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] Error Saving Certain Files in Profile from Win XP PRO
On Sat, 21 Dec 2002, ___cliff rayman___ wrote: > running samba 2.2.7 on linux as a PDC. > client box is win XP PRO SP1. > > When shutting down windows i am getting an error message > as follows (paraphrased since it lasts for 30 seconds and disappears > no matter what you do *&*$#$ ): > > Problem saving profile Documents and Settings/Start Menu/Programs/ > Accessoreis/Entertainment/Windows Media Player.lnk This is a feature that strikes some sites. Not everyone has this problem and we have so far not been able to isolate the cause. For what it is worth, I have set up systems where no problems have been encountered with NT/2K/XP profile hanlding, as well as systems where it is a problem that drives me nuts. In the latter case, nothing short of re-installation of the Win NT/2K/XP machines seems to solve the problem. It is my impression (not proven yet) that somethings gets messed up in the MS Windows client registry during the first time a roaming profile is handled and that the problem is a very subtle protocol handling issue that does not show any abnormalities during repetitive traces. We need to capture a trace of one instance of the offending incidence - and that seems like we are looking for a needle in a haystack. Another thing I found is that if the debug level is set to 0 when the client first negotiates roaming profile handling then no problems ensue, but if the debug level is set to 3 or more during first negotiation of roaming profile handling for a freshly installed Win2K/XP system, then about 2 out of 3 stations will experience a problem. That problem could be anything from: 1. Pop-up of notepad with the contents of what looks like a .ini file 2. Problems writing a workperfect related file belonging to MS Office 3. Failure to write .lnk files 4. Loss of a part of the Start Menu Again, it affects in all very few sites, but we know it happens. So, I know this does not help you to solve the issue, but it may help you to locate the cause, and that would help us all. Please note a few comments below, meant to be helpful. > > there are lots and lots of other files and settings that get saved without > a problem. i have tried it several times, with some different settings, and > it sometimes chokes on a different file, but never completes properly. > > here are some of the relevant settings from smb.conf: > domain logons = yes > domain master = yes > logon drive = Z: > logon script=logon.bat > logon home = \\mars.genwax.test\netlogon > logon path = \\mars.genwax.test\profiles\%U NetBIOS names are limited to 15 characters. Your netbios name is 16 characters long. This may cause name resolution problems in it's own right. Secondly, embedding of '.' (dots) in a NetBIOS name is a very bad practice. If your Win2K clients use DNS for name resolution and your DNS domain is thecompany.com, then the above NetBIOS names would map to" mars.genwax.test.thecompany.com This could result in DNS look-ups timing out an adding to timing critical issues that may contribute to your profile handling problem. > os level = 99 Why 99? An OS level of 33 is more than enough and setting it higher does not add anything. This is trivial so please ignore. My comment is just FYI. > preferred master = yes > security = user > [profiles] > path = /usr/local/samba/profiles > profile acls = yes > browseable = yes > read only = no > create mask = 0600 > directory mask = 0700 > > i have tried it with and without profile acls, same result. profiles > seem not to work at all without browseable = yes. I have tried both likewise. Same finding as yours. > i have checked and windows has created this directory > and it has proper ownership and permissions for the user to > write in it. Ditto. > > there is also a Windows Media Player.lnk that is correctly > written into the Programs directory > > i have level 10 logs, but they are too big to post here. And the bas news is, it probably contains nothing to contribute to a solution given my comments above. > > does anyone know what the problem is, or give me some > more hints on how to diagnose it? Hint: Use only freshly installed MS Win2K clients when you capture the samba logs. > is anyone out there successfully running 2.2.7 as a PDC > with windows XP PRO clients? is everything running > smoothly for production, or should i downgrade to using > the samba workgroup features only? Yes, I am! On my own network. No problems at all, but I installed a new one last week that had the profile handling problem and it too drove me nuts! - 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] samba win2k network path not found error 53
On Sat, 21 Dec 2002, shamu90 wrote: > Hi all, > > i installed the samba 2.2.2 for solaris 8 on SPARC server and trying to > connect it throught win2k machine but when i use the following command: > > net use \\sunmachine > > i get the following error message > > system error 53 has occured This means that your Win2K machine is unable to resolve the sunmachine name to it's IP address. Are you wusing WINS? If so, how is Samba configured? Where is your WINS server? If you are not using WINS, are both machines on the same sub-net? - John T. > > The network was path not found > > > sunmachine name is also entered in the lmhosts file. > > I really appreciate the quick reply. > > My smb.conf is attached > > Regards, > shakeel > -- John H Terpstra Email: [EMAIL PROTECTED] smb.conf Description: Binary data
[Samba] re: Security in samba file sharing
Dear Sir, I have a appliction developed using Microsoft Visual Foxpro (*.exe) store in REDHAT 8.0 Machine. 1) Can I set the control whereby the client (Windows) connected to Linux server (Samba) will only able to executed this exe file but client can't COPY this EXE file from Linux Server to the windows Machine ? regards UNG -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] help
I am trying to use samba and swat on rh7.0 and I have samba running and can log in from a w2k client but cannot from a win98/95 client also I can not get swat running from any client here are my configs below I followd the directions from the post.http://lists.samba.org/pipermail/samba-binaries/2001-May/000216.html but no luck [root@wsl2 samba]# testparmLoad smb config files from /etc/samba/smb.confCan't find include file /etc/samba/smb.conf.Processing section "[homes]"Processing section "[printers]"Processing section "[tmp]"Loaded services file OK.Press enter to see a dump of your service definitions security = USER encrypt passwords = Yes update encrypted = No allow trusted domains = Yes hosts equiv = min password length = 5 map to guest = Never null passwords = No password server = smb passwd file = /etc/samba/smbpasswd root directory = / passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = No username map = /etc/samba/smbusers password level = 0 username level = 0 unix password sync = Yes restrict anonymous = No use rhosts = No ssl = No ssl hosts = ssl hosts resign = ssl CA certDir = ssl CA certFile = ssl server cert = ssl server key = ssl client cert = ssl client key = ssl require clientcert = No ssl require servercert = No ssl ciphers = ssl version = ssl2or3 ssl compatibility = No debug level = 2 syslog = 1 syslog only = No log file = /var/log/samba/%m.log max log size = 0 debug timestamp = Yes debug hires timestamp = No debug pid = No debug uid = No protocol = NT1 read bmpx = No read raw = Yes write raw = Yes nt smb support = Yes nt pipe support = Yes nt acl support = Yes announce version = 4.2 announce as = NT max mux = 50 max xmit = 65535 name resolve order = wins lmhosts bcast max ttl = 259200 max wins ttl = 518400 min wins ttl = 21600 time server = No change notify timeout = 60 deadtime = 0 getwd cache = Yes keepalive = 300 lpq cache time = 10 max disk size = 0 max open files = 1 read prediction = No read size = 16384 shared mem size = 1048576 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 stat cache size = 50 load printers = Yes printcap name = /etc/printcap printer driver file = /etc/samba/printers.def strip dot = No character set = mangled stack = 50 stat cache = Yes domain groups = domain admin group = domain guest group = domain admin users = domain guest users = machine password timeout = 604800 add user script = delete user script = logon script = logon path = \\%N\%U\profile logon drive = logon home = \\%N\%U domain logons = No os level = 20 lm announce = Auto lm interval = 60 preferred master = No local master = Yes domain master = No browse list = Yes dns proxy = No wins proxy = No wins server = wins support = No wins hook = kernel oplocks = Yes ole locking compatibility = Yes oplock break wait time = 10 smbrun = /usr/bin/smbrun config file = auto services = lock directory = /var/lock/samba default service = message command = dfree command = valid chars = remote announce = 192.168.0.255 remote browse sync = socket address = 0.0.0.0 homedir map = auto.home time offset = 0 unix realname = No NIS homedir = No source environment = panic action =""> comment = path = revalidate = No username = guest account = nobody invalid users = valid users = admin users = read list = write list = force user = force group = writeable = No create mask = 0744 force create mode = 00 security mask = -1 force security mode = -1 directory mask = 0755 force directory mode = 00 directory security mask = -1 force directory security mode = -1 inherit permissions = No guest only = No guest ok = No only user = No hosts allow = 192.168.0. hosts deny = status = Yes max c
Re: [Samba] re: Security in samba file sharing
On Sun, 22 Dec 2002, UNG SING MING wrote: > Dear Sir, >I have a appliction developed using Microsoft Visual Foxpro > (*.exe) store in REDHAT 8.0 Machine. > >1) Can I set the control whereby the client (Windows) connected to > Linux server (Samba) will only able to executed > this exe file but client can't COPY this EXE file from Linux > Server to the windows Machine ? Under Unix/Linux, if you can read a file, then it can be copied. For an MS Windows user to be able to execute the file it must be capable of read access. This means there is no way to stop the Windows user from copying the file. Sorry. - 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] samba win2k network path not found error 53
shakeel, Can you ping with the IP address? Can you ping with the IP sunmachine? Your conf did not come right, or i am not get it. If you could paste it in. -Original Message- From: shamu90 [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 12:40 PM To: [EMAIL PROTECTED] Subject: [Samba] samba win2k network path not found error 53 Hi all, i installed the samba 2.2.2 for solaris 8 on SPARC server and trying to connect it throught win2k machine but when i use the following command: net use \\sunmachine i get the following error message system error 53 has occured The network was path not found sunmachine name is also entered in the lmhosts file. I really appreciate the quick reply. My smb.conf is attached Regards, shakeel -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba upgrade
> From: "Norman Zhang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: Fri, 20 Dec 2002 15:09:53 -0800 > Subject: [Samba] samba upgrade > > Hi, > > LM 9.0 (samba 2.2.6) can setup to authenticate using winbind. When I do > wbinfo -u, only > users of my NT domain is listed, > > e.g., > user_a > user_b > ... > > Now I upgrade to 2.2.7 using Mandrake update, and wbinfo -u, I see > > e.g., > MYDOMAIN\user_a It works here for me (testing agianst a samba3alpha21 DC). But I am not running the official update packages, I had 2.2.7-5mdk, and now using 2.2.7a-1mdk, which you can find at http:/ranger.dnsalias.com/mandrake/samba , new updates to 2.2.7a should be available soon. The parameter you need is "winbind use default domain = yes". I normally update via urpmi, instead of MandrakeUpdate, the update shouldn't have messed with your configuration ... Regards, Buchan -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Error Saving Certain Files in Profile from Win XP PRO
On Sat, 2002-12-21 at 12:51, John H Terpstra wrote: > about 2 out of 3 stations will experience a problem. That problem could be > anything from: > > 1. Pop-up of notepad with the contents of what looks like a .ini file I get this, and it's just plain weird. Notepad pops up, with every one of my three XP Pro users (using Samba 3.0alpha21-1 as PDC, and LDAP authentication). Here's the Notepad text I get: [.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787 I don't want to have to re-install XP *again* though :-( So, for now, I just close Notepad. Good to know I'm not alone with seeing this behaviour, though. -Gord -- Gordon Pritchard, P.Eng. | Institute of Electrical and Research Labs Manager| Electronics Engineers Simon Fraser University, Surrey | Quarter Century Wireless Ass'n [EMAIL PROTECTED] | Telephone Pioneers of America phone: 604.586.6186 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] help
What happens if you make: encrypt passwords = no Joel On Sat, Dec 21, 2002 at 02:17:15PM -0800, Shawn Henderson wrote: > I am trying to use samba and swat on rh7.0 > and I have samba running and can log in from a w2k client but cannot from a win98/95 >client also I can not get swat running from any client here are my configs below I >followd the directions from the >post.http://lists.samba.org/pipermail/samba-binaries/2001-May/000216.html but no luck > > [root@wsl2 samba]# testparm > Load smb config files from /etc/samba/smb.conf > Can't find include file /etc/samba/smb.conf. > Processing section "[homes]" > Processing section "[printers]" > Processing section "[tmp]" > Loaded services file OK. > Press enter to see a dump of your service definitions > security = USER > encrypt passwords = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] gcc 3.2 produces huge unstripped binaries compared to gcc2
On redhat 8.0, I compiled samba 2.2.7. With gcc-2.96 the -g unstripped binaries are about 15% the size of gcc 3.2... I've seen this before with other sambas...can someone explain this? I'm not sure this is a samba problem or a gcc problem (I've only seen this extreme behavior with samba). Marty Leisner [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Bug ID: 26222 - SMB Storm
Please include the following to bug ID: 26222 at: http://bugs.samba.org/?findid=26222 More checking shows that closing a search window on Windows in the middle of it's search doesn't stop the SMB activity. Network utilization remains high, and it seems as if the server is stuck searching. In an attempt to verify, I created a share on Win2k, and followed the same procedure: Server: Win2k Client: the same Win XP 1. Map a network drive to a directory that has about 4 gig of data. 2. Do a search for a file. 3. In the middle of searching, I close the search window, without pressing a stop button. 4. The session between WinXP and Win2k closes properly. Doing the same thing between WinXP client and Samba server (same as below), the connection remains open, even after I close the search window. Network utilization remains high. - ORIGINAL BUG REPORT FOLLOWS: - homes# /home/samba/sbin/smbd -V Version 2.2.6 homes# gcc -v Using builtin specs. gcc version 2.95.4 20020320 [FreeBSD] homes# uname -a FreeBSD homes.x.xxx 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu Dec 12 04:05:20 PST 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/DAN_QS i386 homes# Client: Windows XP Pro. UNder TCP/IP properties for that interface: Client for Micorosoft Networks File and Printer Sharing for Microsoft Networks Network Monitor Driver TCP/IP 1. Mapped a drive to the samba share (my home directory on samba) as Z: 2. Mapped "My Documents" to Z:, which is mapped to my home directory, defined in smb.conf as /home/$u 2. Did a "search for | files " from a Windows XP host. 3. Search started and then after a while, the SMB storm started. Network utilization jumped from <1% to >12%. 4. Using Ethereal, I collected 1 seconds of data, which yielded 2833 packets (all Samba related). 5. Windows was stuck searching on 1 large zipped file of html documents (file zie = 105 MB), at which time, the network utilization increased, and remained that way. 6. Then, did the following as root on the fileserver: homes# ps -aux | grep nmb root 3817 0.0 0.3 2832 1464 ?? Ss Sat02PM 0:12.83 /home/samba/sbin/nmbd -D root 12067 0.0 0.0 336 136 p0 RL+ 1:36PM 0:00.00 grep nmb homes# kill -HUP 3817 still storming.. homes# kill 3817 homes# ps -aux | grep nmb homes# ps -aux | grep smb win 12019 13.2 0.7 5320 3464 ?? S12:37PM 1:30.67 /home/samba/sbin/smbd -D root 3813 0.0 0.4 3788 1812 ?? Is Sat02PM 0:00.06 /home/samba/sbin/smbd -D homes# kill -HUP 12019 still storming.. homes# kill 12019 homes# ps -aux | grep smb root 12072 4.9 0.4 4440 2148 ?? S 1:37PM 0:00.47 /home/samba/sbin/smbd -D root 3813 0.0 0.4 3788 1812 ?? Ss Sat02PM 0:00.06 /home/samba/sbin/smbd -D homes# kill -HUP 3813 stopped storming.. homes# /home/samba/sbin/nmbd -D storming again... homes# ps -aux | grep nmb root 12076 0.0 0.3 2816 1576 ?? Ss1:37PM 0:00.01 /home/samba/sbin/nmbd -D homes# kill 12076 still storming... homes# ps -aux | grep smb win 12072 11.3 0.4 4176 2176 ?? S 1:37PM 0:07.06 /home/samba/sbin/smbd -D root 3813 0.0 0.4 3788 1848 ?? Is Sat02PM 0:00.06 /home/samba/sbin/smbd -D homes# kill -HUP 3813 still storming... homes# kill 3813 stopped... homes# /home/samba/sbin/smbd -D no storming now. homes# ps -aux | grep mbd root 12082 0.0 0.4 3788 2208 ?? Is1:39PM 0:00.00 /home/samba/sbin/smbd -D homes# /home/samba/sbin/nmbd -D homes# still ok... homes# now i am accessing a share...all back to normal. can access the share as usual. # Samba config file created using SWAT # from xpeecee.x.xxx (192.168.0.1) # Date: 2002/12/20 14:06:24 # Global parameters [global] workgroup = XXXNET netbios name = HOMES server string = homes interfaces = 192.168.0.14 bind interfaces only = Yes encrypt passwords = Yes preferred master = No local master = No domain master = No guest account = wide links = No [homes] comment = %u's home directory. path = /home/%u read only = No create mask = 0750 directory mask = 0750 browseable = No [users1] comment = Group directory - users1 path = /home/public/users1 valid users = @users1 read only = No create mask = 0770 security mask = 0770 directory mask = 0770 directory security mask = 0770 homes# set _ addsuffix argv() cwd /root dirstack/root echo_style bsd edit filec gid 0 group wheel history 100 home/root killring30 loginsh mail/var/mail/root owd path(/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin /root/bin) prompt homes# prompt2 %R? prompt3 CORRECT>%R (y|n|e|a)? savehist100 shell /bin/csh shlvl 1 status 0 tcsh
[Samba] weird stat()
hei everyone, I have a weird problem: if I do a # cd /somedir; stat somesubdir |grep Modify where /somedir is some directory on an SMB-mounted filesystem I get one datetime... but I I do: # cd /somedir; stat * |grep Modify for the same directory I get a Modify time which consistently differs by 1 second. As I'm writing a perl module to detect differences in a filesystem and rely on the mtime, I'm crawling up walls... I'm running RH 7.2 with a 2.4.18-18.7 kernel and samba 2.2.1a-4. and I've had this weird behaviour confirmed by someone on OPN #redhat running a RH 8.0 system with samba 2.2.7. wtf? thx - ekkis -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba