[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
root@gw:~# apt-get install samba4 Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut Statusinformationen werden eingelesen... Fertig Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt: keyutils Verwenden Sie »apt-get autoremove«, um sie zu entfernen. Vorgeschlagene Pakete: phpldapadmin samba-gtk swat2 Die folgenden NEUEN Pakete werden installiert: samba4 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 1 nicht aktualisiert. Es müssen noch 0 B von 1.662 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 11,4 MB Plattenplatz zusätzlich benutzt. Vorkonfiguration der Pakete ... Traceback (most recent call last): File "/usr/bin/samba-tool", line 26, in from samba.netcmd.main import cmd_sambatool File "/usr/lib/python2.7/dist-packages/samba/netcmd/main.py", line 24, in from samba.netcmd.delegation import cmd_delegation File "/usr/lib/python2.7/dist-packages/samba/netcmd/delegation.py", line 29, in from samba.netcmd.common import _get_user_realm_domain File "/usr/lib/python2.7/dist-packages/samba/netcmd/common.py", line 24, in from samba.net import Net ImportError: libkdc-policy.so: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/usr/bin/samba-tool", line 26, in from samba.netcmd.main import cmd_sambatool File "/usr/lib/python2.7/dist-packages/samba/netcmd/main.py", line 24, in from samba.netcmd.delegation import cmd_delegation File "/usr/lib/python2.7/dist-packages/samba/netcmd/delegation.py", line 29, in from samba.netcmd.common import _get_user_realm_domain File "/usr/lib/python2.7/dist-packages/samba/netcmd/common.py", line 24, in from samba.net import Net ImportError: libkdc-policy.so: cannot open shared object file: No such file or directory Vormals nicht ausgewähltes Paket samba4 wird gewählt. (Lese Datenbank ... 57254 Dateien und Verzeichnisse sind derzeit installiert.) Entpacken von samba4 (aus .../samba4_4.0.0~alpha18.dfsg1-4ubuntu2_amd64.deb) ... Trigger für man-db werden verarbeitet ... Trigger für ureadahead werden verarbeitet ... samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) wird eingerichtet ... /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied dpkg: Fehler beim Bearbeiten von samba4 (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 126 zurück E: Sub-process /usr/bin/dpkg returned an error code (1) where I deletet the old smb.conf. before with smb.conf from samba 3 it failed too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
have the same trouble, samba4 is still broken on 12.04! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
Adding output of apt-get install samba4 samba4-clients Reading package lists... Building dependency tree... Reading state information... Suggested packages: phpldapadmin samba-gtk swat2 The following NEW packages will be installed: samba4 samba4-clients Preconfiguring packages ... 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/1,710 kB of archives. After this operation, 11.4 MB of additional disk space will be used. Selecting previously unselected package samba4. (Reading database ... 32430 files and directories currently installed.) Unpacking samba4 (from .../samba4_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ... Selecting previously unselected package samba4-clients. Unpacking samba4-clients (from .../samba4-clients_4.0.0~alpha18.dfsg1-4ubuntu2_i386.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... ERROR: Invalid smb.conf ERROR: Invalid smb.conf /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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
Ran aptitude install samba4 and got the same error messages on a clean install of ubuntu 12.04. This was for samba4-alpha 18 I believe. No debs were installed/added to apt-get prior to running install. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
** Changed in: samba4 (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
** Branch linked: lp:~samba-team/samba/unstable -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
This bug was fixed in the package samba4 - 4.0.0~alpha18.dfsg1-4 --- samba4 (4.0.0~alpha18.dfsg1-4) unstable; urgency=low * Add patch 08_smb2_deps: Remove (unnecessary) dependencies on various private Samba 3 libraries, for which proper package Depends: lines were missing. Closes: #665295 * Add dependency on tdb-tools. This will be removed once upstream removes the use of tdbbackup in provision. Closes: #664658 -- Jelmer Vernooij Wed, 28 Mar 2012 16:20:21 +0200 ** Changed in: samba4 (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
** Changed in: samba4 (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
** Also affects: samba4 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659775 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
In the meantime until this is fixed, you can just mv /etc/samba/smb.conf /etc/samba/smb.conf.backup and finish the install and it should succeed. Source: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659775#24 ** Bug watch added: Debian Bug tracker #659775 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659775 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
** Branch linked: lp:debian/samba4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
** Branch linked: lp:~samba-team/samba/experimental -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: samba4 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
** Changed in: samba4 (Ubuntu) Status: Confirmed => Triaged ** Changed in: samba4 (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 936891] Re: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.con
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936891 Title: samba4 failed to install - ProvisioningError: guess_names: 'server role=standalone' in domain controller must match chosen server role '/etc/samba/smb.conf'! Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/936891/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs