1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r12308: Reformatting

This commit is contained in:
Volker Lendecke 2005-12-17 17:19:21 +00:00 committed by Gerald (Jerry) Carter
parent ef4d9d96de
commit 97acfa12e5

View File

@ -939,10 +939,8 @@ connection_struct *make_connection(const char *service_in, DATA_BLOB password,
snum = find_service(service);
if (snum < 0) {
if (strequal(service,"IPC$")
|| (lp_enable_asu_support() &&
strequal(service,"ADMIN$")))
{
if (strequal(service,"IPC$") ||
(lp_enable_asu_support() && strequal(service,"ADMIN$"))) {
DEBUG(3,("refusing IPC connection to %s\n", service));
*status = NT_STATUS_ACCESS_DENIED;
return NULL;