192 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Why companies should train the employees in IT-Security today
Sat, Feb 11th 2017 44
Bluemix the extension your need to expand your universe
Mon, Jan 9th 2017 5
GDPR privacy and security for everybody
Wed, Dec 7th 2016 8
Update of the Bootstrap standby widget
Mon, Nov 14th 2016 7
IBM Domino to be or not to be
Mon, Aug 29th 2016 11
Adding OpenNTF extensions the simple way into your IBM Notes client
Sun, Jun 5th 2016 7
Xpage – Exception Notes error: You are not authorized to perform that operation
Thu, May 12th 2016 7
Top 10
Why companies should train the employees in IT-Security today
Sat, Feb 11th 2017 44
HTTP Server is waiting for threads to finish: the wait is over
Wed, May 14th 2014 17
IBM Domino to be or not to be
Mon, Aug 29th 2016 11
Part 2 of Partial Refresh in Notes Forms
Sun, Jan 25th 2015 8
GDPR privacy and security for everybody
Wed, Dec 7th 2016 8
Date format is Fulltext search a mystery
Sat, Apr 2nd 2016 7
Xpage – Exception Notes error: You are not authorized to perform that operation
Thu, May 12th 2016 7
Adding OpenNTF extensions the simple way into your IBM Notes client
Sun, Jun 5th 2016 7
Update of the Bootstrap standby widget
Mon, Nov 14th 2016 7
Some performance tips for your Domino / XPages servers
Thu, Nov 20th 2014 6


Setup a Free Git server with Domino Credentials in a few minutes
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
Fredrik Norling    

Today I’m going to show you hav to setup you own internal Free Git server in five minutes

Make sure that you have java version 7 installed in you windows server. JRE or JDK any version works. If you don’t have one goto java.com and install the a java jre.

Goto the java download page scroll down to the bottom of the page and download the JCE

Java_JCE

Open up the downloaded zip file and copy the 2 selected files

To the folder libsecurity below your java installation folder in my case it was

C:Program FilesJavajre7libsecurity you might need to replace existing files nothing to worry about.

This is needed to be able to create the certificates later.

Next step is to  gitblit.com wher your download the Go Git Blit Server for Windows or if you are using Linux or Macosx use that version.

GitBlit

Unzip the zip file in the root to a folder called gitblit or a suitable sub folder, if you change the folder you might need to change url:s in the .cmd files.

Configure GitBlit

We are now going to configure gitblit to use LDAP as authentication method

Open up the file gitblit.properties in the data folder, search for the keyword realm.userService edit this line so the line should look like this realm.userService = com.gitblit.LdapUserService

Setup the connection to the LDAP server

realm.ldap.server=ldap://localhost change the row if your LDAP server isn’t on localhost remember if you want to connect to a domino server and it’s hosted on a windows machine that has AD LDAP on it you need to change the port for the Domino LDAP service.

The syntax if you want to change ip or port is like this ldap://192.168.10.10:399

You also need to change the login user to be able to use the domino LDAP Service

realm.ldap.username = LDAP Manager

realm.ldap.password = your password

To a Domino user and password

Clear the accountBase so it will search all Nodes

realm.ldap.accountBase=

Change the accountPattern to

realm.ldap.accountPattern = (&(objectClass=person)(cn=${username}))

Empty the groupBase to search all nodes for groupsrealm.ldap.groupBase =

And the groupMemberPattern to find groups

realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))

realm.ldap.admins can be edited to add a admin group from LDAP

change the row realm.ldap.email from email to mail

And the row realm.ldap.uid also to mail

Important last step, search the file for localhost and remove that otherwise gitblit will only operate on localhost and you can access it from another machine

Save the file

Generate SSL Certificate

In the Gitblit folder in my case c:GitBlit there is a cmd file called authority.cmd (if you have another url you might need to modify the file)

start authority.cmd add the information about your certificate

Write the password for your keystore, write gitblit if you don’t want that password you need to edit the gitblit config file so the password match.

The keystore is generated and the cert admin is opened

Close the Window

Start the Git Blit Server using the gitblit.cmd the server will now start in the window.

Your Git server should be up and running now. Let’s access it thru a browser.

Write https://servername or ipadress or localhost and end the adress with :8443

but if you want to use http instead you need to edit the gitblit.properties and change the row

server.httpPort =0 to have the port for the http server i.e. server.httpPort = 8080

