Re: [Samba] ACL from win2k doesn't work
On 10-10-01 05:56 AM, Mauro Destro - Impel Systems Srl wrote: I'm trying to setup a simple standalone Samba server in a win2k network without domain. I've followed some basic howto on the net, users can see shares and can save, modify and delete files and folders. My big problem is the security tab: i can't add any user because the screen where i can see users list ask me for a password. With an admin user and password (the same that i use to log into share) it tells something like "credentials supplied conflict with an existing set of credentials" If I don't insert user and password it tells "access denied". Also I can't modify existing acl. Logs are with debug level = 3 but no error is present. Thanks I'm not an expert, so someone may have to correct me. I'm fairly certain that if you expect a client to modify the acl of files on the server, said client will need access to the users on that server, and the only way a client can get a list of users from a server is to be a member of that server's domain. If you want to keep your network domain free, you will have to modify permissions on the server, not from the Windows client. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Prevent drag and drop within Samba shares
Alex de Vaal wrote: Hello, Is there a parameter in smb.conf that prevent users to use drag and drop within Samba shares? I know this is a Winedow$ function, but some users (hum, hum) use Explorer to open their files and accidentally they drag and drop sometimes a directory in the root of the share to another directory in the root of the share. My samba server is member of a native W2k3 server Active Directory and AD users are able to access the Samba shares. The share is configured like this in smb.conf: [grp] comment = Group Directory path = /data/grp valid users = @NH-HOTELES.COM\DEP_RHEL4_MEMBER read only = No inherit permissions = Yes hide unreadable = Yes The /data/grp directory looks like this: drwxrws--- 2 root NH-HOTELES\dep_rhel4_adm 4096 Sep 11 2006 adm drwxrws--- 4 root NH-HOTELES\dep_rhel4_fog 4096 Mar 9 2007 fog If a user is member of dep_rhel4_adm and dep_rhel4_fog he/she is able to drag and drop the fog directory into the adm directory. If it is not possible to configure this within smb.conf, can I do something on the Linux side? Thanx for any answer. Alex. I don't think there is any way for Samba to distinguish if a file operation initated by users drag and drop. What you need to do is change the behaviour of Windows Explorer on the problem desktops. Open Control Panel, Open Internet Explorer Settings, Security Tab, Local Intranet Zone, then click on the Custom button Scroll down until you find "Drag and drop or copy and paste files" and change from Enabled to prompt. You might also want to consider purchasing "AB Commander" for your users who find Explorer too cumbersome as the default file management app. AB allows much great customization of Drag-Drop behaviour. As for the Samba end, you can make the root folder read-only for a group of users, assuming they don't need to create new files/folders on the root of the share. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] VFAT filesystem and large files
[EMAIL PROTECTED] wrote: I found a post about this somewhere (I can't seem to find it again), which said this was a problem with the VFAT code, not samba. I was wondering, is this is the case? is the is a work-around? Basically, is there a way to write large files via samba to a VFAT USB drive? thanks Hmm, I'm sorry, I don't have any great insights into this problem... I was wondering, however, if you might have some error message in your dmesg log of the server when the error occurs? that might be helpful. btw, usually, and people say large files, they are talking about 2G, or at least several hundred MB. I think if this is supported at all, you should be getting more than your 1 KB :) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
OT: XFS eats Files, was: Re: [Samba] Possible Filesystem Corruption with Samba 3.0.25a (with XFS and LVM)
Asier Baranguán wrote: Jerome Haltom escribió: XFS eats files. Did you lose power or did your system crash? XFS is very good at losing files. Hmmm... I have two samba PDC running in a very faulty electrical connection, with power failures each week and XFS never hit/lose a file. This is a type of scenario where you really *don't* want to use XFS, because it *will* eat your files. Not by mysterious file system destroying corruption however. The issue is that XFS does not write Metadata updates in an ordered fashion.. That means a file's meta data can be updated before the data is flushed to disk. This will cause parts of files being written to be replace by binary nulls. It is especially problematic for software that copies a new file over an existing file without first doing an fsync to ascertain that the new file is flushed to disk before unlinking the old one. (KDE has been known to destroy it's configuration files this way, and dpgk on Debian systems can pretty much destroy the system.) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is anything special needed for connecting two linux computers?
Tomáš Hnyk wrote: I use the same smb.conf file on both machines: To start, you'll need to give each machine it's own netbios name. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbfs gzip/bzip2 "File too large"?
Rocky Zhou wrote: local file system, it is OK , but when I mount the smbfs: I'm assuming your doing this on Linux smbfs is deprecated and has a 2GB filesize limit. Use cifs instead. mount -t cifs //host/share /mnt/network -o username= -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: hosts allow on smb.conf
Daniel Sung wrote: Hi, I have some query about the samba security, we are trying to setup remote map drive for vpn client, since this kind of client connection which using different IP address, the only way we can do is to set 'hosts allow' to nothing. If your VPN setup is anything like those I'm familiar with, your clients should be connecting with a 'virtual' tunneled IP address. That's the IP you need hosts allow to allow, not the actual Internet address. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] password alignment with /etc/passwd
stephen mulcahy wrote: Hi Markus, Markus Franke wrote: well it's actually very close to what I want. The problem is that the existing user passwords should be preserved. I don't want to create new passwords for each user. Is it somehow possible to convert the encoded password string in /etc/passwd to /etc/samba/smbpasswd? As far as I know this isn't possible ... but I'm not a samba expert. I'd be delighted to find out otherwise. The encoded passwords can't be moved over directly, to the best of my knowledge. I've never tried this before, but if I needed to so something like this, I would try attacking my my /etc/passwd with John the Ripper to get plaintext of most of the passowrds, then feed those into smbpasswd (by script if theres enough to warrant it.) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 98 caching too much
Daniel O'Connor wrote: They were modifying the file on the unix side "behind Samba's back" so of course the caching was a problem. I'm not sure why it didn't show up in XP systems though. Since your hosting this on BSD, which, to the best of my knowledge, doesn't support kernel oplocks, you probably *really* want to disable those if files are being modified in such a way. There's much potential for all kinds of things to go horribly wrong otherwise. oplocks = no should do it. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 98 caching too much
Daniel O'Connor wrote: I don't believe the person is modifying the file behind Samba's back. They're using Windows to edit the file so it should work fine. Then you'll have to explain this in more detail: > however we find that if the file is modified on the Unix side the Win98 box doesn't notice. How exactly is it the file is being modified on the unix side? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 98 caching too much
Daniel O'Connor wrote: Hi, We have an old Win98 box at work that is used for programming GALs and EEPROMs, however we find that if the file is modified on the Unix side the Win98 box doesn't notice. This is rather annoying when you are iterating a design as you can imagine! One work around is to open a DOS box and 'type' the file - this seems to force it to re-get the file. You didn't specify what kind of Unix your "Unix Side" is. There's some special kernel magic required for Unix Kernel and Oplocks to co-exist peacefully. I would guess this is what your missing. Asside from trying to get that special magic sauce working, your best bet will be to either disable oplocks entirely (not a bad idea overall) *or* mount the smb/cifs file system on the unix side and modify through Samba. Oplocks (Opportunistic Locks) means that if the client is the only one accessing a file, it caches the data locally and re-uploads the file at a later time. If a second client needs to access the same file, the server will send a request to the first client demanding that it flushes the file and relinquishes the exclusive lock... By modifying the file directly, you are by-passing that mechanism. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] File Locking
On Thu, 2007-02-22 at 09:31 -0500, Alan Cheers wrote: > Hi- > > I'm running Samba on OpenSuse10.2 and have shared some drives with > Windows clients. The clients are accessing a bunch of MS Word files on > the server and we have experienced a lot of weird file locking > problems. > > Sometimes MS Word will open the file as Read-Only which is creating a > bit of a headache. I would like to turn off file locking completely on > the Samba side and was wondering what I needed to add to the .conf > file. > > Is this enough? > > oplocks = No > level2 oplocks = No > > > Also, if I turn off the file locking on Samba and not on the clients > via the registry, what kind of behaviour might I expect? > No, oplocks are only a performance tweak, but turning them off will not disable file locking. As per the the smb.conf man file, (and though I hesitate to even tell you this.) locking = no is what you are asking for. However, I caution that a "Minor Headache" is nothing compared to the trouble you are asking for with this approach. locking=no should never be used on a filesystem that isn't read-only to begin with! It would be better, rather, to try to discover the source of your woe. Maybe, when you find a workstation that refuses to open a file read-write, you can try to run smbstatus on the server to find which computer is keeping a lock on that file. > Thanks for any input. > > -Alan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Files mysteriously are limited around 2GB
On Fri, Nov 24, 2006 at 01:15:31PM -0500, Michael Lueck wrote: > All technologies involved I have well tested, just that I have not > assembled them together in this combination before WITH THE EXCEPTION OF > SMBFS. > > Debian Sarge OS > Kernel 2.6.12-1-k7 > Samba from samba.org 3.0.23d > > Backing up to a USB2 attached 500GB drive, formatted NTFS, on Win2K SP4. > > Mount the share using SMBFS, then proceed to backup using XFSDump as I run > on XFS FS. No mystery here. smbfs is depricated and limited to 2GB. (And, btw, part of the Linux kernel, not Samba). Use cifs instead. mount -t cifs //host/share /mnt/point -o username=user, uid=localuser -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
OT: Re: [Samba] Researching possible windows solutions...
On Wed, Oct 04, 2006 at 12:12:46PM -0400, Aaron Kincer wrote: > The EULA for XP Home explicitly states a maximum of five (5) users to > connect for file/print sharing services. XP Professional is ten (10). > This is software independent. Installing a Windows version of Samba (if > one exists now or in the future) would not provide you a legal way > around this limit even if it does provide a technical one. > > Bottom line is that legal validity notwithstanding, you can't use Samba > as a bypass for these limits. I find it deliciously ironic that Windows Networking got a huge head start by bypassing Novell Client Access limiations. (ie, a single Windows Server would connect to the Novell Server, and re-share the data to all the clients on the network. MS was boldly advertising this tactict.) I wonder if there's traction to do the same thing with Samba :) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] corrupt files on samba server
On Mon, Jul 10, 2006 at 03:29:20PM +0200, [EMAIL PROTECTED] wrote: > Hello all, > > I've got a strange problem on the samba servers here at my > workingplace. The problem is that we have some files on these machines > which seem to be corrupt. Mostly the corrupt files are images, excel > cheets and sometimes Word documents. We have no idea why these files > become corrupt. We have tested some things: > We copied a whole folder to the samba server. The result was that some > of the files inside are corrupt now on the server. In the next step we > copied not the whole folder, but one or two specific files from this > folder to the samba server. The result was: The files wasn't corrupt. > We have no idea why. > The real problem is, that we got know more and more users who tell us > that some of there files are corrupt. We don't know what we should > tell them, we don't know if the problem is on our side or on user side Can you define corrupt? If you copy your folder to the server, then copy back from the server to the workstation, do you still have problems with those files? Does the file size change? (are they receiving more or fewer bytes?),, did you try to compare MD5 Sums? If the files really are becomming corrupt somehow, did you check Dmesg on your server to make sure you aren't having serious hardware problems on that end? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Security concerns?
On Sun, Feb 12, 2006 at 12:32:08PM -0600, Anthony Messina wrote: > Steve Freeman wrote: > >Thank you Anthony. The following is the output > > > >--- > > > >Chain FORWARD (policy DROP) > >num target prot opt source destination > >1QUEUE all -- anywhere anywhere > >2ACCEPT all -- anywhere anywhere > > > >Chain INPUT (policy DROP) > >num target prot opt source destination > >1QUEUE all -- anywhere anywhere > >2ACCEPT all -- anywhere anywhere(NB - > >this should refer to loopback) Maybe we'd better try the iptables -L -v to verify the Loopback rule. And as Anthony pointed out, I have no idea what QUEUE is doing, but that's where all your packets are going before reaching any other rule.. .(QUEUE might well in fact be the only filter being applied. whatever that does.) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Security concerns?
On Sun, Feb 12, 2006 at 12:28:01AM +, Steve Freeman wrote: > Hi, > > Cured the kernel problem, I now get a very good service from samba. > > However, in my /var/log/samba directory, there are a lot of public IP > attempts to gain access. All are denied, however, why are they getting past > iptables? At a guess, I would say they are misconfigured somehow > > My INPUT policy is set to DROP, and although I allow certain ports, none of > them are 139 or similar. > > Also, my hosts allow is set to my local subnet (hence their denial). > > Any ideas? > Until my crystal ball comes back from the shop, I'll need a little more to go on, such as the output of iptables -L. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] GPL question regarding distribution
On Sat, Feb 11, 2006 at 02:47:11PM +0100, Henrik Zagerholm wrote: > Hi list, > I've read the GPL and have som questions regarding incorporating GPL > tools in other software. > Lets say that I make an Webbapplication that on some occasions uses a > GPL tool i.e nmblookup or rpcclient how much of my code do I need to > release under the GPL? Only the code interacting with the tool or all > of it (graphics, cgi scripts, designs etc etc)? > If that is the case how do you handle i.e designs that you have > bought as a one use licens? IANL Assuming your are just forking the above mentioned applications, and are therefore neither copying the code nor 'linking', then your application is not required to be GPL. If you distribute copies of those programs with your app, you must include a copy of the GPL license as well as a method for recipents to get source (it's probably easier just to include the sources for them.) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How to create a linux to linux Samba share?
On Sat, Feb 04, 2006 at 12:52:30PM -0600, Larry Alkoff wrote: > I am trying to mount a share on a linyx server using a mimimal smb.conf > as suggested in the Samba HOWTO. > > I do a lot samba to Windows machine but this is the first time I have > tried to access a linux share from linux. > > Nmbd and smbd are running on both machines > and both hostnames are listed in the respective /etc/smbshares. > > When I try to mount the share I get the message below but nothing amiss > in /var/log/*: > > The error response: > Got a positive name query response from 127.0.0.1 ( 192.168.0.4 ) > Connecting to 192.168.0.4 at port 445 > Anonymous login successful > 16443: tree connect failed: ERRDOS - ERRnoaccess (Access denied.) > SMB connection failed > A couple things. If this pc is only meant to be a client, you need neither smbd nor nmbd to be running. You did not tell us what command you are using to mount the share, however, I can see from the response that you are connecting localhost... That is, your not connecting to the other computer, but are trying to mount a share hosted on the same pc. Annonymous login won't work with the default Samba security=server. You'll need to provide a username/password, and that username will have to exist on the samba server you wish to connect to. Since you already have windows to samba working, (I'm assuming samba is the server is in this case?) this should already be configured on your server, you just need to mount it. Start with smbclient to figure out the syntax. Example: smbclient //servername/sharename -U username -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Reply-To header in this list
You did not see my first reply on the list because I did not "reply to all", my intent being to keep off topic noise *off* the list. On Sat, Feb 05, 2005 at 09:22:12PM +0300, Alexander Zubkov wrote: > >Because this list is properly configured to not mangle headers. > >Reply-To: is meant to be set by the sending mail agent in case > >the author wants replies mailed to a different address. There's > >a whole essay discussing the issue floating out there somewhere.. > >I'm too lazy to dig up the link, but a google search should find > >it quickly. > > You whant to say, that I need to set "Reply-To" manually each time I > send e-mail to this list? Because it is bad, when people replies goes > personally and not to list. Some of them sent it to the list by CC, but > I haven't seen them at list - may be it rejecting them. > I'm not here to debate. I newbie in this list, but other lists I use > have this feature and I was thinking that this is default. :) > > > Alexander Zubkov > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba, the GPL and SCO
Since IBM and friends are doing a fine job of reducing SCOX to a pile of rubble, it hardly seems worth the karma to stress over whether or not SCOX is distributing other projects. Besides, making public statements about the GPL (or your lease agreement, for that matter) don't constitute violation of that agreement. On Fri, Aug 27, 2004 at 09:46:13AM -0700, August Zajonc wrote: > For those of you following the IBM vs SCO legal case, you have probably > noticed that SCO has said that the GPL is invalid. IBM appears to make > the reasonable case that you can't say something is void, and then rely > on it. INAL, but why is SCO allowed to distribute Samba without agreeing > to the GPL? That's like buying a car, then claiming the sale agreement > is bogus but you still want to keep the car. You can't have it both ways. > > > > Quick clipping from the case: > > > According to SCO, the GPL (and thus also the LGPL) "is unenforceable, > void and/or voidable" (Ex. 2 at 20 (Sixth Affirmative Defense)); > "violates the U.S. Constitution, together with copyright, antitrust and > export control laws" (Ex. 25 (Amend. Ans. to Amend. Countercls.) at 16 > (Eighth Affirmative Defense); Ex. 23 at 213:15-20); is unenforceable or > inapplicable in this litigation (Ex. 2 ?? 24, 28, 155, 157); and is > preempted by federal copyright law and unenforceable under state law. > (Ex. 22 (SCO's Resp. to IBM's Third Set of Interrogatories) at 38-39.) > SCO also claims all rights to enforce the GPL (and thus also the LGPL) > are waived and all are estopped from enforcing the GPL. (Ex. 2 at 20 > (Seventh Affirmative Defense); Ex. 23 at 213:14-215:7.) > > As a result, SCO cannot here rely on the GPL or the LGPL (which is > identical to the GPL insofar as relevant here) as a grant of license or > permission to copy and distribute the IBM Copyrighted Works. > > > -- > 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] security hole in Samba
Sounds to me as though Windows is simply caching a successful password, and gives it a try. Not a Samba security hole at all. On Tue, Aug 24, 2004 at 10:44:21AM +0300, wimax wrote: > Hi, security. > > I am install Debian woody and Samba 2.2.3a-13, > but this bugs Is present in Samba 3.0. > > I am add two users in system: > > "user1 psw1" > "user2 psw2" > At Samba the same passwords. > (Both users are included into group "mtobackup" (on a folder > "/home/MTOBackUp/122" > It is established g+s i.e.: Mode 42770 group-mtobackup)) > > Sequence actions: > 1. We enter in Windows 2000 AS SP4 under "user1 psw1" > 2. "net use k: \\ monster\mtobackup122 psw2 user1" - speaks not The correct password > 3. "net use k: \\ monster\mtobackup122 psw1 user1" - speaks a disk It is successfully connected > 4. We disconnect disk "k" > 5. On desktop on a label " My Computer " we press the right button of a mousy and > We press "Explorer" we look through a network, the domain "mto", in it{him} we search for a computer > "monster", we look through to a sharing "/home/MTOBackUp/122". We close Explorer. > > 6. "net use k: \\ monster\mtobackup122 psw2 user1" Speaks a disk it is successfully connected > 7. "net use l: \\ monster\mtobackup122 psw1 user1" Speaks a disk it is successfully connected > > > If item{point} 5. to not do{make} - All perfectly works!!! > > Problems: > There is an opportunity of connection of the user under different passwords > > If operational system Windows 95(not Windows 2000), that item{point} 5 to do{make} it is not necessary at all > (the opportunity of connection of the user under different passwords > works without item{point} 5). > > > I WAIT FOR THE ANSWER :) > > > > -- > wimax mailto:[EMAIL PROTECTED] > -- > 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] Read Write by everyone over network
The shared folder in Linux needs to be writable by the same user you are loggin in as under Samba. In a pinch, as the super user, try: chmod uog+rwx /shared or: chmod 777 /shared To grant all permissions to all users for that folder. You may want to pursue resources on Unix file system permissions and security for ideas on how to better do this in your enviroment (without leaving the directory wide open) On Fri, Jul 30, 2004 at 02:31:03PM +0100, Robin Wilson wrote: > Hi > > I have managed to successfully set samba up so that I can access my windows > shares from linux and my linux shares from windows, but, when I access my > linux shares from windows I cannot write to them. > > Here is an excerpt from my smb.conf file: > > [shared] > comment = Shared directory on Linux box > path = /shared > guest ok = yes > writeable = yes > > Why doesn't this work? > > What should I be doing instead? > > Thanks in advance > > Robin > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.732 / Virus Database: 486 - Release Date: 30/07/04 > > -- > 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] best filesystem choice for samba (was: new user cannot logon)
On Thu, Jul 08, 2004 at 09:26:23AM -0400, Adam Tauno WIlliams wrote: > > I need quotas and would like acls, but most of all want a fast reliable > > system. > > Sounds like XFS. > > > Reports indicate that ext2/3 is particularly slow, especially for long file > > listings and many people > > Yep, also seems to get slower over time and just generally slower when > it starts to get past 50% full. > > > complain have corruption issues with reiser (nut > > maybe that's RedHat only). > > Reiserfs, ick! I'd want a raise before I used that, many horror > stories. I can find horror stories for just about anything, it doesn't mean much. Reiserfs is perfectly stable, well supported and provides excellent performance. If you want quotas and ACLS, then yes, XFS is the way to go However, if you want a filesystem that can do what none other can in regards to huge numbers of small files, ReiserFS is the best choice, at the expense of CPU time. If you prefer unparalled support and long tested stability, then EXT3 is a good choice. It's worth noting that EXT3 is the only FS above that can journal data as well as meta data. (Arguably, this feature likely isn't as useful as one would think, but it's worth considering) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Newbie smb.conf question
Unix systems have a default permission.. On most system, the default is User: Read-Write Group: Read Other: Read Create mode is used to remove permissions. That is, any permission that is not in create mode gets removed. The default create mode is: User: Read-Write Group: None Other: Note Therefore, any file saved will only have user Read Write permissions. However, is you created a Create mode like this: User: Read-Write Group: Read-Write Other: None The result would be a file with these permissions: User: Read-Write Group: Read Other: None Even though create mode allowed a group write permission, the default unix permissions do not include it. Force Create Mode, however, will add permissions over and above the defaults. Force Create Mode is used to add permissions.. So, In summary Create mode will restrict file permissions. Force Create mode will give permissiosn. It should be noted, that Force Create Mode does not remove permission.. So, in as an Example Create Mode: User: Read-Write Group: Read Other: Read Force Create Mode: User: Read Group: None Other: None The result will be files that are: User: Read Write Group: Read Other: Read The only effect Force Create mode has is ensuring that the User alwasys has Read Permission, regardless of what the other parameters say. It does not remove permissions that were otherwise granted. If you always want Force Create Mode to dictate and force exactly the permissions you want, Change Create Mode to 000. That will strip out any default permissions, and only those that are then granted by Force create mode will apply. On Fri, Jun 18, 2004 at 09:13:22AM -0400, [EMAIL PROTECTED] wrote: >Excuse my ignorance please, and the simple nature of this questions...but > would someone explain to me the difference between the "create mode" and > "force create mode" parameters in the smb.conf file? When would "create > mode" *not* be forced? > > Thanks! > > Matthew > -- > 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] How to use the "profiles" - command ?
This isn't a 'keep it simple' answer I'm afraid, but it sounds to me as though your system is trying to look up the IP address of your internal machines by DNS on an Internet only DNS server. I think there are configuration option in Samba now that prevent this, but I'm not sure what they are. On Fri, Jun 18, 2004 at 12:31:11PM +0200, Arno Seidel wrote: > Hi, > > hm just try the ntuser.dat in the profile of the user > > But the profiles does only support windows nt not 2k or xp (says the man > page) > > > -Urspr?ngliche Nachricht- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Auftrag von > > Dirk Hennrichs > > Gesendet: Freitag, 18. Juni 2004 12:08 > > An: [EMAIL PROTECTED] > > Betreff: AW: [Samba] How to use the "profiles" - command ? > > > > > > Which profilefile > > Sorry, I'm frustrated, I have absolutely no idea ;-(( > > > > > > -Urspr?ngliche Nachricht- > > Von: Arno Seidel [mailto:[EMAIL PROTECTED] > > Gesendet: Freitag, 18. Juni 2004 12:00 > > An: Dirk Hennrichs; [EMAIL PROTECTED] > > Betreff: AW: [Samba] How to use the "profiles" - command ? > > > > > > Hi, > > > > hm you forgot the file to change > > > > man profiles or profiles --usage > > > > should help > > > > nfs-1:/tmp/postfix-2.1.3 # profiles --usage > > Usage: [-?v] [--usage] [-c ARG] [-n ARG] > > nfs-1:/tmp/postfix-2.1.3 # > > > > till then > > arno > > > > > -Ursprungliche Nachricht- > > > Von: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Auftrag > > > von Dirk Hennrichs > > > Gesendet: Freitag, 18. Juni 2004 11:37 > > > An: [EMAIL PROTECTED] > > > Betreff: [Samba] How to use the "profiles" - command ? > > > > > > > > > One problem when migrating from an NT-PDC to a 3.0.4SAMBA-PDC, > > > the user ABC > > > has different SID's. So I want to change the SID of user ABC on the > > > SAMBA-PDC with the profiles-command. > > > > > > Suggest: > > > > > > User ABC in Domain NT has SID S-1-5-21-1234 > > > User ABC in Domain LINUX has SID S-1-5-21-9876 > > > > > > So, on the Samba-Server I did: > > > > > > Profiles -c S-1-5-21-9876 -n S-1-5-21-1234 > > > > > > I get the error message: > > > Could not open (null): Bad address > > > > > > > > > Can somebody tell me how to use the profiles-command > > > > > > > > > > > > Thanks a lot > > > Dirk > > > > > > -- > > > 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 > > > > > > > -- > 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 just Slow with AutoCad?
On Wed, Jun 09, 2004 at 10:18:22AM -0600, Brian Merrell wrote: > > > > I tried timing the time it takes to save. It takes the older machine > about > > 1.25 seconds > > to save a 606KB drawing and it takes ~3 seconds for the new "fancy" > machine. > > > > Could this be due to ReiserFS? > > In my experience, and by every benchmark measure I've seen so far, ReiserFS performance is far superior to ext3. The problem I mentioned that gets fixed with nolargeio option is a bizare abnomally. Reportedly, it affects older versions of Kmail and the Linux version of NeverWinter Nights. I thought it would be worth trying. Since that was obviously not the problem, I'll let the real Samba experts take back the floor :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
Hi. Does your new system use ReiserFS? When these ~20 second delays happen, can you see if there's a spike of System CPU time useage on the server? I've not heard of it happening over a network share, but some "poorly behaved" applications can trigger a 'feature', (actually, a performance optimization) with ReiserFS on Newer (2.6) kernels that will make the kernel spin it's wheels for a number of seconds. If this might be the case for you, you can disable it by mounting a ReiserFS volume with a nolargeio=1 option. (If you want to test this, it appears to to be safe to remount. That is, mount /home -o remount,nolargeio=1 As an example.) On Tue, Jun 08, 2004 at 12:26:25PM -0600, Brian Merrell wrote: > I just came across some very interesting information. > > We samba running on an old HP PIII 900. I just plugged it back in and we > opened some backup files we > had on it. It works just fine with AutoCad. > > Linux gatekeeper 2.4.26 #5 Mon Apr 19 07:15:24 MDT 2004 i686 Pentium III > (Coppermine) GenuineIntel GNU/Linux > > Samba Version 2.2.8a > > Our new machine is a Dual Opteron machine. > > Linux fileserv 2.6.5-gentoo-r1 #3 Sat May 29 13:32:03 MDT 2004 x86_64 5 > GNU/Linux > > Samba Version Version 3.0.2a > > The difference is that I need the hard drive space on our new server versus > the 40 gigs we have on the older machine. > > The smb.conf file on the old machine is very very basic: > > [global] > > workgroup = TRISTATE > security = SHARE > > [backup] > > path = /usr/backup > writeable = Yes > guest ok = Yes > > > > > - Original Message - > From: "Brian Merrell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, June 08, 2004 12:07 PM > Subject: Re: [Samba] Samba just Slow with AutoCad? > > > > Terry, Thanks a lot for your reply. We're really trying to solve this > > problem. > > > > > > > Brian, > > > > > > > > > 1. Which release of AutoCAD are you using? > > > > Autodesk Land Desktop 2004 > > 2004.0.0 > > Service Pack 1 > > > > > > > > 2. Are the support files for AutoCAD on the client or the server? > > > > > > > On the clients. > > > > > 3. Are you using cups? > > > > > > > No. > > > > > 4. Is it true that your plotter settings are not being saved with the > > > drawing? Was this true when you were using a windows server? > > > > > > > They are being saved with the drawings. They were also being saved with > > the drawings on the windows server. (the windows server was actually just > > another client that shared it's HD). > > > > > 5. Normally when AutoCAD is opening the print dialog box in an > existing > > > drawing, it is trying to find the printer that was used by the last > > session > > > of Autocad. If it can't find that printer, it produces the printer > "none". > > > Are you loading your printers from the server such that each client has > > the > > > identical printer name? > > > > > > > First of all, you're right. The print dialog only produces the printer > > "none" when it's a new drawing. > > Otherwise, it saves the print settings. But we still experience a delay > > independant of whether we > > are printing from a new drawing or an existing one. The printers aren't > on > > the server, and we do > > not have identical printer name. > > > > > 6. Are the network directories being used by AutoCAD the same as being > > > used by the other programs that don't exhibit the long save times? > > > > > > > No. AutoCad drawings are stored on a seperate harddrive and a different > > directory. However, > > after reading this e-mail I moved a TIF image to the autocad directory and > > opened them from > > Adobe Photoshop. I then modified and saved the drawing and there was no > > delay. There was also no > > delay for opening a print dialog. The problem continues to be only with > > AutoCad. > > > > > > > We use AutoCAD 2000, 2002, & 2004 with RH E3.0 and Samba 3.0.2-6.3E with > > no > > > delays in saving or printing and have achieved better performance than > the > > > previous W2k server. With a little more information we might be able to > > > assist in finding the bottleneck. > > > > > > Terry > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On > > Behalf > > > Of Bob Turner > > > Sent: Tuesday, June 08, 2004 10:45 AM > > > To: 'Brian Merrell'; [EMAIL PROTECTED] > > > Subject: RE: [Samba] Samba just Slow with AutoCad? > > > > > > Brian > > > > > > I might suggest a couple of setting changes on your XP machines: > > > > > > 1) Open services and stop/disable Web Client > > > 2) Open windows explorer, go to tools>folder options, click the View > tab, > > > and uncheck the "Automatically search for network folders and printers" > > > > > > (I'm assuming Windows XP Professional on these settings) > > > > > > Restart and try your printers again. > > > > > > Bob > > > > > > > > > > > > -Original Message- > > > From: Brian Merrell [mailto:[EMAIL PROTECTED] > > > Sent:
Re: [Samba] file limits using SAMBA
>From personal experience, I may suggest, however if you have over 10,000 files in a single directory, that you make certain your Filesystem can handle the number of files efficiently. In Linux, for example, I think ReiserFS is the best candidate for this kind of application. On Thu, May 27, 2004 at 08:36:36AM -0700, Jeremy Allison wrote: > On Thu, May 27, 2004 at 11:09:35AM +0800, Cameron, Terry wrote: > > Is there a limit to the number of files that can be seen through SAMBA > > Shares. We currently have approximately 120,000 files (and growing) > > under business related shares under our current Pathworks environment. > > With being in the process of transferring over to SAMBA we need to > > ensure that all the files are viewable. > > > > It may be advisable to split these shares across several disks on our > > UNIX environment. Any suggestions would be beneficial. > > No, there are no limits to the number of files that can be seen > by Samba, although path lengths are limited to 1024 bytes and > directory component lengths are limited to 256 bytes. > > Jeremy. > -- > 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] File already in use?
I would start with smbstatus to see what workstation/user has the file open. On Wed, May 26, 2004 at 04:12:19PM +0200, Andreas Haumer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi! > > Chris Garrigues wrote: > > Hi, > > > > I'm running 3.0.4 and have had several reports from users both using Office > > and Lotus where the application tells them that the file is already in use > > when we know it isn't. > > > We seem to have similar problems! > (see my mail with subject "Share violation on file error" > from yesterday) > > So far I've got no reply from the list. > I tried to play a little bit with oplock configurations > (disable oplocks for some file pattern, completely disable > oplocks for the shares) but it doesn't seem to help... :-( > > I don't know what's going on. > Currently I suspect the virus scanners doing some > strange things, but I have no prove for this theory. > > - - andreas > > - -- > Andreas Haumer | mailto:[EMAIL PROTECTED] > *x Software + Systeme | http://www.xss.co.at/ > Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0 > A-1100 Vienna, Austria | Fax: +43-1-6060114-71 > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.1 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD4DBQFAtKW4xJmyeGcXPhERAv4sAJd366+BTIcEjqpQz1SvwmMW4Ww0AKCereTk > P/OOy37fvaEqV9iI8AxMjw== > =t8MI > -END PGP SIGNATURE- > > -- > 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] BROWSING SUCKS
You might want to consider enabling and configurins WINS for your network, rather than rely on the serendipity of broadcast browsing. On a more practical note, I've had similar problems when some of the Windows Clients installed Norton Internet Security... one computer with the Internet firewall would, for reasons unknown, interfere with windows network browsing for the whole network. On Thu, Apr 15, 2004 at 11:21:04AM -0400, Saad Ahmed wrote: > Hi guys, > I got this wired situation. I would appreciate if someone of you could help. > > > NETWORK: > We have a windows based network of approx 25 computers (Win 98, Win 2000, in NT, Win > XP (both Pro and Home). We have a Samba server running on RH9 which acts as the > domain controller and master browser for the entire network (OS level = 70) > > PROBLEM: > SOMETIMES, in the windows, when I open NETWORKING NEIGHBOURHOOD, I just see one or > two computers, MANTA1 (SAMBA Server) and some other computer. When I restart the > Samba Services apparently everything starts to work fine again. I tried changing OS > Level from 65 to 70 but still no success. Since a few days, the problem seems to > happen every 24 hours and I have to restart the services everyday. Previously it > used to occur every 7 days or so. > > Thanks. > Saad. > -- > 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] Why does a W2K (pro) client do more than it is asked to do?
Why W2k is trying to connect as guest is anyone's guess... But regardless, your problems will probably go away once you have a valid guest account... Find out what the Unix user for your guest account is, (Samba defaults to nobody) and set the guest accout option in smb.conf. On Thu, Mar 04, 2004 at 01:53:55PM -0800, Linux Lover wrote: > Desperate to find out why connecting to a samba > share(on an AIX server) from W2K is so slow, I tried > connecting to the same share from a Linux box, using > smbclient: > > smbclient aixserver\\sharedir$ -U lynn > > The results were amazing. The connection was so MUCH > FASTER then connecting from a W2K (pro) workstation: > > \\aixserver\sharedir$ (in the Start|Run edit box) > > > When I examined the samba log files on the server, I > could see why. > > The log file for the Linux client contained a single > entry: > > [2004/02/23 11:55:35, 1] > smbd/service.c:make_connection(636) linuxbox > (192.168.0.4) connect to service sharedir$ as user > lynn (uid=21776, gid=1) (pid 125438) > > So clean, so elegant, so beautiful! :) > > OTOH, the log file for the W2K client contained an > entry similar to the above, but was immediately > followed by about 30 messages of the form: > > [2004/02/23 11:59:03, 0] smbd/password.c:user_ok(683) > rejected user nobody:3004-302 Your account has > expired; please see the system administrator. > > Now... my question: Why? What does the W2K client do > that triggers this barrage of rejected authentications > of a user 'nobody' (that is clearly not allowed to > enter)? > > More importantly, is there a way to configure EITHER > the W2K client or the Samba server (or both) to not > waste time on these unallowed accesses? > > Since smbclient produces such a clean entry, I would > assume the fix must be on the client side (W2K) only. > But I would take any advice. :) > > Thanks in advance, > Lynn (Samba 2.2.8a on AIX 5.1) > > > __ > Do you Yahoo!? > Yahoo! Search - Find what you?re looking for faster > http://search.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
Re: [Samba] CUPS and Samba
You want security = share in your global section. This is probably a bad idea if your network interface Samba will be listening too will be exposed to an untrusted network. On Thu, Mar 04, 2004 at 12:36:51PM -0500, [EMAIL PROTECTED] wrote: > > Hi all, > > > I'm running Debian/stable with Samba 3.0.2a and Cups 1.1.20final-12 > both from backports.org and have the following smb.conf file: > > [global] >workgroup = PermaCorp >server string = %h server (Samba %v) > >## Printing ## >load printers = yes >printing = cups >printcap name = cups > > Debugging/Accounting >log level = 3 >log file = /var/log/samba/log.%m >max log size = 1000 >syslog = 0 >panic action = /usr/share/samba/panic-action %d > > [printers] >comment = All Printers >path = /tmp >browseable = no >printable = yes >public = yes >writable = no >guest ok = yes > > [print$] > comment = Printer Drivers > path = /var/lib/samba/printers > browseable = yes > read only = yes > guest ok = yes > > > Yet I can't seem to browse any printers on my Samba server? > The W2K system I'm using can see the Samba system, but gets asked for > a username and password when I try to browse it's "shares". > > I have CUPS installed, and Samba is compiled against libcups.so.2: > > # ldd `which smbd` | grep cups > libcups.so.2 => /usr/lib/libcups.so.2 (0x400c5000) > > All I want to do is share out my printers from the CUPS server to > Windows. There's no need for passwords or accounts, etc. There's no > reason to lock out 'guest', etc. as I'm *only* sharing printers. > > Thanks, > -- > Seeya, > Paul > > GPG Key fingerprint = 1660 FECC 5D21 D286 F853 E808 BB07 9239 53F1 28EE > >If you're not having fun, you're not doing it right! > > > -- > 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] [OT] Fyodor terminates SCO nmap rights -- how about Samba?
As much as I would like to see a slew of copyright infringement claims get filed against SCO, from my reading of the GPL, violations of the license only terminates your right to distribute the software which was violated. AFAIK, the only GPL software who's license SCO has arguably violated, to date, is Linux. Making derogatory comments about the GPL to the press does not violate the terms of the license. On Fri, Feb 27, 2004 at 02:28:09PM -0800, Michael Brown wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > As you all may know Fyodor of nmap fame has terminated SCO's > rights to distribute namp with its products. See: > > http://www.smh.com.au/articles/2004/02/27/1077676955381.html > > I know this is off-topic, but I am interested in opinions > on the subject of SCO using Samba in it's products while they declare > the GPL is unconstitutional and invalid. In Darl McBride's recent speech at > Harvard Law School, he was asked in the Q&A period about SCO's use of > Samba and the GPL - to which he replied something to the effect (I am > paraphrasing here) of "Samba doesn't infringe on our IP to our knowledge, so we > still contribute (??) to the Samba project and distribute Samba with our > products" Is this hypocrisy? I welcome opinions of the members of the list. > > Sorry if this is not the right forum for this, but I am interested in the > opinions of the Samba community on this issue. > > Michael Brown > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFAP8R5yEfMczxaHdsRApcLAJ94yu7LuXGL9saMm8Gv6J2ne5HWIgCfUuCs > LPi5uElkzBbjLUC6TBjIZrE= > =rhK9 > -END PGP SIGNATURE- > -- > 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] Packet filter rules for "outgoing" SMB connections/mounts only?
The standard internet sharing firewall scripts will do this and then some automagically. See www.netfilter.org for examples. On Thu, Feb 19, 2004 at 12:03:36PM +0100, Andreas Schildbach wrote: > Hello everyone, > > Is it possible to configure the packet filter for Linux kenel 2.4.x in a > way so outgoing connections (mounts) from the firewalled machines (to a > specific IP address) are possible, but no incoming SMB mounts are > allowed at all. > > In other words, I want to be able to mount a share of an external > machine, but like to keep the security risks involved as small as possible. > > Regards, > > Andreas > > -- > 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] Re: Printing vs. iptables
What are your default IP tables rules? Do you Drop instead of Reject? If so, try chanding your policies to Reject connections from the local network that you don't accept. Optionally, log the rejected connections to see what port Window is trying to talk to, and later, reject rather than drop that 1 port. The long delay is probably caused by Windows waiting for a dropped connection to time out. On Wed, Feb 18, 2004 at 02:20:36PM -0500, Ken Tindle wrote: > No, it does not appear to be webclient. There seems to be no such service > on even the latest Win2K. > > It appears there is some kind of anti-worm change in the MS-RPC code > contained in the latest security patches. > > Samba 2.2.8a will hang for about a minute. Samba 3.0.2a will hang for > about three minutes. > > > > -- > 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] PRINTING FROM LINUX CLIENTS TO LINUX PRINTER SERVER WITH SAMBA
I'll give you the benefit of the doubt, and assume that the message flood was an accident, and the annoying 'loud' subject line is just ignorance of netiquette. Your question is more appropriate to cups than to Samba. Use smbclient print to send a file to a remote printer. However, the file has to be in a language your printer understands if your sending to a RAW queue. (Postscript should work well if you are sending to a printer queue configured by CUPS with a driver for your printer.) If you have a GUI enviroment with KDE installed, try using kprinter as a frontend to cups. That's the best Linux printing solution I've found for Linux Desktops. Failing that, make sure you read the CUPS documentation, (http://localhost:631) and the printing documents in the Samba howto collection. And lastly, if these two computers are on the same LAN, configure cups on the server to broadcast and accept connections remotely, and let CUPS take care of the network sharing. Again, refer to the CUPS documentation. CUPS's implementation of IPP (Internet Printing Protocol) makes Windoze printer sharing look like a dinossaur left over from the early 80's. (Oh wait... that's about right, isn't it?) On Tue, Feb 17, 2004 at 03:00:28PM +, zynkx wrote: > hi all and thanks in advance for reading this > > i have worked with samba for a while, sharing drives on > my linux boxes and all went well until now. > > now, i tried to share a printer. > > 1 i setup a printer in a box with cups. the printer is > working fine in that host printing everything as it is > told. > > 2 i tried to share the printer to: > 2.1 one windows wrokstation in the lan > 2.2 two linux boxes on the lan > > with the following config file: > [global] >workgroup = PRINTSERVER >netbios name = NEPTUN >server string = neptun print server >log file = /var/log/samba/log.%m >max log size = 50 >security = share >encrypt passwords = yes >socket options = TCP_NODELAY SO_RCVBUF=8192 > SO_SNDBUF=8192 >printcap name = lpstat >printing = cups > [printers] >comment = All Printers >printer = hp_670C >path = /var/spool/samba >browseable = no >guest ok = yes >writable = no >printable = yes >create mode = 0700 >print command = lpr -P %p -o raw %s -r >lpq command = lpstat -o %p >lprm command = cancel %p-%j >use client driver = yes > > i then made the client configuration on the windows > workstation, and windows is printing well to my linux > printing server with samba. it shares drives and the > printer without any kind of problem. > > the problem is that i cannot print form my linux boxes > to that shared printer... > > on linux boxes i made the following > > 1 configured one printer queue with cups linking the > smbspool to /usr/lib/cups/backend/ > > ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb > > 2 loaded the driver for hp 670c in cups > > 3 tried to print a test page and i did it successfully > > now... the only thing is that i am only able to print > test pages... and i can't figure out the command line > options to print from my linux print clients to my > linux print server... > > windows is doing fine though. > > other thing is that when I: > > smbclient //neptun/printers > > i can mount the share but it does not print. > > > > > - > Email Enviado utilizando o servi?o MegaMail > -- > 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 for SCO Open Server
I can't speak for everyone, but you will likely have to contact SCO for any support or packages. SCO has openly made itself the 'enemy' of any and all Open Source developers and supporters. Your best chance for community help is to migrate your server platform to something else. Sorry. On Fri, Jan 30, 2004 at 10:35:44AM -0500, Abdullah Sekman wrote: > I'm lookking for Samba for SCO Open Server Best regards,Abdullah Sekman > > ___ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > -- > 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] Why does simple smb.conf demand password?
Hi Lary You can get around it by sending a blank password. (ie, just press enter). Since you enabled guest ok, logins with bad passwords will go to guest account (default is nobody) and all should be well. (If the login prompt asks for a Username as well as a password, just put anything) As for why you need the password prompt at all, it is because Samba's default security model is "User", which closely resembles a Windows NT server. The server requires a valid user for all connections. If you wanted to change this behaviour, you could change security to "share", but I would not suggest doing that until you are more familiar with those mysterious password issues. On Sun, Dec 21, 2003 at 11:22:34AM -0600, Larry Alkoff wrote: > I am trying to setup a simple Samba server using the instructions in the O'Reilly > book > "Using Samba" first edition on a Slackware 9.1 system which uses Samba 2.2.8a. > The windows machine uses windows 98SE. > > The instructions under Server Configuration starting page 93 > and Disk Share Configuration starting page 96 > had me setup a very simple smb.conf which should then appear in Network Neighborhood. > It it does appear in NN and also using the command "net view". > > Then I should be able to click on the icon in NN and see the disk single share I > have setup. > When I try to do this I get a logon screen that demands a password. > > The instructions say that > "We set the guest ok parameter to yes which is not very security conscious but there > are some password > issues that we need to understand before setting up individual users and > authentification. For the moment, > this will sidestep these issues and let anyone connect to the share." > > This is fine with me and in fact, it's the password issues that I don't understand > yet and want to get straight later. > > Why can't I connect without the demand for a password? > How can I get around it before getting into the complexities of password management? > > Here is the short smb.conf: > > [global] > netbios name = linda > server string = Samba %v on %L > workgroup = lanet > > [data] > path = /export/data > comment = data drive > volume = sample-data-drive > writable = yes > guest ok = yes > > I also made sure to setup the subdirectory /export/data and chown it to 777. > > Larry Alkoff > > > > > > Larry Alkoff N2LA - Austin TX > > > -- > 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] spam
More specifically, it's a spam message that was crafted carefully enough to pass the (usually very effective) spam filters on the list. I'm sure the filters will be updated in good time. Patience, folks. This really isn't worth the blood pressure medication. On Mon, Dec 22, 2003 at 08:10:36AM -0800, Paul Valley wrote: > yes i have gotton this email twice in the last three days as well its > someone posing as a samba user then posting spam or has hacked the > mailing list somehow > > :(( > > Paul > > > -- > 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] LARGE FILE PROBLEMS
The smbfs File System is part of the Linux Kernel, and not Samba. It likely has trouble with Large files. There are patches and what not to get around this but they are not supported by Samba. Try using the samba tools (smbclient or smbtar) and see if that works. On Thu, Dec 18, 2003 at 02:38:22PM +0100, Hugues Metayer wrote: > Hi > > I have a pb with large file on a RedHat 9/Reiseifs/Samba 3.0.1 server > My linux server will be use for backup Oracle databases. > There is files of 4 Gb but, when I connect to the Oracle 9i server > I see files of 16 E. > I have search in thousand threads in the forum, but it's still very > confusing for me. > > - when doing ./configure samba indicate check for LFS -- yes > - I connect to the win2k Oracle server with mount -t smbfs -o > username=xx //pluton/9I /bidon > where /bidon is a 100 Gb reiserfs partition (I generated 10Gb file with > dd on this partition with no problem). > > --> Can someone post here a really clear (ultimate?) HowTo > for configuring (patching ?) LFS. <-- > I saw a lot of messages requesting help on this subject, with no really > workable response (for me), perhaps a samba team developper can drop > some words here about this recurent demand. > > Thanks for any help > -- > 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] files over 2 GB in size?
smbfs is part of the Linux kernel and not Samba, and may not support large files. The official answer to this question is "use smbclient". Personally, I find split to be a great way to manage tar files. Example. tar -cz data/ | split -b 1024m - /mnt/share/bckp/bckp.tar.gz. To untar the archive: cat /mnt/share/bckp/* | tar -xz On Mon, Nov 24, 2003 at 11:53:48AM -0600, Adam Williams wrote: > Is there a way in samba to create files greater then 2GB in size? I'm > tarring some stuff to a samba share (from one linux server to another, > share mounted using smbmount) and I get an error "File size limit > exceeded" and the size of the file is 2147483647 bytes. Is there anyway > to create files larger then 2GB on a samba mounted share? If so, how? > > > -- > 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] how legal is samba
On the other hand, it's only a matter of time before Samba becomes a legal target for SCO. (Tongue firmly in cheek, but sadly truthful) On Thu, Nov 20, 2003 at 07:35:18PM +, Jeremy Allison wrote: > On Thu, Nov 20, 2003 at 11:18:13AM -0800, Jason Adams wrote: > > With all this DMCA crud, is samba a target for a IP case from MS > > Short answer. No. > > Jeremy. > -- > 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] Still trying to backup 66 GB from LINUX to W2K ***
As an unrelated, and posibly easy, work-around. Are you able to pipe the file through the split command as you back it up? Even when I have everythign working with large files, I find splitting my backup files at 1GB just makes them easier to work with all around. On Thu, Nov 20, 2003 at 07:55:51AM +, John H Terpstra wrote: > On Thu, 20 Nov 2003, Stefan G. Weichinger wrote: > > I do not want to nit pick, but please note that smbfs is not samba. > smbfs is a kernel driver in Linux. > > smbclient is part of Samba. You should be able to use it to backup your > files to a Win2K system and it should not be 2GB limited. > > - John T. > > > > Hello, [EMAIL PROTECTED], > > > > Mittwoch, 19. November 2003, 17:09 you wrote: > > > > CLcd> Hi Everyone. > > > > CLcd> I'm still having that problem that my samba cannot backup more > > CLcd> than 2 GB onto a Windows share (on a Win2K box) (see messages > > CLcd> earlier in this forum - I have to backup a 66 GB file out of database). > > > > On the other hand, David Morel has sent me this: > > > > > for the last time, the 2Gb limitation is a problem with smbfs in 2.4 > > > kernels (which smbmount uses). To circumvent it, either find urban > > > widmark's patches or use cifs with a 2.6 kernel. > > > > > > D.Morel > > > > I have not noticed that facts in my setup. > > > > > > -- > 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] I joined this list today
Join the list, or did you maybe also post a message?? If you posted a message, your message, along with your FROM: address, got forwarded to untold thousands of people, some of whom, unforutnately, are infected with Swen. Not much to do about it but wait this virus out. the good news is, it's on a rapid decline. Remember, friends don't let friends use Outlook. On Mon, Nov 03, 2003 at 02:25:26PM -0600, Linda Normann wrote: > > I joined this mailing list today, and after I few minutes I was getting the > SWEN virus > emailed to me. I unsubscribed from the list and I'm still getting this > virus. > Do you know of anyway to clear this up? > > > > -- > 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] 2 nics, browsing
Err no no no... You cannot have the same computer (netBIOS name) on two different IP addresses. Maybe if you tell us what you are trying to achieve with this bizzare setup, we can advise a way to achieve it. On Mon, Oct 27, 2003 at 03:46:06PM +0100, Stefan G. Weichinger wrote: > > I have problems with browsing, AFAI see ... > > There are 2 Samba 3.0-hosts in the subnet 192.168.16. called server > and backup. The workgroup is buero. > > server has 2 NICs with the ips 192.168.16.200 and 192.168.16.201. > backup has one NIC with ip 192.168.16.112. > > server is configured with the options: > > local master=yes > preferred master=yes > os type=40 > > backup with: > os type=20 > local master=yes > > (to provide backup-browser-service). > > interfaces parameter is not set. > I want Samba to use both NICs on server. > > testparm runs ok on each host. > > Look at these lines: > > > server:~ # nmblookup -M buero > > querying buero on 192.168.16.255 > > 192.168.16.201 buero<1d> > > 192.168.16.201 buero<1d> > > server:~ # > > So I get two answers over the localhost-interface, I assume. Why is it > two times the .201-ip? > > If I try the same from backup: > > > backup:~ # nmblookup -M buero > > added interface ip=192.168.16.112 bcast=192.168.16.255 nmask=255.255.255.0 > > querying buero on 192.168.16.255 > > Got a positive name query response from 192.168.16.201 ( 192.168.16.201 ) > > Got a positive name query response from 192.168.16.201 ( 192.168.16.201 ) > > Got a positive name query response from 192.168.16.201 ( 192.168.16.201 ) > > Got a positive name query response from 192.168.16.201 ( 192.168.16.201 ) > > 192.168.16.201 buero<1d> > > 192.168.16.201 buero<1d> > > 192.168.16.201 buero<1d> > > 192.168.16.201 buero<1d> > > I get four responses > > Question: Should the backup:/etc/hosts contain both ips of server > like: > > 192.168.16.200 server > 192.168.16.201 server > > How should this be handled? > > I know this is another topic but has possibly the same reason: > > > backup:~ # tail /var/log/messages > > Oct 27 15:20:06 backup sshd[21744]: Could not reverse map address 192.168.16.201. > > Oct 27 15:20:06 backup sshd[21744]: Accepted rsa for root from > > :::192.168.16.201 port 46587 > > Reverse DNS ... I will look that up, I promise ... > I think that > > ... this ... > > > server:~ # tail /var/log/messages > > Oct 27 15:22:19 server nmbd[1318]: find_response_record: response packet id > > 19864 received with no matching record. > > Oct 27 15:22:20 server nmbd[1318]: [2003/10/27 15:22:20, 0] > > nmbd/nmbd_responserecordsdb.c:find_response_record(235) > > Oct 27 15:22:20 server nmbd[1318]: find_response_record: response packet id > > 19863 received with no matching record. > > Oct 27 15:22:20 server nmbd[1318]: [2003/10/27 15:22:20, 0] > > nmbd/nmbd_responserecordsdb.c:find_response_record(235) > > ... and this ... > > > backup:~ # tail /var/log/samba/log.nmbd > > query_name_response: Multiple (3) responses received for a query on subnet > > 192.168.16.112 for name BUERO<1d>. > > This response was from IP 192.168.16.201, reporting an IP address of > > 192.168.16.201. > > query_name_response: Multiple (4) responses received for a query on subnet > > 192.168.16.112 for name BUERO<1d>. > > This response was from IP 192.168.16.201, reporting an IP address of > > 192.168.16.201. > > query_name_response: Multiple (2) responses received for a query on subnet > > 192.168.16.112 for name BUERO<1d>. > > This response was from IP 192.168.16.201, reporting an IP address of > > 192.168.16.201. > > query_name_response: Multiple (3) responses received for a query on subnet > > 192.168.16.112 for name BUERO<1d>. > > This response was from IP 192.168.16.201, reporting an IP address of > > 192.168.16.201. > > query_name_response: Multiple (4) responses received for a query on subnet > > 192.168.16.112 for name BUERO<1d>. > > This response was from IP 192.168.16.201, reporting an IP address of > > 192.168.16.201. > > backup:~ # > > ... results from the same wrong configuration . > > Am I right? What should I do about it? > > Thank you, > Stefan G. Weichinger > mailto:[EMAIL PROTECTED] > > > -- > 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] RE: SPAM
I always wondered how much mindless, unthinking and thankless abuse it would take to provoke a response. On Tue, Oct 14, 2003 at 04:49:14PM -0500, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jared Rypka-Hauer wrote: > > | Objectively, I'm > | guessing that in the current political climate a case > | could be made for the idea that, having been notified > | their list is being targeted and should they do > | nothing to prevent further abuse, they could be partly > | liable for any damage occurring. > > Jared, I'm not being vindictive here, but your email > just got added to my /dev/null box. So please sue me. > > > > > > cheers, jerry > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.1 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQE/jG9aIR7qMdg1EfYRAvCKAKC6v6KYA8nic4YeYQK3d9elIlYHFACg2Jfj > nn9FUTb1XO//07+YhOxJ9CE= > =Jq/O > -END PGP SIGNATURE- > > -- > 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] RE: SPAM
On Tue, Oct 14, 2003 at 02:27:10PM -0500, Jim Morris wrote: If people want to hide their return e-mail address to avoid this problem, they are free to do so. Just create something creative for your From:. Most decent e-mail clients will allow you to either change From: on an individual message *or* create different mail personalities. This is sensibly left to the user's choice. I can understand people getting frustrated at this cursed Swen virus and its effects to people who post on this list. But to keep things in perspective, it has only been a few weeks, and it should not be much longer before the virus starts dying down and becomes only a rarely seen bad memory. (Until the next outbreak, of course. All the more reason to not let your friends use Outlook.) Personally, I rather receive replies to my posts directly, and am happy with the configuration of the list. Even though my e-mail address has been made public through this list for a long time, Spam (in the form of UCE) has been light. This Swen virus has kept my inbox more active, but should be a temporary inconvenience. > I have to agree with the others on the need for the mailing list to do > something. > > I just posted to the Samba list for the first time in a couple of > months, and since doing so, have gotten 3 or 4 dozen of these virus > emails. And I run server based email filters - these are the ones that > are getting through the filters! The viruses don't infect me, as I > only read mail from Linux or Mac OS X, but they are clogging my inbox. > > The point is - I posted one question to this mailing list today, and in > the 4 or 5 hours since, have averaged 10+ virus emails an hour. I am > not sure what can be done though. The mails don't even have me as the > "To:" address - instead I think they are getting BCC'ed to me by > whoever on this list is infected. > > I would gladly forgo direct replies from this list, and have replies > posted only to the list address, if it would eliminate the problem. In > other words, the list would almost have to run with anonymous postings > or something, for that to work. Obviously you would have to be a > subscriber to post, but the emails would be stripped by the mailing > list manager. > -- > Jim Morris([EMAIL PROTECTED]) > > -- > 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] Level2 oplocks help
level2 oplocks defautls to yes unless otherwise specified. To fix this neatly, put both oplocks=no and level2 oplocks = no in your Global section. Then add oplocks = yes and level2 oplocks = yes to the one share you want to enable oplocks on. Testparm should then no longer complain. On Wed, Oct 08, 2003 at 10:23:50AM -0500, Dunville, Barbara wrote: > > Hello... > > We are running version 2.2.5 > > I have added the option " level2 oplocks = true " to just one of my > shares, > but when I run the testparm script, I get back "Invalid combination of > parameters for service xx. Level II oplocks can only be set if > oplocks are also set." > > I get this for every other share in my smb.conf file, even though I only > added the level2 option to 1 share. > I have the option " oplocks=no" set in all my shares EXCEPT the one I > added the level2 option to. > > Is this normal? > > Is this going to cause a problem when I re-start samba? > > > Thanks, > Barb Dunville > Ameren Services > > > > *** > The information contained in this message may be privileged and/or confidential and > protected from disclosure. If the reader of this message is not the intended > recipient, > or an employee or agent responsible for delivering this message to the intended > recipient, > you are hereby notified that any dissemination, distribution or copying of this > communication is strictly prohibited. Note that any views or opinions presented in > this > message are solely those of the author and do not necessarily represent those of > Ameren. > All emails are subject to monitoring and archival. Finally, the recipient should > check > this message and any attachments for the presence of viruses. Ameren accepts no > liability > for any damage caused by any virus transmitted by this email. If you have received > this in > error, please notify the sender immediately by replying to the message and deleting > the > material from any computer. Ameren Corporation > *** > -- > 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] Any way to do Linux User home directories via Samba
On Fri, Sep 05, 2003 at 09:02:15AM +1200, Paul Eggleton wrote: > Jason Joines wrote on Friday, 5 September 2003 7:02 a.m.: > >All of our user authentication is done via LDAP. We have an all > > Linux backend and tons of windows desktops. We've just started > > getting a few people to move to Linux on the desktop. Is there any > > way that I can have their home directory automatically mounted via > > Samba when they log in? > > Well, to save resources you should probably just mount a share on > startup and then set each user's home directory to a directory in that > mount location. Otherwise, you'll have a mount for each active user. That's not a good idea. If you did it that way, all users on the desktop would have the same permissions, to each others home directory. What you probably want for a setup like this is to a NFS mount. If your heart is set on using SMB, however, it can be done. I don't have a howto immediately at hand. :( -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Ok but Samba Stop!
On Wed, Sep 03, 2003 at 04:06:48PM -0300, Daniel wrote: > Thanks for your help, but after some times Samba Stop to work > and my Fible giga too. > > Could you help? Sorry, but that's not nearly enough information, and I'm not the best person to help with this kind of problem. It's possible I misunderstood your first message, and the memory usage you see is not, in fact, file caching at all... What command do you use to see samba's memory usage? Can you please paste an output of the command for us? Please direct further correspondence to the samba list. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Memory
On Wed, Sep 03, 2003 at 03:34:29PM -0300, Daniel wrote: > Hi list i am using RH9 with original samba and it is using all most all > memory in my system, i have 1g. > When a write a file in there look`s like he write in memory! > > what could i do? Nothing, this is correct behaviour for Linux which uses as much memory as available for file chaching. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Incorrect format of Text
Indeed, a more complete explanation: The text file format is, believe it or not, different between Windows and Unix. In Windows, lines end in CR and LF (or maybe that's LF and CR, whatever). In Unix there is only a LF, the CR is assumed. (Carriage Return and Line Feed.) FTP will usually tranfer text files in text mode, wich will automatically translate files between the systems. Most system have some kind of todos program that will convert a text file from Unix to MS format. If not, you can use ftp to tranfer the files to a Windows machine, then copy them back to the Unix share via Samba. Note: Samba cannot, nor will it likely ever, mangle the contents of files to translate 'on the fly'. Note also that Word Pad on Windows doens't seem to have trouble reading Unix formatted files. This usually becomes a problem with .BAT files (ex: logon scripts) that must be in DOS format to execute properly. On Fri, 15 Aug 2003, Failed Access wrote: Sounds like line feeds. Try opening the files in a proper text editor, jedit being the first one that springs to mind and check to see if they look correct. Mario Valetti wrote: > Hi, > > I am running Samba 2.2.8a on Solaris 8, and have shared out a directory > containing some simple text files. > > The issue I am experiencing is the following: > > If the files are FTP'd from the Unix box to a Windows machine and opened > using Notepad, the formatting is correct. If the same files are either > opened directly or copied (from the Samba share) from the Unix box to the > Windows machine, and again opened in Notepad, the formatting of the file is > completely messed up. > > I have noticed, looking at the properties of the files from the windows box, > that there is a size difference between the files that are FTP'd and those > from the Samba share. > > I am sure this has something to do with it. > > One of those files details: > > File through Samba share reads - 3.24 KB (3,319 bytes) > The same file Ftp'd reads - 3.37 KB (3,451 bytes) > > > Any comments on where I could start (besides getting rid of Windows) would > be appreciated. > > > Thanks, > Mario -- 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] Re: Samba vs. Windows : significant difference intimestamphandling ?
Agreed,, ext3 is used in lots of situations where Reiser would probably be a better choice As for nobody loosing data,,, I don't really think it matters what Filesystem you have if your system decides to stick random bits on the hard drive. Staying away from any of them won't help much. On Fri, 15 Aug 2003, Dragan Krnic wrote: |> mtime being changed is beyond the pale. I suspect |> ext3 is the problem. I heard some people losing all |> of their data on ext3-formatted disks. Stay away |> from it. | | Do you have some facts to back up that load of FUD? | By all accounts I've ever seen, Ext. 3 has been | stable for *long* time before it was even included | in the stock Kernel tree. Do you want to say that nobody ever lost any data on ext3-formatted disks? Be realistic. But does it warrant my exhortation to stay away from it? Probably not. It was a joke without a smiley sign. ext3 is probably a solid, though a bit clumsy and slow fs. I appreciate your criticism. I jumped the same way when someone else used the same kind of FUD about reiserfs which I would always recommend over all other. Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba vs. Windows : significant difference intimestamp handling ?
Do you have some facts to back up that load of FUD? By all accounts I've ever seen, Ext. 3 has been stable for *long* time before it was even included in the stock Kernel tree. On Fri, 15 Aug 2003, Dragan Krnic wrote: mtime being changed is beyond the pale. I suspect ext3 is the problem. I heard some people losing all of their data on ext3-formatted disks. Stay away from it. Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 -- 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] User directories and groups usage
Create Mask 660 will remove executable bits from any saved file, as advertized. However, since Samba normally maps archive attribute to executable permission in Unix, this would break the archive attribute. I would use create mask = 760 force create mode = 660 This will ensure that the user and all members of the group have read write permission the file. It will also allow windows to set the archive attribute on files.. (Security note: this will make files executable by the user who owns the file. A creative person *might* be able to use this to work around security restrictions on the system.) Aug 14 3:46pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Thu, 14 Aug 2003, Cor Lem wrote: At 10:30 14-8-03 -0700, you wrote: >Morning everyone. > >I was playing around today with our PDC setup. >One thing I noticed is that when I setup users to have their 'My >Documents' directory be /home/ everything works well. >One thing I noticed is that the directory, subdirectories and files have >the owner of the user and the group as per assigned, and permissions as 700. > >If I wanted to set it up so a specific group would get assigned the group >for everyones /home/ as well as specific permissions, would I need >to add something like the following to my smb.conf, under the homes section: > >[homes] >comment = Home Directories >browseable = no >writable = yes >force group = daffy >force create mode = 770 This would make a file readable, writable AND executable for user/group owning the files I would use: create mask = 660 This wil not make files executable. >force directory mode = 440 This would make the directory readable only - not executable, so you can't see what's in it and its not writable. I would use: create mask = 0770 >Which should set the group to 'daffy' for all files and directories >created as well as set the new files with 770 and new directories as 440. > >That look about right? nope - see above - may I ask how you got to 770 and especially 440 ? To better understand this have a look at: http://www.ctssn.com/linux/lesson6.html Greetz, Cor Lem -- 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] File Corruption
You've only seen corruption on files of .exe type, while you have data files regularly being copied back and forth? My first guess would be to check and double check for a virus on any pc that has access to that share. There is an older Dos virus I've seen around that will mess up installers and cause Windows to complain that that the file is not a valid Win32 Application, or some such error message. On Sat, 2 Aug 2003, Jeremy Allison wrote: On Fri, Aug 01, 2003 at 11:27:44PM -0400, Scott Sipe wrote: > > As another example, I had a mozilla installer sitting in a directory on > the share--no one but me would have touched it. Last used ~1 month ago. > Tried it today and it was corrupt. > > I personally have only seen corruption in files of this type (installers > specifically) and am not sure if any other corruption exists. I've had > no complaints whnich is a good thing, and we regularly move a large > volume of files on and off the share via Netatalk (Quark and graphic > files) and they don't seem to get corrupt either. PC usage is generally > less intensive and limited to word files (I'm the only person that would > be installing stuff off the samba share) > > I should note that I don't believe the harddisks are bad--this server > has been very stable and never goes down except for power outages. I've > noticed no corruption in any system files, or any files stored anywhere > but on this one share. > > I should also add that I have a second smaller share (~2GB) on which our > accounting software runs--due to our accounting software requirements, > it has all oplocks turned off, and as far as i know there have been no > corruption issues. > > Does anyone have a clue what the problem might be, or what I can test? > The problem with this is that it IS a sporadic problem, but it's > happened to me enough times that I'm sure it's real. This will need more information to track down I'm afraid. What makes me very suspicious if the mozilla installer example. Can you try installing an audit vfs to track who wrote what to a file ? That way you can track if Samba has accessed the file at all or if it is another process on the machine. Jeremy. -- 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] oplock problem on NTUSER.DAT (fwd)
-- Forwarded message -- Date: Tue, 29 Jul 2003 19:40:48 -0400 (EDT) From: Rashkae <[EMAIL PROTECTED]> To: Marco De Vitis <[EMAIL PROTECTED]> Subject: Re: [Samba] oplock problem on NTUSER.DAT Hi Marco Try to veto oplocks for that file. In the global section of your smb.conf, add the following veto oplock files = /NTUSER.DAT/ Let us know if that changes the behaviour. This sounds like an interseting quirk in the W2K clients. Jul 29 7:39pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Wed, 30 Jul 2003, Marco De Vitis wrote: Hi, I'm on a network with a Samba 2.2.8a fileserver + PDC (Mandrake Linux 9.0) and various Win2000 Pro clients. Very often, when I log off from one client and log on a different one soon after, I get an error message telling me that the remote profile cannot be loaded, and the local one will be used, as if the profile was still locked by the previous session. One peculiar thing to notice is that, if I logon simultaneously on two or more clients, I do not get any similar errors, everything works fine. In syslog I found the following lines: [2003/07/29 18:53:43, 0] smbd/oplock.c:oplock_break(797) oplock_break: receive_smb timed out after 30 seconds. oplock_break failed for file mdv/NTUSER.DAT (dev = 307, inode = 449101, file_id = 2965). [2003/07/29 18:53:43, 0] smbd/oplock.c:oplock_break(869) oplock_break: client failure in oplock break in file mdv/NTUSER.DAT I did not set any option regarding oplocks in my smb.conf, I'm using the defaults in this regard. Can I work around the problem by using some particular smb.conf options, or is it an unavoidable Win2000 client problem? Thanks. -- Ciao, Marco. ..."Skylarking", XTC 1986 -- 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] "create mask = 0660" and "map archive = yes" ?
define your create mask as 0760. Create mask does not give or add permissions to files, it takes them away. Ergo, by removing the execute bit from the create mask, Samba always removes the execute bit. Maybe what you wanted is "force create mode"?. Force Create mode 0660 would ensure that user and group always get read/write permission to the file. Jul 25 12:48pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Sat, 26 Jul 2003, ipguy wrote: hi all if i define a create mask of 0660 in global, i can't seem to set the archive bit . isn't the archive bit set by setting the execute bit for the users perm ? how do I get around that ? -ipguy -- 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] Question
By default Samba v. 2.x (since the version was not mentioned, I'm assuming the post refers to a recent stable version) uses un-encrypted passwords. Windows 2K, on the other hand, will not send unencrypted passwords over the network without a registry hack. Instructions on setting up encrypted passwords in Samba can be found in one of the docs (I believe named ENCRYPTION). There are also some instructions on changing Windows behaviour to enable plain text passwords. Jul 18 12:09am They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Fri, 18 Jul 2003, PageDeveloper wrote: Can you send a copy of your smb.conf file?? I had this same problem when I set up my Win2K machine, and Samba. It will give others an idea on what you have done to this point. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Seydel Molina Sent: Friday, July 18, 2003 8:04 AM To: [EMAIL PROTECTED] Subject: [Samba] Question I have a unix machine. I am runnung the samba server, but the thing is every time that i try to get into the unix server from a windows machne in the network a window come out asking me for a user name and pasword.I have tried with all user names and assword that i have in my unix machine and i get nothing, i am not enable to get into the unix server " Samba server" Ho can i fix it innorder to set up an standart user to let the windows machine get into the unix server. Sincerely Seydel Molina -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] [Fwd: Re: GLASS in "The Samba Team announces Samba 3.0.0beta3"]
The the cited sample, WINDOWS means a PC with the WINDOWS Operating System installed. In this example, The Widows PC is acting as a domain controller for a different domain. On Thu, 17 Jul 2003, Matt Seitz wrote: Thanks for replying to my question. However, I am still confused. Rafal Szczesniak <[EMAIL PROTECTED]> wrote: >On Thu, Jul 17, 2003 at 08:58:30AM -0700, Matt Seitz wrote: >> The Samba web site contains "The Samba Team announces Samba 3.0.0 >> beta3". This document includes a section titled "Trust Relationships >> and a Samba Domain". For reference, here's the URL: http://www.samba.org/samba/whatsnew/samba-3.0.0beta3.html >> What does "GLASS" represent? >It's sample name of the remote domain. You can call it MILKYWAY, >OFFICE and DOMAIN as well. It is aritrary name the administrator >of the remote name gave her while installing primary domain controller. I thought that in this example that "WINDOWS" was the sample name of the remote domain. If "GLASS" is the name of the remote domain, then what does "WINDOWS" represent? Here is a fuller excerpt: "To establish Samba as the trusting domain (named SAMBA) from a Windows NT 4.0 domain named WINDOWS: 1) create the trust account for SAMBA in "User Manager for Domains" 2) connect the trust from the Samba domain using 'net rpc trustdom establish GLASS' To create a trustlationship with SAMBA as the trusted domain: 1) create the initial trust account for GLASS using 'smbpasswd -a -i GLASS'. You may need to create a UNIX account for GLASS$ prior to this step (depending on your local configuration). 2) connect the trust from a WINDOWS DC using "User Manager for Domains" -- 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] Huh... 2.2.8 exploit?!
For that matter, why would smbd (but not the system logs) be deleted in the first place? Jun 30 2:37am They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Mon, 30 Jun 2003, Vizitiu, Ciprian wrote: > > Signal 11, mmm, that could be a memory error(hardware). > > Is the hardware certified? (www.memtest86.com) > :-D ... Well it's a IBM e-server. No, I didn't change the original memory modules. > If it was a hardware error; why would be smbd deleted? Good question. -- 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] Permissions with CD's Copied from Win
The parameter you want to set is "force create mode = 0777" or 0666 if you don't want to set the execute bit. this will affect files only, not directories. It's somewhat difficult to explain (and took me about 2 years to wrap my head around it.), but create mode will remove unwanted permission attributes, whereas force create mode will add permission attributes. For example, if you wanted to remove the word readable permission from new files, you would use create mode = 0740. Also note that in unix terms, you have to make a file writable (as opposed to DOS, where you have to make files read-only.) It's a sublte difference, but can be a little confusing. Jun 17 11:26pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On 18 Jun 2003, Usenet News wrote: I've recently installed a new server here. This is my first Samba install so I'm a newbie. We are using RH9 and Samba 2.2.7a. Everything with the transition from the old server to the new went great. I do seem to have one little bug though that I've been unable to work out. If one of the users copies the contents of a CD to the server the permissions for the folder and files copied are 755. That is that the Owner can RWX,but the group and others can only Read and Execute, but not write. I realize the the files and folders on the CD are Read only, but I would like to be able to have any member of the group be able to remove the read only properties from the files on the server from their windows workstations. A typical share in my smb.conf file looks something like so: [sales] path = /home/sales writeable = yes create mask = 0777 comment = Sales valid users = tweedledee, tweedledum, humptydumpty, horses, men Any help or pointers would be appreciated. -- 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] Wish list
You know your software is a success when people's wishlists include documenting how to fix the 'competitor's' software. On Wed, 11 Jun 2003, Jonathan Johnson wrote: In some future version of the Samba help file, it would be nice if for each option the equivalent (if applicable) Windows registry or group policy setting could be listed. This would be helpful when working with the Miscrosoft knowledge base, or when setting up a Windows NT/2K server to behave similarly to Samba. I know that for myself, I have found that Samba provides a solution for a problem (and is documented) but since the docs don't list a Windows equivalent, I can't fix Windows. --Jon -- 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] Can't use mount command with samba
I'm fairly certain that smbmount requires the NetBIOS hostname as the server name, not the IP Address. (If smb is unable to find the IP with the standard resoution order/mechanisms, one can be specified with an option.) Also, if you are trying to mount a share, you need to specify the share. Konqueror is *not* actually mounting any shares. It's just displaying the shares and the files within on the fly without mounting. (The command line equivalent would be to use smbclient.) When your asking for help, instead of just asking "why doens't this work." please post the results of your command. What is the result (output) when you type the mount command? Jun 11 10:24am They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On 11 Jun 2003, Rohan Parkes wrote: On Wed, 2003-06-11 at 08:16, Dan Shadix wrote: > You aren't specifying the share, only the machine. You should use > > //192.168.0.1/myshare Darn it, that appears to be correct, although I thought I was doing this in practice, despite the example I gave. I might have gotten sloppy, because I can use smb://myserver in Konqueror, and it works. -- Rohan Parkes Melbourne Australia -- 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] stability
That's nice. I guess it's a good thing that SigTerm (Sig 15) is the default signal for killall. (Almost like you would expect, no?) On 6 Jun 2003, Oscar A. Valdez wrote: >From the smbd man page: "To shut down a user's smbd process it is recommended that SIGKILL (-9) NOT be used, except as a last resort, as this may leave the shared memory area in an inconsistent state. The safe way to terminate an smbd is to send it a SIGTERM (-15) signal and wait for it to die on its own." and from the nmbd man page: "To shut down an nmbd process it is recommended that SIGKILL (-9) NOT be used, except as a last resort, as this may leave the name database in an inconsistent state. The correct way to terminate nmbd is to send it a SIGTERM (-15) signal and wait for it to die on its own." Oscar El vie, 06-06-2003 a las 14:06, Joel Hammer escribió: > I think you might be helped by looking at the startup scripts and see just > what is hapening. You don't need fancy scripts to start and stop samba. > For example, here is all I have in mind: > > #!/bin/bash > case "$1" in > start) > killall smbd > killall nmbd > /usr/local/samba/bin/smbd -D > /usr/local/samba/bin/nmbd -D > ;; > > stop) > killall smbd > killall nmbd > ;; > reload) > kill -SIGHUP `cat /usr/local/samba/var/locks/smbd.pid` > kill -SIGHUP `cat /usr/local/samba/var/locks/nmbd.pid` > ;; > *) > echo Usage: > echo start stop reload > ;; > esac > exit 0 > > To find where your binaries are, just run: > which smbd > which nmbd > > To find where your logs and such are, this MIGHT help: > strings `which smbd` | grep samba > > You can modify this to take into account your own configuration. > You can also run nmbd from the command line and increase debugging to see > what is happening in case nmbd is crashing. You can also look in your nmbd > log. > > Joel > > > On Fri, Jun 06, 2003 at 10:58:33AM -0700, D. Rick Anderson wrote: > > I'm having problems when I restart the smb server with it not coming back > > up. As near as I can tell it's actually NMBD that's having the issue. I'm > > running RedHat 9.0 on a Compaq ML-370 with Dual 1.2GHz P3s and I just > > upgraded Samba to 2.2.8a-1 after having this same problem with 2.2.7a > > > > When I issue: > > #service smb restart > > > > It says that it shut down and restarted ok, but then nobody can logon to > > the domain, so I issue it again and it tells me that it couldn't kill > > nmbd, but then it starts it OK, and I can get everyone on. > > > > There's also been a few times where it just stopped accepting logons, > > after accepting them for most of the day, so I restart it, and it tells me > > then that it couldn't kill nmbd either. > > > > testparm doesn't find anything wrong with my config. Does anybody know of > > a way to stabalize this? > > > > Thanks, > > > > Rick > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > I'm having problems when I restart the smb server with it not coming back > > up. As near as I can tell it's actually NMBD that's having the issue. I'm > > running RedHat 9.0 on a Compaq ML-370 with Dual 1.2GHz P3s and I just > > upgraded Samba to 2.2.8a-1 after having this same problem with 2.2.7a > > > > When I issue: > > #service smb restart > > > > It says that it shut down and restarted ok, but then nobody can logon to > > the domain, so I issue it again and it tells me that it couldn't kill > > nmbd, but then it starts it OK, and I can get everyone on. > > > > There's also been a few times where it just stopped accepting logons, > > after accepting them for most of the day, so I restart it, and it tells me > > then that it couldn't kill nmbd either. > > > > testparm doesn't find anything wrong with my config. Does anybody know of > > a way to stabalize this? > > > > Thanks, > > > > Rick > > > > > > > > -- > > 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 -- Oscar A. Valdez Plastipak, S.A. de C.V. -- 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] Running SQL or Exchange over SAMBA
Please consider this a request for enlightenment Why would anyone want to do something like this? On Tue, 3 Jun 2003 [EMAIL PROTECTED] wrote: On Tue, Jun 03, 2003 at 02:24:55PM -0300, Laura Zwaig wrote: > Hello, I read this message just today. I am interested in running MS SQL > with the databases stored on a Samba Share, I will need to do this pretty > soon. But, does MS SQL let you install the program on an NT server and the > database files on a Linux Server? And will I, since I am short of NT client > access licences, get around this issue? As I recall MS-SQL (Sybase :-) won't let you do this. But you can install then change the registry to point to a network drive (or you used to). The NT client access licenses is nothing to do with this, you need to convert to a Samba domain controller, then you need not pay client access licenses. Jeremy. -- 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] Oplock problem
In this case, I would disable oplocks. My earlier post was only to point out that with Samba, you can disable oplocks selectively on files that might cause problems. Such as database files, or whatever strange activity you're seeign here. (Note: Are there multiple computers accessing the file when you get this 30 second lockup? If this is a client locking itself up, there might be a protocol quirk in Samba causing it.) On Thu, 8 May 2003, Boogerman wrote: Yes, you're probably right. Still, we haven't solved that annoying 30 second lockup problem. This is a very ugly problem. The office network users' keep yelling at me because of that! Is there a way to fix this? (I know, I know, it's a client bug, but is there a server workaround for it?) Regards, Gaston Dassieu Blanchet [EMAIL PROTECTED] - Original Message - From: "Rashkae" <[EMAIL PROTECTED]> To: "Boogerman" <[EMAIL PROTECTED]> Cc: "John H Terpstra" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 07, 2003 10:21 AM Subject: Re: [Samba] Oplock problem > I've never been comfortable with the concept of oplocks myself. But I > would like to point out that, unlike Windows, Samba allows fine grained > control over what shares, dicrectories files or groups of files to allow > or disallow oplocks on. If I were to take the time to performance tune a > Samba server, I would only disable opolocks on those files that are likely > to be opened read-write by multiple users. (Database files, as the most > comon example.) Performance improvements from oplocks are impressive, > and the load on the network is greatly reduced. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] None
Must be pointed out however, that removing write bit from the directory will meet the objective, it will also make it impossible for users to create new files. On Thu, 8 May 2003 [EMAIL PROTECTED] wrote: On Thu, May 08, 2003 at 02:22:00AM +, John H Terpstra wrote: > On Tue, 6 May 2003, Joseph Leipert wrote: > > > I have Question, I have a school running on samba. I want none of the > > users to have the right to delete files, but they must be able to write > > to the files. How do I do that? > > You sure do have a question here! > > Under Unix/Linux the right to write to a file means the right and ability > to delete the file. If you can get that changed, then we can accommodate > your request. Until then, we live and die by the operating system we live > on top of. Errr, actually no - UNIX *can* do this. The ability to delete a file is held in the *directory* the file is contained in, not the file itself. So to create a directory with files users can write to, but not delete, set the directory permissions to disallow writing to the group containing the users (or "other") and set the file permissions to allow the group containing the users (or "other") to write to the file. Cheers, Jeremy. -- 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] Oplock problem
How are you deleting the file? By that, I mean, what program are you using to delte the file. Windows explorer or within something else? On Thu, 8 May 2003, Boogerman wrote: Nope, there is only one client accessing the file. What I did (this is just an example) was delete one file (pspbrowse.jbf). Immediately after, the service locked up (for that client only) for about 30 seconds. When I checked the logs, I got this: [2003/05/06 11:06:50, 0] smbd/oplock.c:oplock_break(796) oplock_break: receive_smb timed out after 30 seconds. oplock_break failed for file htdocs/pictures/pspbrwse.jbf (dev = 901, inode = 11009, file_id = 2654). [2003/05/06 11:06:50, 0] smbd/oplock.c:oplock_break(868) oplock_break: client failure in oplock break in file htdocs/pictures/pspbrwse.jbf [2003/05/06 11:06:51, 0] smbd/reply.c:reply_lockingX(4626) reply_lockingX: Error : oplock break from client for fnum = 11670 and no oplock granted on this file (htdocs/pictures/pspbrwse.jbf). I think the client is to be blamed (for not responding to the oplock break request). I wonder if there is a way for Samba to reduce the timeout, retry sending the oplock break request, or at least keep providing service while waiting for the client reply... Gaston Dassieu Blanchet [EMAIL PROTECTED] - Original Message - From: "Rashkae" <[EMAIL PROTECTED]> To: "Boogerman" <[EMAIL PROTECTED]> Cc: "Rashkae" <[EMAIL PROTECTED]>; "John H Terpstra" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 08, 2003 10:37 AM Subject: Re: [Samba] Oplock problem > In this case, I would disable oplocks. My earlier post was only to point > out that with Samba, you can disable oplocks selectively on files that > might cause problems. Such as database files, or whatever strange > activity you're seeign here. (Note: Are there multiple computers > accessing the file when you get this 30 second lockup? If this is a > client locking itself up, there might be a protocol quirk in Samba causing > it.) > > On Thu, 8 May 2003, Boogerman wrote: > > Yes, you're probably right. Still, we haven't solved that annoying 30 second > lockup problem. This is a very ugly problem. The office network users' keep > yelling at me because of that! > > Is there a way to fix this? (I know, I know, it's a client bug, but is there > a server workaround for it?) > > Regards, > > Gaston Dassieu Blanchet > [EMAIL PROTECTED] > > - Original Message - > From: "Rashkae" <[EMAIL PROTECTED]> > To: "Boogerman" <[EMAIL PROTECTED]> > Cc: "John H Terpstra" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Wednesday, May 07, 2003 10:21 AM > Subject: Re: [Samba] Oplock problem > > > > I've never been comfortable with the concept of oplocks myself. But I > > would like to point out that, unlike Windows, Samba allows fine grained > > control over what shares, dicrectories files or groups of files to allow > > or disallow oplocks on. If I were to take the time to performance tune a > > Samba server, I would only disable opolocks on those files that are likely > > to be opened read-write by multiple users. (Database files, as the most > > comon example.) Performance improvements from oplocks are impressive, > > and the load on the network is greatly reduced. > > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
OT:Re: [Samba] Re: Quoting style
On the issue of quoting, I notice that many people prefer that previous messages be clipped or trimmed. I, personally prefer a long trail of quotes. I do not read most of the hundreds of messages I receive in my inbox, and I'm too lazy to sort them into neat little archives as they come in. Reading my e-mail consists of scanning the headers, picking out the few messages I want to read, then deleting most everything else. I find it useful, when opening a message I suddenly find interesting, for whatever reason, to be able to read up on the thread. (within reason of course.) On Thu, 8 May 2003, Kurt Pfeifle wrote: Uli Luckas wrote: > Hi Kurt, > you have been very active on the list lately and I really appreciate this. > Still I am a little annoyed by the quoting style on the list and picked you > as the most prominent example I am sometimes careless and sometimes careful with quoting. I sometimes reply directly to incoming mails in my mailbox and sometimes I reply to the "Digest" list of Samba (and some other). Sometimes I write with my own e-Mail program and sometimes with another one. Sometimes I need to copy and paste the original postings from a HTTP access to (f.e) http://lists.samba.org/pipermail/samba-technical/2003-May/date.html to answer them. This may or may not go well (regarding layout). The reason for this seeming "chaos" is that I am roaming at different locations (and don't have an account of my own everywhere. > > Am Donnerstag, 8. Mai 2003 15:15 schrieb Kurt Pfeifle: > --> http://marc.theaimsgroup.com/?l=samba&m=105239987112360&w=2 Specifically this example is one where I decided to leave all of the original content in, consciously. Because here I corrected one of my own mistakes and intended to save time to people going back for a context. (I hate to search for context. This comes from the way I have to access newsgroups often. Going thru the web interface doesn't easily group mails in threads. Clicking thru threads can be very slow and time consuming. Of course, if you close web access, everyone would be force to use mail and newsreaders -- or be out.. Anyway, my experience is that "theaimsgroup" is often not very good in the layout of the mails, since they convert everything into their stylish HTML. > There are a lot examples like this from different posters. I think I "adapted" a bit to the Samba-List style, which seemed to me to have a rather "verbose" tradition. > So no personal > ofense please. > > The samba list is very high volume and it would be nice if it was possible to > quickly scan mails for interesting content. > With only a few lines of new content burried under loads of quotes, quoted > quotes and so on this becomes impossible. > > So please be a little sensible in what you quote and life will be a lot easier > for all of us. > > Thanks > Uli > -- 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] Problem: Copying large amount of files to SAMBA Server.W2K Error "file in use" for exe files.
If your moving the files *to* the Samba Server, then this error is happening because the file is in use on the W2K client. I would suspect an anti-virus software. Try disabling any auto-protect. It might also be Explorer scanning all the exe's for icon information. I'm not really certain how I would work around that one. May 30 9:16am They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Fri, 30 May 2003, Grand Apeiron wrote: Hi all, first i want to say a big "Hello" to the list, since this is my first posting here. Yesterday i just installed another SAMBA server on a middle class (K6-2 500, 128MB) machine. All shares are accessable like expected but i often get an "Can't move file. File in use." error from my W2K client when moving large amount of files to the SAMBA server. This error only happens for *.exe files. Normally i am able to move the exe files to the samba server on the second try but that error is very annoying since i am not able to move large amount of files unattended. The SAMBA version is 2.2.3a. The host system is debian with kernel 2.4.20. The shares are laying on XFS filesystems. I am wondering if anybody has expected the same problem before? The only idea i have is that this error occures because i have a lot of file and directory, chown, chmod directives in my share definiton and that maybe the machine is too slow to workup all the requests. But the thing that speaks against that is that the total CPU usage normally doesnt go higher than 40%. Heres a share defintion example from my smb.conf. #< Share for FTP Data### [FTP] comment = FTP Data Directory path= /var/provide/dataserv/ftp guest ok= no valid users = @ftpusers write list = @ftpadmins @ftpwriters browseable = yes read only = yes create mode = 0664 directory mode = 7774 force create mode = 0664 force directory mode = 7774 force group = ftpusers force user = ftp #> Share for FTP Data### Thanx in advance for any tips or hints. With greetings from germany, Grand Apeiron -- 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] File size limit?
Courtesy of a quick google search. http://www.ps.uni-sb.de/~errror/smbfs-lfs.html On Thu, 29 May 2003, [iso-8859-1] djfogbr wrote: Hi all, We have a Debian Linux 3.0, running kernel 2.4.18, and all filesystems are formatted as ext3. My problem is: when I try to mount an w2k share in this machine using smbmount, I can't see big files correctly. I suspect that the problem happens with files bigger then 2GB. I have a file in the w2k machine that's 4GB size, and when I mount the share in the linux machine, I see that file with just about 360MB! First I tried with smbfs 2.2.3 that comes with the distro. After a I tried with version 2.2.8 that's avaiable at samba site as a debian package. Finally I tried with 'unstable' version "2.999+3.0" that debian provides. Had the same results with all of them. Any help? Thanks in advance. -- 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] Re: fromdos - todos
WordPad doens't seem to have problems with Unix text file, should be on every Windows computer. Emacs doesn't have problems with Dos text files, should be easy to find for whatever platform your working on. As your subject points out, there are some simple scripts (fromdos, todos) that will convert the files for you if you want to switch format one time. This only becomes a problem if you want to work on text files from two platforms regularly. Apr 4 1:01pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Fri, 4 Apr 2003, jose wrote: Yes I see your point of view John, Thank you any way. John H Terpstra wrote: >Jo, > >There is no way to do this without risk to file integrity. There is no >option for smb.conf to automate file conversion. > >If you search the archives you will see that this has been raised >thousands of time before. > >Your best approach will be to find a text editor for MS Windows that >recognises Unix file formats. There are quite a few of them out there. > > >In response to: > >>Hi all, >> >>Probably this is a sample question described somewhere but I can't find >>any reference on samba manuals. >> >>As you all know there's a difference between unix text files and dos >>text files, i.e. the first ones uses a \n as eol and the second uses >>\r\n >> >>I have some troubles reading text files created for unix using a dos >>program for example. >> >> >>Is there a parameter to set in smb.conf or everywhere to avoid this >>problem? >> >>Thanks for any help. >> > > > >- John T. > -- 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] why user nobody
The default configuration of samba should try to map the guest account to user nobody. The guest account is important for various smb functions, is is probably *always* used by smbd and nmbd. One of this is probably crashing if it cannot find the guest account user. Check your logs to see if any information is being printed there. As someone already pointed out, noboby is an important conceptual user in Unix/Linux. Don't worry, it isn't a security risk. It should not be possible to login as nobody. However, processes that are running as root can drop their permissions to "nobody" to make their operation more secure on the system. On Fri, 28 Mar 2003, [iso-8859-15] Gerd Müller wrote: Hello, today i deleted the user "nobody" (entry "nobody:x:99:99:Nobody:/:/sbin/nologin" in /etc/passwd) on my samba-server. As result, no user could log in to domain anymore. Does anybody know, what the user "nobody" plays for a role in samba? Gerd Müller, St. Petersburg -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- 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
OT: Re: [Samba] Unistall Samba
As root, run pkgtool, choose Remove package, scroll down to Samba, and remove. Download source Tarball for latest stable samba (2.2.8, I believe), and follow INSTALL destructions. On Fri, 21 Mar 2003, Iadicicco wrote: Hello all, Well I have had it with this version of samba, Can anyone tell me how to uninstall samba. I am running the version of samba that came with slackware 8.0 if that helps Thanks again -- 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
OT: Re: [Samba] To all who helped with Ext3fs/ReiserFS PerformanceEnhancing
If you don't need anything fancy, I've had excellent performance from the StarTech Desktop switches. These are dirt cheap (often comparable to a hub) and have always worked well for me. Mar 21 4:31pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Fri, 21 Mar 2003, Robert Adkins II wrote: First off, thanks! :) It appears that the issue could be a bad switch. At this time, I have turned down the server's NIC to run at 10baseT-FD and the performance has seriously increased. It now takes roughly 25 to 35 seconds to copy and 8mb file to the server, but it now takes a little longer to copy a file from the server. So, we are now in the market for some far superior network switches. Thanks again. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- 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] Ext3fs/ReiserFS Performance Enhancing
Have you tried using a different switch, or connecting through a hub temporarily to test it? Also, what NIC are you using and what module are yo loading for that NIC? Also, what are the results if you test your hard drive speed on the Linux box? (As root, run 'hdparm -tT /dev/hda', substitute hda for whatever your hard drive actually is.) Also, how fast can you copy a 10 or 20 MB file on the same system. (without copying over the network). Can use use ftp to transfer the files and see if you get the same results? On Fri, 21 Mar 2003, Robert Adkins II wrote: Here are the results of mii-tool from both servers... "Spare" Server: eth0: negotiated 100baseTx-FD, link ok product info: vendor 00:10:18, model 23 rev 7 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD Main Server eth0: negotiated 100baseTx-FD, link ok product info: vendor 00:10:5a, model 0 rev 0 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD If I am reading this correctly, then it appears that they are setup to run at their very best. Using mii-tool, I have tested the "Spare" server by forcing several different speed settings from 100baseTX-FD/HD to 10baseT-FD and HD. I am still experiencing incredible slow downs when copying data to the server and much faster copies from the server. When moving down to the 10baseT speeds the copies to the server slow down a little more, but not by much. They slow down about the same percentage as the copies from the server do when dropping down to 10baseT speeds. (Which is to say it isn't extremely noticeable.) Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: David Brodbeck [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:18 AM To: 'Robert Adkins II' Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing If you're running Linux, mii-tool can be helpful. I've mostly run into this problem with older switches that don't do auto-negotiation properly. Check what the switch is expecting and make sure the ethernet card's settings agree. Sometimes it's best, at least for testing, to force both ends manually into a particular duplex setting instead of relying on auto-negotiation. (If you're using a hub, you should be in half-duplex mode, period.) > -Original Message- > From: Robert Adkins II [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 11:26 AM > To: 'David Brodbeck'; [EMAIL PROTECTED]; 'Rashkae' > Cc: [EMAIL PROTECTED] > Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing > > > Well, > > This suggestion makes perfect sense. I am looking into this, I have > found some interesting information regarding this on Google and hope > to have this figured out soon. > > Thanks for the assistance. > > Regards, > Robert Adkins II > IT Manager/Buyer > Impel Industries, Inc. > 586-254-5800 > > > -Original Message- > From: David Brodbeck [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 11:09 AM > To: '[EMAIL PROTECTED]'; Rashkae; Robert Adkins II > Cc: [EMAIL PROTECTED] > Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing > > > > > -Original Message- > > From: Larry McElderry [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 21, 2003 10:45 AM > > To: Rashkae; Robert Adkins II > > Cc: [EMAIL PROTECTED] > > Subject: RE: [Samba] Ext3fs/ReiserFS Performance Enhancing > > > > > > I tend to agree. Perhaps a duplex mismatch between > > hub/switch and NIC? > > Just to add: A duplex mismatch can cause late collisions that > will *not* > always be reported as errors in the Ethernet stats. A common > symptom is > that pings or small transfers go well, but large ones crawl > or grind to > a > halt. > > -Original Message- From: Gareth Davies [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:04 AM To: [EMAIL PROTECTED]; Rashkae; Robert Adkins II Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Ext3fs/ReiserFS Performance Enhancing - Original Message - From: "Larry McElderry" <[EMAIL PROTECTED]> To: "Rashkae" <[EMAIL PROTECTED]>; "Robert Adkins II" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Frid
Re: [Samba] Ext3fs/ReiserFS Performance Enhancing
Finding out how to tune the EXT3 journaling method would be good. That information has eluded my searches as well... However, before you fiddle with your file system, you should really investigate what your problem really is. Unfortunately, you assertian that you do not have network problems because you can download a file quickly is not at all true. Many network problems can affect traffic one way moreso than the other. There is no reason that writing a 10MB file to a Samba share should take more a 10 seconds. (Mine goes in a bout 5 seconds, and my Samba server hard drive writing speed is actually *very* slow) If it's taking you over a minute to transfer 5 MB, something is very very wrong. On Fri, 21 Mar 2003, Robert Adkins II wrote: Hello All, I have been doing some research to find a method to increase the performance of writes to the hard drives in my servers. I am running Samba and all writes to the server hard drives are taking at least 3 to 10 times (It varies) the amount of time it took to write such files on our older Windows NT 4.0 File Server. The following information is provided to keep this issue on track... It is not a NIC or network issue. Reads of files from those drives take place almost instantly. I have been able to copy an entire 700MB CD-ROM ISO image off of the server in less then 3 minutes, yet writing a 5 MB file to the server will take approximately the 3 minutes, or more. I have also optimized the smb.conf file as best as it can be. This resulted in a gain of approximately 15 seconds. This happens regardless of how busy the server is in serving files to other users as I have tested this while all PCs were in use on the network and also when none were in use. In some of my searching, I have read that ReiserFS has faster write performance then Ext3FS. So, I blew away the "share" partition on our test server, recreated that with ReiserFS and rebuilt the share. So far, I have only seen a few seconds of speed increase. (The other odd thing is that the Windows Explorer file copy progress bar is much more consistent to the ReiserFS share then the ext3fs share.) I have a few ideas about why there is a slowdown and a few ideas of what could possibly increase performance. However, I am at a loss as to how to implement those changes or how to verify that they are even possible. (Except by asking this list.) My Google searches have come up dry with actual methods (ie. Commands to look at or actually use.) to implement some performance enhancements. All they say are things like, change ext3fs's method of writing the journal from the stock "conservative" method to the much faster, yet slightly dangerous, method. There is just no mention of how that is done. I have read through the man pages and there is nothing that leaps out and says, "This is the command that alters the ext3fs journal method." From what I read, so far, about the two journaling methods it is a VERY acceptable risk for the potential performance increase. (It is even more acceptable if it can be setup only to affect the share partition, which is also its own separate drive.) There are a few other ideas that I have, but after thinking those over, they would likely be far more of a hassle then they would be worth. Are there any suggestions for increasing HD Write performance, while still using a journaling FS? At this time, I do not have the resources and additional funds to rebuild the hard drives using XFS or JFS. So, it has to be ReiserFS or ext3fs. Thanks for any assistance! Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- 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] Old bug resurfacing?
Yikes, I was never even aware of this issue. Unfortunately, it looks like you need more than just a glibc recompile. This article may be of value to you if you attempt this course: http://radu.rendec.ines.ro/howto/32groups.html On Thu, 20 Mar 2003, Mark Bainter wrote: Mark Bainter [EMAIL PROTECTED] wrote: > I found this in the archives: > http://samba.cadcamlab.org/lists/samba/Feb2002/00318.html > Never mind. I do believe I found it, and it's not a samba issue at all. The users I was testing it with were all in more than 32 groups, and the group perms required to write to the file were post-32 in the list. Creating a new user with just the one group works fine, so I guess I'm looking at a glibc rebuild to increase my NGROUPS_MAX setting. Thanks anyway -- 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] Ghosting Linux Partitions.
Question: why would one tar and not simply cp -a? On Wed, 19 Mar 2003 [EMAIL PROTECTED] wrote: Ghosting Why, you are useing linux. Boot your system from cd. Make the filesystem on the new hd mke2fs . Mount the old and the new hd, eg.: mkdir /OLD mkdir /NEW mount /dev/hda5 /OLD mount /dev/sda1 /NEW Change to the old hd cd /OLD use tar to archive the old partionion im memory and untar it on the new hd with keeping all the flags: tar -cSp --numeric-owner -f - . | ( cd /NEW && tar xSpvf - ) Write the boot manager to the new hd. That's all. Taken from http://sdb.suse.de/de/sdb/html/maddin_kopieren.html But this is a german source. resize2fs will not work on ext3 Regards Joerg Junge --- Jörg Junge EDV-Koordinator Paritätischer Wohlfahrtsverband Landesverband Thüringen e.V. Bergstr. 11 99192 Neudietendorf Deutschland Tel : +49 36202 26 204 Fax: +49 36202 26 234 -- 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] Single shared directory, with a universal password
Create a user on your Samba Box, create a share that is accessible to that user, then use the username parameter so that whatever user the Windows client sends, Samba will check the password against the user you created. Mar 16 8:04pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Mon, 17 Mar 2003 [EMAIL PROTECTED] wrote: Hello, I am using Samba "Version 2.2.3a-12 for Debian" on a Debian 3.0 system. I have looked at lots of Samba documentation and have not been able to find anything explaining what I need. I want to create a single directory on my Samba server that is ok for any user (e.g. 'guest ok = yes'), but is password protected. Meaning, I want a share that any user can access as long as they have the password to that specific directory. I haven't seen how to do this anywhere, so any assistance that you could offer would be most appreciative. Thanks a lot! -indy -- 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] Can't map Redhat 8.0 share on Windows XP Professional
Have you followed the steps to enable encrypted passwords on the Samba server? Also, posting your smb.conf file might be helpful. On Fri, 14 Mar 2003, Laura West wrote: Hello, I am unable to map My Redhat 8.0 share from Windows XP Professional. I get the error "The specified server cannot perform the requested operation. ( Error 58 )." I've done everything I could think of to resolve this. Help would be much appreciated. :-) Laura -- 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] slow connect
Have you tried tranfering files both ways with ftp to rule out any possible network configuration errors? On Fri, 14 Mar 2003, Norman Zhang wrote: Hi Darek, Your config looks good. I don't have any clues yet. Do you have the latest update from Samba? Does the slow transfer works for small files or large files transfer? Norman - Original Message - From: "Dariusz Blada" <[EMAIL PROTECTED]> To: "Norman Zhang" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 10:56 AM Subject: Re: [Samba] slow connect > Did you try putting the w2k's ip in your samba server's host file? > > >I have very slow transfer if I copy files from server samba to windows > >2000. In the opposite direction transfer is very good. [global] workgroup = BDFG netbios name = lx2000 server string = LinuxPvsw2000i hosts allow = 192.168.100. 127. log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no [PSQLDATA] comment = Pervasive databases path = /usr/local/psql/data force user = psql force group = pvsw read only = No create mask = 0664 directory mask = 0775 public = yes [PVPIPE$] comment = Pervasive pipes path = /usr/local/psql/etc/pipe # only members of group pvsw will have access # valid users = @pvsw # Absolutely necessary - prevents caching oplocks = no read only = yes # browseable = No [lxbdf] comment = dysk na linuksie path = /var/lxbdf force user = psql force group = pvsw read only = No create mask = 0664 directory mask = 0775 public = yes Dariusz Thanks -- 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] Re: Samba corrupting files
If your going to be using samba to host foxpro files, I think you should deffinately update to a newer version.. I forget at what recent point in time, but Jerry announced a very important fix (spin locks?) that were checked in recently to prevent fox pro database corruption. I don't think it has anything to do with the log files appearing in data files problem, but I haven't heard about that one in a long time. And as for your Unix Administrator giving you a hard time about Sun not providing the packages,,, well, I don't know what to say about that one. You may want to politely suggest that Sun does not, in fact, develop Samba, so their official ok doesn't really count for much when Samba devel team acknowledges serious data corruption bugs that have been fixed. If he/she doesn't get the hint, you may have to escalate the issue with management. This probably comes down to some kind of support contract in regards to what software is allowed to be installed on the Server. But if your company's support contract locks you into software with known data corruption issues, I have to question the value of that contract. If there are no such contractual limitations, I question the competance of admin who will not update the software if required to do so. Feb 26 6:06pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Wed, 26 Feb 2003, Chris de Vidal wrote: I'd heard of people having the same issues with Access but our problem was wit FoxPro db files. You should probably disable oplocks in Windows or in Samba for Access (or any large multi-user read-write) files due to weirdness in the SMB protocol. /dev/idal --- Brent Torrenga <[EMAIL PROTECTED]> wrote: > Chris, > > I am about to implement a MS Access2000 database > here on the samba server. > Was it MS Access that you had the trouble with > specifically? > > "Chris de Vidal" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] > > --- "Parker, Robin" <[EMAIL PROTECTED]> > > wrote: > > > We're now getting corrupt files appearing in > > > ClearCase. The files are in > > > tact except for a number of lines added to the > > > beggining of the file. > > > > I can't explain that type of corruption, but I can > > suggest you disable all oplocks. In your smb.conf > > global section, 'kernel oplocks = No', and on each > > share specify 'oplocks = No' and 'level2 oplocks = > > No'. > > > > I'm not a member of the Samba team but a Linux > > administrator whose primary responsibility is > several > > Samba servers. We had corruption on several large > > flat database files. When we disabled all > oplocks, > > our databases no longer corrupted. > > > > I've not been able to test which oplock setting of > the > > three was causing this problem (or if it was all > > three) so I suggest you try disabling them all at > once > > and then gradually re-enabling them one at a time. > If > > that doesn't fix it, be sure to set them back, as > > oplocks are a performance boost. > > > > Good luck, > > /dev/idal > > > > __ > > Do you Yahoo!? > > Yahoo! Tax Center - forms, calculators, tips, more > > http://taxes.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 __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.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
Re: [Samba] please reply
These sound more like OX X user interface quirks to me. (And would therefore have nothing to to with Samba). Since you have Win9x computers on the network, have you tried creating a share on them and connecting to them with OX X. Is the behaviour any noticeably different? On Fri, 21 Feb 2003 [EMAIL PROTECTED] wrote: 3rd post on this issue - it would be great if a Samba person could please reply to the list or to me regarding this issue (since no other posts on the lists relevant to mac have addressed it) - ** if you don't beleive it's a bug or think there's nothing about samba itself that can be done, please say so and we'll be done. ** if you don't think it's an important enough issue, please say so and we'll be done. ** if you haven't responded yet because there's too many issues to address and you need more time, that would be fine, if we could just get SOME sort of response, even "stand by, we are trying to figure it out...". thanks. original post: --- i've got 3 shares active on a debian box, accessing them fine from an OS X g4 and 2 win 98 boxes (the were set up and configured via the samba web admin tool from a browser when using gnome)(os X is 10.2.1) when i access dirs on those shares from the PC's, there's no problem, read, write all good. but from the mac, 2 important yuk things happen - 1. after closing folders and their subfolders, then closing windows, i come back to that folder right away or after other operations, and the folders and subfolders i closed are open as before. v. odd 2. the cmd-option-arrow or opt-arrow keystrokes normally used in the os X finder don't work in those folders that are in the share any pointers much appreciated! thanks eli fogboyATmovementbuildingDOTorg -- 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] Dumb ? question abount Name Resolution on a full SambaDomain
I don't know why the Samba documentation suggests not using Wins Support. It is by far a more reliable mechanism that broadcasts for Windows networks to find hosts, and is relatively painless to set up. You only need 1 computer with the Wins support on, the others would all have a Wins Server = Ip address of the computer with Wins Support. On Fri, 31 Jan 2003, Pierre Lebrun wrote: I wonder how to configure the name resolution on the Windows network. I am puzzled by the "Wins Support" section of the smb.conf man page: " You should not set this to yes unless you have a multi-subnetted network and you wish a particular nmbd to be your WINS server " Does that mean that on my subnet, broadcast is as performant as direct acces to the Name Server, even if Samba is the PDC and WINS Server ? If the use of a name server is better, what should I use: DNS, WINS, both ? Thanks for your comments. Pierre -- 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] OT: Virus Traffic jams
I have to wonder which, at this point causes more congestion and stress to e-mail systems. E-mail viruses, or aggresive Anti-Virus programs that are configured to allert everyone. Is this a configurable option in AV software... Should people start pressuring AV companies to change this behaviour? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Data Conversion
How were you examing the file size? If you look at the properties of a file in Explorer, you see a file size (in Brackets) as well as a confusing number of "bytes used". The bytes used will depend on the block size, as it is supposed to report the bytes of hard drive storage used to store the file, and will probably be innacurate when reporting the amount of space used on the samba share. The number of bytes in the brackets, however, should not change, and is not rounded. On Wed, 22 Jan 2003, Jim C wrote: hmmm... Well I do remember once uploading a file to my Linux server (without samba) and seeing a change in the file size. Downloading the file back onto the Windows box put the file size right back where it was, so you can see how one might believe this. Needless to say I was completley baffled. I could still use the file and there seemed no other changes other than that on this box it was one size and another size on that box. I also remember consulting a professional about it and what I was told was that Windoze does rounding. Of course it could be the difference between Windoz 95 / 98 /98 2nd Ed / 2K / XP as I do not remember the exact OS and truthfully the Professional I consulted was... well... a "Linux extremist" a.k.a. "Penguin Nazi". ;-) I leave it to the reader to draw further conclusions in regards to the file size issue. Rashkae wrote: > Umm, no, M$ file size reporting is to the byte and perfect accurate. > > > Jan 22 9:27pm > > > They hang the man and flog the woman > That steal the goose from off the common, > But let the greater villain loose > That steals the common from the goose. > --English folk poem, circa 1764 > > > > > > > > > On Wed, 22 Jan 2003, Jim wrote: > > Also it is my understanding that M$ filesize reporting is inaccurate. > > [EMAIL PROTECTED] wrote: > >>If I copy a file locally from a samba mount and download the same file via >>FTP the file sizes are different. The FTP file is correct where as the >>copied file is an incorrect format. Although I can't see a physical >>difference, after writing to tape you can see that each record is shifted a >>space. Is there any setting to control the data conversion across a samba >>mount? >> >>Mike >> > > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Data Conversion
Umm, no, M$ file size reporting is to the byte and perfect accurate. Jan 22 9:27pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Wed, 22 Jan 2003, Jim wrote: Also it is my understanding that M$ filesize reporting is inaccurate. [EMAIL PROTECTED] wrote: > If I copy a file locally from a samba mount and download the same file via > FTP the file sizes are different. The FTP file is correct where as the > copied file is an incorrect format. Although I can't see a physical > difference, after writing to tape you can see that each record is shifted a > space. Is there any setting to control the data conversion across a samba > mount? > > Mike > -- 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] Data Conversion
Samba doesn't do data conversion of any kind.. Ftp, however,might be converting from Unix text format to Dos text format if it's in text mode instead of binary mode. Is this a text file created in Unix that you are trying to open in a Windows program? Or a file you uploaded to the Unix server via ftp and thereby converting it? Jan 22 3:26pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: If I copy a file locally from a samba mount and download the same file via FTP the file sizes are different. The FTP file is correct where as the copied file is an incorrect format. Although I can't see a physical difference, after writing to tape you can see that each record is shifted a space. Is there any setting to control the data conversion across a samba mount? Mike -- 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] request_oplock_break: no response received to oplockbreak request
Nope, this has nothing to do with user owned processes. What this does, mean, however, is that the users are trying to share the files with multiple computers with oplocks enabled. You should search this mailing list archive for discussions ad-nauseum about oplocks. Jan 13 1:56pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Mon, 13 Jan 2003, toby bluhm wrote: Hello, I've been running samba 2.0.7 for a couple years now on a DEC alpha with Tru64 4.0D. I't pertty much a default smb.conf as far as oplocks & that sort of stuff. Anyway, the other day some users started having troubles with saving ms-word files. The smbd processes have always been running as root. But now the users with the problem own their smbd process. And they get errors like such in the log file: for dev = 810, inode = 17169, tv_sec = 3e22d418, tv_usec = 931fe [2003/01/13 12:46:27, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 5755 on port 1450 for dev = 810, inode = 144022 for dev = 810, inode = 144022, tv_sec = 3e22dc57, tv_usec = d9670 [2003/01/13 12:46:30, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 4265 on port 1395 for dev = 810, inode = 17312 for dev = 810, inode = 17312, tv_sec = 3e22d418, tv_usec = 887d2 [2003/01/13 12:46:30, 0] smbd/oplock.c:(1204) request_oplock_break: no response received to oplock break request to pid 5755 on port 1450 for dev = 810, inode = 144022 for dev = 810, inode = 144022, tv_sec = 3e22dc57, tv_usec = d9670 It seems since some of the smbd processes is owned by root, the process owned by the users cannot control the root owned process. Is this a correct assumption? How or why would it start doing this? And the user will have several smbd processes started in their name. Seems to be only NT4 clients, although I've not verified that yet. The only recent change I made was the IP address of the server. The client have had their new IPs for some time now. I'm not tying samba to any specific interface or IP. ANy clues as to how to fix this? Thanks -tkb -- 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] Odd problems with XP
How does your Samba box know about the WINS server? (Unless, of course, you neglected to post your *complete* smb.conf) Dec 19 12:57pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Thu, 19 Dec 2002, Neal Lawson wrote: I Do have a central WINS server running and the PDC, BDC, the Samba box, and the XP client know about the wins server Marian Mlcoch, Ing wrote: >Your problem is complicated browsing with NT and samba. >Reason: >1. Use on your network on all machines and servers only one!! protocol >TCPIP. >2. Configure WINS server on NT PDC or BDC machine >3. In config tcpip on all clients set wins server to created IP. >4. In all samba server or clients set in smb.conf wins server = IP... > >REM If need another protocol as netbeui or ipx on server or clients yuo must >disable browsing features for this protocols in regedit or confs... > >Thats all. > > >- Original Message - >From: "Neal Lawson" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, December 18, 2002 9:33 PM >Subject: [Samba] Odd problems with XP > > > > >>I have one Samba server with my Raid 5 can on it, and a NT 4 PDC and >>BDC, and im running samba 2.2.7, for most of my clients browsing the >>shares is just fine, but on some browsing the shares hangs or takes a >>long time to return with a result >> >>here is my smb.conf file: >> >> >>[global] >>netbios name = xx >>load printers = no >> workgroup = XXX >> encrypt passwords = Yes >> security = domain >> allow trusted domains = yes >> password server = >>time server = Yes >>socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=4096 >>SO_SNDBUF=4096 >>os level = 34 >>name resolve order = wins hosts bcast >>write raw = yes >>read raw = yes >> hide files = >> >> >> >/:2eDS_Store/resource.frk/TheFindByContentFolder/TheVolumeSettingsFolder/Des >ktopFolderDB/Network > > >>Trash Folder/resource.frk/.*/ >>oplocks = yes >>max xmit = 65535 >>level2oplocks = yes >>dead time = 7 >>getwd cache = yes >>nt acl support = no >> >> >>[private] >>comment = Private Storage for %U >>path = %H/private >> create mode = 0600 >> directory mode = 0700 >> valid users = %U >>follow symlinks = yes >>writeable = yes >> >>[public] >>comment = Public Storage for %U >>path = %H/public >> create mode = 0600 >> directory mode = 0700 >> valid users = %U >>follow symlinks = yes >>writeable = yes >> >>[web] >>comment = Web root for %U >>path = %H/web >> >> >> >>Thanks for any help >> >>-- >>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] need smbmount cron script
try adding a -f to your cp (For force). That will prevent cp from prompting you to overwrite the files. On Thu, 28 Nov 2002, Kevin Brown wrote: I do this manually: smbmount //Beverley/C /home/data pwd: "insert pwd" cp -ruv /home/samba/public /home/data smbumount /home/data This lets me do the following: make a copy of all my samba shares on the server to a client named Beverley C drive. ruv does the following recursive (all subdirectories and subfolders) unchanged (only write over when newer) verbose pwd: "insert pwd" would be my password for that share (secret!!) the only problem is I can not get cp to do this "quietly or without input, even dropping the "v" makes me confirm each write. I need to unmount the share at end of backup. Any ideas of doing it another way much appreciated. I currently run a cron job, tar -cvfpP /dev/st0 /home/samba/public weekly to save all my samba server shares to tape. best, kevin brown -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] here's a fix for Goldmine (and other ISAM database basedprograms) on Windows NT/2000/XP clients talking to samba
Why not disable oplocks in Samba for the share where the database is stored? Seems simpler than reg hacks on every client. Nov 20 5:42pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Wed, 20 Nov 2002, Jeff Davies wrote: Goldmine seems to a compiled database application compiled in something likeClipper. Clipper applications record lock through ISAM like files (DBF). However, in Windows NT/2000/XP, Opportunistic locking is turned on by default in order to accelerate file transfer from file services. [Windows 95/98 did not Opportunisticly lock] However, opportunistic locking corrupts ISAM and ISAM like databases. Here is how to turn off opportunistic locking. (NOTE: It has to be turned off at a system wide level, there is no provision in windows to enable this for some file services and not for others.) --- Opportunistic locking turned off on the Windows XP client in this way: Start-Run->(type in) RegEdt32 navigate to \Hkey_Local_Machine\System\CurrentControlSet\Services\LanManServer\Parameters new Key or type DWORD name "EnableOplocks" leave value at default 0. navigate to \Hkey_Local_Machine\System\CurrentControlSet\Services\LanManWorkstation\Parameters new Key or type DWORD name "EnableOplocks" leave value at default 0. Close rededt32 and reboot. - --- This has solved our Goldmine database corruption problems (started when the first Windows XP client was connected (all other machines were Windows 98). Wizard Systems, makers of Goldmine has been notified, and the above information will be on their support database. This also should solve similar problems (if any are found) with similar MS Access systems using shared database files (as opposed to passthru SQL to backend ODBC connectors to SQL Servers of one sort or another). There was a post by a user saying "Goldmine is a horrible system we moved to MS Access" which was rather unhelpful. Our sales people think Goldmine is excellent, and having written many a customised CRM system in Lotus Notes (Dow Jones (London), Ryder UK etc), I also think Goldmine is a good program. (could perhaps do with the option of putting data into a back end SQL server eg MySQL etc). And I've seen an awful lot of CRM systems. Jeff Davies Electronics Engineer Aber Instruments Ltd -- 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] SMBFS workarounds
Well, yes, I see your point about smbfs mounting the file system in single user, but I see s many ways to quickly get around that Assuming your passwords are stored in properly read protected files, why could you not configure smbfs to mount the file system somewhere in the users home directory with the proper username/password for the user when he/she logs in? I agree that this would be a pain to set up and far from ideal,, but smbsh is really not nearly good enough, (IMNSHO) for actually sharing a network file system. On a side note: I think a reason that your comments attracted so much critism is not because people think samba doesn't take corruption seriously (I'm a big fan of Samba and samba team myself,, and I think the level of support offered on the mailing list by samba developers is nothing short of superb), but your clain that Samba never shiped a version with data corruption bugs... (Maybe what you meant to say was that you never shiped a version with *known* data corrution bugs at the time it was shipped.) Oct 24 12:39pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Thu, 24 Oct 2002, John H Terpstra wrote: On Thu, 24 Oct 2002, Rashkae wrote: > John, Please ignore this question from someone who probaby doesn't know > enough to make sound statements, and who hasn't really followed the list > closely lately I choose to help, not ignore. > > Has there ever been an explanation found for the brief rash of people who > had tidbits of Samba log file data inserted in their network shared files > when sharing over a Samba server?? If indeed that problem was ever > confirmed, I can't see how any of the problems you mention can be the > cause. Not one confirmed reproducible case to my knowledge. What we need is a reproducible test case, otherwise how can we locate the source of the problem? > > Also, since smbfs is such undesirable technology,, what do you suggest we > use to mount file systems between unix hosts?? nfs is great, I suppose, if > everyone is logged into the same server or using something like LDAP to > make sure all login machines have synchroized login accounts,, but > somehow, the simple flexabilility of samba and smbfs always impresses me.x There is a facility called smbsh (it is part of samba but you need to build it separately). It creates a user space file system under /smb. If uses the LD_PRELOAD facility. Unfortunately, recent glibc changes have broken the ability to use this. To use this /smb facility (which works great on Sun Solaris) you run smbsh, enter your user name and password, cd /smb, then ls will list the workgroups (domains) in your network neighborhood, cd to a machine name, ls will list the shared resources, cd into a shared resource and ls will list the files. You can operate on these files like they are local. The key benefit of this is that the smbsh session is authenticated as the remote user, thus the remote user gains access only to resources (files/directories) that he/she is entitled to access. With smbfs though the remote resource is mounted as a single UID/GID at the LInux end, and ALL communication with the remote server is as a single user (ie: one SID). I personally dislike this from a security and control perspective because I approach all Unix/Linux interoperability from the NT Administrator's perspective. After all, why have individual user accounts if everyone is going to access the remote files as just one user. Hope that helps to explain my position. Cheers, John T. > > > > On Wed, 23 Oct 2002, John H Terpstra wrote: > > Jay, > > For the record, I thouroughly test samba pre-releases before we ever ship. > To the best of my knowledge, NOT ONE version of samba we have released > ever CAUSED (or resulted in) file/data corruption. If I sound defensive - > that's is exactly correct because file corruption is a DEATH issue! > > Please note: This does NOT include smbfs, which is not officially part of > Samba. I can make NO assertions regarding the integrity of smbfs as I > regard this as most undesirable technology. I do NOT test smbfs at all. > > Every reported case of file corruption I have looked at has been due to: > > 1. Bad or defective or low grade ethernet cards > 2. Defective HUBs / Ether-Switches > 3. Defective Hardware on the Server > 4. Incorrect Protocol Stack configuration on the MS Windows client > > FHIW: My current testbed consists of: > > Tyan 2460 motherboard, 2 X MP1600+ CPUs > 1 GB DDR2100 RAM > 1 Gigabit Intel Enternet > 2 x Intel EEpro100 > 1 x 3Ware 7540 IDE RAID > - 3 WD
Re: [Samba] Re: How Samba let us down
John, Please ignore this question from someone who probaby doesn't know enough to make sound statements, and who hasn't really followed the list closely lately Has there ever been an explanation found for the brief rash of people who had tidbits of Samba log file data inserted in their network shared files when sharing over a Samba server?? If indeed that problem was ever confirmed, I can't see how any of the problems you mention can be the cause. Also, since smbfs is such undesirable technology,, what do you suggest we use to mount file systems between unix hosts?? nfs is great, I suppose, if everyone is logged into the same server or using something like LDAP to make sure all login machines have synchroized login accounts,, but somehow, the simple flexabilility of samba and smbfs always impresses me.x On Wed, 23 Oct 2002, John H Terpstra wrote: Jay, For the record, I thouroughly test samba pre-releases before we ever ship. To the best of my knowledge, NOT ONE version of samba we have released ever CAUSED (or resulted in) file/data corruption. If I sound defensive - that's is exactly correct because file corruption is a DEATH issue! Please note: This does NOT include smbfs, which is not officially part of Samba. I can make NO assertions regarding the integrity of smbfs as I regard this as most undesirable technology. I do NOT test smbfs at all. Every reported case of file corruption I have looked at has been due to: 1. Bad or defective or low grade ethernet cards 2. Defective HUBs / Ether-Switches 3. Defective Hardware on the Server 4. Incorrect Protocol Stack configuration on the MS Windows client FHIW: My current testbed consists of: Tyan 2460 motherboard, 2 X MP1600+ CPUs 1 GB DDR2100 RAM 1 Gigabit Intel Enternet 2 x Intel EEpro100 1 x 3Ware 7540 IDE RAID - 3 WD 60 GB IDE HdD 2 x IBM 40GB IDE driver (native to system) Caldera OpenLinux 3.1.1 with 2.4.18 kernel with ACL patch applied. Test load on system with up to 60 sessions doing full load work. Peak IDE I/O bandwidth is 452 MBytes/sec. Peak network I/O is 117 MBytes/sec. Samba peak I/O depends on nature of operations. In other words, I beat the living daisies out of samba during test. Tests done with Samba with Win9X, WinME, Win2K (Pro + Adv Server), WinXPPro. I can vouch for the fact that not one file corruption problem has been detected during the 2.2.x series, nor on any prior series. Cheers, John T. On Wed, 23 Oct 2002, Jay Ts wrote: > Jeremy Allison ([EMAIL PROTECTED]) wrote: > > Jay Ts wrote: > > > > > > > The corruption might be related to oplocks. I'm doing > > Just to keep myself out of more trouble today, I'd like > to point out that I didn't write the above. ;-) > > > File corruption is treated as a drop everything - priority > > 1 bug in Samba. If this were a generic problem known with > > 2.2.6 we'd be issuing a patch *immediately*. > > I'm really lost at this point (too many replies to too many > threads while having "one of those days"), but I think I/we > suggested he _upgrade_ to 2.2.6, if he isn't already running > a pretty recent release. > > I've seen problems in the early 2.2.x releases (when transferring > large files) that could be perceived as (or called) "file corruption", > but the problem went away sometime before 2.2.4. > > Jay Ts > -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] something wrong with the list (or its members)
Reply to all usually works rather well with any and all MUA's Of course, people who are direct recipients have to suffer receiving two copies of the message... (And how I feel for their horrible pain and inconvenience.) On Fri, 18 Oct 2002, Eric wrote: On 10/18 10:24, Yura Pismerov wrote: > should consider setting up reply-to-list option. > I'd like to know what people think about it... When I hit "reply" it goes to Yura. There should be a reply-to-list but I'm not sure how to set that up in mailing lists. So probably (my theory), people need to know their MUA and a list-reply ("L" in mutt). -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Opposite of Samba (Anti-Samba?)
smbmount will do this on Linux systems with smbfs support compiled in kernel. There is another software package that will do this for other Unices. Unfortunately, I cannot remember what it is called. (I believe that it's a commercial package.0 On Fri, 14 Jun 2002, Rick von Richter wrote: Is there a package to do the opposite of Samba? I.e. I want to use (mount) Win filesystems from a Unix client. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
My Err. Was Re: [Samba] Please Confirm Your Membership to the LinuxMagazine newsletter
I'm sorry. I wasn't paying attention. I thought that was the confirmation e-mail you were replying to. On Wed, 5 Jun 2002, Rashkae wrote: Way to go Billy On Wed, 5 Jun 2002, Billy O'Connor wrote: -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba