FreeRadius with AD Windows - freeradius

Currently, we are working on a project for replacing Windows Radius with Freeradius.
So I have some questions, knowing that we use AD windows, is it possible to make freeradius work and interact with our AD windows without adding freeradius to our AD, I mean without executing the following command: net join –U Administrator? and if freeradius should be added to our AD then why ? should I be admin of our AD to execute this command?
Thank you in advance for your help
Cdt,
Abbas ALNAGRI

Related

Can't login as ThingsBoard System admin on demo.thingsboard.io

I can't log in as ThingsBoard System admin on demo.thingsboard.io.
I thought that the solution would be here:
https://thingsboard.io/docs/samples/demo-account/
Here it says that I should use the sysadmin#thingsboard.org user with password sysadmin. But that seems to be invalid. Perhaps this only works if I download a version of the ThingsBoard web to run on my local machine?
Well it worked if I downloaded ThingsBoard to run on my local machine, so I guess the problem is solved.

Access Pivotal SSO tile in local development

Our OPS team have configured a SSO tile that connects to ADFS. I am building a sample application that utilize an SSO service instance. I can deploy my application to PCF and remote debug my SSO configuration. These things work.
What I need is a way to access the SSO service instance while I am developing on my PC. Otherwise only way to verify my code really works is to deploy my application to PCF and either add log statements or configure remote debugging. Both of these are pretty time consuming.
I looked into configuring ssh access to pivotal services. That works for database service instances, but not for SSO service instance. Has anyone figured it out?
After repeated trials and error, I found the solution. Posting it here in case someone else has similar issue
In PCF, for your SSO add a new application. Auth redirect url for this application should point to your localhost. In my case it is http://localhost:8080
run cf env . Copy the p-identity section only and save to vcap_services.json. Then update the clientId and clientSecret with the values from the new application created in previous step.
Use the following command to start your application
VCAP_APPLICATION=true VCAP_SERVICES=$(cat vcap_services.json) SPRING_PROFILES_ACTIVE=... ./gradlew bootRun

Hyperledger Composer Multiple user mode for REST server throws 401 error

I have been following the tutorials which are provided in Hyperledger Composer docs, but I am not getting the results that they are supposed to I should be getting. Specifically, when I try to enable the multiple user mode for the REST server and I try to call one of the business network REST API operations using the REST API explorer I always get a HTTP 401 Authorization Required. According to the Tutorial, I if get this error is due to I have not authenticated correctly to the REST API, but it does not mention why this error occurs or how I may fix it.
It is very important for application development to be able to authenticate each user who wants to make requests to the API.
What version of Hyperledger Composer are you using?
The tutorial/document you refer to is correct for v0.15.0 and works a little differently for prior versions.
Are you seeing an Access token at the top of the Browser Window - this indicates that you have successfully authenticated and can continue with the steps for the Wallet.
If you are not seeing an Access token displayed, then make sure you hit your REST server with a URL similar to http://localhost:3000/auth/github again and login.
If you are still experiencing problems I would suggest going back to just using authentication without multiuser mode and verify that the authentication works properly from there.
After some research, I found a solution and worked for me.
If you already enable Github authentication then ignore. Otherwise first enable authentication following this tutorial Enaling Authentication.
Before start rest server you will export your admin card from the network by using this command:
composer card export -n admin#sample-network -f admincard.card
Now start rest server with authentication using this command:
composer-rest-server -c admin#sample-network -p 3000 -a true -m true
After some time rest server will start.
Now First, go this link for authentication: http://localhost:3000/auth/github
After successful authentication, you will get an access token and also you will see a Wallet options below.
Now you need to import a card that you already export from your network.
That's it, you can able to add anything to your network.
In my case, I have two missed steps:
enabling authentication for the REST server
https://hyperledger.github.io/composer/v0.19/integrating/enabling-rest-authentication.html
composer-rest-server -c admin#you_project -a true, I just execute composer-rest-server but did not specify the identity "admin#you_project" before.

Deploy a Rails app to Openshift: rhc - Username or password is not correct

Our company wants to build a Rails-based backend website and we chose the OpenShift platform to host and deploy. To connect the two, all the guides lead to the installation of the ruby rhc gem and then setup it.
I'm fresh to OpenShift and I'm trying to setup the rhc toolkit on a remote Ubuntu server. Now I ran gem install rhc and everything went fine. Since I have to configure rhc through rhc setup, I ran this command afterwards and just after asking which server I want to use (I left it blank to use openshift.redhat.com) it comes to the login part.
At this moment, OpenShift Online allows you to login only with your GitHub account, so I gave in the GitHub credentials and... voilà! Username or password is not correct. Tried this both on PuTTy and ConEmu.
I swear I checked the login data more than 1000 times, and I'm totally lost.
Thank you a lot in advance
If you want to use OpenShift Online NextGen Developer Preview, you do not use the rhc client. You need to use the oc client. So anything you read where it says rhc is the wrong documentation.
Once you are logged in through the new web console, select on the '?' in circle top right and select command line tools. It will give you links to the 'oc' tools to download, plus the command you need to run to login from the command line using a session access token.
The link to that page should be:
https://console.preview.openshift.com/console/command-line
Also suggest you get down and use the free eBook for the new platform at:
https://www.openshift.com/promotions/for-developers.html
It uses a VM, but ignore the client login step from that and use that from page above instead and then follow examples in the book against the Online NextGen Developer Preview instead.

WARNING! ejabberd can not start Admin user is not created Please check your configuration

My title is my "error" that I am facing in the Terminal when setup the ejabberd.
What I did.
Download package from this website and choose Mac OS X Intel Installer.
I'm following this tutorial.
Where I'm reach at /Applications/ejabberd-16.06/bin by Terminal.
And run ./postinstall.sh cesare jerry.local password
And got below error message in terminal.
WARNING ! ejabberd can not start Admin user is not created Please check your configuration
But I know there is instruction that 'postinstall.sh' script, which has to be run right after the installation to create the admin user.
So For create admin user I go on official site of ejabberd.
But there I can't understand 5th step and my registering process alway in progress .
In short how can I create admin user or how can I remove WARNING from the terminal?
COMMENT : After couples of the days, I found that instead of insall ejabberd with Operating System Specific Packagesr you should try to install ejabberd with Binary Installer.
You do not need to run postinstall.sh script as it is already run by the installer and create the admin user for you. If you have had no error message from the installer, you should already be set. You can just call ejabberd start script.
Please make sure that you also approve listening on ports if OSX firewall ask you to authorise it. Ensure also that the user installing ejabberd has admin rights.

Resources