youngmon/atlassian-qna huggingface dataset:
Multiple LDAP-Directories and mutliple sAMAccountNames
Asked by Steve Gerstner [bridgingIT]:

What happens if I've multiple Directories/Domains and if've got two Users with the same sAMAccoutName which is unique in the specified Domain but in the merged Confluence Directory, it will no longer be unique?

Is there any way to prevend this by configuration? and define the Username like username@Domain ?


Answers:
author: Manse Wolken
body: We had the same problem and solved it by using an third LDAP Directory in with the users from multiple AD's get synced.

Usernames became DOMAIN.USERNAME.

Since we use an IIS (able to authenticate to every domain involved) for NTLM authentication, our authenticator class just changes the RequestUser property from the forwarded IIS requests: "DOMAIN\\USERNAME" to "DOMAIN.USERNAME"

Confluence takes these information and requests group information from LDAP.

Thats all it took and it works (using Confluence 3.5.13).
Insert a link "Add page"
Asked by Gustav Stresemann:

Hello,  

I would like to insert the link "Add page" in a different place than the menu. The link will be displayed if you have editing rights, otherwise the link will not be displayed. For the links "Edit", "export", "side information" and "space admin", it already works. Either the link is displayed regardless of the permissions all the time or not.

```
#set ($spaceKey = $helper.spaceKey)#if ($permissionHelper.canCreatePage($remoteUser, $space))## if user currently viewing a page, add page automatically creates a new page with that page is the parent#if ($helper.page.pageId &amp;&amp; !$helper.page.postingDay)&lt;a href="$req.contextPath/pages/createpage.action?spaceKey=$generalUtil.urlEncode($spaceKey)&amp;fromPageId=$helper.page.id"&gt;$action.getText('add.page')&lt;/a&gt;#else&lt;a href="$req.contextPath/pages/createpage.action?spaceKey=$generalUtil.urlEncode($spaceKey)"&gt;$action.getText('add.page')&lt;/a&gt;#end#end
```

Where is my mistake in the code? In this case the link does not appear.

Thank you!


Answers:
author: Gustav Stresemann
body: The challenge is solved! I've done it and it works.

comments: author: Jo-Anne MacLeod
body: what was the problem?

In case anyone comes across this same problem in the future, then they will also know (or have some ideas) as to how to resolve it.


author: Gustav Stresemann
body: This is obviously a good idea. I was looking for a way to make a link "add page" insert into my theme. The link should be displayed in dependence on the user rights. I've now solved it like this:

```
#set ($pageId = $sitemeshPage.getProperty("page.pageId"))#if ($sitemeshPage &amp;&amp; $req &amp;&amp; $pageId != 0 &amp;&amp; $permissionCheckDispatcher.isPermitted("/pages/createpage.action?spaceKey=$generalUtil.urlEncode($spaceKey)&amp;fromPageId=$pageId"))				      &lt;a class="newpage" href="$req.contextPath/pages/createpage.action?spaceKey=$generalUtil.urlEncode($spaceKey)&amp;fromPageId=$pageId" title="$action.getText("de.vw.wiki.theme.kgkui.action.newpage")"&gt;$action.getText("de.vw.wiki.theme.kgkui.action.newpage")&lt;/a&gt;                         #end
```

<br />

Exactly what I wanted.


author: Gustav Stresemann
body: This is obviously a good idea. I was looking for a way to make a link "add page" insert into my theme. The link should be displayed in dependence on the user rights. I've now solved it like this:

```
#set ($pageId = $sitemeshPage.getProperty("page.pageId")) #if ($sitemeshPage &amp;&amp; $req &amp;&amp; $pageId != 0 &amp;&amp; $permissionCheckDispatcher.isPermitted("/pages/createpage.action?spaceKey=$generalUtil.urlEncode($spaceKey)&amp;fromPageId=$pageId"))				      &lt;a class="newpage" href="$req.contextPath/pages/createpage.action?spaceKey=$generalUtil.urlEncode($spaceKey)&amp;fromPageId=$pageId" title="$action.getText("xx.xx.xxxx.xxxxx.xxxxx.action.newpage")"&gt;$action.getText("xx.xx.xxxx.xxxxx.xxxxx.action.newpage")&lt;/a&gt;                         #end
```