The GitBlit interface will load.

Try to login using your Domino credentials

When you have logged in, logout again and login using the standard admin user

username: admin password: admin

and assign yourself as an administrator and change the password of the default admin

Login with your user again

Now your ready to create your first repository

Next step is to connect your git client to the repository. Some clients like sourcetree needs a special setup to accept ssl that is created using a self cert. But that is for the next post.



---------------------
http://www.xpagedeveloper.com/2014/setup-a-free-git-server-with-domino-credentials-in-a-few-minutes
May 29, 2014
3 hits



Recent Blog Posts
44
Why companies should train the employees in IT-Security today
Sat, Feb 11th 2017 9:28a   Fredrik Norling
Demands what and what not the employees do on their computers becomes more and more important. Some examples, a person comes in to the reception desk with a presentation with coffee stains on it. Asks to get a new copy, please it’s on my USB drive. And the hacker is in your network! If this was after the 25:th of may 2018 your company could get fines because the employee didn’t get enough training. This is only one example, what about passwords do they use the same password to your i
5
Bluemix the extension your need to expand your universe
Mon, Jan 9th 2017 1:52p   Fredrik Norling
We have everything on our own servers you might say and have no use for IBM Bluemix Cloud services you might say. Well, I think you are wrong, Bluemix will help you expand the reach of your applications beyond borders that you might have today. Lets say you have an internal audit application and you want some external users to answer on some audits. Bluemix will help you here without opening up or adding a new server Perhaps you want to get some users in another part of the world to get web acc
8
GDPR privacy and security for everybody
Wed, Dec 7th 2016 9:02p   Fredrik Norling
If you have or haven’t heard of GDPR (General Data Protection Regulation) that is a European Union law that will be in effect on the 25:th of May 2018. This regulation will affect all companies working with citizens of EU, do many companies will be affected not only Companies with offices within the EU. So if your company is within EU or work with EU citizens this affects your company. Why should you bother, well the board of directors of your company will. Because the company can get a fi
7
Update of the Bootstrap standby widget
Mon, Nov 14th 2016 8:01p   Fredrik Norling
a minor update to fix some issues with the standby widget for bootstrap is in xSnippets. Found an issue with multiple triggering of the widget, this is hopefully fixed now, reported by David Leedy. Check it out here https://openntf.org/XSnippets.nsf/snippet.xsp?id=bootstrap-standby-dialog
11
IBM Domino to be or not to be
Mon, Aug 29th 2016 4:19a   Fredrik Norling
The last week after MWLUG there has been numerous blog posts about Domino. No roadmap IBM is killing Domino, there is no future for Domino, IBM haven’t released any new releases since 9.01. That is not true at all, if we look at what has been released since 9.0.1 came to market. IBM Domino customers have received 6 fixpacks but they are not only fixpacks they are feature packs. Why, well the Domino http engine has received TLS 1.0 and later TLS 1.2 with new encryption methods. That is a m
7
Adding OpenNTF extensions the simple way into your IBM Notes client
Sun, Jun 5th 2016 2:27p   Fredrik Norling
There is several ways how to add extensions into the IBM Notes client. But the best and simplest way that I have found is to do it this way. Download the prefered Addon in my case I select the OpenNTF IBM XPages extension library, download the latest version to your computer. Unzip the file in your prefered location, Unzip the zipfile called updateSiteOpenNTF-designer.zip in a new folder. In you Notes client create a new database in a folder on the server I call mine Client Updatessites and in
7
Xpage – Exception Notes error: You are not authorized to perform that operation
Thu, May 12th 2016 1:38a   Fredrik Norling
The first you think when you see this is that you don’t have access in the ACL or that the document has reader or author name fields that is blocking you from updating the document. But there is another option on the database that can give this problem. On the advanced tab “Maximum Internet name and password” must be set to the level you want a user maximum to have. This will block any other user acess set in the ACL so if you set Reader here all XPage users will be readers ev
7
Date format is Fulltext search a mystery
Sat, Apr 2nd 2016 1:45p   Fredrik Norling
Fulltext searching in Domino is often a great way to find documents. Searching for information in documents is quite straight forward. Until you want to search for dates in web applications. If you have an web application in XPages and want to search for documents created after a certain date. You can write a query like this [_CreationDate]>2001-05-01 But what if you users has an english locale with a date format like this mm/dd/yy Is it the user locale / server locale or what is the date fo




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition