Hello all,
At one of my projects i must protect the software with a user login. For this login i must use the Active Directory accounts from the employes of the company.
Now is my question how i can use the AD accounts so that the user can login into the software and have any one of you a example for PB?
Thanks,
Nico
use Active Directory Account
- flaith
- Enthusiast
- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
Re: use Active Directory Account
Hi,
i made that for getting user group and info from the AD : http://www.purebasic.fr/english/viewtop ... 12&t=39780
you can check if the user (from environment variable "USERNAME") is in the AD or not
hope it'll help
i made that for getting user group and info from the AD : http://www.purebasic.fr/english/viewtop ... 12&t=39780
you can check if the user (from environment variable "USERNAME") is in the AD or not
hope it'll help

“Fear is a reaction. Courage is a decision.” - WC
Re: use Active Directory Account
Thx but i need a example how i can authendicate against the active directory.
I need it for a programm what i build for my company and the security level say thet every software must login the user via AD account.
If i use your example i cant get the value in "USER_INFO_3\password".
Can any one help me to authendicate a user against the active directory with PB?
I need it for a programm what i build for my company and the security level say thet every software must login the user via AD account.
If i use your example i cant get the value in "USER_INFO_3\password".
Can any one help me to authendicate a user against the active directory with PB?
my live space
-
- New User
- Posts: 4
- Joined: Thu Sep 22, 2005 7:35 pm
- Location: Germany
Re: use Active Directory Account
Maybe you could use this: http://www.openldap.org/
But I actually don't know how to use it, you need to go through the documentation.
Hope this helps you.
But I actually don't know how to use it, you need to go through the documentation.
Hope this helps you.
Every post I do is not finally. It could be possible that I change the text right after posting it to avoid dobule-posting.
_________________
Purebasic Windows 7 x64 & Linux (Ubuntu 10.04LTS) 4.50[x64|x86] User
_________________
Projects: -None-
_________________
Purebasic Windows 7 x64 & Linux (Ubuntu 10.04LTS) 4.50[x64|x86] User
_________________
Projects: -None-