[Samba] domain provision error
[I sent this back on Friday AM, but it claimed it was being held, yet I've not seen it show up, so I'm reposting both to update the thread, as well as for others who might be having the same issue. My apologies if it eventually shows up twice.] --- As was posted initially, I got a whole set of errors in doing my domain provisioning. The error messages looked like they pointed toward not having ACL support in the filesystem, or in Samba, or not having the ACL packages installed. [See the bottom of the message for a partial repost of the error.] --- So, in frustration I nuked the test-bed setup and completely reinstalled the OS, pulled Samba and all packages, re-compiled etc. And I made the same mistake as the first time - I used a password that didn't meet the complexity requirements and the provision script bombed. But I just thought I'd re-run it with a better password. And *boom* the same error as below - a second time. That started me thinking that the issue was probably that the provision script didn't know how to handle things if it was only half done. So, I tried deleting the smb.conf file and trying again. [As suggested in the Wiki.] But that didn't do it either. So, I nuked it from orbit - the only way to be sure! rm /usr/local/samba/ -rf [I installed to the default - but if you're having the same issue, make sure you delete the path you installed to, as long as nothing else is valuable there... :) ] The I did a samba {make install] again to put the files back. Re-ran the [domain provision] again, making sure to use a complex enough password and the provision completed without error. --- I might suggest that someone who knows that script include some error handling that would at least kick meaningful error messages in the same situation. [It doesn't have to roll things back automagically but if it would at least recognize what was the problem and provide feedback that would clue one in about what was *really* wrong and perhaps what to do to fix it.] Hope that helps someone else - or prompts a re-write of the script. Thanks for all the help attempts! -Greg --- Error output from original posting below. [To help your google-fu!] --- When doing the domain provisioning I get these errors. --- Asks for Relm/Domain/DNS/Samba type [ad] etc... Then... ... ldb: module schema_load initialization failed : No such object ldb: module rootdse initialization failed : No such object ldb: module samba_dsdb initialization failed : No such object ldb: Unable to load modules for /usr/local/samba/private/sam.ldb: (null) samdb_connect failed VFS connect failed! ERROR(class 'samba.provision.ProvisioningError'): Provision failed - ProvisioningError: Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option. File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, line 398, in run use_rfc2307=use_rfc2307, skip_sysvolacl=False) File /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py , line 1965, in provision raise ProvisioningError(Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option.) --- Yet, I find: /usr/local/samba/lib/ldb/schema_load.so /usr/local/samba/lib/ldb/samba_dsdb.so /usr/local/samba/lib/ldb/rootdse.so 1)These all exist. 2) Running as root, and files are [r x] for root. Also, a mount shows this for the / partition: (rw,acl,errors=remount-ro) So, it appears that I have ACL support too. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] domain provision error
Did samba build with acl support ? On Fri, Jan 25, 2013 at 3:40 AM, Gregory Sloop gr...@sloop.net wrote: GK it's not only your file system supporting ACL's - also some GK devel packages must be around during the build. GK See https://wiki.samba.org/index.php/Samba_4/OS_Requirements GS Thanks, but I do have all the ACL packages etc, described in the reqs. GS [I followed, exactly, the Deb/Ubuntu instructions.] One more follow-up to this. I see there were some other file-system reqs [I initially didn't think that section applied to Ubuntu.] However, I went back and edited fstab as required, and did the ACL tests. All appears good. So I re-ran the domain provision again. Same failure. So, as far as I can tell, it's not an actual ACL problem. -- 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] domain provision error
I didn't get any configure or make errors (at least any I was aware of) The make test appears to bomb horribly, but I can't find any docs about it, so I don't know if its still a valid test, or when/how to run it etc. The real problem appears to be that it can't load any of the SAM modules. As noted above, the files are there and exist, and appear to have the correct permissions. Has anyone gotten it to compile, install and provision properly on Ubuntu 12.04? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] domain provision error
On 25/01/13 10:03, Greg Sloop gr...@sloop.net wrote: I didn't get any configure or make errors (at least any I was aware of) The make test appears to bomb horribly, but I can't find any docs about it, so I don't know if its still a valid test, or when/how to run it etc. The real problem appears to be that it can't load any of the SAM modules. As noted above, the files are there and exist, and appear to have the correct permissions. Has anyone gotten it to compile, install and provision properly on Ubuntu 12.04? Hi, a guarded yes, I have compiled all the RC's, 4.0.0 final and a few git pulls (but not the latest) on Ubuntu server 12.04.1, just what version are you trying? Just a thought, is the acl package installed? 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] domain provision error
Hello Greg, On Fri, Jan 25, 2013 at 7:03 AM, Greg Sloop gr...@sloop.net gr...@sloop.net wrote: Has anyone gotten it to compile, install and provision properly on Ubuntu 12.04? Yes. Have you installed libacl1-dev, libattr1-dev, attr, acl? Regards, Norberto -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] domain provision error
Ubuntu 12.04 Following the Samba4 AD Wiki Howto. --- When doing the domain provisioning I get these errors. --- Asks for Relm/Domain/DNS/Samba type [ad] etc... Then... ... ldb: module schema_load initialization failed : No such object ldb: module rootdse initialization failed : No such object ldb: module samba_dsdb initialization failed : No such object ldb: Unable to load modules for /usr/local/samba/private/sam.ldb: (null) samdb_connect failed VFS connect failed! ERROR(class 'samba.provision.ProvisioningError'): Provision failed - ProvisioningError: Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option. File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, line 398, in run use_rfc2307=use_rfc2307, skip_sysvolacl=False) File /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py, line 1965, in provision raise ProvisioningError(Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option.) --- Yet, I find: /usr/local/samba/lib/ldb/schema_load.so /usr/local/samba/lib/ldb/samba_dsdb.so /usr/local/samba/lib/ldb/rootdse.so 1)These all exist. 2) Running as root, and files are [r x] for root. Also, a mount shows this for the / partition: (rw,acl,errors=remount-ro) So, it appears that I have ACL support too. --- Google-fu done for, nothing to show for it. I'm stumped. Suggestions? -Greg -- Gregory Sloop, Principal: Sloop Network Computer Consulting 503.251.0452 x121 Voice | 503.251.0452 Fax www.sloop.net mailto:gr...@sloop.net -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] domain provision error
Am Freitag, 25. Januar 2013, 01:30:21 schrieb Gregory Sloop: Ubuntu 12.04 Following the Samba4 AD Wiki Howto. --- When doing the domain provisioning I get these errors. --- Asks for Relm/Domain/DNS/Samba type [ad] etc... Then... ... ldb: module schema_load initialization failed : No such object ldb: module rootdse initialization failed : No such object ldb: module samba_dsdb initialization failed : No such object ldb: Unable to load modules for /usr/local/samba/private/sam.ldb: (null) samdb_connect failed VFS connect failed! ERROR(class 'samba.provision.ProvisioningError'): Provision failed - ProvisioningError: Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option. File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, line 398, in run use_rfc2307=use_rfc2307, skip_sysvolacl=False) File /usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py , line 1965, in provision raise ProvisioningError(Your filesystem or build does not support posix ACLs, which s3fs requires. Try the mounting the filesystem with the 'acl' option.) --- Yet, I find: /usr/local/samba/lib/ldb/schema_load.so /usr/local/samba/lib/ldb/samba_dsdb.so /usr/local/samba/lib/ldb/rootdse.so 1)These all exist. 2) Running as root, and files are [r x] for root. Also, a mount shows this for the / partition: (rw,acl,errors=remount-ro) So, it appears that I have ACL support too. --- Google-fu done for, nothing to show for it. I'm stumped. Suggestions? -Greg it's not only your file system supporting ACL's - also some devel packages must be around during the build. See https://wiki.samba.org/index.php/Samba_4/OS_Requirements Cheers, Günter -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] domain provision error
GK it's not only your file system supporting ACL's - also some GK devel packages must be around during the build. GK See https://wiki.samba.org/index.php/Samba_4/OS_Requirements Thanks, but I do have all the ACL packages etc, described in the reqs. [I followed, exactly, the Deb/Ubuntu instructions.] -Greg -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] domain provision error
GK it's not only your file system supporting ACL's - also some GK devel packages must be around during the build. GK See https://wiki.samba.org/index.php/Samba_4/OS_Requirements GS Thanks, but I do have all the ACL packages etc, described in the reqs. GS [I followed, exactly, the Deb/Ubuntu instructions.] One more follow-up to this. I see there were some other file-system reqs [I initially didn't think that section applied to Ubuntu.] However, I went back and edited fstab as required, and did the ACL tests. All appears good. So I re-ran the domain provision again. Same failure. So, as far as I can tell, it's not an actual ACL problem. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba