Last active
November 10, 2017 07:32
-
-
Save jniltinho/d22cca4e73b01af4d38f6b77a8a3f17e to your computer and use it in GitHub Desktop.
Samba4 4.6 Setup OpenSUSE 42.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install Samba4 4.6.4 on OpenSUSE 42.2 | |
## Author: Nilton OS www.linuxpro.com.br | |
zypper ar http://download.opensuse.org/repositories/home:/jniltinho/openSUSE_Leap_42.2/home:jniltinho.repo | |
zypper --gpg-auto-import-keys refresh | |
zypper in samba4-4.6.4 | |
##ln -s /opt/samba4/bin/samba-tool /usr/local/bin/ | |
echo 'export PATH=$PATH:/opt/samba4/bin:/opt/samba4/sbin' >> /etc/profile | |
source /etc/profile | |
## Alterar os arquivos (/etc/hosts, /etc/HOSTNAME) | |
## /etc/hosts | |
## Exemplo: Adicionado -> 192.168.56.100 DC1.linuxpro.net DC1 | |
## /etc/HOSTNAME | |
## Exemplo: DC1.linuxpro.net | |
samba-tool domain provision --server-role=dc --use-rfc2307 \ | |
--dns-backend=SAMBA_INTERNAL --realm=LINUXPRO.NET --domain=LINUXPRO --adminpass=Linuxpro123456 | |
#samba-tool domain provision --server-role=dc --use-rfc2307 --function-level=2008_R2 \ | |
#--use-xattrs=yes --dns-backend=SAMBA_INTERNAL --realm=LINUXPRO.NET --domain=LINUXPRO --adminpass=Linuxpro123456 | |
systemctl start samba4.service | |
systemctl enable samba4.service |
- Установил стандартный чистый вариант OpenSuse 42.3
Installed a standard clean version of OpenSuse 42.3 - Установил SAMBA4 из репозитория
Installed SAMBA4 from the repository
http://download.opensuse.org/repositories/home:/jniltinho/openSUSE_Leap_42.3/home:jniltinho.repo - Start Samba
systemctl start samba4.service
Nov 10 10:20:39 PDC samba [10020]: Please read the Trouble-Shooting section of th ... WTO
Nov 10 10:20:39 PDC samba [10020]: [2017/11/10 10: 20: 39.827741, 0] ../lib/util/fau...rt)
Nov 10 10:20:39 PDC samba [10020]: ===================================== ========= ... ===
Nov 10 10:20:39 PDC samba [10020]: [2017/11/10 10: 20: 39.827757, 0] ../lib/util/fau...lt)
Nov 10 10:20:39 PDC samba [10020]: PANIC: internal error
Nov 10 10:20:39 PDC systemd [1]: samba4.service: Daemon never wrote its PID file. F ... ng.
Nov 10 10:20:39 PDC systemd [1]: Failed to start Samba4 AD Daemon.
Nov 10 10:20:39 PDC systemd [1]: samba4.service: Unit entered failed state.
Nov 10 10:20:39 PDC systemd [1]: samba4.service: Failed with result 'resources'.
Nov 10 10:20:40 PDC systemd-coredump [10021]: Process 10020 (samba) of user 0 dumped ... e.
Hint: Some lines were ellipsized, use -l to show in full.
??? Может мне ещё нужно установить дополнительные пакеты на чистую версию ?
тогда какие ?
Maybe I still need to install additional packages for a clean version
which
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dmitV
I have not yet created packages from samba4 for OpenSUSE 42.4.