Hi, I'm trying to setup a RedHat 8 fileserver, it must work seamlessly within our 2000/NT network. After some research, I believe the first thing I need to do is install ACL support. I tried doing this once, didn't go well, had to reinstall RedHat. What files do I need and from where, to install ACL support for RedHat 8?
--- David Gibbins <dgibbins@city.orillia.on.ca> wrote:> I'm trying to setup a RedHat 8 fileserver, it must > work seamlessly within > our 2000/NT network. After some research, I believe > the first thing I need > to do is install ACL support. > I tried doing this once, didn't go well, had to > reinstall RedHat. > > What files do I need and from where, to install ACL > support for RedHat 8?I set up Samba+ACLs on 7.3 but it's basically the same thing. They removed ACL support from 8.0's kernel. Patch the RedHat kernel sources with a patch from acl.bestbits.at (you might need to download more current kernel sources though). Then compile the RPM: vi Makefile Change the rpm -ba command at the bottom to rpmbuild -ba. rpm -ba is no longer supported in 8.0. make dep rpm RedHat includes acl libraries and binaries on the 8.0 CD. Check that they're installed: rpm -q acl libacl If not, install them. They might need attr/libattr as well. I also installed an updated fileutils from acl.bestbits.at since 'ls -l' was broken. Install your new kernel and reboot. Try to remount with the new ACL options: mount / -oacl,remount mount | grep acl If that worked, put the acl option in /etc/fstab: LABEL=/ / ext3 defaults,acl 1 1 Reompile a Samba RPM to include ACL support. I wrote about this earlier this week. Search marc.theaimsgroup.com. Resources: Sam's "Teach Yourself Samba in 24 Hours" - current and useful http://acl.bestbits.at/ - LOTs of ACL documentation http://tldp.org/ - HOWTOs http://marc.theaimsgroup.com/ - Searchable Samba mailing list archives http://redhat.com/ - Documentation on building a custom kernel and RPMs. Don't recall if the kernel's "make rpm" is in there; I just learned that one from reading the Makefile. http://google.com/ - Search The F'ing Web (STFW) Please RTFM/STFW before asking questions (not saying you didn't, just making you aware). People certainly don't mind answering questions if you show effort (: /dev/idal __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
On Wed, 5 Feb 2003 09:09:41 -0500 "David Gibbins" <dgibbins@city.orillia.on.ca> wrote:> What files do I need and from where, to install ACL support for RedHat > 8?In contrast to the approach with EXT3 already explained in another posting, you can use XFS as your filesystem which already has ACL-support built in. I wrote a description here http://homex.subnet.at/~max/comp-12_xfs.php using a Debian system, nevertheless you should be able to easily transform it for use with RedHat. So long, Max -- The first time any man's freedom is trodden on, we're all damaged. <Cpt. Picard, "The Drumhead", StarTrek TNG> http://homex.subnet.at/~max/
> Date: Wed, 5 Feb 2003 09:09:41 -0500 > From: "David Gibbins" <dgibbins@city.orillia.on.ca> > To: <samba@lists.samba.org> > Subject: [Samba] Redhat ACL support > Message-ID: <2A7FC88FEE118746A3B9D27DAF9F81422DE7FD@oa.city.orillia> > Content-Type: text/plain; > charset="iso-8859-1" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Precedence: list > Reply-To: dgibbins@city.orillia.on.ca > Message: 7 > > Hi, > > I'm trying to setup a RedHat 8 fileserver, it must work seamlessly within > our 2000/NT network. After some research, I believe the first thing I need > to do is install ACL support. > I tried doing this once, didn't go well, had to reinstall RedHat. > > What files do I need and from where, to install ACL support for RedHat 8?Alternatively you could use a distribution that supports ACLs out-the-box on ext2/ext3 and XFS. Both Mandrake 9.0 and SuSE 8.1 do AFAIK. That way, at least you are using the kernel and samba binaries provided by the distribution. Also, Mandrake comes with winbind support out-the-box (ie you can join the domiain during installation, but only in expert mode, and remember to specify the domain name in caps). Buchan -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7