Click here to Skip to main content
16,004,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncurl to return server response Pin
Eli Nurman16-Jul-10 4:40
Eli Nurman16-Jul-10 4:40 
AnswerRe: curl to return server response Pin
Aescleal16-Jul-10 20:18
Aescleal16-Jul-10 20:18 
QuestionMagic Packet Pin
Fareed Rizkalla16-Jul-10 4:04
Fareed Rizkalla16-Jul-10 4:04 
AnswerRe: Magic Packet Pin
Richard MacCutchan16-Jul-10 7:07
mveRichard MacCutchan16-Jul-10 7:07 
QuestionHow to send data to a C# App which has WPF control (text box) from VC++ application. Pin
Joseph8216-Jul-10 3:38
Joseph8216-Jul-10 3:38 
AnswerRe: How to send data to a C# App which has WPF control (text box) from VC++ application. Pin
Hristo-Bojilov16-Jul-10 7:24
Hristo-Bojilov16-Jul-10 7:24 
QuestionActive Directory/LDAP. Pin
Mike Doner16-Jul-10 2:47
Mike Doner16-Jul-10 2:47 
AnswerRe: Active Directory/LDAP. Pin
Emilio Garavaglia16-Jul-10 7:05
Emilio Garavaglia16-Jul-10 7:05 
The Active directory (AD) is an architecture where domains (containers of users groups, resources and access lists) derives each other hierarchically into forests and trust each other between forest. The way they do this depends on how the managers of your client organization organize their information system, and -ideally- the AD architecture either by domain derivation or trusteeship, can span the world.

Think to the AD as a "generalized DNS for users". You cannot download the entire DNS to get an IP address, hence you cannot pretend to download the AD.
You must instead query the AD.

You application should NOT contain any "user login". You simply should get who is the user actually on a machine by simply query proper OS API (GetUsername ... or similar, nor shure about it, but MSDN may help) and to decide if the user can do or not a given operation you must check if such a user is part or not a given user group (The API should be IsInRole ... or something similar).

The name of the groups corresponding to your app privileges, should be loaded by a config file (the domain administrator will typically place it in a read-only place) and should be defined by the domain admin itself.

This is a minimum way to start with. And is valid -as a concept- also for a stabdard LDAP server - non necessarily AD

2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


GeneralRe: Active Directory/LDAP. Pin
Mike Doner29-Jul-10 7:59
Mike Doner29-Jul-10 7:59 
GeneralRe: Active Directory/LDAP. Pin
Emilio Garavaglia31-Jul-10 9:33
Emilio Garavaglia31-Jul-10 9:33 
QuestionINT_PTR in VC++ 2010 Pin
rp_suman16-Jul-10 1:43
rp_suman16-Jul-10 1:43 
AnswerRe: INT_PTR in VC++ 2010 Pin
Sauro Viti16-Jul-10 2:16
professionalSauro Viti16-Jul-10 2:16 
AnswerRe: INT_PTR in VC++ 2010 Pin
ThatsAlok18-Jul-10 20:49
ThatsAlok18-Jul-10 20:49 
QuestionHow to focus a message box Pin
rahul.kulshreshtha15-Jul-10 22:06
rahul.kulshreshtha15-Jul-10 22:06 
AnswerRe: How to focus a message box Pin
Eugen Podsypalnikov16-Jul-10 2:06
Eugen Podsypalnikov16-Jul-10 2:06 
GeneralRe: How to focus a message box Pin
rahul.kulshreshtha16-Jul-10 2:36
rahul.kulshreshtha16-Jul-10 2:36 
GeneralRe: How to focus a message box Pin
Cool_Dev16-Jul-10 3:04
Cool_Dev16-Jul-10 3:04 
AnswerRe: How to focus a message box Pin
E.F. Nijboer19-Jul-10 4:56
E.F. Nijboer19-Jul-10 4:56 
QuestionException Pin
Pryabu15-Jul-10 20:31
Pryabu15-Jul-10 20:31 
AnswerRe: Exception Pin
KarstenK15-Jul-10 20:47
mveKarstenK15-Jul-10 20:47 
GeneralRe: Exception Pin
Pryabu15-Jul-10 21:10
Pryabu15-Jul-10 21:10 
GeneralRe: Exception Pin
Richard MacCutchan15-Jul-10 21:30
mveRichard MacCutchan15-Jul-10 21:30 
GeneralRe: Exception Pin
Pryabu15-Jul-10 22:38
Pryabu15-Jul-10 22:38 
GeneralRe: Exception Pin
Niklas L15-Jul-10 23:09
Niklas L15-Jul-10 23:09 
GeneralRe: Exception Pin
Aescleal15-Jul-10 23:46
Aescleal15-Jul-10 23:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.