should actual functional differences between HEAD and 3.0.
- Mostly reformatting
- Removal of unecessary #include "smb.h"
- Merge of dyn_DRIVERFILE removal
- Silly bug fix for python code
NTSTATUS nt_status = NT_STATUS_LOGON_FAILURE;
if (!(user_info->internal_username.str
- && *user_info->internal_username.str))
+ && *user_info->internal_username.str)) {
nt_status = make_server_info_guest(server_info);
+ }
return nt_status;
}
const pstring dyn_LOCKDIR = LOCKDIR;
const pstring dyn_PIDDIR = PIDDIR;
-const pstring dyn_DRIVERFILE = DRIVERFILE;
-
const pstring dyn_SMB_PASSWD_FILE = SMB_PASSWD_FILE;
const pstring dyn_PRIVATE_DIR = PRIVATE_DIR;
-
-
extern pstring dyn_LIBDIR;
extern const pstring dyn_LOCKDIR;
extern const pstring dyn_PIDDIR;
-extern const pstring dyn_DRIVERFILE;
extern const pstring dyn_SMB_PASSWD_FILE;
extern const pstring dyn_PRIVATE_DIR;
#define SMBntcancel 0xA4 /* NT cancel */
/* These are the trans subcommands */
-#define TRANSACT_SETNAMEDPIPEHANDLESTATE 0x01
+#define TRANSACT_SETNAMEDPIPEHANDLESTATE 0x01
#define TRANSACT_DCERPCCMD 0x26
#define TRANSACT_WAITNAMEDPIPEHANDLESTATE 0x53
uuid_pack(&uu, out);
}
-char *uuid_to_string(const GUID in)
+char *guid_to_string(const GUID in)
{
struct uuid uu;
char *out;
return W_ERROR(NT_STATUS_V(error) & 0xffff);
}
-
/* Mapping between Unix, DOS and NT error numbers */
const struct unix_error_map unix_dos_nt_errmap[] = {
#include "includes.h"
-#include "smb.h"
-
#ifdef AIX
/* ******************************************
Extend for AIX system and qconfig file
*/
#include "printing.h"
-#include "smb.h"
#ifdef HAVE_CUPS
#include <cups/cups.h>
#include "includes.h"
-#include "smb.h"
#ifdef SYSV
fstring str = "";
if (u->buffer)
- fstr_pull(s, u);
+ fstr_pull(str, u);
item = PyString_FromString(str);
PyDict_SetItemString(obj, conv[i].name, item);
if ( fetch_reg_keys( regkey, &subkeys ) == -1 ) {
/* don't really know what to return here */
-
result = NT_STATUS_NO_SUCH_FILE;
}
else {
return False;
}
-
return True;
}
======================================================================
The binaries have been uninstalled. You may restore the binaries using
the command "make installbin" or "make install" to install binaries,
-man pages and shell scripts. You can restore a previous version of the
-binaries (if there were any) using "make revert".
+man pages, modules and shell scripts. You can restore a previous
+version of the binaries (if there were any) using "make revert".
======================================================================
EOF
output(screen," SBINDIR: %s\n", dyn_SBINDIR);
output(screen," BINDIR: %s\n", dyn_BINDIR);
output(screen," LOCKDIR: %s\n",dyn_LOCKDIR);
- output(screen," DRIVERFILE: %s\n", dyn_DRIVERFILE);
output(screen," LOGFILEBASE: %s\n", dyn_LOGFILEBASE);
/*Output various other options (most map to defines in the configure script*/
if(NT_STATUS_IS_OK(res = modify_trust_password( domain, dc_name,
old_trust_passwd_hash)))
break;
-
} else {
res = modify_trust_password( domain, remote_machine,
old_trust_passwd_hash);
domain_name = smb_xstrdup(argv[0]);
strupper(domain_name);
+
+ /* account name used at first is our domain's name with '$' */
+ asprintf(&acct_name, "%s$", lp_workgroup());
+ strupper(acct_name);
/*
* opt_workgroup will be used by connection functions further,
opt_workgroup = smb_xstrdup(domain_name);
};
- asprintf(&acct_name, "%s$", lp_workgroup());
- strupper(acct_name);
-
opt_user_name = acct_name;
/* find the domain controller */
JOB_STATUS_DELETED,
SPOOLSS_NOTIFY_MSG_UNIX_JOBID);
}
-
+
/* printer change notify */
if (strequal(cmd, "printer")) {
*/
#include "includes.h"
-#include "smb.h"
#define SECURITY_MASK 0
#define SECURITY_SET 0
*/
#include "includes.h"
-#include "smb.h"
extern BOOL AllowDebugChange;
*/
#include "includes.h"
-#include "smb.h"
int main(int argc, char *argv[])
{