{"id":3376,"date":"2014-12-20T15:15:21","date_gmt":"2014-12-20T15:15:21","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=3376"},"modified":"2017-03-11T17:15:39","modified_gmt":"2017-03-11T17:15:39","slug":"samba-mit-primary-domain-controller-pdc","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=3376","title":{"rendered":"Single Sign On (SSO) for Linux and Windows"},"content":{"rendered":"<p><a href=\"https:\/\/help.ubuntu.com\/community\/SingleSignOn\">SingleSignOn<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/community\/Kerberos\">Kerberos<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/community\/OpenLDAPServer\">OpenLDAPServer<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/community\/Samba\/Kerberos\">Samba\/Kerberos<\/a><\/p>\n<h3>Abk\u00fcrzungen \/ Abbreviations<\/h3>\n<p>Active Directory (AD)<br \/>\nDomain Controller (DC)<br \/>\nPrimary Domain Controller (PDC)<br \/>\n<a href=\"https:\/\/de.wikipedia.org\/wiki\/Group_Policy_Object\">Group Policy Object (GPO)<\/a>, Gruppenrichtlinienobjekt f\u00fcr eine Windows Active-Directory-Domain<\/p>\n<h3>Linux Logon\/Logoff Scripts<\/h3>\n<p><a href=\"https:\/\/www.novell.com\/coolsolutions\/appnote\/14832.html\">AppNote: How to Implement Login Scripts into a Pure Linux Environment<\/a><\/p>\n<h3>Name Service Switch (NSS)<\/h3>\n<p><a href=\"\u00a8https:\/\/code.google.com\/p\/nsscache\/wiki\/BackgroundOnNameServiceSwitch\">Background on Name Service Switch<\/a><\/p>\n<h3>Pluggable Authentication Modules (PAM)<\/h3>\n<p><a href=\"http:\/\/serverfault.com\/questions\/538383\/understand-pam-and-nss\">Understand PAM and NSS<\/a><br \/>\n<a href=\"https:\/\/amd.co.at\/adminwiki\/PAM\/NSS\">PAM\/NSS<\/a><\/p>\n<p><a href=\"http:\/\/www.tuxradar.com\/content\/how-pam-works\">How PAM works<\/a><br \/>\n<a href=\"http:\/\/aplawrence.com\/Basics\/understandingpam.html\">Understanding PAM<\/a><br \/>\n<a href=\"https:\/\/www.netbsd.org\/docs\/guide\/en\/chap-pam.html\">NetBSD: Pluggable Authentication Modules (PAM)<\/a><br \/>\n<a href=\"https:\/\/www.freebsd.org\/doc\/en_US.ISO8859-1\/articles\/pam\/\">FreeBSD: Pluggable Authentication Modules<\/a><br \/>\n<a href=\"https:\/\/de.wikipedia.org\/wiki\/Pluggable_Authentication_Modules\">Wikipedia: Pluggable Authentication Modules<\/a><br \/>\n<a href=\"https:\/\/access.redhat.com\/documentation\/en-US\/Red_Hat_Enterprise_Linux\/6\/html\/Managing_Smart_Cards\/Pluggable_Authentication_Modules.html\">RedHat: Using Pluggable Authentication Modules (PAM)<\/a><br \/>\n<a href=\"http:\/\/tldp.org\/HOWTO\/User-Authentication-HOWTO\/x115.html\">User Authentication HOWTO &#8211; PAM (Pluggable Authentication Modules)<\/a><\/p>\n<h3>Samba Shared Folders<\/h3>\n<p><a href=\"http:\/\/wiki.ubuntuusers.de\/Samba_Server\">Samba Server<\/a><br \/>\n<a href=\"http:\/\/wiki.ubuntuusers.de\/Samba_Server\/smb.conf\">Samba Server: smb.conf<\/a><br \/>\n<a href=\"http:\/\/askubuntu.com\/questions\/350071\/samba-question-share-user\">samba question: share = user<\/a><br \/>\n<a href=\"http:\/\/askubuntu.com\/questions\/430084\/ubuntu-server-and-samba\">ubuntu server and samba<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ chown nobody:sambashare \/raid\/share\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# smbpasswd -a bachi\r\nNew SMB password:\r\nRetype new SMB password:\r\ntdbsam_open: Converting version 0.0 database to version 4.0.\r\nWARNING: database '\/var\/db\/samba4\/private\/passdb.tdb.tmp' does not end in .&#x5B;n]tdb: treating it as a TDB file!\r\ntdbsam_convert_backup: updated \/var\/db\/samba4\/private\/passdb.tdb file.\r\ntdb(\/var\/db\/samba4\/winbindd_idmap.tdb): tdb_open_ex: could not open file \/var\/db\/samba4\/winbindd_idmap.tdb: No such file or directory\r\ntdb(\/var\/db\/samba4\/account_policy.tdb): tdb_open_ex: could not open file \/var\/db\/samba4\/account_policy.tdb: No such file or directory\r\naccount_policy_get: tdb_fetch_uint32 failed for type 1 (min password length), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 2 (password history), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 3 (user must logon to change password), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 4 (maximum password age), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 5 (minimum password age), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 6 (lockout duration), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 7 (reset count minutes), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 8 (bad lockout attempt), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 9 (disconnect time), returning 0\r\naccount_policy_get: tdb_fetch_uint32 failed for type 10 (refuse machine password change), returning 0\r\nAdded user bachi.\r\n\r\n# pkg remove samba41 ntdb tdb\r\n# pkg install samba41 ntdb tdb\r\n\r\n# smbpasswd -a bachi\r\nNew SMB password:\r\nRetype new SMB password:\r\n\r\n# ls -la \/var\/db\/samba4\/\r\ntotal 480\r\ndrwxr-xr-x   3 root  wheel     512 Feb 18 11:07 .\r\ndrwxr-xr-x  12 root  wheel     512 Feb 18 11:00 ..\r\n-rw-------   1 root  wheel  421888 Feb 18 11:03 account_policy.tdb\r\n-rw-r--r--   1 root  wheel     237 Feb 18 11:07 browse.dat\r\n-rw-r--r--   1 root  wheel     696 Feb 18 11:03 gencache.tdb\r\n-rw-r--r--   1 root  wheel     696 Feb 18 11:07 gencache_notrans.tdb\r\n-rw-------   1 root  wheel     696 Feb 18 11:03 group_mapping.tdb\r\n-rw-------   1 root  wheel     696 Feb 18 11:03 mutex.tdb\r\ndrwxr-xr-x   2 root  wheel     512 Feb 11 10:16 private\r\n\r\n\r\n# pdbedit -L  -v\r\n---------------\r\nUnix username:        bachi\r\nNT username:\r\nAccount Flags:        &#x5B;U          ]\r\nUser SID:             S-1-5-21-565438450-2596499718-1061971255-1000\r\nPrimary Group SID:    S-1-5-21-565438450-2596499718-1061971255-513\r\nFull Name:            Andreas Bachmann\r\nHome Directory:       \\\\bsd\\bachi\r\nHomeDir Drive:\r\nLogon Script:\r\nProfile Path:         \\\\bsd\\bachi\\profile\r\nDomain:               BSD\r\nAccount desc:\r\nWorkstations:\r\nMunged dial:\r\nLogon time:           0\r\nLogoff time:          Sun, 04 Dec 219250468 16:30:07 CET\r\nKickoff time:         Sun, 04 Dec 219250468 16:30:07 CET\r\nPassword last set:    Wed, 18 Feb 2015 11:07:24 CET\r\nPassword can change:  Wed, 18 Feb 2015 11:07:24 CET\r\nPassword must change: never\r\nLast bad password   : 0\r\nBad password count  : 0\r\nLogon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\n# testparm\r\nLoad smb config files from \/usr\/local\/etc\/smb4.conf\r\nProcessing section &quot;&#x5B;homes]&quot;\r\nLoaded services file OK.\r\nWARNING: 'workgroup' and 'netbios name' must differ.\r\nServer role: ROLE_STANDALONE\r\nPress enter to see a dump of your service definitions\r\n\r\n&#x5B;global]\r\n        workgroup = BSD\r\n        idmap config * : backend = tdb\r\n\r\n&#x5B;homes]\r\n        comment = Home Directories\r\n        valid users = %S\r\n        read only = No\r\n        create mask = 0600\r\n        directory mask = 0700\r\n        browseable = No\r\n<\/pre>\n<h3>Samba mit Primary Domain Controller (PDC)<\/h3>\n<p><a href=\"https:\/\/www.samba.org\/samba\/docs\/man\/Samba3-ByExample\/kerberos.html\">Samba-3 by Example: Chapter 11. Active Directory, Kerberos, and Security<\/a><br \/>\n<a href=\"http:\/\/support.microsoft.com\/kb\/2171571\">Microsoft: You incorrectly receive an error message when you join a computer that is running Windows 7 to a Samba 3-based domain<\/a><br \/>\n<a href=\"https:\/\/wiki.samba.org\/index.php\/Samba_AD_DC_HOWTO\">Samba AD DC HOWTO<\/a><br \/>\n<a href=\"http:\/\/wiki.ubuntuusers.de\/Samba_Server_PDC\">Samba Server PDC<\/a><br \/>\n<a href=\"http:\/\/www.scheib.info\/downloads\/fs-inf-07\/Samba-Server-SuSE112.pdf\">Aufbau und Konfiguration eines Dom\u00e4nencontrollers mit Samba<\/a><br \/>\n<a href=\"https:\/\/wiki.archlinux.org\/index.php\/samba_domain_controller\">Samba domain controller<\/a><br \/>\n<a href=\"https:\/\/wiki.archlinux.org\/index.php\/Samba_4_Active_Directory_Domain_Controller\">Samba 4 Active Directory Domain Controller<\/a><br \/>\n<a href=\"https:\/\/blogging.dragon.org.uk\/samba4-ad-dc-on-ubuntu-14-04\/\">Samba4 AD DC on Ubuntu 14.04<\/a><br \/>\n<a href=\"https:\/\/wiki.samba.org\/index.php\/The_Samba_AD_DNS_Back_Ends\">The Samba AD DNS Back Ends<\/a><\/p>\n<h4>FreeBSD<\/h4>\n<p><a href=\"http:\/\/serverfault.com\/questions\/599200\/how-to-integrate-active-directory-with-freebsd-10-0-using-security-sssd\">How to integrate Active Directory with FreeBSD 10.0 using security\/sssd?<\/a><br \/>\n<a href=\"http:\/\/blog.iandreev.com\/?p=1436\">FreeBSD 10: SAMBA 4 as a domain controller running on a public IP (OpenVPN, BIND, pf)<\/a><br \/>\n<a href=\"https:\/\/gist.github.com\/TravisTroyer\/82eb258657a8d17fa46e\">Samba 4.1 Active Directory Domain Controller on FreeBSD 10.1<\/a><br \/>\n<a href=\"https:\/\/www.freebsdnews.com\/2015\/04\/24\/set-freebsd-10-1-domain-controller\/\">How to set up FreeBSD 10.1 as a Domain Controller<\/a> (Video)<br \/>\n<a href=\"https:\/\/forums.freebsd.org\/threads\/47798\/\">Samba4 dc in FreeBSD 10<\/a><br \/>\n<a href=\"https:\/\/fleximus.org\/howto\/setup-samba-domain-controller-on-freebsd\">Howto setup Samba Domain Controller on FreeBSD<\/a><\/p>\n<h3>LDAP \/ OpenLDAP<\/h3>\n<h4>zytrax.com Open Source Guides &#8211; LDAP for Rocket Scientists<\/h4>\n<p><a href=\"http:\/\/www.zytrax.com\/books\/ldap\/ch2\/\">2. LDAP Concepts &#038; Overview<\/a><br \/>\n<a href=\"http:\/\/www.zytrax.com\/books\/ldap\/ch6\/\">Chapter 6. LDAP Configuration<\/a><br \/>\n<a href=\"http:\/\/www.zytrax.com\/books\/ldap\/ch8\/\">Chapter 8. LDAP LDIF and DSML<\/a><\/p>\n<h4>Useful tutorials<\/h4>\n<p><a href=\"http:\/\/www.brennan.id.au\/20-Shared_Address_Book_LDAP.html\">Example: Shared Address Book (LDAP)<\/a><br \/>\n<a href=\"http:\/\/www.knowledgepia.com\/en\/k-blog\/openldap-server-on-ubuntu-14-4\">OpenLDAP Server on Ubuntu 14.04<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/12.04\/serverguide\/openldap-server.html\">Ubuntu Server Guide: OpenLDAP Server<\/a><br \/>\n<a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-configure-openldap-and-phpldapadmin-on-an-ubuntu-14-04-server\">How To Install and Configure OpenLDAP and phpLDAPadmin on an Ubuntu 14.04 Server<\/a><br \/>\n<a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-and-configure-a-basic-ldap-server-on-an-ubuntu-12-04-vps\">How To Install and Configure a Basic LDAP Server on an Ubuntu 12.04 VPS<\/a><br \/>\n<a href=\"http:\/\/stackoverflow.com\/questions\/20673186\/getting-error-for-setting-password-feild-when-creating-generic-user-account-phpl\">Getting error for setting password feild when creating generic user account phpldapadmin<\/a><\/p>\n<pre class=\"brush: plain; title: \/usr\/share\/phpldapadmin\/lib\/TemplateRender.php; notranslate\" title=\"\/usr\/share\/phpldapadmin\/lib\/TemplateRender.php\">\r\nLine 2469:\r\n$default = $this-&gt;getServer()-&gt;getValue('appearance','password_hash');\r\nor\r\n$default = $this-&gt;getServer()-&gt;getValue('appearance','password_hash_custom');\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ ldapsearch -X u:admin -b dc=auth,dc=intra,dc=fablabwinti,dc=ch\r\nSASL\/DIGEST-MD5 authentication started\r\nPlease enter your password: \r\nldap_sasl_interactive_bind_s: Invalid credentials (49)\r\n\tadditional info: SASL(-13): user not found: no secret in database\r\n\r\n$ ldapsearch -x -LLL -b dc=auth,dc=intra,dc=fablabwinti,dc=ch \r\ndn: dc=auth,dc=intra,dc=fablabwinti,dc=ch\r\nobjectClass: top\r\nobjectClass: dcObject\r\nobjectClass: organization\r\no: fablabwinti\r\ndc: auth\r\n\r\ndn: cn=admin,dc=auth,dc=intra,dc=fablabwinti,dc=ch\r\nobjectClass: simpleSecurityObject\r\nobjectClass: organizationalRole\r\ncn: admin\r\ndescription: LDAP administrator\r\n\r\n$ ldapsearch -x -LLL -b dc=auth,dc=intra,dc=fablabwinti,dc=ch dn\r\ndn: dc=auth,dc=intra,dc=fablabwinti,dc=ch\r\ndn: cn=admin,dc=auth,dc=intra,dc=fablabwinti,dc=ch\r\n\r\n$ ldapsearch -LLL -x -H ldap:\/\/\/ -b dc=auth,dc=intra,dc=fablabwinti,dc=ch dn\r\ndn: dc=auth,dc=intra,dc=fablabwinti,dc=ch\r\ndn: cn=admin,dc=auth,dc=intra,dc=fablabwinti,dc=ch\r\n\r\n-X \r\n<\/pre>\n<h3>RADIUS<\/h3>\n<p><a href=\"http:\/\/wiki.ubuntuusers.de\/FreeRADIUS\">FreeRADIUS<\/a><br \/>\n<a href=\"http:\/\/www.linuxhomenetworking.com\/wiki\/index.php\/Quick_HOWTO_:_Ch31_:_Centralized_Logins_Using_LDAP_and_RADIUS\">Centralized Logins Using LDAP and RADIUS<\/a><br \/>\n<a href=\"http:\/\/blog.harritronics.com\/2011\/06\/primer-authentication-radius-kerberos.html\">Primer: Authentication &#8211; RADIUS, Kerberos, and LDAP<\/a><br \/>\n<a href=\"http:\/\/serverfault.com\/questions\/206054\/how-to-integrate-radius-with-kerberos\">How to integrate RADIUS with Kerberos?<\/a><br \/>\n<a href=\"http:\/\/arstechnica.com\/civis\/viewtopic.php?f=16&#038;t=1168550\">RADIUS and Kerberos and LDAP!!! Oh my!!!<\/a><\/p>\n<h3>Samba und OpenLDAP<\/h3>\n<p><a href=\"http:\/\/download.gna.org\/smbldap-tools\/docs\/samba-ldap-howto\/\">The Linux Samba-OpenLDAP Howto<\/a><br \/>\n<a href=\"https:\/\/www.eduroam.us\/node\/36\">Setting up Samba as a Domain Controller with OpenLDAP<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/lts\/serverguide\/samba-ldap.html\">Samba and LDAP<\/a><br \/>\n<a href=\"http:\/\/www.unixmen.com\/setup-samba-domain-controller-with-openldap-backend-in-ubuntu-13-04\/\">Setup Samba Domain Controller with LDAP Backend in Ubuntu 13.04<\/a><br \/>\n<a href=\"http:\/\/www.heise.de\/ix\/artikel\/Zentrale-Anmeldung-506060.html\">Linux-PDC mit Samba und OpenLDAP &#8211; Zentrale Anmeldung<\/a><\/p>\n<h3>MIT Kerberos 5<\/h3>\n<p><a href=\"https:\/\/jimshaver.net\/2014\/07\/13\/setting-up-an-active-directory-domain-controller-using-samba-4-on-ubuntu-14-04\/\">Setting up an Active Directory Domain Controller using Samba 4 on Ubuntu 14.04<\/a><br \/>\n<a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=2247166\">Ubuntu 14.04 kerberos krb5 installation+removing messed up login<\/a><br \/>\n<a href=\"http:\/\/techpubs.spinlocksolutions.com\/dklar\/kerberos.html\">Debian GNU and Ubuntu: Setting up MIT Kerberos 5<\/a><br \/>\n<a href=\"http:\/\/serverfault.com\/questions\/611457\/unable-to-setup-kerberos-on-ubuntu-14-04-krb5kdc-no-such-file-or-directory\">Unable to setup Kerberos on Ubuntu 14.04 &#8211; krb5kdc: No such file or directory &#8211; while initializing database for realm myrealm<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/community\/Kerberos\">Kerberos &#8211; Community Help Wiki<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/10.04\/serverguide\/kerberos.html\">Kerberos<\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/lts\/serverguide\/kerberos-ldap.html\">Kerberos und LDAP<\/a><br \/>\n<a href=\"http:\/\/raerek.blogspot.hu\/2012\/06\/kerberos-with-ldap-backend-on-ubuntu.html\">Kerberos with LDAP Backend on Ubuntu 12.04 &#8211; Part One<\/a><br \/>\n<a href=\"http:\/\/raerek.blogspot.hu\/2012\/06\/kerberos-with-ldap-backend-on-ubuntu_07.html\">Kerberos with LDAP Backend on Ubuntu 12.04 &#8211; Part Two<\/a><br \/>\n<a href=\"http:\/\/raerek.blogspot.hu\/2012\/06\/kerberos-with-ldap-backend-on-ubuntu_14.html\">Kerberos with LDAP Backend on Ubuntu 12.04 &#8211; Part Three<\/a><br \/>\n<a href=\"http:\/\/raerek.blogspot.ch\/2012\/06\/kerberos-with-ldap-backend-on-ubuntu_21.html\">Kerberos with LDAP Backend on Ubuntu 12.04 &#8211; Part Four<\/a><br \/>\n<a href=\"http:\/\/web.mit.edu\/kerberos\/krb5-devel\/doc\/admin\/advanced\/ldapbackend.html#ldap-be-ubuntu\">MIT Kerberos Documentation: Kerberos with LDAP backend on Ubuntu 10.4<\/a><br \/>\n<a href=\"http:\/\/web.mit.edu\/kerberos\/krb5-devel\/doc\/admin\/conf_ldap.html\">MIT Kerberos Documentation: Configuring Kerberos with OpenLDAP back-end<\/a><br \/>\n<a href=\"http:\/\/www.server-world.info\/en\/note?os=Ubuntu_14.04&#038;p=samba&#038;f=4\">Ubuntu 14.04 LTS : Samba Server : Samba AD DC : Server Settings<\/a><br \/>\n<a href=\"http:\/\/www.server-world.info\/en\/note?os=Ubuntu_14.04&#038;p=httpd&#038;f=13\">Ubuntu 14.04 LTS : WEB Server : Use Kerberos Auth<\/a><\/p>\n<h4>LightDM<\/h4>\n<p><a href=\"http:\/\/forum.ubuntuusers.de\/topic\/lightdm-login-kerberos\/\">Lightdm Login &#038; Kerberos: Ticket nicht gekommen<\/a><br \/>\n<a href=\"http:\/\/bobthegnome.blogspot.ch\/2012\/11\/testing-kerberos-in-ubuntu.html\">Testing Kerberos in Ubuntu<\/a><br \/>\n<a href=\"http:\/\/askubuntu.com\/questions\/121124\/how-do-i-enable-the-other-user-for-login-with-active-directory\">How do I enable the \u201cOther\u201d user for login with Active Directory?<\/a><br \/>\n<a href=\"https:\/\/wiki.umn.edu\/Main\/UbuntuAndActiveDirectory\">Ubuntu Linux and Active Directory<\/a><\/p>\n<h4>Abh\u00e4ndigheiten \/ Dependencies<\/h4>\n<p><a href=\"http:\/\/wiki.ubuntuusers.de\/ISC-DHCPD\">ISC-DHCPD<\/a><br \/>\n<a href=\"http:\/\/wiki.ubuntuusers.de\/DNS-Server_Bind\">BIND DNS-Server<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo apt-get install bind9\r\n$ sudo service bind9 stop\r\n<\/pre>\n<h3>DNS<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ ls -la \/etc\/bind\r\n&#x5B;...]\r\n-rw-r--r--   1 bind bind   493 Dez 26 19:41 named.conf\r\n-rw-r--r--   1 root bind   307 Dez 29 18:50 named.conf.local\r\n&#x5B;...]\r\n\r\n$ ls -la \/var\/lib\/bind\r\n&#x5B;...]\r\n-rw-r--r--  1 bind bind   572 Feb  6 18:49 db.192.168.1\r\n&#x5B;...]\r\n\r\n$ cat \/etc\/apparmor.d\/usr.sbin.named\r\n\/usr\/sbin\/named {\r\n  &#x5B;...]\r\n \r\n  # \/etc\/bind should be read-only for bind\r\n  # \/var\/lib\/bind is for dynamically updated zone (and journal) files.\r\n  # \/var\/cache\/bind is for slave\/stub data, since we're not the origin of it.\r\n  # See \/usr\/share\/doc\/bind9\/README.Debian.gz\r\n  \/etc\/bind\/** r,\r\n  \/var\/lib\/bind\/** rw,\r\n  \/var\/lib\/bind\/ rw,\r\n  \/var\/cache\/bind\/** lrw,\r\n  \/var\/cache\/bind\/ rw,\r\n \r\n  &#x5B;...]\r\n}\r\n<\/pre>\n<h3>NTP<\/h3>\n<p><a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=862620\">HOWTO: Set Up an NTP Server <\/a><br \/>\n<a href=\"https:\/\/help.ubuntu.com\/10.04\/serverguide\/NTP.html\">Time Synchronisation with NTP<\/a><br \/>\n<a href=\"http:\/\/unix.stackexchange.com\/questions\/129223\/postponing-ntpd\">Postponing ntpd<\/a><br \/>\n<a href=\"http:\/\/askubuntu.com\/questions\/29663\/how-do-i-disable-ntpd\">how do I disable ntpd?<\/a><br \/>\n<a href=\"http:\/\/www.ntp.org\/ntpfaq\/NTP-a-faq.htm\">The NTP FAQ and HOWTO &#8211; Understanding and using the Network Time Protocol<\/a><\/p>\n<h3>Apache<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ echo &quot;ServerName localhost&quot; | sudo tee \/etc\/apache2\/conf-available\/fqdn.conf\r\n$ sudo a2enconf fqdn\r\n<\/pre>\n<h4>Bugs<\/h4>\n<p><a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/ntp\/+bug\/1125726\">Bug #1125726: boot-time race between \/etc\/network\/if-up.d\/ntpdate and &#8220;\/etc\/init.d\/ntp start&#8221; <\/a><br \/>\n<a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/ubuntu-meta\/+bug\/777879\">Bug #777879: removing ntpdate removes ubuntu-minimal<\/a> (duplicate! use Bug #61619)<br \/>\n<a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/ubuntu-meta\/+bug\/61619\">Bug #61619: ntpdate in -minimal should have an alternative<\/a><br \/>\n<a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/mountall\/+bug\/556372\">Bug #556372: Please remove the plymouth dependency from mountall \/ cryptsetup<\/a> (Create a simple package)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SingleSignOn Kerberos OpenLDAPServer Samba\/Kerberos Abk\u00fcrzungen \/ Abbreviations Active Directory (AD) Domain Controller (DC) Primary Domain Controller (PDC) Group Policy Object (GPO), Gruppenrichtlinienobjekt f\u00fcr eine Windows Active-Directory-Domain Linux Logon\/Logoff Scripts AppNote: How to Implement Login Scripts into a Pure Linux Environment Name Service Switch (NSS) Background on Name Service Switch Pluggable Authentication Modules (PAM) Understand PAM [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3376","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/3376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3376"}],"version-history":[{"count":46,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/3376\/revisions"}],"predecessor-version":[{"id":5991,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/3376\/revisions\/5991"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}