Search found 40 matches

by Phroobar
27 Aug 2024, 18:44
Forum: General Discussion
Topic: When we try CSV and Excel export from ‘View Issues’ page, we are facing issue
Replies: 4
Views: 13994

Re: When we try CSV and Excel export from ‘View Issues’ page, we are facing issue

There are no errors in the php log files nor in mantis.log. All we get is an iis 400 bad request in the log. The user can export but with different parameters or project. I can use the user's failing parameters and it will work for me. I've tried other users and some can export using the same ...
by Phroobar
29 Mar 2024, 20:55
Forum: Help
Topic: Purging data
Replies: 2
Views: 3059

Purging data

We have a business requirement to delete data older than 7 years. Is this feature built into Mantis BT or do I have to delete it directly from the database?
by Phroobar
29 Mar 2024, 20:51
Forum: Help
Topic: LDAP connection problem
Replies: 2
Views: 3201

Re: LDAP connection problem

I was able to connect to my server using ldaps on PHP using the following method.

$connect = ldap_connect('ldaps://'. $ldap_host. ':'. $ldap_port)
I also had to create these folders C:\openldap\sysconf and then put a text document named ldap.conf into it.
I then edited ldap.conf and put in TLS ...
by Phroobar
29 Mar 2024, 20:49
Forum: General Discussion
Topic: LDAP Access
Replies: 17
Views: 198835

Re: LDAP Access

I found the answer to using LDAPS with PHP.

I was able to connect to my server using ldaps on PHP using the following method.

$connect = ldap_connect('ldaps://'. $ldap_host. ':'. $ldap_port)
I also had to create these folders C:\openldap\sysconf and then put a text document named ldap.conf into ...
by Phroobar
11 Mar 2024, 21:39
Forum: General Discussion
Topic: LDAP Access
Replies: 17
Views: 198835

Re: LDAP Access

Just bumping this up. If I'm running this with IIS, do I need to somekind of cURL thing or just installing it like a normal windows certificate good enough for PHP? We still have the problem of LDAP secured not working with MantisBT.
by Phroobar
26 Dec 2023, 20:22
Forum: General Discussion
Topic: LDAP Access
Replies: 17
Views: 198835

Re: LDAP Access

Where exactly does Mantis BT expect the certificates to be installed? The OS store and/or IIS?
by Phroobar
26 Dec 2023, 19:56
Forum: General Discussion
Topic: LDAP Access
Replies: 17
Views: 198835

Re: LDAP Access

I've run the script
<?php

$g_ldap_server = 'ldaps://xxx.com:636';
$g_ldap_bind_dn='CN=userappid,OU=APPIDS,DC=us,DC=xxx,DC=com';
$g_ldap_bind_passwd = 'xxx’;
ldap_set_option(null, LDAP_OPT_DEBUG_LEVEL, 0xffff);
$ds = ldap_connect($g_ldap_server);
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3 ...
by Phroobar
19 Dec 2023, 16:32
Forum: General Discussion
Topic: LDAP Access
Replies: 17
Views: 198835

Re: LDAP Access

I've run Microsoft's PortQry on the ldap 636 port and it responds correctly so it isn't being blocked.

The problem seems to be mantis keeps using Administrator instead of the account we are telling it. There must be some additional setting here. That service account is not a mantis user. Does it ...
by Phroobar
19 Dec 2023, 16:15
Forum: General Discussion
Topic: LDAP Access
Replies: 17
Views: 198835

Re: LDAP Access

We do have the proper certificates setup on the VM and IT says to use port 636. However the stack trace seems to be wanting to login with Administrator instead of the AD service account listed in the $g_ldap_bind_dn. Any ideas?

$g_login_method = LDAP;
$g_ldap_server = 'ldaps://us.bank-dns.com:636 ...
by Phroobar
15 Dec 2023, 23:01
Forum: General Discussion
Topic: LDAP Access
Replies: 17
Views: 198835

Re: LDAP Access

No it didn't work. We were given certs to install but maybe mantis needs them placed or installed somewhere. LDAPS doesn't work. I'm going to open a ticket on this.
by Phroobar
10 Oct 2023, 19:15
Forum: Help
Topic: One user cannot upload files
Replies: 9
Views: 17324

Re: One user cannot upload files

That did the trick. Thank You!
by Phroobar
09 Oct 2023, 16:51
Forum: Help
Topic: One user cannot upload files
Replies: 9
Views: 17324

Re: One user cannot upload files

We still have this problem when there are multiple columns on the load balancer. Right now we are only running one and the problem doesn't happen. When we run more than one and someone tries to upload a file, mantisbt will freeze up when uploading files. Here are from the log:


[09-Oct-2023 09:09 ...
by Phroobar
05 Oct 2023, 17:24
Forum: Help
Topic: Adding parameters to connection string
Replies: 6
Views: 22100

Re: Adding parameters to connection string

Since Mantis doesn't allow you to pass an entire connection string from the config since p_dns$ is false, I modified the core\database_api.php to include

$g_db = ADONewConnection($t_db_type)
line 154 added $g_db->SetConnectionParameter('MultiSubnetFailover','Yes')

This seems like very poor ...