youngmon/atlassian-qna huggingface dataset:
LDAP to Confluence
Asked by Ravi Mudumby:

Hello,

We want to use LDAP to authenticate users in Confluence. Our plan is to use Confluence to authorize users to proper roles. I am new to Confluence and i have a few questions.

1) Can I assign groups to a user based on the role they have in LDAP? In essence, we have a role called Conflu_users created in LDAP and we would like only users of that role to have accounts in Confluence. We don't want to use the default group option as we have more than 40,000 employees in our company and it will not be feasible to manage that many user accounts in Confluence.

2) Assuming automatic assignment will not work, we have created a manual process where a confluence admin will assign groups to a particular user account after due approval process. My question is, how will an user account be created in Confluence without using synchronization? Can I manually create user accounts even when using LDAP and use LDAP for authentication?

Any help would be greatly appreciated.

<br />

Thanks

Ravi


Answers:
author: Ravi Mudumby
body: Tiago,

Thanks again for the answers.

On Userobject filter, I added

(\&(objectclass=inetorgperson)(sAMAccountName=\*)(memberOf=cn=Github_Editor,ou=People,dc=abc,dc=def,dc=xyz)). This ofcourse if not working as you have mentioned. Essentially I would need to change the cn=Github_Editor to match our LDAP settings. Am I Correct?

<br />

Thanks  
Ravi

comments: author: Tiago Comasseto
body: Yes, the FQDN of the group needs to mach your LDAP settings. But there's also another thing that called my attention, I see you are using sAMAccountName in this fiter as in the example I sent, however this is an attribute that only exists in MS AD as far as I know.

I also see you're also using inetorgperson, that is not a standard AD object. If you're not using AD, possibly you'll need to remove (sAMAccountName=\*) from your filter

Cheers


author: Tiago Comasseto
body: Hi Ravi,

