[Monetdb-developers] mapi_mapi default user...

Stefan Manegold Stefan.Manegold at cwi.nl
Fri Jan 19 13:05:17 CET 2007


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
> 
> [goncalve at amelia Connections]$ MapiClient -uguest -lsql
> Password:guest
           ^^^^^

just a blind guess: try "anonymous" ...

Stefan

> MAPI  = guest at localhost:50000
> ACTION= mapi_start_talking
> ERROR = !InvalidCredentialsException:checkCredentials:Invalid 
> credentials for user 'guest'
> [goncalve at amelia 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
> > Monetdb-developers at lists.sourceforge.net
> > 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
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> 

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |




More information about the developers-list mailing list