Synchronize the user from ldap server to jira soon - ldap

I was using a openldap server to control the user in jira and confluence. But after I insert a user into ldap and add the user into the jira-users group, i still need to synchronize the user in jira. Can i set something to let it synchronize automatically after i insert the user into ldap server?

Here are the main steps :
Log in as a user with the JIRA System Administrators permission
Check your configuration : Settings > User Management > User Directories
You can manually synchronize the LDAP cache by clicking 'Synchronize' on the 'User Directories' screen.
If it works, you just need to set the Synchronization Interval on the directory configuration screen.
Otherwise there is probably something wrong with the current config. In this case, I would:
Check the server settings, see if it's reachable when connecting from a terminal.
Similarly, try to perform a search from a terminal using the schema settings.
Disable Incremental Synchronization if enabled.
Ensure the directory order is correct. Changes to users and groups will be made only in the first directory where the application has permission to make changes.
Ref: Connecting to an LDAP directory

Related

Trying to connect ldap users two or more subdomains to nifi

I have setup three node secure NIFI cluster and integrated with LDAP for user login .
my doubts
In login-identity-providers.xml can we add multiple USER Search Base of ldap.(i tried by adding multiple usersearchbase but failed)
In LDAP user search should happen on multiple sub domains eg : DC=example1,dc=example,dc=com
DC=example2,dc=example,dc=com
on User-search-base in login-identity-providers.xml
TO achieve mutitenancy in ldap what is the configuration changes we need to make in identity provider.xml
tenant1 user should access process group define for tenant 1 itself and its not access for tenant2 users
From what I can tell, AND Assuming you are using Microsoft Active Directory if you use:
FOLLOW
It may work.
We also sometimes might use the Global Catalog (as then there are no referrals)
I also am guessing that the "empty" parameters should be removed (but I do NOT know how NIFI works).
I would suggest you also do tests with a LDAP Browser to make sure you know what your LDAP tree looks like. We use Apache Studio, but there are others.
More data on if it is Microsoft Active Directory and refer to https://stackoverflow.com/help/how-to-ask

Creating LDAP-Authenticated Login Sub-directory/DAM assets in CQ5

I am running CQ 5.4 currently (5.5 upgrade pending) and need to establish a few sub-directories that can only be accessed by logging in and validating against the LDAP. This also means the files users can download after logging in have to be authenticated as well.
I have read as much of Adobe's documentation (and 3rd party) as I can:
http://dev.day.com/docs/en/cq/5-4/howto/create_apply_cug.html
http://dev.day.com/docs/en/cq/5-4/deploying/dispatcher.html#/sessionmanagement
http://www.wemblog.com/2013/01/how-to-associate-cug-with-dam-asset-in.html
We have LDAP enabled to log in and use CQ5 on our development server, but this is different from having our publish server use it for subdirectory-specific authentication and allowing all other static pages be cached. Unless I'm reading all of this wrong, none points out how to accomplish such.
Having the default login component work with LDAP authentication would be wonderful, but I am not holding my breath.
It's possible to configure ACLs (access lists) for each node.
For example, through LDAP you export users which belong to group ldap-users. Then, if you go to Content Repository Explorer (/crx/explorer/index.jsp) -> Content Explorer - > Choose node you need to set ACL for -> Security Access Control Editor -> New ACE. There you can set the access rights for the node.
More on how to set the ACLs: http://helpx.adobe.com/cq/kb/CQ53ACLsMappingToCRX2.html

Bugzilla reset to DB verfication

I recently installed Bugzilla on a server and I was trying to configure it to work with LDAP authentication.
Unfortunately, I accidentally disabled DB authentication in the Parameters area of the admin section and the LDAP settings were not configured properly.
Now I am unable to log back in as the administrator and can't log in at all over ldap because the settings were incorrect.
I am unable to figure out where I can manually restore DB authentication for bugzilla either directly in the DB or in some config file.
Appreciate your help
Look in the config file /data/params
You will see an entry called user_verify_class, change this to "DB" and you should be able to log in again.

How do I configure Openfire to use custom database using openfire.xml?

I tried out this guide from the Openfire documentation but none of my changes seem to have been applied. I can't login as any of the user from my custom database even if I set user names as admin. Do I need to manually apply all the changes to the system properties stored in the database (Openfire's ofProperty table)?
I'd also like to know if there's a way to prevent or customize which tables Openfire will add to my database.
Here's what I did to setup external database (in my case MySQL):
Assuming that you have a running Openfire instance, you should stop the server and edit the openfire.xml
Just add <setup>false</setup> so next time you open the web interface you will be directed to the setup page which will allow you to select and setup your database server.
From Openfire install directory copy the SQL query from /resources/database (choose the one for your specific database, in my case I used openfire_mysql.sql)
Of course you need to setup privileges.
From there I just followed the wizard and put the information in the input fields when setting up the database, like IP address, username and password that I have setup in the privileges in phpMyAdmin. Everything should be up and running within minutes.
In case you get error when setting up the database from the web interface, try to check if your database server MySQL port is open, its 3306. Do some sudo iptables if its not.
Hope this helps.

How can I limit Jenkins LDAP access to users in a specific groupOfNames?

I can configure Jenkins so it limits access to users on my ldap server by setting the Server and Root DN without a problem.
Now I want to tie down access a little more and only allow access to members of the groupOfNames cn=MyProject,ou=Group,dc=bogus,dc=biz, but I don't see how to do that in Jenkins.
Can someone explain how they configured Jenkins or Hudson to handle something like this ?
Thanks !
NOTE: I'm not sure if this would work for LDAP (we use active directory)
In the project configuration page, check Matrix-based security.
Remove all access for anonymous
Add your 'groupOfNames' to the "user/group to add" and give them the rights you want to.
Any user in that group should get the rights you assign. This is how we did it.
Old thread, I know. I got it working by installing the memberof and refint overlays on the OpenLDAP server (2.4.31) and setting the User Search Base on Jenkins to filter the result, i.e.
(&(uid={0})(memberOf=cn=MyGroupName,ou=group,dc=mydomain,dc=com))