Regarding you question, you can use a filter to restrict the number of users in Confluence, see this [page](https://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filters). Example:

```
(&amp;(objectCategory=Person)(sAMAccountName=*)(memberOf=CN=Conflu_users,OU=atlassian,DC=company,DC=local))
```

Then you can set the group membership directly in your LDAP.

Cheers

comments: author: Ravi Mudumby
body: Tiago,

Thanks for the reply. SO if I understand this correctly, under the UserObject Filter we currently have (objectclass=inetorgperson), and we need to now add the code you have provided.

Once I add a test it, how will all users of this role in LDAP be populated into Confluence. Do I have to syncronize? Can we do it without synchronization?

Thanks  
Ravi


author: Tiago Comasseto
body: Hi Ravi,

That's partially correct, the filter I sent as example may need to be adjusted acconding to your LDAP configuration.

And, after applying the filter, you'll need to trigger the synchronization, Confluence won't pull the users and groups from the LDAP without the synchronization.

Cheers


Tags: ldap
Problem with users from LDAP
Asked by Rafal Kaminski:

Hi all,

I've configured my ldap and users/groups but when i'm testing i see:

![](http://imageshack.us/a/img541/606/fk82.png)

Do you have why is not working? What is checking here?

Thank you for help.

Best,

Rafal


Answers:
author: Bruna Griebeler
body: Hi Rafal!

Seems that the test is failing on picking memberships. So, after synchronizing, check if the users and groups are being imported to Confluence.

Then check if the users are set in the proper groups. This will allow you to check if just the test are failing or if, in fact, the memberships are not being honored.

If that's the case, check in your LDAP directory settings the section called **Membership Schema** settings, specially **Group Members Attribute** and **User Membership Attribute**. Check if they are matching with the membership attributes from your LDAP vendor - you may compare with and LDIF.

Cheers!
Can't update higher than 5.3.2
Asked by Andreas Zehetbauer:

Dear Gliffy Team,

i'm only able to install the older version 5.3.2 in confluence.

Any newer Version shows me, that an error occurred, and I should have a look into the logfiles.

Can't find any error in my logfiles.

I uninstalled Gliffy, and tried to reinstall via Atlassian Marketplace - doesn't work because of higher version.

Only manual reinstall of downloaded older version 5.3.2 did the job.

Is there no more update for us available because of special COMMERCIAL_ENTERPRISE -License?

Our Config:

Confluence 5.1.3

Universal Plugin Manager (v2.12.2)

Installing works only with gliffy-confluence-plugin-5.3.2.jar (Licence still stored in confluence, no action needed))

These installs didn't work and showed a nonsaying error:

gliffy-confluence-plugin-5.4.1.obr

gliffy-confluence-plugin-5.4.jar

By the way: I found a Gliffy-Licence in my Atlassian-Login, but can't apply that in my 5.3.2 Gliffy

Hopefully that helps you to give me a hint, how to move forward with my update task.

Kind regards,

one of your greatest fans


Answers:
author: Andreas Zehetbauer
body: Hi Daniel,

with one word: success!

In detail:

1. I still had no entry about an error in catalina.out on my side...
2. But i didn't mind, and tried your solution on my confluence server terminal as it couldn't break much:  

   ```
   sudo nano /etc/mysql/my.cnf
   ```

   and changed the max_allowed_packet argument from 32M to 64M

   ```
   max_allowed_packet=64M
   ```

   I saved the file (STRG+X in nano)
3. as mentioned in your second post i did also a mysql restart in my confluence server terminal  

   ```
   sudo service mysql restart
   ```

4. In confluence then as Admin i retriggered a "paid gliffy update", and   
   this time it ran thru - Gliffy 5.4.1 on track - YEAH! Copying the licence from my.atlassian into it worked then as expected

so still have fun everyone, and thank you Daniel!

Andy


author: daniel nakamura
body: I forgot to mention that I restarted mysql and then upgraded.


author: daniel nakamura
body: I am getting this error too. After clicking on update, I did a tail -f on the log file and it showed an error message.

2013-07-30 13:05:00,472 ERROR \[pool-22-thread-4\] \[sf.hibernate.util.JDBCExceptionReporter\] logExceptions Packet for query is too large (34647544 \> 33554432). You can change this value on the server by setting the max_allowed_packet' variable.

I edited /etc/mysql/my.cnf and changed the max_allowed_packet. Save the file and upgrade which worked fine.  
max_allowed_packet = 64M


Tags: addon-com.gliffy.integration.confluence

confluence-administration

moderators
Can Confluence University be used if my group of friends and I don't have a corporate email account?
Asked by tagivens:

I purchased the On-Demand Confluence solution a couple weeks ago on behalf of a small group of friends. We would like to use Confluence Unversity but we aren't a company per se and we don't have a corporate email address. Is there a way for "joe-citizen" to become enrolled in the Confluence University \*WITHOUT\* having a corporate email address?


Answers:
author: Jesse Katz
body: Yes. Send an email to [atlassian-university@atlassian.com](mailto:atlassian-university@atlassian.com) with a list of users you wish to grant access to University.


Tags: account

atlassian-university

email
Why can't I enable Custom Stylesheets for Spaces?
Asked by Ena Jenkins:

I am using the subscription based Confluence application hosted by [atlassian.com](http://atlassian.com).   
I'd like to use Custom Stylesheets for Spaces but the option to turn it on is greyed out when I go to the admin section to enable. I am the admin for it and I created the account and the space - but for whatever reason, it seems only the system admin can make this change and I am not listed as the system admin. How do I change this or how do I enable CSS?


Answers:
author: BillA
body: It's a restricted function in Confluence Ondemand. See <https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand> for details.

If you're using Confluence install then space admins have the ability to customise their space CSS.

comments: author: Felipevsw
body: This is the updated link listing the functional differences in Confluence Cloud: <https://confluence.atlassian.com/confcloud/functional-differences-in-confluence-cloud-734070955.html>


author: Jonathan Simonoff
body: You must be a Confluence administrator to modify space layouts -- a space admin can't do it. That's never made sense to me, but that is the way it is.

UPDATE (correction) -- I think that was true for Confluence 3 (but now I'm not sure). It definitely is not right for Confluence 5.1 -- as noted in Bill's response, space admins for downloaded Confluence now certainly can change the layouts. (I tried it this time.) Assuming I'm right it used to be different. GREAT change. Sorry for the bad info.


Tags: cloud

confluence-cloud
Allow access to space for LDAP authenticated users without license and anonymous?
Asked by Matt Snow:

I have an external read-only LDAP directory configured with Confluence specific groups that I use to manage Confluence users access.

I have a space that allows both anonymous and authenticated LDAP groups to view pages.

The problem I have found is that if a user autheticates successfully but is **not** a member of a permitted LDAP group (at the Global level), they are not permittied to view any of the pages in this space.

Is there a way to allow access to this space to both authenticated but not permitted users, and anonymous users?


Answers:
author: Septa Cahyadiputra
body: Hi Matt,

Unfortunately it is not possible for you to do that. For any registered users, it is necessary to [manage their permission](https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview) in order to see any content of Confluence.

Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: confluence-administration
How can I edit text on the "no results found" page?
Asked by Hal Perrin:

How can I edit text on the "no results found" page?


Answers:
author: Hal Perrin
body: Okay, here's the problem. We are a software development firm, and for one of our software applications we provide both a Web and a desktop program edition. Using Spoon technology, we "spoon" our desktop program edition to our customers via our Web program edition. We use Confluence as the help system for our Web edition. (Our spooned desktop program edition has it's own help system within the desktop program itself.) Our Web customers are, understandably, not making the distinction between the two help systems. When our customers conduct a desktop related search in our Web edition help system (our Confluence space), the "No Results Found" page comes up every time. When this happens, we need the "No Results Found" page in Confluence to direct our customers to the desktop help system. This is a major issue for us. We must be able to edit (have control of) the content on the "No Results Found" page in Confluence. If editing Lucene is the only way to solve this problem, then please tell me how to do that. Thank you.


author: Bruna Griebeler
body: Hi Hal!

Since we use [Lucene](http://lucene.apache.org/core/) as search engine, I don't believe will be possible to simple edit this, unless you edit lucene itself.

Cheers.


author: Matthew J. Horn
body: You're asking about the "no results found" for the search function, not a 404 (page not found), right?

You could modify the logic in the /decorators/search.vmd file to change the output.


author: LucasA
body: Hi Hal,

I couldn't found this error message among the VM files of Confluence, so I'm afraid it's not possible to edit this error message.

Best regards,  
Lucas Timm


Tags: confluence-administration
Converting mscgen diagrams and charts to Confluence
Asked by Alonso Bonifacio:

Hello,

We are in the process of migrating to Confluence from a MediaWiki.  
A lot of our developers here used mscgen to render message sequence charts (<http://www.mcternan.me.uk/mscgen/>).

We want to purchase bitvoodoo's Sequence Diagram plugin and were wondering if it could interpret the old tags (old diagrams) that are being imported from the old MediaWiki wiki?

Please help!

Thanks!


Answers:
author: IT Accounts
body: Rodrigo,

Thanks for the reply. We actually installed PlantUML, Graphviz Plugin by Bob Swift, and squence Diagram by Bitvoodoo. We then hired contractors to write scripts to convert it all. They'll also write scripts to clean up a lot of what UWC didn't.  
I think Atlassian should have a much better solution to this. A converter that is easier to configure and use. Somehting built-in maybe.


author: Brendan Kaplan
body: Hi Rodrigo,

Have you tried MscGen for Confluence by Addteq?

<https://marketplace.atlassian.com/plugins/com.addteq.confluence.plugin.mscgen.mscgen>


author: IT Accounts
body: Rodrigo,

Thanks for the reply. We actually installed PlantUML, Graphviz Plugin by Bob Swift, and squence Diagram by Bitvoodoo. We then hired contractors to write scripts to convert it all. They'll also write scripts to clean up a lot of what UWC didn't.  
I think Atlassian should have a much better solution to this. A converter that is easier to configure and use. Somehting built-in maybe.


author: Rodrigo Girardi Adami
body: Hi Alonso,

That's a hard question. It seems that the bitvoodoo's Sequence Diagram was discontinued and replaced with the [Confluence PlantUML Plugin](https://marketplace.atlassian.com/plugins/de.griffel.confluence.plugins.plant-uml)According [this page](https://wiki.bitvoodoo.ch/display/DOC/Sequence+Diagramm+Plugin). I couldn't find any mention that the new plugin would have the functionality to convert the mediawiki sequence diagrams. It might be a good idea to get in touch with the PlantUML plugin so they will know if this is possible or not.

Regards,

Rodrigo


Tags: diagram

mediawiki

migration

sequence
Page Creation Limit?
Asked by Cheryl Schmelzer:

Is there a limit to the number of people who can create a page from the same parent page in Confluence at the same time?


Answers:
author: Joachim Ooi
body: Nope, Confluence does not have any limitation to the number of people who can create a page from the same parent page in Confluence. However, we do have a [Maximum Reported Usages](https://confluence.atlassian.com/display/DOC/Server+Hardware+Requirements+Guide#ServerHardwareRequirementsGuide-Maximumreportedusages) documented which seems to be maximum pages reported is 80k.

Hope that by referring to this page, you will have a rough idea or picture because you always need to think about your Confluence performance too.

comments: author: Cheryl Schmelzer
body: Thank you. We did a training this morning and everyone was able to create a page from the training space home page. It worked well. Thanks for the input!


Tags: cloud

confluence-cloud
removing an item in the tools drop down. I can't see the bottom of the list now.
Asked by John Pfotzer:

How can I remove or delete items on the "tools" drop down list? I added some things and now I can't see the bottom of the list to remove a page.

Thanks


Answers:
author: UdayK
body: ```
YOu can also hide the multiple section like below
```

```
AJS.$('#action-view-source-link').hide();        	AJS.$('#link-to-page-link').hide();        	AJS.$('#action-view-storage-link').hide();        	AJS.$('#view-in-hierarchy-link').hide();        	AJS.$('#view-page-info-link').hide();        	AJS.$('#action-page-permissions-link').hide();
```


author: Ryan Goodwin
body: I don't know how you added things, but I really enjoy this add-on:

<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.menumanager>

Its FREE! And full of awesomeness for customizing menus.

Enjoy!
Edit in Office on Confluence 5 buried at bottom of version list
Asked by Ethan Foulkes:

Love that Edit in Office is no longer buried under the tools icon in the right which often requires side scrolling to get to, however the function bar for files should be at the ***top*** of the page ***not*** the bottom! This is really driving people nuts and should be a quick easy fix!

![](../../upfiles/EditInOffice.JPG)


Answers:
author: Bruna Griebeler
body: Hi Ethan!

I just created a feature request for the devs about it as you can check here: <https://jira.atlassian.com/browse/CONF-30099>. Feel free to edit it. Not sure if there's a way to customize it easily, though.

I'll let you know if I find something about it.

Cheers!

comments: author: Ethan Foulkes
body: Thank you Bruna, some of our files have 100's of edits so there is no chance of people finding the new placement, hope a fix can be made soon!
Changing LDAP connection in a config file?
Asked by Scott Genevish:

The LDAP directory I was using for authentication was retired and now I can't log into Confluence as an admin. Is there a config file I can change to update the LDAP directory info?


Answers:
author: Bruna Griebeler
body: Hi Scott,

It depends on which version of Confluence you are running.

In case you're running Confluence *3.4 or below* , you have the[atlassian-user.xml file for the LDAP configuration settings.](https://confluence.atlassian.com/display/CONF34/Customising+atlassian-user.xml)

You can check this documetation to restore your admin password: <https://confluence.atlassian.com/display/CONF34/Restoring+Passwords+To+Recover+Admin+User+Rights>

In case you are running Confluence *3.5 or above* , chech this documentation of how to retrive access as a local admin, so you'll be able to change you diretory settings: <https://confluence.atlassian.com/display/CONF51/Restoring+Passwords+To+Recover+Admin+User+Rights>

Hope it helps!

comments: author: Yerbol Khassen
body: Hi!

Could you note a similar file for Jira as well, please?

Thank you


Tags: configuration

ldap
Media missing when converting from DokuWiki to Confluence 5
Asked by Kristina Valter:

Hey,

trying to convert from DokuWiki to Confluence 5. We are using UWC for that. Everything goes fine except the media is not converted to Confluence.

Does anyone know what can be the issue there? Have you had the same problem too? Any good solution for that?

Thanks,

Kristina


Answers:
author: Heily Hindrea
body: Just adding some details:  

Dokuwiki version: Release 2012-01-25 "Angua"

Confluence version 5.1.3, but we tried also with 4.3.7, but it still didnt work.

Thanks a lot,

Heily


Tags: confluence-administration
Documentation will allow html code in left panel
Asked by Lakshmi:

hi, i am trying to add html code in documentation thems\> left side panel.

will html allowed? since when i try sample code as below. link is not working. any inputs on this please?

{html}  
\<a ref="http://www.google.com/"\>Google\</a\>  
{html}


Answers:
author: Lakshmi
body: it was mistake from my end and had provided wrong syntax . it supposed to be href in the tag. but i had provided just ref.


author: Chung Park Chan
body: Do you have the [HTML Macro](https://confluence.atlassian.com/display/DOC/HTML+Macro) enabled ?


Tags: documentation-theme
findReplace an entire space using Confluence CLI
Asked by Samuel:

Hi,

How is **findReplace** used to "find and replace" text within an entire space using Confluence CLI? For example: Search a specified space for "boy" and replace with "girl".

I used **findReplace** with **modifyPage** and it worked fine for a specified page. However, I have over 300 pages per space so doing it page by page will not be efficient. Is there a **modifySpace** action?

Any thoughts on how to do this?

Thank you,


Answers:
author: Ryan Goodwin
body: Not sure how to do that with the CLI, but I'm sure Mr. Swift can help you if you ask nicely :)

You could do an XML export of the space, load it up in a text editor, and find and replace with your favorite text editor. Then import the modified space xml back into Confluence. Little bit more work, so might not be your best option.

comments: author: Samuel
body: Thanks for the response. The XML export method worked fine. More work, but quite flexible.


Tags: cli

space
Using the Confluence Publish Plugin for Blog posts
Asked by Matthew J. Horn:

Can anyone provide me any guidance on using the Confluence Publish Plugin for blog posts? It seems to do what I want, but I wasn't able to actually figure out how to use it. Thanks!

matt


Answers:
author: Christina Schantin [Communardo]
body: The Confluence Publish Plugin creates a blogpost from a page including all attachments.

In Confluence you have no draft publish workflow for wikipages as well as blogposts. The workaround for wiki pages is to restrict the viewing permissions only for the current user and when editing is finished to change the viewing permissions to all users.

But blogposts inherit the viewing permissions from the space. So you have no chance to hide a blogpost. That is the idea of this plugin.

1. You create a wiki page
2. change the viewing rights only to you (you have to do this manually) and
3. when the text is ready for publishing, you just create a blogpost from this wikipage (You will find this function in the Menu Tools on every wiki page)

I hope this will help you.

comments: author: Matthew J. Horn
body: Thanks! I didnt realize that the command to create a blog entry was under the Tools menu. Doh!


author: Ryan Goodwin
body: Hi Matt,

After installing the add-on, you need to configure it:

<http://localhost:8090/confluence/admin/viewpublishconfig.action>

Then, navigate to a space then to space tools. You'll see the publish menu menu in the content tools section. Documentation has good images:

<https://comalatech.jira.com/wiki/display/AHP/Confluence+Content+Publishing+Plugin>

Hope that helps.

comments: author: Matthew J. Horn
body: I might be wrong, but I think you're referring to a different plugin? I was talking about this one: <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.confluence-publish-plugin>

Not this one: <https://marketplace.atlassian.com/plugins/com.comalatech.publishing>

There's no doc on the former, but it looks like it was created by an Atlassian staffer ([Matthew Jensen](https://marketplace.atlassian.com/vendors/36109)).


Tags: app

blog

publish
PDF Undefined Message
Asked by Craig Hylwa:

Sometimes when attaching a pdf to a page and displaying it with the PDF plugin there is a message at the bottom "undefined". I would like to know what causes this? or if it is a bug?

![](../../upfiles/Screen_Shot_2013-07-24_at_2.49.12_PM.png)


Answers:
author: Ryan Goodwin
body: Hi Craig,

It might be a bug, or it might be the formatting of the PDF. Could you email me a copy of a pdf where this happens to you? My email is first letter of first name + full last name @atlassian.com

Also, what version of confluence are you working with?