Monday, 2010-01-11

../irclogs/#mantishelp.2010-01-11.log
--- scribe started ---00:00
CIA-22Mantisbt: s.mazeland * ra44eadaedcbf /lang/ (strings_portuguese_brazil.txt strings_ukrainian.txt): Localisation updates from http://translatewiki.net (2010-01-10)00:17
dhx_mback00:45
CIA-22Mantisbt: Paul master-1.2.x * rf765794d0223 / (core.php core/compress_api.php): IIS: If we are using zlib.output_compression, we should still call ob_start() -> such that error handler can send a full patch00:52
CIA-22Mantisbt: paul master-1.2.x * r984905606208 /file_download.php: 0011153: Truncated download00:53
CIA-22Mantisbt: hickseydr * r9a1eb4932f43 /core/compress_api.php: Compress API now depends upon Utility API02:02
CIA-22Mantisbt: hickseydr * r2c0c60fa8f4f /core/print_api.php: Fix #11373: Page links have incorrect spacing (first, prev, 1, 2...)02:03
CIA-22Mantisbt: hickseydr master-1.2.x * r5e2d92c9f712 /core/print_api.php: Fix #11373: Page links have incorrect spacing (first, prev, 1, 2...)02:03
CIA-22Mantisbt: hickseydr master-1.2.x * r7ea8aa4406a7 /core/ (file_api.php print_api.php): Fix #11352: Use icon_path configuration option to find filetype icons02:40
CIA-22Mantisbt: hickseydr * rff696f35fe88 /core/ (file_api.php print_api.php): Fix #11352: Use icon_path configuration option to find filetype icons02:40
g0rd0n<paul_____> current trunk code automatically moves realname, automatically stores email and automitically creates accounts <- personally, i like this behavior. i even hacked the code so that i map the ldap groups to the right permissions in mantis on login10:38
paul_____g0rd0n: it's more a case of it needs to be more flexible11:12
paul_____for example, I use mantis in a school11:12
paul_____we automatically create accounts for staff11:13
paul_____but students dont have access11:13
g0rd0npaul_____: yes, i agree... i also had to hack the ldap email field, which is 'email' in my case, but is hard coded as 'mail'11:13
paul_____i've fixed that locally11:13
paul_____you see, my version11:14
paul_____supports multiple servers11:14
paul_____i.e. for (server1 to server10) { ldap_connect; ldap_bind }11:14
g0rd0noh dear :)11:14
paul_____well, that deals with a server being offline/unavailable temporarily11:14
paul_____so for the most part11:15
paul_____it's single lookups11:15
paul_____where i'm coming from is11:15
paul_____I dont like the idea of storing md5(hash) in db11:15
paul_____think plugins a minute11:16
paul_____we've got a rough plan for adding plugin support11:16
paul_____potentially then, you might want to allow ldap login, or fall back to sha1()11:16
paul_____(or even allow ldap login, but require a sha1() from the db for admin rights11:17
paul_____what i'd then anticipate doing is storing a mantis_external_auth_details_table11:19
paul_____to contain info pulled from other sources, that you could easily build/force a resync of11:19
g0rd0nhmm11:21
paul_____if you dont have show_realnames on to show realnames not usernames, the previous ldap stuff is/was fine11:22
paul_____things like creating users or not are a flaw11:22
paul_____but I consider never create user to always create user to be equally broken11:22
g0rd0nmy understanding is that if ldap fails, mantis will fall back to its db, in which case having the password synced with ldap is good since the user does not have to change it in two places11:22
paul_____no11:23
paul_____if ( !$t_br ) {  85                         log_event( LOG_LDAP, "bind to ldap server  failed - authentication error?" );  86                         trigger_error( ERROR_LDAP_AUTH_FAILED, ERROR );11:23
paul_____we trigger an authentication error atm is the ldap_bind fails11:24
g0rd0nyeah i guess the only solution is to somehow map ldap groups to mantis permissions, one of which being not to create a user at all11:24
g0rd0noh i se11:24
paul_____so whilst we store password in db for 'fallback'11:24
paul_____if ldap server isn't available we error11:24
paul_____:)11:24
g0rd0nso it's useless :P11:24
paul_____tbh, I think that if someone is running LDAP11:26
paul_____it's likely to be Active Directory (aka windows)11:26
g0rd0nnot in my case :$11:26
paul_____what I was gonna go on to say11:26
paul_____is given that:11:26
paul_____a) often ldap auth is used for logon to pc11:26
paul_____b) there's a chance webserver will be using some form of integrated/ldap authentication11:27
paul_____or firewall11:27
dhx_mboo11:28
g0rd0nlol11:28
paul_____I think it's a reasonable assumption to assume that if LDAP servers are all down11:28
paul_____whether you can log into mantis probably isn't an issue :P11:29
g0rd0nyeh11:30
g0rd0nwe use ldap for mantis / mediawiki / forum and other web stuff11:31
g0rd0ni must admit i have no idea about ldap, it's an accomplishment for me having the code changed so that it works for us :)11:32
paul_____nuclear_eclipse: there?22:26

Generated by irclog2html.py