-/*
+/*
Unix SMB/CIFS implementation.
client connect/disconnect routines
Copyright (C) Andrew Tridgell 1994-1998
static void cli_start_connection_done(struct tevent_req *subreq);
/**
- establishes a connection to after the negprot.
+ establishes a connection to after the negprot.
@param output_cli A fully initialised cli structure, non-null only on success
@param dest_host The netbios name of the remote host
@param dest_ss (optional) The destination IP, NULL for name based lookup
return NT_STATUS_OK;
}
-NTSTATUS cli_start_connection(struct cli_state **output_cli,
- const char *my_name,
- const char *dest_host,
+NTSTATUS cli_start_connection(struct cli_state **output_cli,
+ const char *my_name,
+ const char *dest_host,
const struct sockaddr_storage *dest_ss, int port,
enum smb_signing_setting signing_state, int flags)
{
@param dest_ip (optional) The the destination IP, NULL for name based lookup
@param port (optional) The destination port (0 for default)
@param service (optional) The share to make the connection to. Should be 'unqualified' in any way.
- @param service_type The 'type' of serivice.
+ @param service_type The 'type' of service.
@param creds The used user credentials
*/
-/*
+/*
Unix SMB/CIFS implementation.
client dgram calls
Copyright (C) Andrew Tridgell 1994-1998
-/*
+/*
Unix SMB/CIFS implementation.
client error handling routines
Copyright (C) Andrew Tridgell 1994-1998
-/*
+/*
Unix SMB/CIFS implementation.
client file operations
Copyright (C) Andrew Tridgell 1994-1998
-/*
+/*
Unix SMB/CIFS implementation.
FS info functions
Copyright (C) Stefan (metze) Metzmacher 2003
-/*
+/*
Unix SMB/CIFS implementation.
client quota functions
Copyright (C) Stefan (metze) Metzmacher 2003
(*qt_list) = NULL;
- return;
+ return;
}
bool add_record_to_ntquota_list(TALLOC_CTX *mem_ctx,
-/*
+/*
Unix SMB/CIFS implementation.
client security descriptor functions
Copyright (C) Andrew Tridgell 2000
-/*
+/*
Unix SMB/CIFS implementation.
Winbind daemon connection manager
-/*
+/*
* Unix SMB/CIFS implementation.
* error mapping functions
* Copyright (C) Andrew Tridgell 2001
* Copyright (C) Andrew Bartlett 2001
* Copyright (C) Tim Potter 2000
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
}
return NT_STATUS_UNSUCCESSFUL;
}
-
-/*
+/*
* Unix SMB/CIFS implementation.
* error mapping functions
* Copyright (C) Andrew Tridgell 2001
* Copyright (C) Andrew Bartlett 2001
* Copyright (C) Tim Potter 2000
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
/* Default return */
return NT_STATUS_UNSUCCESSFUL;
}
-
-/*
+/*
Unix SMB/Netbios implementation.
SMB client library implementation
Copyright (C) Derrell Lipman 2009
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
int (*lock_mutex)(void *plock,
int lock_type,
const char *location),
-
+
/* Thread local storage. */
int (*create_tls)(const char *keyname,
void **ppkey,
-/*
+/*
Unix SMB/Netbios implementation.
SMB client library implementation
Copyright (C) Derrell Lipman 2009
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
{
smb_thread_set_functions(&tf);
}
-
-/*
+/*
Unix SMB/Netbios implementation.
SMB client library implementation
Copyright (C) Andrew Tridgell 1998
Copyright (C) Richard Sharpe 2000, 2002
Copyright (C) John Terpstra 2000
- Copyright (C) Tom Jansen (Ninja ISD) 2002
+ Copyright (C) Tom Jansen (Ninja ISD) 2002
Copyright (C) Derrell Lipman 2003-2008
Copyright (C) Jeremy Allison 2007, 2008
if (all || all_nt) {
if (determine_size) {
p = talloc_asprintf(
- ctx,
+ ctx,
",ACL:"
- "%s:%d/%d/0x%08x",
+ "%s:%d/%d/0x%08x",
sidstr,
ace->type,
ace->flags,
} else {
n = snprintf(
buf, bufsize,
- ",ACL:%s:%d/%d/0x%08x",
+ ",ACL:%s:%d/%d/0x%08x",
sidstr,
ace->type,
ace->flags,
strcasecmp_m(name+4, sidstr) == 0)) {
if (determine_size) {
p = talloc_asprintf(
- ctx,
- "%d/%d/0x%08x",
+ ctx,
+ "%d/%d/0x%08x",
ace->type,
ace->flags,
ace->access_mask);
n = strlen(p);
} else {
n = snprintf(buf, bufsize,
- "%d/%d/0x%08x",
+ "%d/%d/0x%08x",
ace->type,
ace->flags,
ace->access_mask);
} else if (all_nt_acls) {
if (determine_size) {
p = talloc_asprintf(
- ctx,
+ ctx,
"%s%s:%d/%d/0x%08x",
i ? "," : "",
sidstr,
dad->mode);
if (!ok) {
/* cause failure if NT failed too */
- dad = NULL;
+ dad = NULL;
}
}
/* Yup. */
const char *filename = name;
ret = cacl_get(context, talloc_tos(), srv,
- ipc_srv == NULL ? NULL : ipc_srv->cli,
+ ipc_srv == NULL ? NULL : ipc_srv->cli,
&ipc_srv->pol, path,
filename,
discard_const_p(char, value),
-/*
+/*
Unix SMB/CIFS implementation.
Winbind daemon connection manager
-/*
+/*
Unix SMB/CIFS implementation.
Copyright (C) Andrew Tridgell 1998
int code;
const char *e_class;
err_code_struct *err_msgs;
-} err_classes[] = {
+} err_classes[] = {
{0,"SUCCESS",NULL},
{0x01,"ERRDOS",dos_msgs},
{0x02,"ERRSRV",server_msgs},