Stefan Manegold wrote:
> On Fri, Jan 19, 2007 at 01:02:06PM +0100, Romulo Goncalves wrote:
>> Fabian Groffen wrote:
>>> On 19-01-2007 11:29:10 +0100, Romulo Goncalves wrote:
>>>> Dear developers,
>>>>
>>>> I was reading some mapi code and I found the following code:
>>>>
>>>> if (username == NULL)
>>>>                  username = "guest";
>>>>          if (mid->username != NULL) free(mid->username);
>>>>          mid->username = strdup(username);
>>>>
>>>>          if (password == NULL)
>>>>                  password = "guest";
>>>>          if (mid->password) free(mid->password);
>>>>          mid->password = strdup(password);
>>>>
>>>> In this moment the default user and password is monetdb and not guest.
>>>> Can I change it or there is a special reason for this?
>> I started a mserver5 and then a MapiClient
>>
>> [EMAIL PROTECTED] Connections]$ MapiClient -uguest -lsql
>> Password:guest
>            ^^^^^
> 
> just a blind guess: try "anonymous" ...
[EMAIL PROTECTED] Connections]$ MapiClient -uguest -lsql
Password:anonymous
MAPI  = [EMAIL PROTECTED]:50000
ACTION= mapi_start_talking
ERROR = !InvalidCredentialsException:checkCredentials:Invalid 
credentials for user 'guest'
[EMAIL PROTECTED] Connections]$ MapiClient -uanonymous -lsql
Password:anonymous
MAPI  = [EMAIL PROTECTED]:50000
ACTION= mapi_start_talking
ERROR = !InvalidCredentialsException:checkCredentials:Invalid 
credentials for user 'anonymous'
[EMAIL PROTECTED] Connections]$

Regards,
Romulo
> 
> Stefan
> 
>> MAPI  = [EMAIL PROTECTED]:50000
>> ACTION= mapi_start_talking
>> ERROR = !InvalidCredentialsException:checkCredentials:Invalid 
>> credentials for user 'guest'
>> [EMAIL PROTECTED] Connections]$
>>
>> Regards,
>> Romulo
>>> Change into what?  monetdb is an administrator/system account and we
>>> don't want to play Windows, do we?  So we shouldn't default to that,
>>> IMO.
>>>
>>>> Second,
>>>> If the host address starts with '/' the port is ignored, why?
>>> UNIX sockets, they don't have a port, as they are special files in the
>>> filesystem.
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Monetdb-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Monetdb-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
>>
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to