Re: [Samba] [ANNOUNCE] Samba 3.2.0pre3
On Fri, Apr 25, 2008 at 10:55 AM, Karolin Seeger [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Release Announcements = This is the third preview release of Samba 3.2.0. This is *not* intended for production environments and is designed for testing purposes only. Please report any defects via the Samba bug reporting system at https://bugzilla.samba.org/. snip Major enhancements in Samba 3.2.0 include: File Serving: o Use of IDL generated parsing layer for several DCE/RPC interfaces. o Removal of the 1024 byte limit on pathnames and 256 byte limit on filename components to honor the MAX_PATH setting from the host OS. Can someone explain that some more. Is that a tightening or loosing of the restriction? Or point me do a discussion about how it was decided to do this? === My concern IIRC MAX_PATH is 512 under Windows, but it is a lie that cannot be trusted. It is just the limit for the old API. The new Unicode APIs do not honor that define. I'm concerned this may be true of other filesystems / OSes. In particular with Robocopy that comes with Windows 2003 Resource Kit you can work with pathnames up to 32K I believe it is. (See the Robocopy release notes for details). A lot of tools are still restricted to 512 chars, but I am fairly confident that 512 is no longer a fundamental limitation with newer Windows products. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Reproducible samba bug with directory name
I just recreated this bug in samba-3.0.26a-3.3. It is as simple as creating a directory named F-08-6104 International Management Assoc. (without the quotes), then looking at the name of the directory via XP. I've done it twice now: OpenSUSE 10.2 + Samba 3.0.23d-19.7 + XFS, all from Novell OpenSUSE 10.3 + samba-3.0.26a-3.3 + XFS, all from Novell With both I get the same wrong name FMIJ1P~A. I don't have any other environments to test, maybe someone could try other filesystems / OSes / Samba versions. Thanks Greg On Jan 14, 2008 5:50 PM, Greg Freemyer [EMAIL PROTECTED] wrote: All, I have a stable fileserver that had a burp this morning. (OpenSUSE 10.2 + Samba 3.0.23d-19.7 + XFS, all from Novell) A directory was created via a Rails App. (like always on this machine). Normally a traditional long filename and mangled short name are created. All is good even though I don't use short names for anything. Today, the longname somehow is reflecting what I assume is the mangled short name? Very strange. From Linux Local, I see the long name I expect. From a OpenSUSE 10.3 cifs client, I see the long name I expect. From XP and possibly some other Windows OSes, I see just the mangled short name? Ie. dir /X only has one name and its the mangled short name in the long name column. I have not yet tried to remedy this. I'm guessing from a Windows client, I could do a rename to a random name, then rename back to what XFS has named it and all will be good. I can do that at any time, but if there is any diagnostic value in analyzing this, I'll hold off. Thanks Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Reproducible samba bug with directory name
Simo, I just tried to create a directory name ending with a dot from XP. You're correct, it silently truncates the dot. And I tried creating a simple test directory asdf. from Linux on my filesystem, and only the mangled name is showing up from XP. Still seems like a bug to me especially since a cifs client shows the correct name, but if this is works as expected, I'll just be quiet about it. Greg On Jan 15, 2008 11:51 AM, simo [EMAIL PROTECTED] wrote: Not a samba bug really, what you see is a mangled name. That happens because you put a . as the last character which is not allowed in windows IIRC. Simo. On Tue, 2008-01-15 at 11:28 -0500, Greg Freemyer wrote: I just recreated this bug in samba-3.0.26a-3.3. It is as simple as creating a directory named F-08-6104 International Management Assoc. (without the quotes), then looking at the name of the directory via XP. I've done it twice now: OpenSUSE 10.2 + Samba 3.0.23d-19.7 + XFS, all from Novell OpenSUSE 10.3 + samba-3.0.26a-3.3 + XFS, all from Novell With both I get the same wrong name FMIJ1P~A. I don't have any other environments to test, maybe someone could try other filesystems / OSes / Samba versions. Thanks Greg On Jan 14, 2008 5:50 PM, Greg Freemyer [EMAIL PROTECTED] wrote: All, I have a stable fileserver that had a burp this morning. (OpenSUSE 10.2 + Samba 3.0.23d-19.7 + XFS, all from Novell) A directory was created via a Rails App. (like always on this machine). Normally a traditional long filename and mangled short name are created. All is good even though I don't use short names for anything. Today, the longname somehow is reflecting what I assume is the mangled short name? Very strange. From Linux Local, I see the long name I expect. From a OpenSUSE 10.3 cifs client, I see the long name I expect. From XP and possibly some other Windows OSes, I see just the mangled short name? Ie. dir /X only has one name and its the mangled short name in the long name column. I have not yet tried to remedy this. I'm guessing from a Windows client, I could do a rename to a random name, then rename back to what XFS has named it and all will be good. I can do that at any time, but if there is any diagnostic value in analyzing this, I'll hold off. Thanks Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- Simo Sorce Samba Team GPL Compliance Officer [EMAIL PROTECTED] Senior Software Engineer at Red Hat Inc. [EMAIL PROTECTED] -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Reproducible samba bug with directory name
On Jan 15, 2008 12:46 PM, simo [EMAIL PROTECTED] wrote: On Tue, 2008-01-15 at 12:34 -0500, Greg Freemyer wrote: Simo, I just tried to create a directory name ending with a dot from XP. You're correct, it silently truncates the dot. And I tried creating a simple test directory asdf. from Linux on my filesystem, and only the mangled name is showing up from XP. Still seems like a bug to me especially since a cifs client shows the correct name, but if this is works as expected, I'll just be quiet about it. Greg, we simply can't return a name that ends with a ., Windows clients can't cope with that. As you are working on a unix machine you can do that but samba has to change that before returning it to Windows clients. Just dropping the dot is not possible it would be way too easy to have conflicts. Mangling is the only option. Of course the best thing is for you to make up a policy of not creating windows-incompatible file names at all. CIFS works probably just because you are using the unix extensions. If you disable them you will probably see the same mangled name from CIFS as well. Simo. I'll implement a work-around for my situation, but I suggest a Samba enhancement would be to change the behavior to be more obvious of what's going on. Maybe: Linux name: . Windows Short Name: short-name Windows Long Name: Illegal-Directory-Name-Encountered-Access-via-mangled-short-name-short-name Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] One time samba short name issue
All, I have a stable fileserver that had a burp this morning. (OpenSUSE 10.2 + Samba 3.0.23d-19.7 + XFS, all from Novell) A directory was created via a Rails App. (like always on this machine). Normally a traditional long filename and mangled short name are created. All is good even though I don't use short names for anything. Today, the longname somehow is reflecting what I assume is the mangled short name? Very strange. From Linux Local, I see the long name I expect. From a OpenSUSE 10.3 cifs client, I see the long name I expect. From XP and possibly some other Windows OSes, I see just the mangled short name? Ie. dir /X only has one name and its the mangled short name in the long name column. I have not yet tried to remedy this. I'm guessing from a Windows client, I could do a rename to a random name, then rename back to what XFS has named it and all will be good. I can do that at any time, but if there is any diagnostic value in analyzing this, I'll hold off. Thanks Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence Technology http://www.norcrossgroup.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba enterprise performance?
On 2/6/07, Koen Smeets [EMAIL PROTECTED] wrote: snip I was thinking RAID6 Areca cards (2 GB of NVRAM/BBU), quad Xeon servers with 16 GB of RAM and 'enterprise' sata disks (though possibly avoid raptors due to relatively low capacity). For those people reading this who suddenly think they need to run and and get some Enterprise SATA disks: Interesting term 'enterprise' sata disks. The implication is that they are in some way higher quality than standard sata disks. IIUC, this is not true. In fact for desktop or non-RAID use it is actually the reverse. Standard (non-enterprise) SATA disks place reliability as a primary concern. enterprise sata disks place consistent response time as a primary concern. This comes into play when there are media issues and crc errors are being experienced trying to read the data from disk. With the standard desktop firmware retry logic in the drive electronics is invoked to in effort to minimize data loss. This retry logic can take up to 7 or 8 seconds AIUI. With the enterprise firmware, there is no retry logic. As soon as a crc error occurs at the drive head level, the read is failed back to the Sata controller. The expectation is that the system has RAID redundancy built in and that the data can be retrieved quicker from the other disks than from the disk experiencing read issues. This also allows better tracking of drive tracking at the system level. As I said, seems like an interesting definition of enterprise to me. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Rev #2 of the 3.02.3c patch
Thanks for all your and the team's hard work! Now if Lars will just build the 3.0.23c binaries for SuSE, well be in great shape. I still can't figure out how to get it to compile with all the options he has in the SuSE spec file. Oh well -- David C. Rankin, J.D., P.E. David, I have not been following this too closely, but your comment caught my eye. Have you experimented with rpmbuild? For this situation I think you would just get the old 3.0.23b source rpm from lars. then rpmbuild -bp # this will extract the 23b source and apply any suse specific patches. apply the 3.0.23c patch to the source rpmbuild -bc # this will compile the patched code with the suse options rpmbuild -bi# This should install the compiled code I did not test the above process, but I've used rpmbuild -bb before to back compile suse factory code to a released distro. I did not have any issues. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Auto-Extracting/expanging ISO images
On 5/25/05, Nathan Vidican wrote: Perhaps a bit off-topic, but figured this might be a good question to pose to the list before I go off re-inventing the wheel again... Has anyone, or does anyone know of, a way to directly mount or utilize and iso image file as a filesystem? I'd like to use samba to create a series of shares based on ISO images; assuming one can mount an ISO image file one could in theory serve windows clients as a cdrom archive (of course assuming performance loss vs dealing with an extracted/actual cdrom). Anyone have any ideas where I may go with this? Using FreeBSD as the underlying O/S on 64bit dual AMD Opteron hardware if it matters any. -- Nathan Vidican [EMAIL PROTECTED] Windsor Match Plate Tool Ltd. http://www.wmptl.com/ With Linux, what you dscribe is very easy, not sure about FreeBSD. With Linux you would just use a loopback mount to mount the image. ie. mount -o loop /path_to_iso1 /path_to_mount_point1 Then use Samba to share the mount_points Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Gigabit Throughput too low
On 5/13/05, Duncan, Brian M. [EMAIL PROTECTED] wrote: 512 Megs of ram in server Pentium 4 2.0 Ghz 2 Ultra 133 controllers - 8 drives total - all 300 gig drives running at max UDMA support with write back cache turned off on each drive. (Clients connected are all at 1 Gig full duplex) FC2, with Samba 3.0.10-1 Any tweaks I try I test before and after and have only left in place what tweaks seemed to improve performance. I am just running into a wall with Linux's manner that it handles caching of the files I think before it writes them to disk. I have seen my transfers start out as high as 50 Megabytes per second, but then they slowly go down (seen it go as low as 1 Megabyte per sec) My guess is if I added more memory to the server that time for it to slow down would be increased a bit. (I was going to confirm that this weekend) You do know that 10 MB/sec is not horrible for what you describe above. ie. You have a very low cost ide-controller structure. You have multiple drives per ide channel (in use at the same time? I hope not due to master/slave contention). You don't describe any raid. raid-10 is typically the fastest way to go, but uses more drives. A good 8-drive raid-10 is theoretically 4x faster than no raid on writes and 8x faster on reads. (Admittedly, that is only in theory, but it should still be faster.) You don't mention the filesystem, but I'm guessing ext3, which is also not a great speed daemon. I'm guessing you have the default journaling setup. Asssuming a journalling FS, you want to put the journal on some dedicated spindles, not the same drives as the FS. Basically, I would optimize your disk-subsystem speed before I started worrying about your 1Gb/sec. LAN. Personally, I would consider 3ware parallel IDE controllers, raid 5 at a minimum (raid 10 if you can), xfs filesystem, dedicated journal drive. 3ware has a white-paper describing a high-performance Linux setup. You might want to look at it. With a $1000 3ware controller and lots of reconfiguration, you can probably get your disk sub-system up to 100MB/sec with no probem. Even 200 or 300 should be achievable. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Building two redundant servers without clustering
On Wed, 02 Mar 2005 10:33:34 +0100, Michael Gasch wrote: hi, well, i was also wondering how to build up a very redundant solution for my samba installations at the moment i'm using rsync twice a day to sync about 2TB amount of data between two hardware raids (both raid5 with 2 hot spare) advantage: if filesystem is corrupt on one raid, the other raid is normaly not affected disadvantage: because analyzing data to sync by rsync takes time it's senseless to sync every our so you have no realtime backup (only 12h before) how do you avoid this filesystem issue with drbd? doing rsync every night seperatly? i don't know of statistics about filesystem damages cheerz DRBD would not help this problem. As you say the filesystem corruption would immediately be duplicated to the alternate server. OTOH a good journelled filesystem combined with dual-power supplies and dual ups's should have a very high relaibility rate. EXT3 seems to get mentioned as the most reliable linux filesystem, so go with that if reliability is your top concern. Greg -- Greg Freemyer -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Building two redundant servers without clustering
On Mon, 28 Feb 2005 07:57:13 -0800, Mitch (WebCob) wrote: Hi M 1.: Use drdb to build a RAID1 across the two host's filesystems. If one host fails, the RAID runs in degraded mode but it runs - or does it crawl anyway because drdb is slow? [Mitch says:] I've never used this, and a quick google doesn't give me anything useful - what's the home page? They have their website hidden at http://www.drbd.org/;-) But if you want to build a failover cluster with drbd as the underlying network RAID1 layer, you will also want to look into Linux-HA. Linux-HA provides the heartbeat / failover logic typically used to manage drbd. http://www.linux-ha.org FYI: I don't think Redhat supports any of the above. (They have alternate solutions they prefer.) SUSE OTOH does support both Linux-HA and drbd on there distro. In particular with their SLES server releases linux-ha/drbd is the recommended HA cluster solution and they provide break/fix support. Since drbd requires kernel patches, I would definately look into a distro that has those built-in. The linux-ha project is funded / sponsored by IBM and SUSE and has thousands of production installs. FYI2: I don't know if SUSE SLES officially supports linux-ha/drbd/samba or not. Greg -- Greg Freemyer -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Update: [Samba] Samba Shares not Refreshing contents
We have the problem on some of our machines, and we are a pure workgroup setup. BTW: I think this also happens with some of our Win2K servers, so this is not a samba unique issue. On Mon, 4 Oct 2004 15:37:45 -0600, Omar CastaƱeda Acosta [EMAIL PROTECTED] wrote: Actually it looks like this problem only affects some workstations. Could it be my domain policy? (I guess so 'cause only computers logged on to the domain exhibit this behavior) Anyone ever experienced this? Omar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Omar CastaƱeda Acosta Sent: Monday, October 04, 2004 3:31 PM To: [EMAIL PROTECTED] Subject: [Samba] Samba Shares not Refreshing contents Hello List, I've seen this question multiple times in several forums, and no answers. I've just setup a couple of Linux (fedora core2)/Samba servers that are supposed to act as NAS (2.7 and 3.7 TB respectively), samba is working fine and it's perfectly integrated to the active directory and NT domain (win2003 environment). However I've got a problem refreshing the contents of any folders whenever I create a new folder or rename a file. I've got to manually refresh the explorer windows (pressing F5) to see the changes, Is there any way to make it work so explorer reloads the folder lists whenever they change? Basically, this is just an annoyance, 'because users won't use directly the samba shares. I want to upgrade our fileservers from win2003 to Linux/Samba later on, and then will become a big issue instead of just a minor annoyance. As I said before I've seen this question on forums previously but couldn't find a decent answer. Even some Sun technician just answered to a customer that it was pretty much the standard samba behavior. Is it true? Thanks in Advance, Omar -- 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] Re: samba on distro...
On Wed, 2004-04-14 at 10:43, Jason Balicki wrote: Why should I want to buy a server-version if I can get a distro for free... I guess I'm saying go with a free distro. :) HTH, I think with Redhat buying the full version gets you access to RHN, It tracks your actual config and allows you to easily download and install updated (and tested) RPMs. I think that is their main selling feature. With SUSE, I think the full version has monitoring tools that are not included in even the PRO version. Likely non-GPL stuff, but I'm not sure. Another issue is ACLs. I don't think the full Redhat release supports them. I don't know about Fedora. Greg -- Greg Freemyer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can Samba export 2TB+ filesystems?
Does Samba have any max filesytem limitations. In particular can both 2.2.8 and 3.0 support 2TB+ filesystems. For now, I am thinking of 6TB max, so I don't need to know about Petabytes or Exabytes. The other side of the question, is can Win9x, Win2K, etc. work with filesystems over 2 TB. If the above is in a FAQ somewhere, a url would be great. Greg -- Greg Freemyer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re[2]: [Samba] samba backup software
We are working on migrating up from ait2 technology, and are deciding on whether to go to ait3, or SuperDLT.. Have you seen the new SAIT technology from Sony. Uses AIT3 density media, but in a roughly DLT form factor. The cartridge holds 5x the sq. in. of AIT, so you get 500 GB uncompressed on a single tape. And since the form factor is close to DLT, the library manufacturers just have to replace the drives to use it. (i.e. The robotics/slots don't have to change.) I think someone already has announced a SAIT library. (Search the news section of google for SAIT). Greg -- Greg Freemyer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re: [Samba] samba backup software
Rick, I use XFS as my filesystem. (included with SuSE/Mandrake/United Linux, patch avail. for Redhat and vanilla kernel) It comes with a very powerful backup tool xfsdump. xfsdump writes the backup level into each files metadata (i.e. EA - Extended Attributes). A full backup is a level 0 backup. A level 1 backs up all files changed since the level 0. A level 2, gets everything since the last level 1 (or 0). A level 3, everything since the last level 2 (or 1 or 0). Etc. thru level 9. If you setup a nice schedule, you can ensure a small number of tapes req. for restore. The other nice thing about xfsdump is that it backs up ACLs (if enabled in Samba). Most backup solutions don't do that. Unfortunately, I don't think xfsdump has any support for an autoloader. (I don't have one). But, I do think that Amanda can be used as a backup manager to handle the autoloader and invoke xfsdump as required. I've not used Amanda. Greg I'm curious to what people are using for backing up their samba servers. Here's are some specs to consider: - 1TB (yes, that's terabyte) of data - multiple servers backup to one tape drive connected to a server (preferably a linux system) - using an autoloader (in this case, an HP 1/9 LTO system) - need to be able to backup daily changes and/or changes since last full backup Currently I'm using Backup Exec from NetWare. The *nix client has no support to do anything but a full. The archive bit obviously won't work, and backing up based on date doesn't seem to work either (it still does a full). I'm interested in finding a native linux solution since I don't see a lot of point in having to use a Windows server with a *nix client when I'm trying to get away from Windows. If you have suggestions or are using something you are happy with, please respond. Currently, I'm evaluating Novastor's Novanet 8.5. I know there are others that I can eval, I'm just interested in finding out what others are using and happy with. Thanks. Rick Segeberg Provo Site Manager, IT Department The Waterford Institute [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * This email may contain privileged or confidential material intended for the named recipient only. If you are not the named recipient, delete this message and all attachments. Any review, copying, printing, disclosure or other use is prohibited. We reserve the right to monitor email sent through our network. * -- 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 backup software
- 1TB (yes, that's terabyte) of data - multiple servers backup to one tape drive connected to a server (preferably a linux system) Rick, I forgot to answer the multiple servers part of your question. That is exactly what Amanda is designed for. Greg -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re[2]: [Samba] librsync ??
Andrew, Thanks for the effort, but librsync is not rsync. Both used to be part of the overall samba effort, but even then did not share source code. Just last week, librsync got its own sourceforge project site. See http://sourceforge.net/forum/forum.php?forum_id=256348 Now I just need to figure out how to compile it in cygwin. Greg -- Greg Freemyer On Sat, 2003-03-01 at 11:14, Greg Freemyer wrote: All, Does anyone know anything about librsync, and where it is currently maintained on the web? It apparently is/was a samba project, but I'm not sure how it relates. rsync is hosted on samba.org, see rsync.samba.org for details. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- NextPart -- Attached File: c:\program files\goldmine\MailBox\Attach\gaf\signature(3).asc -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re: [Samba] librsync [Solved]
I found the cvs repository at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/librsync/librsync/ The sourceforge project was just setup a couple of days ago. That must have been why google could not find it yesterday. I believe the samba cvs site for librsync is now deprecated. The 0.9.5.1 version I was looking for looks to me to be a Jun. 27 cvs snapshot from wherever cvs was at that time. Greg All, Does anyone know anything about librsync, and where it is currently maintained on the web? It apparently is/was a samba project, but I'm not sure how it relates. The authors are listed as: Martin Pool [EMAIL PROTECTED] Andrew Tridgell [EMAIL PROTECTED] but I suspect someone else did the 0.9.5.1 update, because only 0.9.5 is available on the rproxy site (http://rproxy.sourceforge.net/download.html). It is used by rdiff-backup (http://rdiff-backup.stanford.edu/) and they have a tarball for 0.9.5.1 on their site, but if you download it and try to compile it you get problems with missing files. I did a diff between 0.9.5 and 0.9.5.1 and there were about 3000 lines modified, so somebody has done a lot of work on it relatively recently. 0.9.5 does compile, but the above site says that it has memory leaks and the rdiff package will not work reliably. TIA Greg -- Greg Freemyer -- 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] librsync ??
All, Does anyone know anything about librsync, and where it is currently maintained on the web? It apparently is/was a samba project, but I'm not sure how it relates. The authors are listed as: Martin Pool [EMAIL PROTECTED] Andrew Tridgell [EMAIL PROTECTED] but I suspect someone else did the 0.9.5.1 update, because only 0.9.5 is available on the rproxy site (http://rproxy.sourceforge.net/download.html). It is used by rdiff-backup (http://rdiff-backup.stanford.edu/) and they have a tarball for 0.9.5.1 on their site, but if you download it and try to compile it you get problems with missing files. I did a diff between 0.9.5 and 0.9.5.1 and there were about 3000 lines modified, so somebody has done a lot of work on it relatively recently. 0.9.5 does compile, but the above site says that it has memory leaks and the rdiff package will not work reliably. TIA Greg -- Greg Freemyer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re[2]: [Samba] samba authentication
I had a security hole that let a hacker get access to my passwd file one time. I wasn't using shadow passwords because I thought the machine only would have authorized users. Within 48 hours of the hole being announced on a security website, they had my root password. i.e. they unencrypted it. Fortunately, they were not smart enough to do any real damage. They just filled my website with links to porn sites. is crypt that bad? :) anyways, gonna put the pam_smbpass to work first ! thanks Daniel Provin Linux User #191271 EEL LABMETRO UFSC On 22 Feb 2003, Bradley W. Langhorst wrote: On Sat, 2003-02-22 at 15:55, Daniel Provin wrote: okay so, I just need to activate the pam_smbpass module to keep de smbpass with the last password but is there any way to build an initial list of passwords from unix passwords? well you could crack all your users passwords... probably wouldn't take more than a few weeks if you're using crypt. seriously - i don't know an easy way to deal with this problem. You might be able to configure pam to update the samba password upon login. or put the smbpasswd program into the logon script so that your users change it when the log in brad -- Bradley W. Langhorst [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[2]: [Samba] samba authentication
I had a security hole that let a hacker get access to my passwd file one time. I wasn't using shadow passwords because I thought the machine only would have authorized users. Within 48 hours of the hole being announced on a security website, they had my root password. i.e. they unencrypted it. Fortunately, they were not smart enough to do any real damage. They just filled my website with links to porn sites. is crypt that bad? :) anyways, gonna put the pam_smbpass to work first ! thanks Daniel Provin Linux User #191271 EEL LABMETRO UFSC On 22 Feb 2003, Bradley W. Langhorst wrote: On Sat, 2003-02-22 at 15:55, Daniel Provin wrote: okay so, I just need to activate the pam_smbpass module to keep de smbpass with the last password but is there any way to build an initial list of passwords from unix passwords? well you could crack all your users passwords... probably wouldn't take more than a few weeks if you're using crypt. seriously - i don't know an easy way to deal with this problem. You might be able to configure pam to update the samba password upon login. or put the smbpasswd program into the logon script so that your users change it when the log in brad -- Bradley W. Langhorst [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] Does smbmount support timeout equivalent to nfs softmount ?
BTW, Windows share needs to be mounted in real time, instead of Linux boot time. So possibly I could not put it to /etc/fstab. Leave it in fstab, but say noauto in the options section -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re[2]: [Samba] Backup
On Fri, Apr 19, 2002 at 10:28:45AM -0500, Szilard wrote: Hello, anyone knows how to back up a unix/linux box to w2k ? On the unix/linux box samba runs, but the w2k backup wants to follow the softlinks. So it runs into infinite cycles. Is there a way to avoid this? On the Unix box, use tar to make an archive of everything you want to back up. Then use the Win2k box to archive the tar file. -Nathan If you are using ACLs, you just lost them. -- +---+-++ | Nathan Lutchansky | [EMAIL PROTECTED] | Lithium Technologies | +--+ | I dread success. To have succeeded is to have finished one's | | business on earth... I like a state of continual becoming, | | with a goal in front and not behind. - George Bernard Shaw | +--+ -- NextPart -- Attached File: c:\program files\goldmine\MailBox\Attach\gaf\FILE5004.pgp-signature Greg Freemyer Internet Engineer Deployment and Integration Specialist The Norcross Group www.NorcrossGroup.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re: [Samba] 2.2.3a will not compile on Compaq Tru64 UNIX v5.1A
I think it has been fixed in CVS, or you can do the small patch described at http://www.ornl.gov/its/archives/mailing-lists/tru64-unix-managers/2002/02/msg00385.html yourself. Has anyone gotten this to work. make gives: Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -DLOGFILEBASE=/usr/local/samba/var -DCONFIGFILE=/usr/local/samba/lib/smb.conf -DLMHOSTSFILE=/usr/local/samba/lib/lmhosts -DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin -DLOCKDIR=/usr/local/samba/var/locks -DCODEPAGEDIR=/usr/local/samba/lib/codepages -DDRIVERFILE=/usr/local/samba/lib/printers.def -DBINDIR=/usr/local/samba/bin -DHAVE_INCLUDES_H -DPASSWD_PROGRAM=/bin/passwd -DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd -DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper -DLOGFILEBASE=/usr/local/samba/var -DCONFIGFILE=/usr/local/samba/lib/smb.conf -DLMHOSTSFILE=/usr/local/samba/lib/lmhosts -DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin -DLOCKDIR=/usr/local/samba/var/locks -DCODEPAGEDIR=/usr/local/samba/lib/codepages -DDRIVERFILE=/usr/local/samba/lib/printers.def -DBINDIR=/usr/local/samba/bin -DHAVE_INCLUDES_H -DPASSWD_PROGRAM=/bin/passwd -DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd -DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb Using LIBS = -lsecurity Compiling libsmb/clierror.c cc: Error: libsmb/clierror.c, line 185: In the initializer for nt_errno_map[0].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_ACCESS_VIOLATION, EACCES}, -^ cc: Error: libsmb/clierror.c, line 186: In the initializer for nt_errno_map[1].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_NO_SUCH_FILE, ENOENT}, -^ cc: Error: libsmb/clierror.c, line 187: In the initializer for nt_errno_map[2].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_NO_SUCH_DEVICE, ENODEV}, -^ cc: Error: libsmb/clierror.c, line 188: In the initializer for nt_errno_map[3].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_INVALID_HANDLE, EBADF}, -^ cc: Error: libsmb/clierror.c, line 189: In the initializer for nt_errno_map[4].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_NO_MEMORY, ENOMEM}, -^ cc: Error: libsmb/clierror.c, line 190: In the initializer for nt_errno_map[5].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_ACCESS_DENIED, EACCES}, -^ cc: Error: libsmb/clierror.c, line 191: In the initializer for nt_errno_map[6].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_OBJECT_NAME_NOT_FOUND, ENOENT}, -^ cc: Error: libsmb/clierror.c, line 192: In the initializer for nt_errno_map[7].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_SHARING_VIOLATION, EBUSY}, -^ cc: Error: libsmb/clierror.c, line 193: In the initializer for nt_errno_map[8].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_OBJECT_PATH_INVALID, ENOTDIR}, -^ cc: Error: libsmb/clierror.c, line 194: In the initializer for nt_errno_map[9].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_OBJECT_NAME_COLLISION, EEXIST}, -^ cc: Error: libsmb/clierror.c, line 195: In the initializer for nt_errno_map[10].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS_PATH_NOT_COVERED, ENOENT}, -^ cc: Error: libsmb/clierror.c, line 196: In the initializer for nt_errno_map[11].status.v, NTSTATUS is a struct type, which is not scalar. (needscalartyp) {NT_STATUS(0), 0} -^ *** Exit 1 Stop. Paul Gregory Unix and Oracle Database Administrator ASIS at GE Nuclear Energy 910-675-5490 [EMAIL PROTECTED] Greg Freemyer Internet Engineer Deployment and Integration Specialist The Norcross Group www.NorcrossGroup.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re[2]: [Samba] Backup software
Charles, I'm not a Samba expert, but I have been researching how best to back up Samba shares, especially as it relates to ACLs. To use ACLs with Samba, I believe it is best to have a Filesystem that supports ACLs. I only know of 2 that do: ext2/ext3 with the ACL patch and XFS. From what I understand, it is preferred to backup ext2/ext3 with the ACL patch with star. And it is preferred to backup XFS with xfsdump. If you don't use a filesystem that understands ACLs, then Samba maintains all the ACL info in a common file. You as the administrator are responsible for creating a backup mechanism that captures the Samba ACL info. That is easy if you are happy with doing a full share backup/restore, but if you want to be able to do individual file saves/restores, then you have to have some way of saving/restoring the ACL data on a file by file basis. === Backing up a Samba client This was the original need, but from what I understand smbmount does not handle ACLs, so there is no way to get the remote ACL info. and back it up. Greg I think XFSdump does on XFS filesystems...but I could be wrong. Charles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Freemyer Sent: Thursday, April 11, 2002 2:20 PM To: ACEAlex; [EMAIL PROTECTED] Subject: re: [Samba] Backup software To the best of my knowledge their is not an OpenSource backup method that will backup the ACLs on the client. If your clients are using FAT, then you have no problems. If they are running NTFS on the clients, then you have ACLs to worry about, and you will have to decide if you need the ACLs backed up up or not. i.e. ACLs are the NTFS security info. Note: Samba ACLs can be backed up if you ensure you are running the right backup software like star or xfsdump. Hello Im planing on doing an open source software that handels backups. The purpose is to backup clients in an nt domain. I know that there are comercial software out there but i want to do it the right way open source :). Oki here is my plan 1. On every client i have a user that has read access to the whole system drive. That user and password is stored on the backup server aswell. 2. The user will use a web interface and from that request a backup of the system. 3. The backup server will store the request and later that night it will use samba to mount the client drive and make the backup. Im planing on using gzip or bzip on every file in the system so that you easily could recover files. The files will be stored on cheap ide harddrives. You will also be able to filter out files that you dont need to backup word.exe, swapfile etc Now i wounder if there are any other people out there that already has done it. Is it a great ide or not? /Alexander -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba Greg Freemyer Internet Engineer Deployment and Integration Specialist The Norcross Group www.NorcrossGroup.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 Greg Freemyer Internet Engineer Deployment and Integration Specialist The Norcross Group www.NorcrossGroup.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba