Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
Hi Rowland, Well, after a bit of thought and downloading the kernel source from Ubuntu, I am answering my own question. I came across the same issue last week. Actually the newest kernel (wheezy/ ubuntu 12.04), the /proc/mounts does not show options that are setup by default in tune2fs (see the "Default mount options" below) [root@debian ~]# tune2fs -l /dev/xvda1 tune2fs 1.42.2 (9-Apr-2012) Filesystem volume name: Last mounted on: / Filesystem UUID: 571f5042-f210-45a1-9385-e5caf2f86e8b Filesystem magic number: 0xEF53 Filesystem revision #:1 (dynamic) Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize Filesystem flags: signed_directory_hash Default mount options:user_xattr acl If you want to have the acl flag displayed in /proc/mounts (and /etc/mtab which now finally symlinks to /proc/mounts), you have to remove the "Default mount options" with the command below and add the acl option in /etc/fstab : tune2fs -o ^acl /dev/xvda1 Cheers, Denis This is from the source file for the kernel that Ubuntu 12.04 uses (3.2.0-25) It comes from "Documentation/filesystems/ext4.txt" nouser_xattr Disables Extended User Attributes. If you have extended attribute support enabled in the kernel configuration (CONFIG_EXT4_FS_XATTR), extended attribute support is enabled by default on mount. See the attr(5) manual page and http://acl.bestbits.at/ for more information about extended attributes. noacl This option disables POSIX Access Control List support. If ACL support is enabled in the kernel configuration (CONFIG_EXT4_FS_POSIX_ACL), ACL is enabled by default on mount. See the acl(5) manual page and http://acl.bestbits.at/ for more information about acl. If I run: cat /boot/config-3.2.0-25-generic | grep CONFIG_EXT4 I get: CONFIG_EXT4_FS=y CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y # CONFIG_EXT4_DEBUG is not set I would suggest that, as I thought, you do not have to add anything to /etc/fstab to get acl's, in fact you have to add something to turn them off. Rowland -- Denis Cardon Tranquil IT Systems 44 bvd des pas enchantés 44230 Saint Sébastien sur Loire tel : +33 (0) 2.40.97.57.57 http://www.tranquil-it-systems.fr -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 25/06/12 13:12, Denis Cardon wrote: Hi Rowland, Well, after a bit of thought and downloading the kernel source from Ubuntu, I am answering my own question. I came across the same issue last week. Actually the newest kernel (wheezy/ ubuntu 12.04), the /proc/mounts does not show options that are setup by default in tune2fs (see the "Default mount options" below) [root@debian ~]# tune2fs -l /dev/xvda1 tune2fs 1.42.2 (9-Apr-2012) Filesystem volume name: Last mounted on: / Filesystem UUID: 571f5042-f210-45a1-9385-e5caf2f86e8b Filesystem magic number: 0xEF53 Filesystem revision #:1 (dynamic) Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize Filesystem flags: signed_directory_hash Default mount options:user_xattr acl If you want to have the acl flag displayed in /proc/mounts (and /etc/mtab which now finally symlinks to /proc/mounts), you have to remove the "Default mount options" with the command below and add the acl option in /etc/fstab : tune2fs -o ^acl /dev/xvda1 Cheers, Denis This is from the source file for the kernel that Ubuntu 12.04 uses (3.2.0-25) It comes from "Documentation/filesystems/ext4.txt" nouser_xattr Disables Extended User Attributes. If you have extended attribute support enabled in the kernel configuration (CONFIG_EXT4_FS_XATTR), extended attribute support is enabled by default on mount. See the attr(5) manual page and http://acl.bestbits.at/ for more information about extended attributes. noacl This option disables POSIX Access Control List support. If ACL support is enabled in the kernel configuration (CONFIG_EXT4_FS_POSIX_ACL), ACL is enabled by default on mount. See the acl(5) manual page and http://acl.bestbits.at/ for more information about acl. If I run: cat /boot/config-3.2.0-25-generic | grep CONFIG_EXT4 I get: CONFIG_EXT4_FS=y CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y # CONFIG_EXT4_DEBUG is not set I would suggest that, as I thought, you do not have to add anything to /etc/fstab to get acl's, in fact you have to add something to turn them off. Rowland I always wondered how you found out what the defaults mount options were, could never find out via google, probably never asked just the right question ;-) But now I know, thanks Denis. Anyway, this just confirms what I said, on Ubuntu 12.04 you do not have to touch /etc/fstab to compile and install Samba4. Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 21/06/12 12:30, Rowland Penny wrote: On 21/06/12 10:16, steve wrote: On 06/21/2012 10:24 AM, Rowland Penny wrote: On 21/06/12 07:42, steve wrote: On 06/21/2012 08:27 AM, Andrew Bartlett wrote: On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote: Let's start from the top: - Is libacl-dev1 installed on your system? ** I think that should be: libacl1-dev Here is the fstab entry on a working 12.04: UUID=f99d4f08-6123-4941-8ee2-a260d22ddce5 / ext4 errors=remount-ro,acl,user_xattr 0 1 HTH Steve Hmm, this is interesting, this is what I have in my /etc/fstab on Ubuntu 12.04 server # /etc/fstab: static file system information. # / was on /dev/sda1 during installation UUID=63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda6 during installation UUID=3826e336-978b-43e6-b02f-83694b132ed3 /home ext4 defaults0 2 cat /proc/mounts Shows: /dev/disk/by-uuid/63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0 /dev/sda6 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0 This passes the acl test on https://wiki.samba.org/index.php/Samba4/HOWTO even though acl is not mentioned (it is installed) and Samba4 from git compiles and installs ok. Do I need to add acl to my /etc/fstab lines? user_xattr seems to be a default setting. Rowland Hi Rowland My Samba4 is installed at /usr/local/bin on the / partition of the disk so I added acl,user_xattr to the / line in fstab and rebuilt with libacl1-dev installed, having read a post on the Ubuntu forum. Before this, I had the same s3fs error when provisioning. /proc/mounts here gives the same output as yours so It looks as if the acl parameter is not needed, but no harm in trying. Are you able to reboot if you change fstab? If my memory server me correctly, remounting didn't work. Sorry can't be more positive. Cheers, Steve Well, I could try adding acl to the relevant /etc/fstab lines but as I said Samba4 compiled, installed & provisioned without complaining about it being missing. The acl test from the howto was passed on the relevant partitions, so I am wondering if I do need to alter my /etc/fstab. Is there anybody out there, with more knowledge than me, who can confirm one way or the other? Rowland Well, after a bit of thought and downloading the kernel source from Ubuntu, I am answering my own question. This is from the source file for the kernel that Ubuntu 12.04 uses (3.2.0-25) It comes from "Documentation/filesystems/ext4.txt" nouser_xattrDisables Extended User Attributes. If you have extended attribute support enabled in the kernel configuration (CONFIG_EXT4_FS_XATTR), extended attribute support is enabled by default on mount. See the attr(5) manual page and http://acl.bestbits.at/ for more information about extended attributes. noacl This option disables POSIX Access Control List support. If ACL support is enabled in the kernel configuration (CONFIG_EXT4_FS_POSIX_ACL), ACL is enabled by default on mount. See the acl(5) manual page and http://acl.bestbits.at/ for more information about acl. If I run: cat /boot/config-3.2.0-25-generic | grep CONFIG_EXT4 I get: CONFIG_EXT4_FS=y CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y # CONFIG_EXT4_DEBUG is not set I would suggest that, as I thought, you do not have to add anything to /etc/fstab to get acl's, in fact you have to add something to turn them off. Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 21/06/12 10:16, steve wrote: On 06/21/2012 10:24 AM, Rowland Penny wrote: On 21/06/12 07:42, steve wrote: On 06/21/2012 08:27 AM, Andrew Bartlett wrote: On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote: Let's start from the top: - Is libacl-dev1 installed on your system? ** I think that should be: libacl1-dev Here is the fstab entry on a working 12.04: UUID=f99d4f08-6123-4941-8ee2-a260d22ddce5 / ext4 errors=remount-ro,acl,user_xattr 0 1 HTH Steve Hmm, this is interesting, this is what I have in my /etc/fstab on Ubuntu 12.04 server # /etc/fstab: static file system information. # / was on /dev/sda1 during installation UUID=63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda6 during installation UUID=3826e336-978b-43e6-b02f-83694b132ed3 /home ext4 defaults0 2 cat /proc/mounts Shows: /dev/disk/by-uuid/63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0 /dev/sda6 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0 This passes the acl test on https://wiki.samba.org/index.php/Samba4/HOWTO even though acl is not mentioned (it is installed) and Samba4 from git compiles and installs ok. Do I need to add acl to my /etc/fstab lines? user_xattr seems to be a default setting. Rowland Hi Rowland My Samba4 is installed at /usr/local/bin on the / partition of the disk so I added acl,user_xattr to the / line in fstab and rebuilt with libacl1-dev installed, having read a post on the Ubuntu forum. Before this, I had the same s3fs error when provisioning. /proc/mounts here gives the same output as yours so It looks as if the acl parameter is not needed, but no harm in trying. Are you able to reboot if you change fstab? If my memory server me correctly, remounting didn't work. Sorry can't be more positive. Cheers, Steve Well, I could try adding acl to the relevant /etc/fstab lines but as I said Samba4 compiled, installed & provisioned without complaining about it being missing. The acl test from the howto was passed on the relevant partitions, so I am wondering if I do need to alter my /etc/fstab. Is there anybody out there, with more knowledge than me, who can confirm one way or the other? Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 06/21/2012 11:16 AM, steve wrote: On 06/21/2012 10:24 AM, Rowland Penny wrote: On 21/06/12 07:42, steve wrote: On 06/21/2012 08:27 AM, Andrew Bartlett wrote: On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote: My Samba4 is installed at /usr/local/bin No it isn't. It installed at /usr/local/samba Sorry, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 06/21/2012 10:24 AM, Rowland Penny wrote: On 21/06/12 07:42, steve wrote: On 06/21/2012 08:27 AM, Andrew Bartlett wrote: On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote: Let's start from the top: - Is libacl-dev1 installed on your system? ** I think that should be: libacl1-dev Here is the fstab entry on a working 12.04: UUID=f99d4f08-6123-4941-8ee2-a260d22ddce5 / ext4 errors=remount-ro,acl,user_xattr 0 1 HTH Steve Hmm, this is interesting, this is what I have in my /etc/fstab on Ubuntu 12.04 server # /etc/fstab: static file system information. # / was on /dev/sda1 during installation UUID=63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda6 during installation UUID=3826e336-978b-43e6-b02f-83694b132ed3 /home ext4 defaults0 2 cat /proc/mounts Shows: /dev/disk/by-uuid/63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0 /dev/sda6 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0 This passes the acl test on https://wiki.samba.org/index.php/Samba4/HOWTO even though acl is not mentioned (it is installed) and Samba4 from git compiles and installs ok. Do I need to add acl to my /etc/fstab lines? user_xattr seems to be a default setting. Rowland Hi Rowland My Samba4 is installed at /usr/local/bin on the / partition of the disk so I added acl,user_xattr to the / line in fstab and rebuilt with libacl1-dev installed, having read a post on the Ubuntu forum. Before this, I had the same s3fs error when provisioning. /proc/mounts here gives the same output as yours so It looks as if the acl parameter is not needed, but no harm in trying. Are you able to reboot if you change fstab? If my memory server me correctly, remounting didn't work. Sorry can't be more positive. Cheers, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 21/06/12 07:42, steve wrote: On 06/21/2012 08:27 AM, Andrew Bartlett wrote: On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote: Let's start from the top: - Is libacl-dev1 installed on your system? ** I think that should be: libacl1-dev Here is the fstab entry on a working 12.04: UUID=f99d4f08-6123-4941-8ee2-a260d22ddce5 / ext4 errors=remount-ro,acl,user_xattr 0 1 HTH Steve Hmm, this is interesting, this is what I have in my /etc/fstab on Ubuntu 12.04 server # /etc/fstab: static file system information. # / was on /dev/sda1 during installation UUID=63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 errors=remount-ro 0 1 # /home was on /dev/sda6 during installation UUID=3826e336-978b-43e6-b02f-83694b132ed3 /home ext4 defaults0 2 cat /proc/mounts Shows: /dev/disk/by-uuid/63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0 /dev/sda6 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0 This passes the acl test on https://wiki.samba.org/index.php/Samba4/HOWTO even though acl is not mentioned (it is installed) and Samba4 from git compiles and installs ok. Do I need to add acl to my /etc/fstab lines? user_xattr seems to be a default setting. Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 06/21/2012 08:27 AM, Andrew Bartlett wrote: On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote: Let's start from the top: - Is libacl-dev1 installed on your system? ** I think that should be: libacl1-dev Here is the fstab entry on a working 12.04: UUID=f99d4f08-6123-4941-8ee2-a260d22ddce5 / ext4 errors=remount-ro,acl,user_xattr 0 1 HTH Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote: > Hi Andrew, Rowland. > > Thank you for taking the time to answer my questions and offer suggestions. > I had to take a break over the last few days as I needed to put out fires. > Now I am back to the Samba4 server effort. > > I am really wanting to get this to work. > > > I have tried the various suggestions. > I tried to uninstall Samba3 but encountered an error that prevented this. There is no need to uninstall Samba3. > I then tried to follow the instructions suggested by L.P.H. van Belle. > I then tried Rowlands suggestion of adding 2 lines to smb.conf. Still not > working. > I tried the suggestions related to installing Samba4 again. Still not > working. > > Grasping at straws I decided to update all packages - 39 needed updates. 37 > worked. 2 failed to update. > I then ran the provision command and am still getting the error. > > sudo /usr/local/samba/sbin/provision --realm=server.com --domain=server > --adminpass= --server-role=dc Looking up IPv4 addresses > Looking up IPv6 addresses No IPv6 address will be assigned > get_nt_acl_no_snum: fset_nt_acl returned zero. ProvisioningError: Your > filesystem or build does not support posix ACLs, s3fs is unworkable in this > mode > The problem seems to be related to the posix ACLs. How do I get these to > work? Let's start from the top: - Is libacl-dev1 installed on your system? - Have you re-run configure since installing it? - Have you recompiled and re-installed since re-running configure? - Is the 'acl' mount option applied to the filesystem you are running provision on? To use the ntvfs server (which is what Samba4 used until we changed the default), provision with --use-ntvfs. This requirement is only for the new default, which we call s3fs. The requirement comes from the fact that we want to try and set a filesystem permission seen by the kernel, rather than just evaluated in userspace by Samba. I'm currently autobuilding a change to the messages to distinguish between failure to compile with ACL headers and failure to have ACL support of the filesystem. Hopefully this will avoid this confusion in the future. Thanks, Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 20/06/12 22:17, todd kman wrote: Hi Andrew, Rowland. Thank you for taking the time to answer my questions and offer suggestions. I had to take a break over the last few days as I needed to put out fires. Now I am back to the Samba4 server effort. I am really wanting to get this to work. I have tried the various suggestions. I tried to uninstall Samba3 but encountered an error that prevented this. I then tried to follow the instructions suggested by L.P.H. van Belle. I then tried Rowlands suggestion of adding 2 lines to smb.conf. Still not working. I tried the suggestions related to installing Samba4 again. Still not working. Grasping at straws I decided to update all packages - 39 needed updates. 37 worked. 2 failed to update. I then ran the provision command and am still getting the error. *> sudo /usr/local/samba/sbin/provision --realm=server.com --domain=server --adminpass= --server-role=dc* Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned get_nt_acl_no_snum: fset_nt_acl returned zero. ProvisioningError: Your filesystem or build does not support posix ACLs, s3fs is unworkable in this mode The problem seems to be related to the posix ACLs. How do I get these to work? I have not tried the steps from >>> http://spore.sodgeit.de/sporeblog-samba4EN.html because this is based on the Samba HowTo that I followed in the first place. Any other suggestions about how to get this working? I am willing to completely reinstall if this will make this easier to start with a clean system. Thanks. Todd. *From:* Rowland Penny *To:* Andrew Bartlett *Cc:* samba@lists.samba.org *Sent:* Saturday, June 16, 2012 6:15:40 AM *Subject:* Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 On 16/06/12 03:49, Andrew Bartlett wrote: > On Fri, 2012-06-15 at 13:36 +0100, Rowland Penny wrote: >> On 15/06/12 12:58, L.P.H. van Belle wrote: >>> ah from sources... >>> >>> then . >>> http://spore.sodgeit.de/sporeblog-samba4EN.html >>> very easy also. installer script, tested this also, and works also ok ( for me ) >>> >>> just change in the installer alfa20 to beta1 ( in samba4.sh ) >>> samba-4.0.0beta1.tar.gz >>> >>> >>> Greetz, >>> >>> Louis >>> >>>> -Oorspronkelijk bericht- >>>> Van: rpe...@f2s.com <mailto:rpe...@f2s.com> [mailto:samba-boun...@lists.samba.org <mailto:samba-boun...@lists.samba.org>] >>>> Namens Rowland Penny >>>> Verzonden: 2012-06-15 10:41 >>>> Aan: samba@lists.samba.org <mailto:samba@lists.samba.org> >>>> Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 >>>> >>>> On 15/06/12 07:20, L.P.H. van Belle wrote: >>>>> Hai, >>>>> >>>>> I did this install yesterday, bug is already reported in ubuntu. >>>>> >>>>> This is simple to resolve. >>>>> >>>>> first apt-get build-dep samba4 >>>>> install these dependecies. >>>>> >>>>> apt-get install samba4 >>>>> chmod +x /usr/share/samba/setoption.pl >>>>> edit /var/lib/dpkg/status and search for package: samba4 >>>>> replace half-configured with installed >>>>> >>>>> remove /etc/samba/smb.conf >>>>> >>>>> /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL >>>> --domain=DOMAIN --adminpass='YourPassword' --server-role=dc >>>>> and read, for the extra things. >>>>> >>>> http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-wi >>>> th-ubuntu-12-04 >>>>> nice howto to install samba4 on ubuntu. >>>>> >>>>> Did my install in 5 min. AD nicely up and running. >>>>> >>>>> >>>>> Louis >>>>> >>>>> >>>>> >>>>>> -Oorspronkelijk bericht- >>>>>> Van: abart...@samba.org <mailto:abart...@samba.org> [mailto:samba-boun...@lists.samba.org <mailto:samba-boun...@lists.samba.org>] >>>>>> Namens Andrew Bartlett >>>>>> Verzonden: 2012-06-15 03:44 >>>>>> Aan: zoolook >>>>>> CC: samba@lists.samba.org <mailto:samba@lists.samba.org> >>>>>> Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 >>>>>> >>>>>> On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: >>>>>>> Hello,
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
Hi Andrew, Rowland. Thank you for taking the time to answer my questions and offer suggestions. I had to take a break over the last few days as I needed to put out fires. Now I am back to the Samba4 server effort. I am really wanting to get this to work. I have tried the various suggestions. I tried to uninstall Samba3 but encountered an error that prevented this. I then tried to follow the instructions suggested by L.P.H. van Belle. I then tried Rowlands suggestion of adding 2 lines to smb.conf. Still not working. I tried the suggestions related to installing Samba4 again. Still not working. Grasping at straws I decided to update all packages - 39 needed updates. 37 worked. 2 failed to update. I then ran the provision command and am still getting the error. > sudo /usr/local/samba/sbin/provision --realm=server.com --domain=server --adminpass= --server-role=dc Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned get_nt_acl_no_snum: fset_nt_acl returned zero. ProvisioningError: Your filesystem or build does not support posix ACLs, s3fs is unworkable in this mode The problem seems to be related to the posix ACLs. How do I get these to work? I have not tried the steps from >>> http://spore.sodgeit.de/sporeblog-samba4EN.html because this is based on the Samba HowTo that I followed in the first place. Any other suggestions about how to get this working? I am willing to completely reinstall if this will make this easier to start with a clean system. Thanks. Todd. From: Rowland Penny To: Andrew Bartlett Cc: samba@lists.samba.org Sent: Saturday, June 16, 2012 6:15:40 AM Subject: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 On 16/06/12 03:49, Andrew Bartlett wrote: > On Fri, 2012-06-15 at 13:36 +0100, Rowland Penny wrote: >> On 15/06/12 12:58, L.P.H. van Belle wrote: >>> ah from sources... >>> >>> then . >>> http://spore.sodgeit.de/sporeblog-samba4EN.html >>> very easy also. installer script, tested this also, and works also ok ( for >>> me ) >>> >>> just change in the installer alfa20 to beta1 ( in samba4.sh ) >>> samba-4.0.0beta1.tar.gz >>> >>> >>> Greetz, >>> >>> Louis >>> >>>> -Oorspronkelijk bericht- >>>> Van: rpe...@f2s.com [mailto:samba-boun...@lists.samba.org] >>>> Namens Rowland Penny >>>> Verzonden: 2012-06-15 10:41 >>>> Aan: samba@lists.samba.org >>>> Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 >>>> >>>> On 15/06/12 07:20, L.P.H. van Belle wrote: >>>>> Hai, >>>>> >>>>> I did this install yesterday, bug is already reported in ubuntu. >>>>> >>>>> This is simple to resolve. >>>>> >>>>> first apt-get build-dep samba4 >>>>> install these dependecies. >>>>> >>>>> apt-get install samba4 >>>>> chmod +x /usr/share/samba/setoption.pl >>>>> edit /var/lib/dpkg/status and search for package: samba4 >>>>> replace half-configured with installed >>>>> >>>>> remove /etc/samba/smb.conf >>>>> >>>>> /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL >>>> --domain=DOMAIN --adminpass='YourPassword' --server-role=dc >>>>> and read, for the extra things. >>>>> >>>> http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-wi >>>> th-ubuntu-12-04 >>>>> nice howto to install samba4 on ubuntu. >>>>> >>>>> Did my install in 5 min. AD nicely up and running. >>>>> >>>>> >>>>> Louis >>>>> >>>>> >>>>> >>>>>> -Oorspronkelijk bericht- >>>>>> Van: abart...@samba.org [mailto:samba-boun...@lists.samba.org] >>>>>> Namens Andrew Bartlett >>>>>> Verzonden: 2012-06-15 03:44 >>>>>> Aan: zoolook >>>>>> CC: samba@lists.samba.org >>>>>> Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 >>>>>> >>>>>> On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: >>>>>>> Hello, >>>>>>> >>>>>>> 2012/6/14 todd kman: >>>>>>>> I looked up ACL and how to get them supported and tried >>>>>> the following: >>>>>>>> sudo apt-get install attr >>>>>>> Almost. Instal
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 16/06/12 03:49, Andrew Bartlett wrote: On Fri, 2012-06-15 at 13:36 +0100, Rowland Penny wrote: On 15/06/12 12:58, L.P.H. van Belle wrote: ah from sources... then . http://spore.sodgeit.de/sporeblog-samba4EN.html very easy also. installer script, tested this also, and works also ok ( for me ) just change in the installer alfa20 to beta1 ( in samba4.sh ) samba-4.0.0beta1.tar.gz Greetz, Louis -Oorspronkelijk bericht- Van: rpe...@f2s.com [mailto:samba-boun...@lists.samba.org] Namens Rowland Penny Verzonden: 2012-06-15 10:41 Aan: samba@lists.samba.org Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 On 15/06/12 07:20, L.P.H. van Belle wrote: Hai, I did this install yesterday, bug is already reported in ubuntu. This is simple to resolve. first apt-get build-dep samba4 install these dependecies. apt-get install samba4 chmod +x /usr/share/samba/setoption.pl edit /var/lib/dpkg/status and search for package: samba4 replace half-configured with installed remove /etc/samba/smb.conf /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL --domain=DOMAIN --adminpass='YourPassword' --server-role=dc and read, for the extra things. http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-wi th-ubuntu-12-04 nice howto to install samba4 on ubuntu. Did my install in 5 min. AD nicely up and running. Louis -Oorspronkelijk bericht- Van: abart...@samba.org [mailto:samba-boun...@lists.samba.org] Namens Andrew Bartlett Verzonden: 2012-06-15 03:44 Aan: zoolook CC: samba@lists.samba.org Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: Hello, 2012/6/14 todd kman: I looked up ACL and how to get them supported and tried the following: sudo apt-get install attr Almost. Install libattr1-dev We need that, but also libacl1-dev Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba The OP is trying to compile the latest Samba4 from git (beta2), not install an old version (alpha18) via apt-get. Having said that, this may be the quickest way for him to install it, if he just wants to try it. There is no problem compiling Samba4 on Ubuntu 12.04, it just takes longer. Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba I am not sure if it will work with beta1 upwards, the template smb.conf is missing the following two lines: dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, s3fs These lines are only needed to enable the new 's3fs' default file server. This will soon (very soon) be the default, no smb.conf required. Andrew Bartlett Ok, I can understand that if it is the default, it will not require setting, but no smb.conf required? Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On Fri, 2012-06-15 at 13:36 +0100, Rowland Penny wrote: > On 15/06/12 12:58, L.P.H. van Belle wrote: > > ah from sources... > > > > then . > > http://spore.sodgeit.de/sporeblog-samba4EN.html > > very easy also. installer script, tested this also, and works also ok ( for > > me ) > > > > just change in the installer alfa20 to beta1 ( in samba4.sh ) > > samba-4.0.0beta1.tar.gz > > > > > > Greetz, > > > > Louis > > > >> -Oorspronkelijk bericht- > >> Van: rpe...@f2s.com [mailto:samba-boun...@lists.samba.org] > >> Namens Rowland Penny > >> Verzonden: 2012-06-15 10:41 > >> Aan: samba@lists.samba.org > >> Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 > >> > >> On 15/06/12 07:20, L.P.H. van Belle wrote: > >>> Hai, > >>> > >>> I did this install yesterday, bug is already reported in ubuntu. > >>> > >>> This is simple to resolve. > >>> > >>> first apt-get build-dep samba4 > >>> install these dependecies. > >>> > >>> apt-get install samba4 > >>> chmod +x /usr/share/samba/setoption.pl > >>> edit /var/lib/dpkg/status and search for package: samba4 > >>> replace half-configured with installed > >>> > >>> remove /etc/samba/smb.conf > >>> > >>> /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL > >> --domain=DOMAIN --adminpass='YourPassword' --server-role=dc > >>> > >>> and read, for the extra things. > >>> > >> http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-wi > >> th-ubuntu-12-04 > >>> nice howto to install samba4 on ubuntu. > >>> > >>> Did my install in 5 min. AD nicely up and running. > >>> > >>> > >>> Louis > >>> > >>> > >>> > >>>> -Oorspronkelijk bericht- > >>>> Van: abart...@samba.org [mailto:samba-boun...@lists.samba.org] > >>>> Namens Andrew Bartlett > >>>> Verzonden: 2012-06-15 03:44 > >>>> Aan: zoolook > >>>> CC: samba@lists.samba.org > >>>> Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 > >>>> > >>>> On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: > >>>>> Hello, > >>>>> > >>>>> 2012/6/14 todd kman: > >>>>>> I looked up ACL and how to get them supported and tried > >>>> the following: > >>>>>> sudo apt-get install attr > >>>>> Almost. Install libattr1-dev > >>>> We need that, but also libacl1-dev > >>>> > >>>> Andrew Bartlett > >>>> -- > >>>> Andrew Bartlett > >>>> http://samba.org/~abartlet/ > >>>> Authentication Developer, Samba Team http://samba.org > >>>> > >>>> -- > >>>> To unsubscribe from this list go to the following URL and read the > >>>> instructions: https://lists.samba.org/mailman/options/samba > >>>> > >>>> > >> The OP is trying to compile the latest Samba4 from git (beta2), not > >> install an old version (alpha18) via apt-get. Having said > >> that, this may > >> be the quickest way for him to install it, if he just wants to try it. > >> There is no problem compiling Samba4 on Ubuntu 12.04, it just > >> takes longer. > >> > >> Rowland > >> > >> > >> -- > >> This message has been scanned for viruses and > >> dangerous content by MailScanner, and is > >> believed to be clean. > >> > >> -- > >> To unsubscribe from this list go to the following URL and read the > >> instructions: https://lists.samba.org/mailman/options/samba > >> > >> > I am not sure if it will work with beta1 upwards, the template smb.conf > is missing the following two lines: > dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, > netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, > eventlog6, backupkey, dnsserver > server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, > winbind, ntp_signd, kcc, dnsupdate, s3fs These lines are only needed to enable the new 's3fs' default file server. This will soon (very soon) be the default, no smb.conf required. Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 15/06/12 12:58, L.P.H. van Belle wrote: ah from sources... then . http://spore.sodgeit.de/sporeblog-samba4EN.html very easy also. installer script, tested this also, and works also ok ( for me ) just change in the installer alfa20 to beta1 ( in samba4.sh ) samba-4.0.0beta1.tar.gz Greetz, Louis -Oorspronkelijk bericht- Van: rpe...@f2s.com [mailto:samba-boun...@lists.samba.org] Namens Rowland Penny Verzonden: 2012-06-15 10:41 Aan: samba@lists.samba.org Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 On 15/06/12 07:20, L.P.H. van Belle wrote: Hai, I did this install yesterday, bug is already reported in ubuntu. This is simple to resolve. first apt-get build-dep samba4 install these dependecies. apt-get install samba4 chmod +x /usr/share/samba/setoption.pl edit /var/lib/dpkg/status and search for package: samba4 replace half-configured with installed remove /etc/samba/smb.conf /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL --domain=DOMAIN --adminpass='YourPassword' --server-role=dc and read, for the extra things. http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-wi th-ubuntu-12-04 nice howto to install samba4 on ubuntu. Did my install in 5 min. AD nicely up and running. Louis -Oorspronkelijk bericht- Van: abart...@samba.org [mailto:samba-boun...@lists.samba.org] Namens Andrew Bartlett Verzonden: 2012-06-15 03:44 Aan: zoolook CC: samba@lists.samba.org Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: Hello, 2012/6/14 todd kman: I looked up ACL and how to get them supported and tried the following: sudo apt-get install attr Almost. Install libattr1-dev We need that, but also libacl1-dev Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba The OP is trying to compile the latest Samba4 from git (beta2), not install an old version (alpha18) via apt-get. Having said that, this may be the quickest way for him to install it, if he just wants to try it. There is no problem compiling Samba4 on Ubuntu 12.04, it just takes longer. Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba I am not sure if it will work with beta1 upwards, the template smb.conf is missing the following two lines: dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate, s3fs Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
ah from sources... then . http://spore.sodgeit.de/sporeblog-samba4EN.html very easy also. installer script, tested this also, and works also ok ( for me ) just change in the installer alfa20 to beta1 ( in samba4.sh ) samba-4.0.0beta1.tar.gz Greetz, Louis >-Oorspronkelijk bericht- >Van: rpe...@f2s.com [mailto:samba-boun...@lists.samba.org] >Namens Rowland Penny >Verzonden: 2012-06-15 10:41 >Aan: samba@lists.samba.org >Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 > >On 15/06/12 07:20, L.P.H. van Belle wrote: >> Hai, >> >> I did this install yesterday, bug is already reported in ubuntu. >> >> This is simple to resolve. >> >> first apt-get build-dep samba4 >> install these dependecies. >> >> apt-get install samba4 >> chmod +x /usr/share/samba/setoption.pl >> edit /var/lib/dpkg/status and search for package: samba4 >> replace half-configured with installed >> >> remove /etc/samba/smb.conf >> >> /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL >--domain=DOMAIN --adminpass='YourPassword' --server-role=dc >> >> >> and read, for the extra things. >> >http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-wi >th-ubuntu-12-04 >> nice howto to install samba4 on ubuntu. >> >> Did my install in 5 min. AD nicely up and running. >> >> >> Louis >> >> >> >>> -Oorspronkelijk bericht----- >>> Van: abart...@samba.org [mailto:samba-boun...@lists.samba.org] >>> Namens Andrew Bartlett >>> Verzonden: 2012-06-15 03:44 >>> Aan: zoolook >>> CC: samba@lists.samba.org >>> Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 >>> >>> On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: >>>> Hello, >>>> >>>> 2012/6/14 todd kman: >>>>> I looked up ACL and how to get them supported and tried >>> the following: >>>>> sudo apt-get install attr >>>> Almost. Install libattr1-dev >>> We need that, but also libacl1-dev >>> >>> Andrew Bartlett >>> -- >>> Andrew Bartlett >>> http://samba.org/~abartlet/ >>> Authentication Developer, Samba Team http://samba.org >>> >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: https://lists.samba.org/mailman/options/samba >>> >>> > >The OP is trying to compile the latest Samba4 from git (beta2), not >install an old version (alpha18) via apt-get. Having said >that, this may >be the quickest way for him to install it, if he just wants to try it. >There is no problem compiling Samba4 on Ubuntu 12.04, it just >takes longer. > >Rowland > > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 15/06/12 07:20, L.P.H. van Belle wrote: Hai, I did this install yesterday, bug is already reported in ubuntu. This is simple to resolve. first apt-get build-dep samba4 install these dependecies. apt-get install samba4 chmod +x /usr/share/samba/setoption.pl edit /var/lib/dpkg/status and search for package: samba4 replace half-configured with installed remove /etc/samba/smb.conf /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL --domain=DOMAIN --adminpass='YourPassword' --server-role=dc and read, for the extra things. http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-with-ubuntu-12-04 nice howto to install samba4 on ubuntu. Did my install in 5 min. AD nicely up and running. Louis -Oorspronkelijk bericht- Van: abart...@samba.org [mailto:samba-boun...@lists.samba.org] Namens Andrew Bartlett Verzonden: 2012-06-15 03:44 Aan: zoolook CC: samba@lists.samba.org Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: Hello, 2012/6/14 todd kman: I looked up ACL and how to get them supported and tried the following: sudo apt-get install attr Almost. Install libattr1-dev We need that, but also libacl1-dev Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba The OP is trying to compile the latest Samba4 from git (beta2), not install an old version (alpha18) via apt-get. Having said that, this may be the quickest way for him to install it, if he just wants to try it. There is no problem compiling Samba4 on Ubuntu 12.04, it just takes longer. Rowland -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
Hai, I did this install yesterday, bug is already reported in ubuntu. This is simple to resolve. first apt-get build-dep samba4 install these dependecies. apt-get install samba4 chmod +x /usr/share/samba/setoption.pl edit /var/lib/dpkg/status and search for package: samba4 replace half-configured with installed remove /etc/samba/smb.conf /usr/share/samba/setup/provision --realm=DOMAIN.LOCAL --domain=DOMAIN --adminpass='YourPassword' --server-role=dc and read, for the extra things. http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-with-ubuntu-12-04 nice howto to install samba4 on ubuntu. Did my install in 5 min. AD nicely up and running. Louis >-Oorspronkelijk bericht- >Van: abart...@samba.org [mailto:samba-boun...@lists.samba.org] >Namens Andrew Bartlett >Verzonden: 2012-06-15 03:44 >Aan: zoolook >CC: samba@lists.samba.org >Onderwerp: Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04 > >On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: >> Hello, >> >> 2012/6/14 todd kman : >> > I looked up ACL and how to get them supported and tried >the following: >> > sudo apt-get install attr >> >> Almost. Install libattr1-dev > >We need that, but also libacl1-dev > >Andrew Bartlett >-- >Andrew Bartlett >http://samba.org/~abartlet/ >Authentication Developer, Samba Team http://samba.org > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On Thu, 2012-06-14 at 16:58 -0300, zoolook wrote: > Hello, > > 2012/6/14 todd kman : > > I looked up ACL and how to get them supported and tried the following: > > sudo apt-get install attr > > Almost. Install libattr1-dev We need that, but also libacl1-dev Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On Thu, 2012-06-14 at 23:01 +0200, steve wrote: > On 06/14/2012 10:22 PM, Rowland Penny wrote: > > On 14/06/12 20:55, todd kman wrote: > >> Hi Chris, Rowland, > >> > >> > >> > >> > >> > >> sudo apt-get install attr > No. Look at the other reply. You already have attr. > > You have to build with libattr1-dev > Maybe the dpkg wasn't built with it? > Try apt-get install libattr1-dev anyway. > > Also, the version that comes with 12.04 is quite dated. Maybe you could > consider building it yourself? There is no need to start changing versions of system libraries to run Samba. Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 06/14/2012 10:22 PM, Rowland Penny wrote: On 14/06/12 20:55, todd kman wrote: Hi Chris, Rowland, sudo apt-get install attr No. Look at the other reply. You already have attr. You have to build with libattr1-dev Maybe the dpkg wasn't built with it? Try apt-get install libattr1-dev anyway. Also, the version that comes with 12.04 is quite dated. Maybe you could consider building it yourself? Cheers, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 14/06/12 20:55, todd kman wrote: Hi Chris, Rowland, Thanks for replying and offering your suggestions. I tried what you suggested and I made a little progress however I am still getting an error: "ProvisioningError : our filesystem or build does not support posix ACLs, s3fs is unworkable in this mode" I looked up ACL and how to get them supported and tried the following: sudo apt-get install attr I get the output listed below after apt-get. Part way through it indicates that "attr is already the newest version." It also looks like it is continueing to try and install the samba4 and having problems. It looks like attr is already installed but Samba provisioning does not recognize this. Is there some way I can get it to work? When I first installed the server version I selected the options for OpenSSH, LAMP, and Samba File Server believeing these would help me set up an active directory server. I then downloaded samba4 and compiled as per instructions referenced earlier. Could my selecting these 3 options be the issue? sudo apt-get install attr Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 126 Errors were encountered while processing: samba4 Reading package lists... Building dependency tree... Reading state information... attr is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-3.2.0-23-generic linux-headers-3.2.0-23 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ig
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
Hello, 2012/6/14 todd kman : > I looked up ACL and how to get them supported and tried the following: > sudo apt-get install attr Almost. Install libattr1-dev HTH, Norberto -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
Hi Chris, Rowland, Thanks for replying and offering your suggestions. I tried what you suggested and I made a little progress however I am still getting an error: "ProvisioningError : our filesystem or build does not support posix ACLs, s3fs is unworkable in this mode" I looked up ACL and how to get them supported and tried the following: sudo apt-get install attr I get the output listed below after apt-get. Part way through it indicates that "attr is already the newest version." It also looks like it is continueing to try and install the samba4 and having problems. It looks like attr is already installed but Samba provisioning does not recognize this. Is there some way I can get it to work? When I first installed the server version I selected the options for OpenSSH, LAMP, and Samba File Server believeing these would help me set up an active directory server. I then downloaded samba4 and compiled as per instructions referenced earlier. Could my selecting these 3 options be the issue? sudo apt-get install attr Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 126 Errors were encountered while processing: samba4 Reading package lists... Building dependency tree... Reading state information... attr is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-3.2.0-23-generic linux-headers-3.2.0-23 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 40 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow guests" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "max log size" Ignoring unknown parameter "max log size" Unknown parameter encountered: "syslog" Ignoring unknown parameter "syslog" Unknown parameter encountered: "unix password sync" Ignoring unknown parameter "unix password sync" Unknown parameter encountered: "passwd program" Ignoring unknown parameter "passwd program" Unknown parameter encountered: "pam password change" Ignoring unknown parameter "pam password change" Unknown parameter encountered: "map to guest" Ignoring unknown parameter "map to guest" Unknown parameter encountered: "usershare allow guests" Ignoring unknown parameter "usershare allow
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On 11/06/12 21:08, todd kman wrote: My fstab ".. proc /proc proc nodev,noexec,nosuid 0 0 /dev/mapper/server-root / ext4 errors=remount-ro 0 1 UUID=b2d11319-d831-49c6-b3d7-3b566956411a /boot ext2 acl,user_xattr defaults 0 2 /dev/mapper/server-swap_1 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 " Hi, I replied to this post, but my stupid email client did not reply to list it replied to the OP and I stupidly never noticed. Here is my reply to him: It would seem that you are using LVM, move what you entered up a line, you have entered it on the /boot partition, it needs to be on the / or root partition. It should look like: /dev/mapper/server-root / ext4 errors=remount-ro,acl,user_xattr 0 1 You may have to install the acl package. I have compiled samba4beta1 on ubuntu 12.04 server but I did not use LVM and it provisioned without any fstab alteration. and here is his reply to me: Thanks I'll give that a try tomorrow. I thought I had installed with mostly defaults. If I am using acl I did not actively select this. I did a list of apps installed and I did not see an acl in the list. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba 4 provisioning error on Ubuntu 12.04
On Mon, Jun 11, 2012 at 3:08 PM, todd kman wrote: > My fstab > ".. > proc /proc proc nodev,noexec,nosuid 0 0 > /dev/mapper/server-root / ext4 errors=remount-ro 0 1 > UUID=b2d11319-d831-49c6-b3d7-3b566956411a /boot ext2 acl,user_xattr > defaults 0 2 > /dev/mapper/server-swap_1 none swap sw 0 0 > /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 > " try "defaults,acl,user_xattr" or just remove "defaults". -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba