[Monetdb-developers] mapi_mapi default user...
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?
Second, If the host address starts with '/' the port is ignored, why?
Regards, Romulo
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?
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.
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@amelia Connections]$ MapiClient -uguest -lsql Password:guest MAPI = guest@localhost:50000 ACTION= mapi_start_talking ERROR = !InvalidCredentialsException:checkCredentials:Invalid credentials for user 'guest' [goncalve@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=D... _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
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@amelia Connections]$ MapiClient -uguest -lsql Password:guest
^^^^^
just a blind guess: try "anonymous" ...
Stefan
MAPI = guest@localhost:50000 ACTION= mapi_start_talking ERROR = !InvalidCredentialsException:checkCredentials:Invalid credentials for user 'guest' [goncalve@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=D... _______________________________________________ Monetdb-developers mailing list Monetdb-developers@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=D... _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
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
[goncalve@amelia Connections]$ MapiClient -uguest -lsql Password:guest
^^^^^
just a blind guess: try "anonymous" ...
[goncalve@amelia Connections]$ MapiClient -uguest -lsql Password:anonymous MAPI = guest@localhost:50000 ACTION= mapi_start_talking ERROR = !InvalidCredentialsException:checkCredentials:Invalid credentials for user 'guest' [goncalve@amelia Connections]$ MapiClient -uanonymous -lsql Password:anonymous MAPI = anonymous@localhost:50000 ACTION= mapi_start_talking ERROR = !InvalidCredentialsException:checkCredentials:Invalid credentials for user 'anonymous' [goncalve@amelia Connections]$
Regards, Romulo
Stefan
MAPI = guest@localhost:50000 ACTION= mapi_start_talking ERROR = !InvalidCredentialsException:checkCredentials:Invalid credentials for user 'guest' [goncalve@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=D... _______________________________________________ Monetdb-developers mailing list Monetdb-developers@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=D... _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
participants (3)
-
Fabian Groffen
-
Romulo Goncalves
-
Stefan Manegold