Is Active Directory Authentication possible?
Moderator: mkoch227
-
- Posts: 2
- Joined: Sun Apr 05, 2009 11:19 am
Is Active Directory Authentication possible?
i need to minimize user authentication as much as possible can i use ad to authenticate users and not require any 'signup' to create a ticket?
Hesk doesn't require a signup to post tickets, see demo:
http://www.phpjunkyard.com/hesk/
http://www.phpjunkyard.com/hesk/
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 2
- Joined: Sun Apr 05, 2009 11:19 am
my goal
id like to pull user info into the ticket when its created. Any advice?
pull current logged on user as domain\user and add a field for them to enter the Asset Tag which i assume i can do with a custom field
pull current logged on user as domain\user and add a field for them to enter the Asset Tag which i assume i can do with a custom field
This would probably be possible but it would completely depend on the login/authentication system you are using. Can't help you there I'm afraid.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Is Active Directory Authentication possible?
I'm assuming IIS is being used, you need to disable anonymous authentication and enable windows authentication.
I used the following in the index.php file to use their domain login information (at about line 128):
You will need to modify this to fit the needs of your specific environment, as I used it to strip the domain information and replace periods with empty spaces.
I used the following in the index.php file to use their domain login information (at about line 128):
Code: Select all
<?php
$duser = $_SERVER['AUTH_USER'];
$duser2 = str_replace("NG\\", "", $duser);
$duser2 = str_replace(".", " ", $duser2);
$duser3 = strtoupper($duser2);
echo "
<td width='80%'><input type='text' name='name' size='40' maxlength='30' value='$duser3' /></td>
";
?>
</tr>
<tr>
<td style="text-align:right" width="150"><?php echo $hesklang['email']; ?>: <font class="important">*</font></td>
<?php
$duser = $_SERVER['AUTH_USER'];
$demail = str_replace("NG\\", "", $duser);
$demail2 = $demail. "@us.army.mil";
echo "
<td width='80%'><input type='text' name='email' size='40' maxlength='50' value='$demail2' /></td>
";
?>
Re: Is Active Directory Authentication possible?
Has anybody had any success with this?
AD Integration would be sweet!
AD Integration would be sweet!
-Steve