On Sun, 2008-03-30 at 22:18 +0200, [EMAIL PROTECTED] wrote: > the following will segfault from ProcessNetworkProfile > if there are no profiles returned from the exchange server(for whatever > reason): > > ./mapiprofile --username=username --password=*** > --workstation=LOCALHOST --domain=LOCAL -I 1.2.3.4 > --profile=profilename --create > > Attached a patch that returns MAPI_E_NOT_FOUND instead of segfaulting. > > Of course, it is expected to return at least one result.
The patch is correct, however it shouldn't be needed. If it deals with NspiGetMatches results, this means the user is authenticated on the Exchange NSPI provider pipe, so its account is enabled (the username exists) and cRows should at least return one result. Anyway it won't hurt adding this check. Thanks! Cheers, Julien. -- Julien Kerihuel [EMAIL PROTECTED] OpenChange Project Manager GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
