* dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not getting user info from a domain controller isn't an error, the computer may run in a non domain context.

This commit is contained in:
Ralf Habacker 2007-05-24 18:15:24 +00:00
parent 1e6025ef4f
commit ea7c582f03
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
* dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not getting
user info from a domain controller isn't an error, the computer
may run in a non domain context.
2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
* dbus/dbus-sysdeps-win.c (_dbus_full_duplex_pipe): fixed assertation.

View file

@ -1338,7 +1338,7 @@ fill_win_user_info_homedir (wchar_t *wname,
{
char *dc_string = _dbus_win_utf16_to_utf8(dc,error);
char *user_name = _dbus_win_utf16_to_utf8(wname,error);
_dbus_warn("NetUserGetInfo() for user '%s' failed with errorcode %d '%s', %s\n",user_name, ret,_dbus_lm_strerror(ret),dc_string);
_dbus_verbose("NetUserGetInfo() for user '%s' failed with errorcode %d '%s', %s\n",user_name, ret,_dbus_lm_strerror(ret),dc_string);
dbus_free(user_name);
dbus_free(dc_string);
/* Not set, so use something random. */