summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
Commit message (Collapse)AuthorAgeFilesLines
* Code spacingPhil Davis2015-06-151-3/+3
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Use skel as the source of new user files rather than copying from root.jim-p2015-06-081-1/+0
| | | | Reported-By: https://twitter.com/fitchitis/status/607850849172373504
* Code style bits and pieces from etcPhil Davis2015-05-311-17/+17
|
* Remove artifacts from latin1 to utf8 conversionsJose Luis Duran2015-05-161-1/+1
| | | | | | String replacement: s/Ermal L.../Ermal Luçi/g
* Fix indent and remove some unecessary ()Renato Botelho2015-02-261-5/+5
|
* Code style guide etc in a to ePhil Davis2015-02-261-404/+539
|
* Do not override the passwd string. First it prevents the md5 working if the ↵Ermal LUÇI2015-01-121-4/+2
| | | | crypt() check fails and also is useless to override it since the parameter is passed by value and not by reference.
* Fix lineup of copyright linesPhil Davis2015-01-011-32/+32
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Fix pw syntax when local_group_set() is called with reset == true, -M always ↵Renato Botelho2014-11-171-1/+1
| | | | require a parameter
* Add an extra protection to avoid having an empty group createdRenato Botelho2014-11-131-1/+1
|
* Actually require group name!Ermal2014-11-111-1/+1
|
* Do not do operations for empty group membersErmal2014-11-111-1/+4
|
* remove old DISABLE_PHP_LINT_CHECKING, which dates way back to the CVS days ↵Chris Buechler2014-11-041-1/+0
| | | | and hasn't been relevant in years.
* Detect when protocol changes and invalidate session to get a new cookie with ↵Renato Botelho2014-07-181-0/+5
| | | | secure flag set according. It fixes #3714
* Always set httponly attribute on cookiesRenato Botelho2014-06-181-10/+8
|
* Add comment I forgot on last commitRenato Botelho2014-06-171-0/+1
|
* Re-generate session ID on a successful login to avoid session fixationRenato Botelho2014-06-171-0/+1
|
* Replace Header() calls by lowercaseRenato Botelho2014-06-131-1/+1
|
* Merge branch 'master-br' of https://github.com/ayvis/pfsense into ↵Renato Botelho2014-03-171-5/+5
|\ | | | | | | ayvis-master-br
| * xhtml Complianceayvis2014-03-141-5/+5
| | | | | | replaced <br>, <br/> and </br> with <br />
* | standardize URLsChris Buechler2014-03-141-1/+1
|/
* Rmoeve register_long_arrays from php.ini and from php code the use of ↵Ermal2013-12-201-3/+1
| | | | HTTP_*_VARS as its deprecated and luckily low use in pfSense to win memory and compativility
* Provide a more safe way to avoid pw userdel being interactive because of a ↵Renato Botelho2013-11-141-0/+5
| | | | crontab existance
* Revert "local_sync_accounts: provides empty STDIN to pw userdel command"Renato Botelho2013-11-141-1/+1
| | | | This reverts commit c6b156bfa537754d079868653ef3561eb1330d8c.
* local_sync_accounts: provides empty STDIN to pw userdel commandKy-Anh Huynh2013-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | The /usr/sbin/pw command may wait for user input. For example, if there is a manual crontab settings for :foobar account, then when this account is requested to be deleted, the command will ask if user wants to delete crontab settings for the account. Because the command waits for user input, the boot process will hang at the "Synchronizing user settings..." step, unless user presses any key. To avoid this problem, we use the /bin/echo command to give empty input for /usr/bin/pw command. This is an alternative of typing "no" or "n". This is a not the best way. Maybe closing STDIN is good. Or force users to change account settings from webUI. See also #852 (pull request). Renato Botelho points out that "pw userdel" will call "crontab -u %user -r" that is interative. "pw groupdel" will never be interative, though.
* Revert "Add conf_mount_rw calls on functions that changes user/groups. It ↵Renato Botelho2013-11-021-12/+0
| | | | | | fixes #3294" This reverts commit b1e5a286bb47d7e4a5b3d589cc27b557b3b13c41.
* Add conf_mount_rw calls on functions that changes user/groups. It fixes #3294Renato Botelho2013-11-011-0/+12
|
* Add LDAP server options to control UTF8-encoding of parameters. Fixes #2227. ↵jim-p2013-07-171-5/+19
| | | | While I'm here, add a checkbox to prevent the stripping of @ from the LDAP username if the user wants the full name transmitted.
* Ignore errors/warnings from these callsErmal2013-07-151-6/+6
|
* Include both dyndns and rfc2136 hosts in referer checkjim-p2013-07-021-0/+16
|
* Include RFC2136 hosts in DNS rebinding checks.jim-p2013-07-021-0/+7
|
* Set LDAP option to dereference aliases when searchingAndrew MacIsaac2013-04-021-0/+4
|
* Print the error message from LDAP in the log for a bind failure.jim-p2013-03-061-1/+1
|
* Add a knob in the GUI to set the RADIUS authentication timeout. Previous ↵jim-p2013-02-131-2/+5
| | | | default was 3s, new is 5s. When using two-factor auth via external (e.g. phone), this needs to be set much higher, 60-120.
* Something in the LDAP libraries has changed and it no longer likes spaces in ↵jim-p2013-01-141-5/+5
| | | | the CA filename. Use the refid for the CA filename since it will always be unqiue, and it will never contain any spaces, unlike authname or the CA's descr.
* Removing gettext from strins that should not be translatedVinicius Coque2013-01-051-2/+2
|
* Put these logs under debug since that's their purposeErmal2012-11-191-1/+2
|
* Put these logs under debug since that's their purposeErmal2012-11-191-2/+4
|
* authentication, don't log 'errors' on normal procedurePiBa-NL2012-11-181-3/+3
|
* Not sure why this has been hidden so deep but putting that in the right ↵Ermal2012-11-151-2/+0
| | | | place should help with error displayed related to HEADER already sent in PHP errors.log
* Supress the error message if the ldap bind doesnt happenWarren Baker2012-07-271-1/+1
|
* Fix LDAP over IPv6 (works fine, just needed slight adjustment to URI)jim-p2012-06-301-5/+9
|
* Import OpenVPN cisco style radius attributes applying policy to logged in ↵Ermal2012-06-051-3/+5
| | | | users. Feature #2100
* Do not allow empty passwords since this might cause problems for some ↵Ermal2012-05-301-2/+2
| | | | authentication servers like ldap. Fixes #2326
* As suggested by wagonza, using SAMEORIGIN for X-Frame-Options is sufficient ↵jim-p2012-05-151-1/+1
| | | | here, and does allow the traffic graphs to work. Fixes #2419
* Add click jacking support. Ticket #2419Scott Ullrich2012-05-101-1/+3
|
* Handle HTTPOnly and Secure flags on cookiesWarren Baker2012-05-091-0/+12
|
* Looking at pw code : chars are invalid in a comment fieldgit diff! Replace ↵Ermal2012-03-121-1/+2
| | | | those to just space
* Another try to eliminate the warning 'PHP Warning: Cannot modify header ↵Ermal2012-02-081-1/+2
| | | | information - headers already sent by (output started at /etc/inc/authgui.inc:201) in /usr/local/www/guiconfig.inc on line 47'
* Revert "Check if a session already exists to avoid errors issued by php on ↵Erik Fonnesbeck2012-02-071-2/+1
| | | | | | sesion_start being called on existing session" This reverts commit 9b2de7e2a6afab31e1a62ac8d54435975a22a9a7.
OpenPOWER on IntegriCloud