Exactly what I wanted.
License Confluence for 2 different download
Asked by E. Pirola:

Hi all,

I've got a 10 users license active, for Confluence, Can I use this one with two different instances of Confluence?

What I did is actually getting a KEY for 2 different SERVER ID, but once inserting it the second time, I get an error saying: "The license you entered is not a valid cluster license. You will need to install the non-clustered edition of Confluence to use this license. " even if I downloaded a non-cluster version.

Thanks in advance.


Answers:
author: rverschoor
body: The [Confluence Licensing and Pricing](http://www.atlassian.com/licensing/confluence#downloadlicenses-7) page states:
> A Confluence commercial/academic license entitles you to:  
> Deploy a single instance of Confluence in a production environment on 1 server accessible by the number of users licensed

So you can't install Confluence on two different servers using the same license.  
Installing two Confluences on one server is also not allowed.
Confluence Update E-Mails
Asked by Lloyd Kinsella:

How do I turn off update e-mails globally? Currently we get e-mail alerts whenver anything changes in the wiki.

Now I know I can alter settings to some extent per user, but I'd like to just switch the whole thing off, only

I can't find where?


Answers:
author: Mark Hrynczak
body: To prevent emails from being sent altogether, you could just remove any configured mail server. See <http://confluence.atlassian.com/display/DOC/Configuring+a+Server+for+Outgoing+Mail>

comments: author: Lloyd Kinsella
body: I had thought about that BUT I don't think that's a solution, won't it also stop things like "Forgot Password" from also working?


author: Gavin Fowler
body: Interesting, I was trying to find the same thing over the weekend (without success). My need was testing for a confluence upgrade, where the production configuration/data was moved to a test machine - i wanted to be sure that no email notifcations were sent to end users during testing.
When I insert a text in the editor, it always jumps. So annoying.
Asked by Alex Bobrovski:

Buggy Confluence 4.0 + Mozilla Firefox 3.6.23.

I can't drag text when editing a page. So when I copy-paste it, the screen always "jumps", so the edited line is always on the top.

It pisses off all our employees. Fix it!


Answers:
author: BillA
body: I can't reproduce this bug. Firefox is on version 7.0.1 now so I suggest upgrading and testing on a more recent version. If you can reliably reproduce, please file a bug in the CONF project at [jira.atlassian.com](http://jira.atlassian.com). Make sure to include your browser version and steps to reproduce.

comments: author: Ashley Russell
body: its when u highlight text with the mouse and drag it into the editor, then click save and the text will be gone. also, paste something (multiline) in and either press home or control and home, sometimes (not always unfortunately) stuff goes crazy


author: Nic Brough -Adaptavist-
body: I'm not getting that at all. I suggest you raise it with Atlassian directly, as Bill says. (And consider upgrading the browser - 3.6 is getting a little long in the tooth)


author: Ashley Russell
body: not using firefox, but i can guarentee i know why hes stuck at 3.6, vmware :)


author: Ashley Russell
body: yea sometimes the home, and control+home shortcuts also make stuff go wild, just one of the 'qwirks' :) we used to get around it by using the wiki markup editor, however that doesnt exist any more :/


author: Nic Brough -Adaptavist-
body: Actually, I've seen this too, although it wasn't in Confluence, it was in one of the applications we use internally. It's not Confluence, it's Firefox.
Confluence 4.0 not connecting to Jira 4.4.1 for user management
Asked by Stephen Tjasink:

I have been trying to set up Confluence (4.0) to use Jira (4.4.1) instance for user management. The page for doing this during Confluence setup gives this error however: "This is not a valid url for JIRA 4.3 or later."

I have looked in the logs and the page that it is trying to access is /jira/rest/applinks/1.0/manifest, which returns 200. If I browse to that page, I see what looks like a perfectly reasonable response which includes \<typeId\>jira\</typeId\>\<version\>4.4.1\</version\> which I would assume is what it's looking for, so I don't know why it is not working.

Any help appreciated!


Answers:
author: Stephen Tjasink
body: I got to the bottom of this eventually after noticing a NoClassDefFoundError for a com.sun class in the Confluence log. The version of JDK1.6 that I was using was really old, so upgraded to the latest (1.6.0_27 at the time of writing) and used that instead, with successful results.
Insert Link doesn't work in Confluence 4.0
Asked by Alex Bobrovski:

Hi,

We use Mozilla Firefox. When clicking **Link** or **Insert\>Link** nothing happens.

The Firebug console reports

```
AJS.Editor.LinkBrowser.openDialog is not a functionhtt?s://--our-address---/s/ru_RU/3047/412/4d50e79dba38487788f2d118b2ce783e/_/download/contextbatch/js/editor,macro-browser/batch.jsLine 35148
```

What to do!?


Answers:
author: Matt
body: Alex, after speaking to a few people internally the only thing we could think of that might be causing this is that perhaps the old link browser plugin is still installed. it's best for you to create a support ticket so we can idenitfy the cause of the problem. You can do this from within the Confluence Admin \> Support Tools


author: Alex Bobrovski
body: 3.6.3 -- it's a corporative standard to use it, we can't update, before everything worked out just perfect.


author: Matt
body: What version of Forefox are you running?
Cannot upgrade. Import backup from Confluence 3.5 into Confluence 4.0 fails due to constraint "cp_unique_user"
Asked by Klaus Stake:

I think this is a bug. I've already opened an issue. I've installed Confluence 4.0 and tried to import a backup from Confluene 3.5 during installation. I use a Postgres database. The installation fails with an exception in the log files.

```
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "cp_unique_user"	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)	at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)	at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:462)	... 51 more
```

Did anybody experience the same?  
When I get a response or solution from the Atlassian support I will post it here.


Answers:
author: LuizA
body: Hello Klaus,

You're receiving this error because this kind of import does not work. If you want to import a backup from your 3.5 version you'll have to do this using a 3.5 version, in other words it's only possible to import a backup into the same version, for example:

\* Backup from a 3.5 version \> only can be imported into another 3.5 version

If you want to upgrade your Confluence, then you need to follow some steps to achieve this goal, the first one that we recommend it is to create a test environment to test the upgrade in a first moment and avoid problems in the production environment (best practice) based on this procedure:

<https://confluence.atlassian.com/display/CONF35/Migrating+Confluence+Between+Servers>

And so follow these steps to upgrade:

<https://confluence.atlassian.com/display/DOC/Upgrading+Confluence>

Hope this helps.

Best Regards,

LJ.


Tags: upgrade
Does Atlassian have a Voluntary Product Accessiblity Template or VPAT required for US government software purchasing?
Asked by Doug Earp:

Does Atlassian have a Voluntary Product Accessiblity Template or VPAT required for US government software purchasing?

Does Atlassian have a VPAT for 508 compliance for Confluence?

The Voluntary Product Accessibility Template?, or VPAT?, is a tool used to document a product's conformance with the accessibility standards under Section 508 of the Rehabilitation Act for the United States. The purpose of the VPAT is to assist Federal contracting officials and other buyers in making preliminary assessments regarding the availability of commercial "Electronic and Information Technology" products and services with features that support accessibility.   

It is assumed and recommended that offerers will provide additional contact information to facilitate more detailed inquiries.

To download a Word Version of the VPAT [Click Here](http://www.itic.org/clientuploads/resources/ITI-VPAT-v1.3.doc)  


Answers:
author: Larry Talley
body: The status of 508 compliance is being documented at <http://confluence.atlassian.com/display/DISC/Confluence+Section+508+Accessibility+Compliance>


Tags: compliance

vpat
Notifications for not watched space
Asked by Anna Gunich:

I am getting an update notification for the space I am not watching.  

E.g. I am watching a Space1, there is a Page1.  

I recieved a notification about a page (Page2) in different space (Space2) which was updated , with the Subject **"\[Wiki\] Space2 \> Space1\>Page1"** .  

The content of the notification describes the changes on the page in Space2, which is a completely different page and is not anyhow linked to page1 or Space1.  

Why can I receive such notification? How can the subject be explained?  

I have received also a complain from one more user about the same issue for different spaces and pages, so it should be not just a unknown one-time error...  

Any advice is appreciated. Thanks!  

Regards,  

Anna.


Answers:
author: Anna Gunich
body: Hi Everybody,

Just found out that it is a **bug** in the **Descendant Notifications plugin** released by Adaptivist.

<https://www.adaptavist.com/display/community/Strange+Email+Subjects+and+Email+Body>

**Confluence Version: 3.5**

**Plugin Version: 1.3.6**

***Please vote*** on it if you also use this plugin ***to get it fixed sooner*** (you can vote only if you have registered at Adaptivist community).

Thanks!

Anna.


author: John Masson
body: Hi Anna,

You might like to raise a case with the support team at <http://support.atlassian.com> to assist you with this.

Regards,  
John

comments: author: Anna Gunich
body: Hi John,

Thanks for your advice. We have already contacted the support team on this issue, however as we can not provide the steps to reproduce this problem we were advised to turn on mail log monitor to track all the notifications, but we are afraid this can cause the performance issues.

So just wanted to check if someone else faced such problem and can suggest the reason (so we could reproduce it), as we have no ideas.

Thanks,

Anna


Tags: notification

watch

watcher
Changing daily update alerts to weekly
Asked by Geoff Sawyer:

Is it possible to change the frequency of update alert emails? I have a user who is asking if he can set to receive weekly mails rather than daily ones.


Answers:
author: Andy Brook [Plugin People]
body: What product was this related to? I did something for JIRA to digest notifications <https://plugins.atlassian.com/plugin/details/19656> however it requires a source code change which seems to be a pivotal block on uptake.


author: John Masson
body: Hi Geoff,

Currently no it's just the daily updates email that you can subscribe to. There is an Improvement request [here](https://jira.atlassian.com/browse/CONF-18356) where someone has asked for weekly updates, you might like to vote for and/or watch this issue.

Regards,

John


Tags: email

notification
Outlook/Confluence Calender Plug-In Question
Asked by Amber McCarty:

I just posted a question about nav bar code. But, I am also curious if there is a plug-in available that allows users to publish events to the calender we've created on our wiki page? Not importing or publishing a user's entire Outlook calender, but rather when a meeting or event is created in Outlook there is a button or box selected that allows the user to publish this to an external location, e.g. then select the appropriate calendar on a designated Wiki page? Possible?

Thanks for all the collective wisdom found here....I surely need it! :)

Cheers,

Amber


Answers:
author: Sherif Mansour
body: Hi Amber,

So you want to be able to publish an event from your Outlook Calendar to Team Calendars in Confluence? You can't do this right now. Why do you want to do this?


Tags: calendar
Upgrade Confluence from 2.9 to 4.0
Asked by Drew Rogers:

If I purchase a new licence for Confluence 4.0, would it be possible to upgrade from 2.9 directly to 4.0?


Answers:
author: David at David Simpson Apps
body: You'll want to move up through some of the point releases between 2.9 and 4.0

The [Confluence 4 upgrade notes](http://confluence.atlassian.com/display/DOC/Confluence+4.0+Upgrade+Notes) suggest that you upgrade to Confluence 3.5.x first. I would recommend reading [all the release notes](http://confluence.atlassian.com/display/DOC/Release+Notes) between 2.10 and 4.0.
Cannot edit page?
Asked by Lloyd Kinsella:

I'm a little stuck, we have a wiki space set up and I've added users and groups to the system, some of these are marked as confluence admin etc.

We've got some pages created by the original full administration account, I can edit pages under this fine, however why can I not edit pages logged in as another user? As far as I know permissions are correct but not Edit button appears for them?


Answers:
author: Matt
body: I would check to see if those users have the permission to create content in that Space.

Browse \> Space Admin \> Permissions

Here's some short tutorials on permissions that you might find helpful:

<http://www.youtube.com/user/GoAtlassian#grid/user/351C3804D81F1DE6>

comments: author: Lloyd Kinsella
body: They are marked with Create Space/Confluence Admin permissions, is there anything else needed?


author: Matt
body: I edited my original answer, please refer above. Summary: You need to define Space Permissions.


author: Lloyd Kinsella
body: Ahhhh a whole new section of Confluence I've never even seen, thanks :P


author: Georges-Henry PORTEFAIT
body: What if the user is memeber of the admin group, every admin can edit pages but not him ?

and there is no page restrictions ?


Tags: permission
How to create a reference to a simplified Confluence page
Asked by Anton Vinokurov:

Hi All!

We are successfully using Confluence 3.5 as a documentation for our software.

I am going to add a "help" button onto our web app which opens a new browser window. There I would like to show a corresponding page from the existing documentation. This works perfectly. However I get a left sidebar, top and bottom toolbars as well. Is there any way to refer to an existing page in a way that shows me a central payload only?

Thanks!


Answers:
author: David Peterson
body: You can use the 'printable' display mode to achieve this. The 'cleanest' way to achieve this would be the Linking Plugin:{link-to:print\|page=My Page\|popup=true}Help{link-to}Alternately, if you're using raw HTML, just add '?display=printable' to the URL.As a bonus, you can customize the layout for this display in the Layout section of both Space and Global admin. Enjoy!

comments: author: Anton Vinokurov
body: Thanks David!

It works! Minor fix: use decorator=printable instead of display=printable in the URL.
"Add Page From Template" menu in 3.5
Asked by Roy Youngman:

We have a Space that we want to encourage (or even mandate) that authors select a template for the sake of consistency. I've seen some Atlassian videos that show a "Page From Template" option under the "Add" button and I notice that Confluence 4.0 has that out-of-the-box. We are using the "Documentation Theme" in Confluence 3.5. What is the easiest way to add this?


Answers:
author: Alex Suslin
body: Have you tried just look at HTML source for Add Page menu item and add a CSS class for that item that will just do something like "display:none"? I know that is not a very good option, but for internal usage and most of users it works


author: jim kennedy
body: Sorry Rob, can't help you - we just jumped from 3.1 to 4.1 directly.

I'm wondering if we can restrict users to Add Page From Temple - that is, remove the Add Page option - but only for one space.

Jim.


Tags: custom-field

documentation-theme
How to pass URL with userid/password in CSV Macro
Asked by Milind Shah:

Hello,

I am using Table plugin in Confluence and using a CSV Macro feature to get a CSV file from a URL. This URL is password protected and returns a csv file.

If I pass the Userid/password in any webbrowser I get a csv file. But, If I pass the URL within Confluence it returns with 401 error

error because of: java.io.IOException: Server returned HTTP response code: 401 for URL:

is there a way to configure url id password in Confluence CSV URL macro?

Thanks,

Milind


Answers:
author: Bob Swift (personal)
body: Its probably a bug, write up an issue here:[Confluence Table Plugin](https://studio.plugins.atlassian.com/browse/TBL)


author: David at David Simpson Apps
body: What happes when you curl the URL? Do you get the CSV? Or a Basic Auth prompt/error?

comments: author: Milind Shah
body: If I use CURL or regular browser it returns me CSV file content.
Has the anonymous access functionality changed?
Asked by James Hines:

I thought that by disabling anonymous access in the Global Permissions settings of Confluence, that this would prevent ALL anonymous access to my site. Has that functionality changed?

It seems that even with anonymous access disabled in the Global Permissions, that space administrators can allow anonymous access to thier space.

This seems wrong to me.


Answers:
author: Mark Hrynczak
body: Disabling anonymous access in Global Permissions **does** prevent all anonymous access.

The permission for anonymous access will still be shown in the space admin screens, but will not do anything - it will be overidden by the global permission.

Cheers,  
Mark


author: Jobin Kuruvilla [Adaptavist]
body: Check out last section in <http://confluence.atlassian.com/display/DOC/Setting+up+Anonymous+Access> to see how to disable anonymous access. Or have you already tried that?