Change django administration title

There are two ways to change them.

  1. Create //templates/admin/base_site.html file with the following content

    {% extends "admin/base.html" %}
    {% block title %}{{ title }} | Your website title here {% endblock %}
    
    {% block branding %}
    
    <h1 id="site-name">
        <a href="{% url 'admin:index' %}">Your website title here</a>
    </h1>
    {% endblock %}
    

    The original file is https://github.com/django/django/blob/master/django/contrib/admin/templates/admin/base_site.html

  2. Change settings.py and urls.py

    $ vi settings.py
    ...
    ADMIN_SITE_HEADER = "My shiny new administration"
    ...
    
    $ vi urls.py
    from django.conf import settings
    ...
    admin.site.site_title = settings.ADMIN_SITE_HEADER
    admin.site.site_header = settings.ADMIN_SITE_HEADER
    ...
    

    Source: http://stackoverflow.com/questions/4938491/django-admin-change-header-django-administration-text

Upgrading SYSVOL replication to DFSR

Server manager → Tools → Active directory Domains and Trusts

Click right button on Root (Active Directory Domains and Trusts [win2012 server name]) → Raise Domain Functional Level … → Windows Server 2012 R2

Type dfsrmig /getmigrationstate to confirm all domain controllers have reached prepared state

Type dfsrmig /getmigrationstate to confirm all domain controllers have reached redirected state

Type dfsrmig /getmigrationstate to confirm all domain controllers have reached eliminated state

Check net share status

Also make sure in each domain controller FRS service is stopped and disabled

Start → Administrative Tools → Services → File Replication Service → Double click

 

Reference: http://www.rebeladmin.com/2015/04/step-by-step-guide-for-upgrading-sysvol-replication-to-dfsr-distributed-file-system-replication/

Mac OSX “Hold for authentication” when trying to print

Fix steps:

  1. Print any document and the job is hold in queue with message “Hold for authentication”
  2. Open a terminal window and run the following commands
    $ lpstat -s
    

    Output likes the following:
    device for <printer name>: smb://<server>/<shared name>

    device for Canon_iR_ADV_4245: smb://my-windows-printer-server/Canon_iR_ADV_4245
    
    $ sudo lpadmin -p <printer name> -o auth-info-required=<Your username>,<Your password>
    

Reference: http://servalpaul.blogspot.com/2015/01/mac-osx-hold-for-authentication-when.html