Is Active Directory Authentication possible?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
jamesd1343
Posts: 2
Joined: Sun Apr 05, 2009 11:19 am

Is Active Directory Authentication possible?

Post by jamesd1343 »

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?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hesk doesn't require a signup to post tickets, see demo:
http://www.phpjunkyard.com/hesk/
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
jamesd1343
Posts: 2
Joined: Sun Apr 05, 2009 11:19 am

my goal

Post by jamesd1343 »

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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

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 Image

Image 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
IvDogg
Posts: 1
Joined: Tue May 10, 2011 11:14 pm

Re: Is Active Directory Authentication possible?

Post by IvDogg »

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):

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>
	";
	?>
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.
steve
Posts: 147
Joined: Tue Mar 27, 2012 9:32 pm

Re: Is Active Directory Authentication possible?

Post by steve »

Has anybody had any success with this?

AD Integration would be sweet!
-Steve
Post Reply