Re: [Samba] Another try: apps can't see data files until use of Win. Expl.
Well, the programs that start automatically and use the data files on the share are not in the Startup folder. So they're started via the registry, but are run on a user-specific basis. Are you on Windows XP? How do you start something before a user is logged in by registry? Does this mean that they are all neccessarily services? No, but they should be installed as such if you want them to run without a user logged in. By drive letter. I have WinXP automatically reconnect the share to N: on user login. The applications, which, as noted above, are users-specific, then attempt to access data in subdirectories beneath N:\CommonData\. Yes, Windows reconnects after user login. More specific the explorer process does. And that is not reliable. The explorer does not guarantee you the reconnect. Do an explicit net use in a startup script. Give a net use /delete before to be sure. and the share is reconnected to N: automatically. nancy also has Mozilla running as a service (Quick Start), and that is also started at login. N:\CommonData\Mozilla\bookmarks.html. After the WinXP login is complete (no hourglass cursor) nancy opens Mozilla to find that none of her bookmarks are present, yet shared drive N: is shown in Windows Explorer and no complaints about failure to connect the share are seen. After browing N:\CommonData with Windows Explorer the bookmarks are available in Mozilla. No surprise here. Mozilla is faster than explorer startup. If you want to access a mounted drive letter, have a Programm mount it, don't rely on explorer to reconnect. Explorer only makes sure the drive is mounted if you click on it. But all that is not really a samba problem. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Recycle VFS Second Pair of Eyes
Christoph Scheeder schrieb: Hi, one smal but bad typo: vfs objects = recycle here: ^ has to be vfs object = recycle That's no typo. Both forms are allowed. From the docs (http://sambafr.idealx.org/samba/docs/man/smb.conf.5.html): vfs object This parameter is a synonym for vfs objects. vfs objects (S) This parameter specifies the backend names which are used for Samba VFS I/O operations. By default, normal disk I/O operations are used but these can be overloaded with one or more VFS objects. Default: vfs objects = Example: vfs objects = extd_audit recycle -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Recycle VFS Second Pair of Eyes
[infosys] vfs objects = recycle recycle:repository = .recycle/%U recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:exclude = *.tmp *.temp *.~?? recycle:excludedir = /tmp /temp /cache recycle:maxsize = 0 i can see no error. Does smbd -b |grep recycle give vfs_recycle_init ? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Re: Recycle does not work in [homes]
Robert S schrieb: You are using samba 2.x. I don't know about recycle there, sorry I'm actually using samba 3.0.8. What makes you think that its 2.x? Is there anything in my config that's right for 2.x and wrong for 3.x?? It is the way of your config that made me believe your are still using 2.x. In 3.X an additional config for recycle isn't necessary. And the | as a seperator stopped working (but could be reintroduced, don't know about 3.08) Part of my smb.conf: [raid1] comment = 1 path = /raid1 read only = No create mask = 0777 directory mask = 0775 delete readonly = Yes vfs objects = recycle recycle:keeptree = Yes recycle:repository = .Papierkorb/%U recycle:noversions = *.doc *.xls *.ppt recycle:exclude_dir = /tmp recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? recycle:maxsize = 0 recycle:versions = Yes recycle:touch = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Recycle does not work in [homes]
Send your conf please. I have My Documents pointing to //server/robert. If I delete a file there it does not end up in //server/robert/.recycle. Is there a fix for this or is it intended 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: Recycle does not work in [homes]
My recycle.conf: name = .recycle mode = KEEP_DIRECTORIES|VERSIONS|TOUCH maxsize = 1000 exclude = *.tmp|*.temp|*.o|*.obj|~$* excludedir = /tmp|/temp|/cache noversions = *.doc|*.xls|*.ppt You are using samba 2.x. I don't know about recycle there, sorry -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Winbind type email
Sorry to post this hugely off-topic, but i have no clue where to start. We are looking to replace an Exchange server with something with less licencing issues, is there a way to use windbind (or winbind-ish behaviour) for an email server (ie users authenticate through winbind to log on to imap server etc). cyrus sasl mechanism can be used. Look at option ntlm_server. exim can send ntlm auth too, but doesn't forwad it to another server -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba 3.0.7 on linux 2.6.8.1 with gigabit = very slow upload speed
Give your smb.conf please. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] which kernel should be used to solve sendfile problem on linux?
since the 3.0.7 upgrade. If anyone has a known to work config, could you share your set up info please? The system has a 2.4.21 kernel with xfs filesystems. It is a redhat 9 machine on IBM hardware with a large FC attached array connected via a qla2300. Did you test that the sendfile implementation is really the cause for the failure. That means did you try use sendfile = no in global? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] VFS Recycle
[test] path = /home/depts/test vfs objects = recycle recycle:repository = /home/depts recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? recycle:excludedir = /tmp /temp /cache understanding is that the .recycle directory is created once the first file is deleted but I am not seen that directory anywhere. Can someone point me in the right direction. If you want a .recycle dir you have to name it .recycle not depts. recycle:repository = /home/depts/.recycle I don't know if recycle can handle absolute paths, i only used something like recycle:repository = .Papierkorb/%U -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Yet another charset problem
First, on Windows what does chcp tell you ? Second what is your LANG setting on linux? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Yet another charset problem
First, on Windows what does chcp tell you ? Active code pages: 850 So we know now that dos charset=cp850 Second what is your LANG setting on linux? LANG is not set Does locale produce any useful output? -- 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?
When you didn't , try unplug the network cable from the switch. After them this delaying problem will not occur. It sounds like a madness, butit works. Of course you can't print, but the dialog box opens immediately. Where is then the problem? You always have the posibility to setup your printer like a it would print to lpt1 and later change the print port to your samba server queue. You will loose the posibility to see who is in the queue before you, but the delays are gone. Choose your poison. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] polling for options on printing commands
Gerald (Jerry) Carter schrieb: I have a fax printer setup which uses: print command = ( /usr/bin/printfax2.pl %I %s %U %m; rm %s ) For people with print servers: I'm working on fixing a bug for 3.0.8 and need to know how many people use smb.conf variables other than the standard printing vars like %p, %j, etc... in the various printing commands. Please send me examples if you use things like %U, or %m. Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Two Questions concerning samba - file access times - two instances on one server
It's more like an ext3 question... NTFS has create, modify, and access timestamps whereas ext3 has change, modify, and access ones. According to my experiments on NTFS: 'create' really never changed. 'modify' changes whenever file is saved. 'access' changes whenever property of the file (Permissions or its name) get changed. reading file does not change any timestamp at least when I read a text file with Notepad.exe. That's strange, because it should do just that, it does here. Are you shure you didn't set NtfsDisableLastAccessUpdate in your registry? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Cannot receive files from server 3.0.7 to W2K
Standard Debian Response, third time this day. Try adding use sendfile = no to global section. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Performance Issues with GBit LAN
Steffen Timmermann schrieb: I have 2 PC's connected with 1GBit NIC's. When I transfer a file from my File-Server (Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC, What Chipset? Maybe Intel BX? The at this time common Harddisk Interface can't read faster than about 9MB per second. If you use a separate PCI Card as Harddisk Interface enable PCI Buffers in Bios. 2x Western Digital WD200JB RAID 0) to my Windows-PC(AMD Athlon XP 1800+, 1024 MB DDR-RAM, WINXP PRO, RTL8169 NIC, 2x Western Digital WD080JB RAID 0) with Samba, i get Speeds around 8-9MB/sec. to be expected -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] backup posix-acl shares
so please is there a protocol/service that i can use, to backup my servers with posix acl. star saves acls. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem with displaying large number of large file names
[EMAIL PROTECTED] schrieb: We have been using Samba for 4 or 5 years. The server has done its function well. Now, I'm trying to upgrade from 2.0.3 to 3.0.x == We serve files with large file names (80 characters). We can see all file names on our 2.0.3 server but cannot on the 3.0.x implementation. == Seems coincidental with trying to operate on files in UNIX Did you check if your dos charset unix charset display charset settings are correct? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SuSE 9.1 Pro
Hi, the simple answer is dont use suse firewall,( iptables scripts are easy to google ) and study more chapters from Samba Browsing That's not very nice, the Suse 'firewall' is well written. And you can't expect everyone to learn that much about paket filtering just to run samba. And it works with samba. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Poor linux client performance (comparing to XP)
Is there any patch (official/unofficial) available to fix this issue? None that i know about. You could try using mount.cifs. Arent there any changes needed for the samba server, just use other mount options? No changes on the server side. Just use mount -t cifs if you have that in kernel or as module. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Poor linux client performance (comparing to XP)
Bostjan Skufca @ domenca.com schrieb: When using 1 client, it is 95% idle, when using 2 clients it is 85% idle. When using 2 clients the throughput roughly doubled (from ~4MB/s to ~8MB/s) Is anyone familiar with this issue? Yes, this has been observed a lot. It's as far as i know based on smb packet size. smbfs will only use 4096 Bytes in one smb packet, whereas a windows client will use much larger packets, up to 60K). (Take ethreal to look at it) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Poor linux client performance (comparing to XP)
Bostjan Skufca @ domenca.com schrieb: Is there any patch (official/unofficial) available to fix this issue? None that i know about. You could try using mount.cifs. Is anyone familiar with this issue? Yes, this has been observed a lot. It's as far as i know based on smb packet size. smbfs will only use 4096 Bytes in one smb packet, whereas a windows client will use much larger packets, up to 60K -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with XP after upgrade from 2.2 - 3.0
included an upgrade from Samba2.2 - Samba3.0. However since the upgrade I have problems using my Samba server from my XP (home) Laptop. --- [2004/10/03 19:19:54, 0] lib/util_sock.c:read_socket_data(384) read_socket_data: recv failure for 4. Error = Connection reset by peer Seems to come up regulary now, try use sendfile = no in your global section -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Performance of samba in linux vs windows
For windows I'm low-tech: stopwatch plus drag-n-drop of a large file (any recommendations on a 'simple' windows program that will tell you how long it took to copy a file, or even calc the BW for you?) timethis from the windows resource kit - why would I be getting half the performance via nfs vs smb? Is there a lot more overhead with smb vs nfs? Give your smb.conf for comparison -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Server not responding after Samba upgrade
When I access to server via IP address everything works fine. Maybe nmbd doesn't get started? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Windows XP - Explorer crashes when I try to open a file on a Samba share
Any insight as to what the kernel problem was? Since it's a Gentoo system, I did compile the kernel myself. I'd hate to file a bug if it was simply me making a boneheaded mistake... I don't know what the specific problem is. But there has to be a solution as my kernel (Suse 2.4.21-243) has no problems with sendfile. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Puzzle -- Logon/Login from Windows XP
So my question is, how can those 100 users logon to the Samba server from ANY workstation without having an account on the Windows XP workstation that matches their username/password on the Samba server? Why don't you want to creat a domain? Isn't there a way to get the Samba server to ask for a username and password when the user clicks on the name of the Samba server in Explorer? The server can't ask the user for another username/password. It is a clients decision to ask the user for additional credentials. Unless you find out what specific setting triggers explorer to ask (null session, guest account settings or something, try ethereal) you are out of luck. Maybe you write a script that mounts the shares with net use and give the samba username with /user:name * to ask for the password. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0 VFS recycle
Jason Balicki schrieb: I'm trying to set up the recycler module in 3.0.7, but no matter what I do Samba seems to ignore it, even though testparm shows no errors. recycler is working here, smb.conf looks like: [test] path = /mnt/test read only = No create mask = 0777 directory mask = 0775 delete readonly = Yes vfs objects = recycle recycle:repository = .Papierkorb/%U recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:maxsize = 0 recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? recycle:excludedir = /tmp /temp /cache /mnt/test/tmp recycle:noversions = *.doc *.xls *.ppt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0 VFS recycle
That's the ticket. I had these lists seperated by |'s (pipe symbols), as they were in 2.2 (in recycler.conf) and as they're listed at the site that Jim C. gave me: Once I removed the pipes and replaced them with spaces, recycle started working. My working samba 3.0.7 share def is: That changed somewhere after 3.0.2 I don't now why. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows XP - Explorer crashes when I try to open a file on a Samba share
I am having problems with my samba clients. I am using Windows XP SP1 to try to connect to a Samba server I have running on my Gentoo Linux server. Windows file browser) locks up hard. Eventually, the title bar of the windows will update itself to say Not Responding, but the only way out is to force Explorer to quit and then wait for it to relaunch (or, if I'm lucky, sometimes I can pull up the Task Manager and start Explorer that way). Maybe you are experiencing the sendfile problem. Using sendfile is the default for newer samba versions, but unfortuneately a lot of kernels don't implement that right. Try using use sendfile = no in your global section socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Setting buffer to 8192 usually decreases buffer space on most systems. This maybe is a leftover in the docs from old times and not useful any more. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] winbind users get lost sometimes (repost)
Check that nscd is not running. If it is, stop it. - John T. nscd is usually useful, is there any further explanation available why it is 'bad' now? Or what specific caching leads to the problems? Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba3 vscan recycle exclude does not work
recycle:exclude=*.TMP|*.tmp|*.temp|*.o|*.obj|~$* recycle:exclude_dir=/tmp|/temp|/cache recycle:repository = .recycle/.recycle.%u recycle:noversions = *.doc|*.xls|*.ppt anybody knowing about that prob too? Yes, i'm seeing the same behaviour. it now works for exclude if i write recycle:exclude=*.TMP *.tmp *.temp Seems if someone changed parameter parsing. I couldn't get exclude_dir to work. No matter how i write the parameters no directory gets excluded (is it exclude_dir or excludedir btw. ?) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Losing network connection
Aug 12 14:46:23 ismlnx1 kernel: lcs problems detected eth0 temporarily unavailable. Telnet/SSH access is gone, as are all Samba connections (actually they are there until they time out), and then we need to reboot in order to get our connections back. I haven't increased my debug level yet in smb.conf but that's probably what I'm going to try next. Looks more like a network adapter problem than smbd problem. What kind of network adapter is in the server, what switch is used? Is line speed and full/half duplex autonegotiated or fixed? Is the network interface reporting droped packets or overruns? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] An Interesting Issue in Samba Performance
Does anyone know of a test I could have carried out in order to trouble shoot that particular issue ? Taking Ethereal and looking for large gaps between pakets. Seeing a lot of connection reset by peer messages in the log. Always check for full/halfduplex settings of the network cards. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] recycle with samba 3.0.5
Anybody here use the module recycle with samba version 3.0.5!? I use with 2.2.8a without problems. Is this. I use it. Works fine. testparam goes crazy if it hits the recycle options in 3.0.5. It isn't a separate module anymore. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] recycle with samba 3.0.5
vfs options = /etc/samba/recycle.conf vfs object = /etc/samba/recycle.so Here is your problem, there is no recycle.so and recycle.conf any more, it is just vfs objects = recycle My options are: recycle:keeptree = Yes recycle:repository = .Papierkorb/%U recycle:noversions = *.doc|*.xls|*.ppt recycle:excludedir = /tmp|/temp|/cache recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~?? recycle:maxsize = 0 recycle:versions = Yes recycle:touch = Yes And while recycle itself works in 3.0.5, testparm produces a lot of unnecessary output. And you can't use swat any more to change options, it writes all that testparm garbage in smb.conf. The last known good version is 3.0.2 to my knowledge. 3.0.4 is broken. don't know about 3.0.3 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] testparm and vfs object = recycle
Simo Sorce fixed that after the 3.0.5rc1-release, IIRC. Try the attached patch. That patch doesn't fix the problem, it only reduces the amount of garbage. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: i need recycle bin configuration
Jim C. schrieb: It does exist. On a Mandrake box, if you change to the profile directory: cd /var/lib/samba/profiles/[username] and then use /../../../home/%U/Trash then what you find is that you are in the /home/[username]/Trash directory which lies within the bounds of the homes share. That's confusing to me. How can one go above root directory? The idea was centralized trash. You must admit that it would be nice to be able to find all the trash in one place for one user. Hm, maybe nice for the user. But if you want to achieve this with the path for recycle that would mean copying the data around instead of moving? Bad idea. I don't think recycle works that way. Maybe you could make links to all recycle paths somewhere and share them. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] keep a file deleted by a user
Is this possible ? perhaps with a vfs object = parameter ? Yes, look for vfs objects = recycle -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: i need recycle bin configuration
Jim C. schrieb: Got it partially working. I note that this works recycle:repository = %U/Trash and this does not: recycle:repository = /../../../home/%U/Trash No surprise here, what should this give as a result? A path like that does not exist, as far as i know. Why not the suggested recycle:repository = .recycle/%U Works like a charm. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] testparm and vfs object = recycle
Hello, adding a trashcan like behaviour on a samba share with something like: vfs object = recycle recycle:repository = .Papierkorb/%U recycle:keeptree = Yes recycle:touch = Yes recycle:maxsize = 0 recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~?? recycle:excludedir = /tmp|/temp|/cache works without problems with smbd, but testparm goes crazy on every recycle Parameter. Everything gets printed about 100 times. Tested on samba 3.04 and 3.05rc1. Does anyone no a way around this? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: i need recycle bin configuration
excerpt from that mail: complete configuration now goes into smb.conf, no need to create a separate file for it. vfs object = recycle recycle:repository = .Papierkorb/%U Now, that's great. And really works. And testparm goes crazy if i ad all this, it repeats that part maybe 10 times. Can someone please tell me where to find doku on all these parameters for recycle? Google wasn't that helpful this time. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: i need recycle bin configuration
testparm matching the smbd you are running? perhaps its a leftover older version which doesnt know these values? mine doesn't complain. No, it is the same version, i tested on a 3.0.5rc1-SUSE. Seems there is more broken than that. Swat doesn't work right and the html help seems incomplete, but only testing And yes the doc's for this are not easy to find. Now i that i know what to look for... It's even in the Samba-HOWTO-Collection.pdf. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] file corruption with write cache
Hello, FYI, i noticed that using write cache size = 131072 on a share, leads to corrupted files from some applications. Only one client is accessing the file. In particular with coreldraw this can be reproduced. Setup: Server: samba 3.0.4-SUSE Client: Windows XP Pro [raid1] comment = 1 path = /raid1 read only = No create mask = 0777 directory mask = 0775 write cache size = 131072 map system = Yes map hidden = Yes delete readonly = Yes -- 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 with write cache
Can you tell me exactly how you reproduce this ? Open a file on the write cached share, in this case a coreldraw file (size 24K). Save it with a different name, it only happens if a new file gets created. Sometimes the first save succeds without error. After the first one fails, no later write succeds. How can i help you further? you remove the write cache line Did this of course. Was experimenting. -- 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 with write cache
Can you reproduce this with a different application than coreldraw ? One that ships with Windows maybe ? So far i know none, but i will test. When you save the new file what happens ? Does the app abort with an error report ? No, the app is perfectly happy. How do you know the file is corrupt ? The file is shorter, but not cut at the end. But it's not that only some Bytes miss, in some places there seems to be random replacements. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba consuming massive amounts of memory (CONT)
[EMAIL PROTECTED] schrieb: Concerning Samba consuming memory, I forgot to add one thing, sorry. The process listing does not show Smbd consuming the memory. free -m just reports a drastic increase when I use Samba. This probably is only the file cache using the previously unallocated memory. It's not uncommon to use all available memory on a unix system. If you use linux you may reduce the dirty time in bdflush to avoid a time 'penalty' if the memory is really needed by another program. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba consuming massive amounts of memory (CONT)
[EMAIL PROTECTED] schrieb: That's exactly what I thought. However, when all of the memory is finally consumed, I can no longer copy files from the samba share to my Win2K box. Now, that is a problem. Does this happen if i you only read from your samba server or do the clients write to it? And can you read from the file system shared with samba on the server itself? Would killing all samba processes help? I'm just guessing here, but i assume that it's not samba but the underlying file system that is causing the trouble. Somewhat provoked by samba of course. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Disable timestamp change on file access?
Remco Barendse schrieb: I have samba on ext2, the clients are running windows. Normaly the date in windows show the last date/time a file was written to but now it show just the last time when the file was accessed. if you tell the explorer in details view to show all file dates (acess, changed, creation) are they different or all identical? as a mount option for the file system. I assume it's Samba because otherwise I would see the date change too when accessing a file from console? Never had any trouble with this, but you could mount your ext2 file system with the noatime option. But this should not be necessary because the difference between access and changed date is known to windows and unix. Which samba version do you use? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] syncing file dates between windows nt4 and samba 3.0
Kristian Rink schrieb: workstations which at night run xcopy /d to copy files from the files or directories I am copying there - if they already exist on the samba machine, they're obviously updated, but their timestamp doesn't After playing around with dos filetime and fake directory create filetimes without any success: Can anyone enlighten me in this topic? Hmm, no real solution but the update stops if you make a touch on the samba server on all files. And a system with disabled ntfslastAccess doesn't update every time with xcopy /d. Looks as if this behaviour comes from differences in creation, access and changed times. (touch sets all of them to current time) And robocopy only picks the real changes, maybe you can use that. Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares
Now, that is strange. Setting the readonly attribute attrib +r filename If you know how to use cmd.exe. If not use explorer, right click, mark readonly. would change this, but this may not be a solution for your problem. Try to revoke the right to 'write extended attributes' for everyone, Open security settings from a file, click the extended button, edit and look up the list until you find something similar. Mark deny. If you can't edit it because it's all greyed out, it is an inherited right. Create a new entry first or disable inheritance. Must be something in Win registry? No. If you don't know what user rights exist on a NTFS file system you really should look it up. Sorry that my mind reading capabilities suffer with distance. Keep in mind that names and settings are translated from german and could have different names in an english version of windows. And before you ask, yes, it is tested. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares
Dragan Krnic schrieb: updated regardless of the setting of NtfsDisableLastAccessUpdate. This disables the access update, means read access. If you cp this is write access, this will update the change time and i don't think you can disable this. access and change update are 2 seperate fields. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NtfsDisableLastAccessUpdate and smbmounted Win shares
I wasn't clear enough perhaps. Maybe. original file. If NtfsDisableLastAccessUpdate is set to 1 then the original file's LastAccessTime won't be updated after a DOS copy command, but it will if I use cp on an smbmounted volume. Now, that is strange. Setting the readonly attribute would change this, but this may not be a solution for your problem. Try to revoke the right to 'write extended attributes' for everyone, that shouldn't interfere with usual access, but stop the LastAccessUpdate. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] no forwardtick in filename?
I can't use a ´ (forward tick, accent acute) in a filename on a samba share. Is this an error or intention? If i copy a file with ´ to the samba share the result will be, the tick will be converted to a capital Z with back and forward tick on it and the rest of the filename is dropped. samba 3.01rc1 [global] dos charset = CP850 unix charset = ISO8859-15 display charset = LOCALE [raid2] path=/raid2 read only = No map system = Yes map hidden = Yes delete readonly = Yes dos filemode = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: no forwardtick in filename?
Forward tick is not in the iso-8859-15 table. It is really replaced by Maybe you should switch to UTF-8, in order to be able to map the win-1252 table. Or switch back to iso-8859-1. seems utf-8 is the way to go, this should solve all codepage problems. I just need to figure out how to read this from linux, the display there gets weird now. - http://oss.software.ibm.com/cgi-bin/icu/convexp?conv=UTF-8b=C2s=ALL That's a nice table. Thank you for your help -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Using the right network interface
You will want to include the loopback interfaces Check the sections in man smb.conf regarding these two directives. You need to include the loopback interface in the interfaces list or smbpasswd and swat will not work. Hi, are you sure about the loopback interface? I have interfaces eth0:0 bind interfaces only = yes in smb.conf and no problems with smbpasswd and swat so far. Other problems remain, though. Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] hide unreadable with homes share
Hello all, if i set hide unreadable on the homes share on a samba server (2.2.7 acting as domain controller) Win 2K clients (XP and NT 4 are OK) get the messages: The directory you are creating may be not writable do you want to continue? (translated from german) while creating a directory with the explorer, a mkdir does not give that error. The created directory is writable. The explorer creates a tmp file in the newly created directory and somehow decides to give that useless warning. Does anyone else see this kind of error? Or knows what the Windows explorer is testing for? By the way, i want to set the hide unreadable to let the NT 4.0 users only see their own home directory instead of the whole list. Holger [homes] path = /samba/homes read only = No create mask = 0600 directory mask = 0700 browseable = No guest ok = no # hide unreadable= yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] strange smbstatus locked files
Hello all, i suddenly have entrys like 21818 DENY_WRITE 0x20089 RDONLY NONE :U Mon Dec 2 07:02:42 2002 21818 DENY_WRITE 0x100020 RDONLY NONE :U Mon Dec 2 07:02:39 2002 21818 DENY_WRITE 0x100020 RDONLY NONE UT Mon Dec 2 07:02:49 2002 16132 DENY_WRITE 0x20 RDONLY NONE UT Mon Dec 2 11:21:36 2002 21818 DENY_WRITE 0x100020 RDONLY NONE UT Mon Dec 2 07:02:48 2002 16132 DENY_WRITE 0x20089 RDONLY NONE UT Mon Dec 2 11:21:34 2002 16132 DENY_WRITE 0x20 RDONLY NONE UT Mon Dec 2 11:21:11 2002 21818 DENY_WRITE 0x20089 RDONLY NONE UT Mon Dec 2 07:02:46 2002 21818 DENY_WRITE 0x100020 RDONLY NONE UT Mon Dec 2 07:02:45 2002 16132 DENY_WRITE 0x20 RDONLY NONE UT Mon Dec 2 11:21:13 2002 in smbstatus in the locked files list. What could UT and :U mean as file path? There is no such file? And these locks dont't disapear. And hint appreciated. Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] delay while browsing printer list
Hello, while using samba 2.2.7 with cups as print server for windows clients, every user gets a 15-20 seconds freeze of the complete desktop (mouse movement still works) when opening the printer list the first time after login. (If all printers are closed the can be reproduced). Has anyone else noticed this ? The workaround is to use a local printer instead and point its port from lpt1: to /servername/printershare. While this stops the delay it prevents the users from seeing print jobs of others, not quite what a print queue is good for. Known solutions available? Holger [printers] path = /samba/dtemp create mask = 0744 printable = yes browsable = no guest ok = yes use client driver = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] printer list from cups without restart?
Sorry to all for not telling the solution, i believed it was so obvious once i found it, so i felt a little ashamed for asking. As Martin Zielinski wrote sending sighup to all procesesses will work. To my surprise a '/etc/init.d/smb reload' does exactly this, and i believed this script exists on every machine, and everyone knew about it. I'm am now searching how to get rid of the 20 seconds delay on the windows clients when browsing the printer list for the first time. Holger Kurt Pfeifle schrieb: Message: 17 Date: Tue, 26 Nov 2002 19:41:51 +0100 From: Holger Krull [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Samba] printer list from cups without restart? I found it. Holger Krull schrieb: Hi, while using cups as a print system and sharing all the printers with samba to windows clients, is it possible to 'view' a newly created printer in the browse list without restarting smbd ? (samba 2.2.7) Holger Hi, Holger, would you please share your secret with me? How *do* you update the view onto printers from Windows clients without restarting Samba? For me it doesn't work since I noticed it a few months ago. Before that, I didn't notice, because I re-started smbd very often anyway (due to my experiments). I am using a range of CUPS versions (up to current CVS) and Samba up to 2.2.6. Windows clients are NT, 2K and XP -- none of the combinations worked. My printcap is updated immediately following the deletion or creation of a printqueue (I have more than ~30 regularly -- IIIRC I never tried it with a smaller number of queues...) Even rpcclient -- enumprinters doesn't show an update... What is your setup / versions / number of printqueues? I mailed to the Samba list several times about that already but never received any response (well once I was adviced to try SIGHUB, but that doesn't work either -- I really need to stop and start smbd)... Plus I was noticing others asking similar things (like you). Now *you* found it Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] printer list from cups without restart?
Hello, This doesn't work for me (Details to my versions in my previous mail. Still attached below) are you sure that you reach all running instances? And do you check with net view \\servername or with explorer? I have the experience that the explorer doesn't update its display immediately. I'm using samba 2.2.7 and the script uses killproc -p $SMBD_PID_FILE -HUP /path/to/executable I'm am now searching how to get rid of the 20 seconds delay on the windows clients when browsing the printer list for the first time. This is probably related to the fact that smbd scans its smb.conf every 20 seconds... Hm, that would mean i could not stop this behaviour. Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing view queue
Hello, i'm using samba 2.2.7 for printing with windows clients to cups. All users always have to press F5 to refresh the job list. Is this by design or a configuration error? Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] printer list from cups without restart?
Hi, while using cups as a print system and sharing all the printers with samba to windows clients, is it possible to 'view' a newly created printer in the browse list without restarting smbd ? (samba 2.2.7) Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] printer list from cups without restart?
I found it. Holger Krull schrieb: Hi, while using cups as a print system and sharing all the printers with samba to windows clients, is it possible to 'view' a newly created printer in the browse list without restarting smbd ? (samba 2.2.7) Holger -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] opening excel sheets slow, copying fast ?
Hello all, what is Excel doing while opening a file? There is no delay when opening the same file localy or on a windows 2000 server. But on the samba server it needs 10 seconds. But copying the same file (32K) has no delay at all. (With larger files things get worse, while coping a 60 MB file takes 8 seconds) Other mails mentioned recommended to disable oplocks, but this didn't change anything. Any hint available where to look at? Bye Holger My smb.conf looks like [global] workgroup = HERMOS netbios name = HERMOS2 server string = Hermos comment = Domain encrypt passwords = Yes map to guest = Never socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY # SO_SNDBUF=8760 SO_RCVBUF=8760 character set = ISO8859-15 add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u logon script = %G.cmd logon path = \\hermos2\profiles\%u logon drive = H: logon home = \\hermos2\homes\%u domain logons = Yes os level = 66 preferred master = True domain master = True wins support = Yes time server = yes printing = cups printcap name = cups printer admin = @users, root, netzadmin interfaces = eth0:0 bind interfaces only = yes domain admin group = netzadmin #oplocks=no #kernel oplocks = no #level2 oplocks = no #max xmit=32767 [Programme] path = /samba/programme delete readonly = yes create mode = 0770 writeable = yes directory mode = 0770 hide unreadable = yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba