mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
ntlm_auth: Increase debug level if we use config domain name.
If an application like evolution-ews is using ntlm_auth it will alwys get this message cause the is no winbind running and it is not needed. Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Oct 26 20:13:45 CEST 2012 on sn-devel-104
This commit is contained in:
parent
cb50e85a5a
commit
281c62b330
@ -301,7 +301,7 @@ const char *get_winbind_domain(void)
|
|||||||
|
|
||||||
if (winbindd_request_response(WINBINDD_DOMAIN_NAME, NULL, &response) !=
|
if (winbindd_request_response(WINBINDD_DOMAIN_NAME, NULL, &response) !=
|
||||||
NSS_STATUS_SUCCESS) {
|
NSS_STATUS_SUCCESS) {
|
||||||
DEBUG(0, ("could not obtain winbind domain name!\n"));
|
DEBUG(1, ("could not obtain winbind domain name!\n"));
|
||||||
return lp_workgroup();
|
return lp_workgroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -327,7 +327,7 @@ const char *get_winbind_netbios_name(void)
|
|||||||
|
|
||||||
if (winbindd_request_response(WINBINDD_NETBIOS_NAME, NULL, &response) !=
|
if (winbindd_request_response(WINBINDD_NETBIOS_NAME, NULL, &response) !=
|
||||||
NSS_STATUS_SUCCESS) {
|
NSS_STATUS_SUCCESS) {
|
||||||
DEBUG(0, ("could not obtain winbind netbios name!\n"));
|
DEBUG(1, ("could not obtain winbind netbios name!\n"));
|
||||||
return lp_netbios_name();
|
return lp_netbios_name();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user