aboutsummaryrefslogtreecommitdiff
path: root/src/pam-freerdp.c
Commit message (Collapse)AuthorAgeFilesLines
* Removing setgroups as it doesn't seem to be workingTed Gould2012-08-301-13/+0
|
* Clear the session_pid after trying to kill it.Ted Gould2012-08-301-0/+4
|
* Making sure to kill as the user so that if there is PID wrap or something ↵Ted Gould2012-08-301-3/+51
| | | | else we won't kill the wrong thing
* Make sure to change the working directory for the subprocesses to the guest ↵Ted Gould2012-08-301-0/+9
| | | | user's home directory
* Clear the groups when dropping privsTed Gould2012-08-301-0/+10
|
* Make sure to clear the environmentsTed Gould2012-08-301-0/+9
|
* Locking memory if we expect the prompt to be returning a passwordTed Gould2012-08-301-2/+19
|
* Checking the return value of the mlockTed Gould2012-08-301-2/+7
|
* Use the pipe to signal when the subprocess has gotten to a point where it ↵Ted Gould2012-08-301-1/+20
| | | | can opperate.
* Setting up a pipe to communicate with the sub processTed Gould2012-08-301-2/+13
|
* Checking the return for mlock and snprintfTed Gould2012-08-301-2/+13
|
* Restructure so that clean up is all at the end of the functionTed Gould2012-08-301-21/+50
|
* Moving buffer allocation into the functionTed Gould2012-08-301-27/+16
|
* Move the socket creation into the fork'd functionTed Gould2012-08-301-40/+40
|
* Refactor to pull the long running stuff out of the if statement and into a ↵Ted Gould2012-08-301-29/+40
| | | | function
* Comments clear up some of the if statementsTed Gould2012-08-291-1/+11
|
* Change internal API to do less memory allocation.. Approved by Albert Astals ↵Ted Gould2012-08-291-24/+19
|\ | | | | | | Cid, jenkins.
| * Neat little trick that I found in PAM Kerberos where it uses the PAM ↵Ted Gould2012-08-281-24/+19
| | | | | | | | handle's version of the value so that there doesn't have to be memory free'd in the returning function. Cleans some things up and removes a bunch of extra allocation
* | Lock buffer memory and protect to memory overruns.. Approved by Albert ↵Ted Gould2012-08-291-2/+10
|\ \ | | | | | | | | | Astals Cid, jenkins.
| * | Locking the buffer 'cause it would have the password in itTed Gould2012-08-281-1/+9
| | |
| * | Making sure that there's no way that we can write over the end of the buffer ↵Ted Gould2012-08-281-1/+1
| |/ | | | | | | even for very, very, very long home directory names.
* | Merge lp:~ted/libpam-freerdp/save-valuesAlbert Astals2012-08-291-4/+36
|\|
| * Now that we have long running memory with a password in it, we need to lock ↵Ted Gould2012-08-281-0/+4
| | | | | | | | it down
| * Caching the password between authenticate and open_sessionTed Gould2012-08-281-0/+14
| |
| * Protecting from a crazy thing that LightDM doesTed Gould2012-08-281-1/+1
| |
| * Remove an unused define (cleanup)Ted Gould2012-08-281-3/+0
| |
| * Saving the values once we get themTed Gould2012-08-281-0/+17
| |
* | Set the permissions on the socket. Approved by Albert Astals Cid, jenkins.Ted Gould2012-08-291-0/+10
|\ \
| * | Set the permissions on the socketTed Gould2012-08-281-0/+10
| |/
* | Adding a setcred function so callers are happy. Approved by Albert Astals ↵Ted Gould2012-08-281-2/+10
|\ \ | |/ |/| | | Cid, jenkins.
| * Adding a setcred function so callers are happyTed Gould2012-08-281-2/+10
| |
* | Cleaning up the code to make it easier to readTed Gould2012-08-271-6/+6
| |
* | Using 'strstr' instead our own loop.Ted Gould2012-08-271-6/+5
| |
* | Switch to looking for '://' in the stringTed Gould2012-08-271-2/+3
| |
* | Crazy cheap URL parserTed Gould2012-08-241-0/+17
|/
* A newline for scanfTed Gould2012-08-211-1/+2
|
* Making PAM call the auth check utilityTed Gould2012-08-211-16/+7
|
* If we don't fork, then clean upTed Gould2012-08-211-0/+2
|
* Adding a copyright headerTed Gould2012-08-211-0/+18
|
* Drop privs if we have 'emTed Gould2012-08-211-0/+5
|
* Set up the buffer and the socket and stuff like that as well.Ted Gould2012-08-201-2/+101
|
* First make sure we clean upTed Gould2012-08-201-1/+12
|
* Make sure we're running as the guest user before we execute the freerdp utilityTed Gould2012-08-201-2/+6
|
* Setting the home directory to the user's directoryTed Gould2012-08-201-6/+12
|
* Switch to pushing the creditials via stdinTed Gould2012-08-201-11/+27
|
* Fixing pointers to make PAM happy. Uhg. No segfault thoughTed Gould2012-08-191-14/+17
|
* Changing the conv to a pointer of a pointerTed Gould2012-08-191-2/+2
|
* Let's call it! Ted Gould2012-08-171-0/+52
|
* match the string by pam-remoteloginTed Gould2012-08-171-1/+1
|
* Restructured so we can get all the items with promptsTed Gould2012-08-171-26/+81
|