extern BOOL in_client;
extern pstring user_socket_options;
-extern BOOL append_log;
static pstring credentials;
static pstring my_netbios_name;
/* here we are no longer interactive */
set_remote_machine_name("smbmount"); /* sneaky ... */
setup_logging("mount.smbfs", False);
- append_log = True;
reopen_logs();
DEBUG(0, ("mount.smbfs: entering daemon mode for service %s, pid=%d\n", the_service, sys_getpid()));
char *opteq;
extern char *optarg;
int val;
- extern pstring global_scope;
char *p;
if (argc < 2 || argv[1][0] == '-') {
} else if(!strcmp(opts, "sockopt")) {
pstrcpy(user_socket_options,opteq+1);
} else if(!strcmp(opts, "scope")) {
- pstrcpy(global_scope,opteq+1);
+ pstrcpy(global_scope(),opteq+1);
} else {
slprintf(p, sizeof(pstring) - (p - options) - 1, "%s=%s,", opts, opteq+1);
p += strlen(p);