Re: [Samba] ACL Support in Samba 3.0.20b
[EMAIL PROTECTED] wrote: My agency is migrating from Solaris PCnetlink to Samba 3.0.20b for file and print sharing. Samba is installed on Solaris 9 (which I just recently inherited). Is there any way to tell if Samba was compiled with ACL support? I am having some trouble matching permissions from windows to Unix. Hi, smbd -b will print the build environment I was curious myself, so I compiled an otherwise identical non-acl version and diffed the smbd -b outputs. 3c3 Built on:Mon Jan 9 23:00:58 PST 2006 --- Built on:Sat Apr 15 11:04:25 PDT 2006 258a259 HAVE_NO_ACLS 264d264 HAVE_POSIX_ACLS Good luck, Doug -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ACL support
Gerald (Jerry) Carter: Tony Earnshaw wrote: | I have added --with-acl-support in the CFLAGS section in the SPEC file. | | | This should be --with-acl according to my RH spec. That's wrong. $ ./configure --help | grep acl ~ --with-acl-support Include ACL support (default=no) Great, thanks! Now that bit works, after a recompile.: 1173 [root:tru] /m/samba3 # smbd -b | grep ACL HAVE_SYS_ACL_H HAVE_POSIX_ACLS Best, --Tonni -- mail: [EMAIL PROTECTED] http://www.billy.demon.nl -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ACL support
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony Earnshaw wrote: | I have added --with-acl-support in the CFLAGS section in the SPEC file. | | | This should be --with-acl according to my RH spec. That's wrong. $ ./configure --help | grep acl ~ --with-acl-support Include ACL support (default=no) cheers, jerry = Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc I never saved anything for the swim back. Ethan Hawk in Gattaca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCTHNRIR7qMdg1EfYRAoRRAJ91PY4gIBDQKTZXMIBN2wh3aH6qmACg0kty OHyiO8rbbg6hgUJ9/3xukUo= =1Uuc -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ACL support
Meli Marco: I have download the latest version samba-3.0.13-1.src.rpm, and I have make followings changes: Rpm -i samba-3.0.13-1.src.rpm, so I have created the SPEC file. I have added --with-acl-support in the CFLAGS section in the SPEC file. This should be --with-acl according to my RH spec. Rpmbuild -bb specfile.spec. It compile the finally rpm without errors but when I install the package and make ldd /usr/sbin/smbd, I can't see libattr and libacl compiled in It compiles in the ststic libs ;) do strings on the binary instead, once you have the configure switch right and have recompiled. --Tonni -- mail: [EMAIL PROTECTED] http://www.billy.demon.nl -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ACL support
On Tuesday 29 March 2005 08:00, Meli Marco wrote: Hi, I have download the latest version samba-3.0.13-1.src.rpm, and I have make followings changes: Rpm -i samba-3.0.13-1.src.rpm, so I have created the SPEC file. I have added --with-acl-support in the CFLAGS section in the SPEC file. Rpmbuild -bb specfile.spec. It compile the finally rpm without errors but when I install the package and make ldd /usr/sbin/smbd, I can't see libattr and libacl compiled in ... Where I wrong? Thanks. Marco. Have the following packages been installed? libacl-devel libxattr-devel The compiler can only use the libraries that exist on the build machine. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ACL support in Samba
On Thu, 2002-10-24 at 22:00, Jay Ts wrote: cksoo wrote: Now, I try to implement the ACL with similar to the ACL in windos 2000 server. However, I failed to implement it until file level, can someone guide me to implement me. 1. You need to run Samba on a Unix system with a filesystem that supports ACLs. 2. When compiling Samba, use the --with-acls option with configure: # ./configure --with-acls Jay Ts -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba What (in hopefully many opinions) is the best ACL supporting fs for Linux? Thanks, Christopher
RE: [Samba] ACL support in Samba
-Original Message- From: Bradley W. Langhorst [mailto:brad;langhorst.com] Sent: Friday, October 25, 2002 9:38 AM To: Christopher Barry Cc: [EMAIL PROTECTED] Subject: Re: [Samba] ACL support in Samba On Fri, 2002-10-25 at 10:00, Christopher Barry wrote: What (in hopefully many opinions) is the best ACL supporting fs for Linux? the options are (i think) ext3 + patches from bestbits ext2 + patches xfs xfs in my hands has been much more reliable and faster ext3 + patches or ext2 + patches work fine too, and are a nice option if you're looking to add ACLs to an existing filesystem. They also have a distinct advantage from my point of view -- they can be mounted as ordinary ext2 filesystems. This means, in a pinch, you can use ordinary rescue disks and recovery tools. I have nothing against XFS, though I haven't used it. Just presenting my own perspective. ext2 and ext3 ACLs do have the disadvantage that the on-disk format and in some cases the kernel interface is a moving target. Generally this hasn't been a problem for me, but it does mean you have to be careful if you upgrade to a newer version. Depending on the release number you sometimes have to use getfacl and setfacl to backup and then restore your ACLs (if the on-disk format has changed). The setfacl part of this procedure, in particular, can be time-consuming for big filesystems, especially if you use winbindd -- it took a few hours, last time I did it. Generally you want to be backing up the ACLs to flat files periodically anyway, since there aren't currently many backup tools that understand ACLs. If you're looking for an ACL-enabled filesystem that's built into a distribution, XFS is currently your only choice. If you want to use ext2 or ext3 ACL patches you'll need to patch and compile your own kernel and filesystem tools. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ACL support in Samba
cksoo wrote: Now, I try to implement the ACL with similar to the ACL in windos 2000 server. However, I failed to implement it until file level, can someone guide me to implement me. 1. You need to run Samba on a Unix system with a filesystem that supports ACLs. 2. When compiling Samba, use the --with-acls option with configure: # ./configure --with-acls Jay Ts -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ACL support
Jean-Rene Cormier wrote: Anybody got the latest version of ACL from acl.bestbit.at to work? I've compiled the packages, then installed them from the RPM but I had no luck at all. I compiled a kernel with ACL support but when I try to set a new permission it says permission not supported or something like that. I currently have a box with ACL working but it's the libacl.so.0 lib and the new version is libacl.so.1 but I can't get that to work at all. Is there something I missed somewhere? Did you mount your fs with -o acl ? Lates version of the kernel patch requires it... Jean-Rene Cormier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Yuri Pismerov, Sr. System Administrator, TUCOWS.COM INC. (416) 535-0123 ext. 1352 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] ACL support
Title: RE: [Samba] ACL support A few things you may try. First, make sure your ACL utilities and samba are compiled against the equivalent version of the libaries; make sure your versions line up as best as possible. Second, make sure you've mounted the filesystem with the acl option set. user_xattrs may also be useful. Scott F. Crosby -Original Message- From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 8:08 AM To: Samba List Subject: [Samba] ACL support Anybody got the latest version of ACL from acl.bestbit.at to work? I've compiled the packages, then installed them from the RPM but I had no luck at all. I compiled a kernel with ACL support but when I try to set a new permission it says permission not supported or something like that. I currently have a box with ACL working but it's the libacl.so.0 lib and the new version is libacl.so.1 but I can't get that to work at all. Is there something I missed somewhere? Jean-Rene Cormier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE : [Samba] ACL support
That must be it, I didn't see that mentioned anywhere. Thanks a lot Jean-Rene Cormier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De la part de Yura Pismerov Envoyé : 1 octobre, 2002 10:32 À : Jean-Rene Cormier; [EMAIL PROTECTED] Objet : Re: [Samba] ACL support Jean-Rene Cormier wrote: Anybody got the latest version of ACL from acl.bestbit.at to work? I've compiled the packages, then installed them from the RPM but I had no luck at all. I compiled a kernel with ACL support but when I try to set a new permission it says permission not supported or something like that. I currently have a box with ACL working but it's the libacl.so.0 lib and the new version is libacl.so.1 but I can't get that to work at all. Is there something I missed somewhere? Did you mount your fs with -o acl ? Lates version of the kernel patch requires it... Jean-Rene Cormier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Yuri Pismerov, Sr. System Administrator, TUCOWS.COM INC. (416) 535-0123 ext. 1352 -- 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] ACL support
Yes everything is compiled against the latest version of the libraries, since all utilities came from acl.bestbit.at, also I was getting errors while I was trying to set an acl manually so Samba wasn't the problem. So to add the acl option I just add acl in the option field in fstab right? Also what does user_xattrs will do? And are there other options that I can put with ACL? Jean-Rene Cormier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De la part de Crosby, Scott F. Envoyé : 1 octobre, 2002 11:23 À : 'Jean-Rene Cormier'; Samba List Objet : RE: [Samba] ACL support A few things you may try. First, make sure your ACL utilities and samba are compiled against the equivalent version of the libaries; make sure your versions line up as best as possible. Second, make sure you've mounted the filesystem with the acl option set. user_xattrs may also be useful. Scott F. Crosby -Original Message- From: Jean-Rene Cormier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 8:08 AM To: Samba List Subject: [Samba] ACL support Anybody got the latest version of ACL from acl.bestbit.at to work? I've compiled the packages, then installed them from the RPM but I had no luck at all. I compiled a kernel with ACL support but when I try to set a new permission it says permission not supported or something like that. I currently have a box with ACL working but it's the libacl.so.0 lib and the new version is libacl.so.1 but I can't get that to work at all. Is there something I missed somewhere? Jean-Rene Cormier -- 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: RE : [Samba] ACL support
Jean-Rene Cormier wrote: That must be it, I didn't see that mentioned anywhere. It is right here in red (almost) colour :) http://acl.bestbits.at/download.html#Kernel Thanks a lot Jean-Rene Cormier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De la part de Yura Pismerov Envoyé : 1 octobre, 2002 10:32 À : Jean-Rene Cormier; [EMAIL PROTECTED] Objet : Re: [Samba] ACL support Jean-Rene Cormier wrote: Anybody got the latest version of ACL from acl.bestbit.at to work? I've compiled the packages, then installed them from the RPM but I had no luck at all. I compiled a kernel with ACL support but when I try to set a new permission it says permission not supported or something like that. I currently have a box with ACL working but it's the libacl.so.0 lib and the new version is libacl.so.1 but I can't get that to work at all. Is there something I missed somewhere? Did you mount your fs with -o acl ? Lates version of the kernel patch requires it... Jean-Rene Cormier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Yuri Pismerov, Sr. System Administrator, TUCOWS.COM INC. (416) 535-0123 ext. 1352 -- 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 -- Yuri Pismerov, Sr. System Administrator, TUCOWS.COM INC. (416) 535-0123 ext. 1352 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE : RE : [Samba] ACL support
Maybe they should put it in a brighter red ;) But thanks now it works! Jean-Rene Cormier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De la part de Yura Pismerov Envoyé : 1 octobre, 2002 13:03 À : Jean-Rene Cormier Cc : [EMAIL PROTECTED] Objet : Re: RE : [Samba] ACL support Jean-Rene Cormier wrote: That must be it, I didn't see that mentioned anywhere. It is right here in red (almost) colour :) http://acl.bestbits.at/download.html#Kernel Thanks a lot Jean-Rene Cormier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] De la part de Yura Pismerov EnvoyИ : 1 octobre, 2002 10:32 ю : Jean-Rene Cormier; [EMAIL PROTECTED] Objet : Re: [Samba] ACL support Jean-Rene Cormier wrote: Anybody got the latest version of ACL from acl.bestbit.at to work? I've compiled the packages, then installed them from the RPM but I had no luck at all. I compiled a kernel with ACL support but when I try to set a new permission it says permission not supported or something like that. I currently have a box with ACL working but it's the libacl.so.0 lib and the new version is libacl.so.1 but I can't get that to work at all. Is there something I missed somewhere? Did you mount your fs with -o acl ? Lates version of the kernel patch requires it... Jean-Rene Cormier -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Yuri Pismerov, Sr. System Administrator, TUCOWS.COM INC. (416) 535-0123 ext. 1352 -- 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 -- Yuri Pismerov, Sr. System Administrator, TUCOWS.COM INC. (416) 535-0123 ext. 1352 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba