|
You will have to write a code to compare items and remove from the list if duplicate found as thr is no inbuild method provided to do so, and its not too hard.
|
|
|
|
|
MsmVc wrote: How can i remove duplicate item from list control?
Check to see if the item exists first before adding it a second time.
Another option would be to add all the items to a set , which can contain only unique items, and then populate the list control from that.
If you added the items to a list , then you could use its unique() method.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
|
Sorry sir,,,
Sorry for being late....
I will ummm..... try and complete the assignment today,....
Would mail you the complete source code....
Can you please let me know your email id....
Request you not to send a reminder again
OUTLOOK: I am fed up of reminders reminding me about what I intend to forget
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
yes. my mail id is purish87@yahoo.com
|
|
|
|
|
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
|
By the way did you see this link posted by Sarath Link[^]
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
|
Purish Dwivedi wrote: When will u complete my assignment sir? Please make it fast. Thank You
Damn, you can't be serious Where do you think you are, on a market ?
Did you ever heard about sarcasm[^] ?
|
|
|
|
|
|
Purish Dwivedi wrote: I need help
No, what you are looking for is somebody doing the job for you. And this is the wrong place to ask, because nobody is being paid here. If you want somebody doing everything for you, then you have to hire someone (but again, this is not the right place for that).
You already got a lot of help: plenty of links to good articles explaining how to do the thing you are looking for. Did you even read them ? Did you try to do what was explained ?
If you want to be helped, you have to work a bit on your side also. Once you have read some of the articles, then you can come back with specific questions, asking things that were not clear for you. If you don't want to work or make some effort to understand things, then you will have to accept that nobody will do that for you for free.
|
|
|
|
|
Typing non stop of speed of 206+ words per minute....
Compiler throwing errors saying "Cannot continue... Please confirm if the assignment is for Purish Dwivedi".
Also there are some errors ;
LINKER: Don't know how to link to sub modules of the application
Can you please tell me how can I resolve it.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Simply exploit your inherent talent [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I am working on IAS extension authential dll.I want to get Username and Passowrd.When PAP is used ,I get radius attributes like RADIUS_ATTRIBUTE_TYPE username and password in ratUserName , ratUserPassword.But if radius client sends request using ms-chap,I get username in ratUserName in structure member,but I do not get password in ratPassWord or ratCHAPPassword structure.
It seems that there is no member for ms-chap password in RADIUS_ATTRIBUTE_TYPE structure.
How do i get password information sent by user if ms-chap encryption is used?
If you want to say that ms-chap password is contained in access-request packet,how to get and use the packet?
Can any body help me ?
thanks
|
|
|
|
|
A quick Google for "RADIUS_ATTRIBUTE_TYPE chap" leads to the relevant RFC[^], which tells us that you won't see the plain-text password in ratCHAPPassword. Rather, you'll see the encrypted password. Maybe that's what you're missing?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart Dootson wrote: A quick Google for "RADIUS_ATTRIBUTE_TYPE chap" leads to the relevant RFC[^], which tells us that you won't see the plain-text password in ratCHAPPassword. Rather, you'll see the encrypted password. Maybe that's what you're missing?
Can you tell me how to get the encrypted password?
The ratPassWord and ratCHAPPassword structure can not been got in extension dll if radius client sends request using ms-chap.
|
|
|
|
|
Have you seen this page[^]. You need to send a challenge first, then the client should respond with a response (that'll be in the CHAP password field, I guess).
The response should be the MD5 of the CHAP ID octet, the password that the user entered and the CHAP challenge that you sent. If it is, you send back an Access-Accept, otherwise you send back an Access-Reject.
That's all documented in the RFC that I posted to you first time. Take the time and trouble to work out what your specs require you to do. I know nothing about this subject, but with some Googling, I've managed to work this out.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
In this page:http://technet.microsoft.com/en-us/library/cc757302.aspx[^]
There is something about ratClearTextPassword:
'ratClearTextPassword. To support third-party user database use with PEAP-MS-CHAP v2, the IAS extension authentication DLL, this attribute retrieves the user password from the third-party user accounts database and sends this information back to IAS.'
I think if i can get the ClearTextPassword in my database,and then add a _RADIUS_ATTRIBUTE struct in the end of attributes array with 'DWORD WINAPI RadiusExtensionProcess2'.
I think maybe IAS will generate a hash of the ClearTextPassword and then check if it matches the hash sent by client.
|
|
|
|
|
If i do like what i said, that client will get a error :' error 778: It was not possible to verify the identity of the server. '.
Maybe i will add another member into the RADIUS_ATTRIBUTE attributes array but not only one attribute with ratClearTextPassword??
modified on Monday, February 16, 2009 3:28 AM
|
|
|
|
|
Stuart Dootson wrote: Have you seen this page[^]. You need to send a challenge first, then the client should respond with a response (that'll be in the CHAP password field, I guess).
The response should be the MD5 of the CHAP ID octet, the password that the user entered and the CHAP challenge that you sent. If it is, you send back an Access-Accept, otherwise you send back an Access-Reject.
That's all documented in the RFC that I posted to you first time. Take the time and trouble to work out what your specs require you to do. I know nothing about this subject, but with some Googling, I've managed to work this out.
In this function : (http://msdn.microsoft.com/en-us/libr...03(VS.85).aspx)
DWORD WINAPI RadiusExtensionProcess(
__in const RADIUS_ATTRIBUTE *pAttrs,
__out PRADIUS_ACTION pfAction
);
Parameters
pAttrs [in]
Pointer to an array of attributes from the request. The array is terminated by an attribute with dwAttrType set to ratMinimum. These attributes should be treated as read-only; they should not be modified by RadiusExtensionProcess. Also, these attributes should not be referenced in any way after RadiusExtensionProcess returns.
pfAction [out]
Pointer to a value of type RADIUS_ACTION, initially set to raContinue. This parameter specifies the action that NPS should take in response to an Access-Request.
I can get all attributes by parameter 'pAttrs [in]'.The attributes include ratUserName,ratNASPort anf so on ,but no ratUserPassword or ratCHAPPassword.
When ratUserPassword and ratCHAPPassword are not in the an array of attributes from the request,how can i get the hash sent by the CHAP client??
Please help me.
|
|
|
|
|
I can get encrypted password in ratCHAPPassword if radius client sends request using CHAP, and also I get ratCHAPChallenge.
But if radius client sends request using MS-CHAP,I can not get ratCHAPPassword and ratCHAPChallenge.Why?
Can anybody help me?
|
|
|
|
|
In the extension dll, I do not accept or reject the pocket.I just get the attributes to txt file,and let IAS deal whit the pocket.In this way,I also can not get the ratUserPassword or ratChapPassword.
I can not understand why.
|
|
|
|
|
hi every body,
I need a multi-bit trie algorithme coded on C++
can any one help?
|
|
|
|
|
Now, how on earth could you possibly find anything like that on the internet....
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|