Skip to main content

Malcolm McRoberts

Malcolm McRoberts's Public Library

May 27, 16

"Tempo is an easy, intuitive JavaScript rendering engine that enables you to craft data templates in pure HTML."

May 27, 16

"JSON to JSON transformation library written in Java"

  • Create Container

    For this example, create a container using the Windows Server Core image. This is done with the docker run command. For more information on docker run, see the Docker Run reference on docker.com.

    This example creates a container named iisbase, and starts an interactive session with the container.

    docker run --name iisbase -it windowsservercore cmd

    • It is possible to build the security identifier (SID) for the primaryGroup by considering the following:  
      • The SID for a group/user consists of the domain's relative identifier (RID) plus the RID of the group/user. For example if the SID for this user is S-1-111-222-333-efg, the RID for this user is "efg" and the domain's RID is S-1-111-222-333.
      • The PrimaryGroupID attribute on a user/group object holds the RID of the primary group.
      • A user's primary group must be a group that exists in the user's primary domain.
      • The SID for the primary group can be built by concatenating the domain RID with the primaryGroupID attribute of the user object. For example, the domain RID could be S-1-111-222-333 and the value of the primarygroupID could be abc. The SID of the primary group would then be S-1-111-222-333-abc.

  • Building Cross Platform Mobile Apps with C#,  Xamarin, and Azure
  • Microsoft Test Manager 2013
  • SharePoint 2013 Fundamentals

4 more annotations...

  • If you want to use it with LDAP:

     
    var passport = require('passport');
    var WindowsStrategy = require('passport-windowsauth');
     
    passport.use(new WindowsStrategy({
      ldap: {
        url:             'ldap://wellscordoba.wellscordobabank.com/DC=wellscordobabank,DC=com',
        base:            'DC=wellscordobabank,DC=com',
        bindDN:          'someAccount',
        bindCredentials: 'andItsPass'
      }
    }, function(profiledone){
      User.findOrCreate({ waId: profile.id }, function (erruser) {
        done(err, user);
      });
    }));

  • SOLVED: Using cookie content as RewriteRule variable in Apache ReverseProxy
     
     Just to close this thread and tag it as solved, if somebody is looking for a solution for a similar problem.
     Here is the solution:
     
     If have a cookie named ServerName, I want to check for its availability and use its content for building a URL:
     
     
     
    Code:
     
    RewriteCond %{REQUEST_URI} ^/ RewriteCond %{HTTP_COOKIE} ^.*ServerName=([^;]+) RewriteRule /(.*) http://%1.acme.com/$1 [P] 
     
    does the trick.
     Hope this helps somebody... :)

  • mod_session
    If you're using Apache 1.3.x, you can use the mod_session module for session-tracking implementation. Like mod_php, this module will not allow a client request to pass without the assignment of a session ID. The handling of session tracking data, however, isn't facilitated by the module. You have to handle it with separate software.

  • Tell Galaxy to use auth_conf file

     

    In config/galaxy.ini, uncomment the line auth_config_file = config/auth_conf.xml:

    # XML config file that allows the use of different authentication providers # (e.g. LDAP) instead or in addition to local authentication (.sample is used # if default does not exist). auth_config_file = config/auth_conf.xml

     

    Configure the auth_conf file

     

    Copy the config/auth_conf.xml.sample and name it config/auth_conf.xml:

    cp config/auth_conf.xml.sample config/auth_conf.xml

    Then configure it appropriately to your LDAP (the documentation in the sample file should be enough).

1 - 20 of 2273 Next › Last »
20 items/page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo