search for: nt_errstr

Displaying 20 results from an estimated 21 matches for "nt_errstr".

2015 Nov 26
2
nitwit's attempt to edit samba source
..."%s authentication for user [%s\\%s] " > "FAILED with error %s\n", > (state->method ? state->method->ops->name : "NO_METHOD"), > state->user_info->mapped.domain_name, > state->user_info->mapped.account_name, > nt_errstr(status))); > tevent_req_received(req); > return status; > } to: > if (tevent_req_is_nterror(req, &status)) { > DEBUG(2,("auth_check_password_recv: " > "%s authentication for user [%s\\%s] on host %s " > "FAILED with error %s\n&quot...
2007 Jan 19
1
Possible bug on net rpc trustdom establish
...n () Look at the code in rpc_trustdom_establish() call in utils/net_rpc.c. nt_status = connect_to_ipc_anonymous(&cli, &server_ip, (char*)pdc_name); if (NT_STATUS_IS_ERR(nt_status)) { DEBUG(0, ("Couldn't connect to domain %s controller. Error was %s.\n", domain_name, nt_errstr(nt_status))); } /* * Use NetServerEnum2 to make sure we're talking to a proper server */ if (!cli_get_pdc_name(cli, domain_name, (char*)pdc_name)) { DEBUG(0, ("NetServerEnum2 error: Couldn't find primary domain controller\ for domain %s\n", domain_name)); } Duri...
2008 Sep 16
1
Why are some error messages printed to stdout?
...ally an error or not. Any reason why some of the error outputs are not sent out over stderr? As an example, in the torture_open_connection_share method in the torture/util_smb.c file, the following line prints the error to stdout: printf("Failed to open connection - %s\n", nt_errstr(status)); I noticed a few others that were doing the same thing. I was expecting to see fprintf (stderr ...) for these kinds of messages. Thanks, Stan
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...(!NT_STATUS_IS_OK(status)) { 769 DEBUG(10, ("get_nt_acl_internal: get_next_acl for file %s " 770 "returned %s\n", 771 smb_fname->base_name, 772 nt_errstr(status))); 773 goto fail; 784 if (memcmp(&hash[0], &hash_tmp[0], XATTR_SD_HASH_SIZE) == 0) { 785 /* Hash matches, return blob sd. */ 786 DEBUG(10, ("get_nt_acl_internal: blob hash " 787...
2015 Nov 27
0
nitwit's attempt to edit samba source
..."FAILED with error %s\n", >> (state->method ? state->method->ops->name : "NO_METHOD"), >> state->user_info->mapped.domain_name, >> state->user_info->mapped.account_name, >> nt_errstr(status))); >> tevent_req_received(req); >> return status; >> } > > to: > >> if (tevent_req_is_nterror(req, &status)) { >> DEBUG(2,("auth_check_password_recv: " >> "%s authentication for user...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote: > On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote: > > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote: > > > > > > Yeah, as much as I'd like to avoid adding a new option, I guess we > > > have to do something about it, my latest take on this is >
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...= NULL; > bool ignore_file_system_acl = lp_parm_bool(SNUM(handle->conn), > @@ -509,25 +509,25 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, > if (!NT_STATUS_IS_OK(status)) { > DEBUG(10, ("get_nt_acl_internal: get_acl_blob returned %s\n", > nt_errstr(status))); > - psd = NULL; > + psd_blob = NULL; > goto out; > } else { > - status = parse_acl_blob(&blob, mem_ctx, &psd, > + status = parse_acl_blob(&blob, mem_ctx, &psd_blob, > &hash_type, &xattr_version, &hash[0], &sys_acl_hash[0...
2019 Nov 29
4
get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2
Hello all, after the upgarde from Samba 4.10.7 to 4.11.2 we get lots of these in our logfiles: 2019-11-28T20:40:44+01:00 lx-sv-09 smbd_audit: [2019/11/28 20:40:44.886615, 1] ../../source3/locking/share_mode_lock.c:597(get_share_mode_lock) 2019-11-28T20:40:44+01:00 lx-sv-09 smbd_audit: get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY There are no symptoms accept
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote: > On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote: > > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote: > > > > > > Cheerio! > > > -slow > > > > Still reviewing this - but a few things that will need changing: > > > > When adding the
2013 Sep 25
2
samba 4.0.9 Build Error
Hi there, I tried to build samba 4.0.9 on a Debian Wheezy 7.1 x86 fresh install and got this error: [2717/3935] Compiling source3/smbd/scavenger.c ../source3/smbd/scavenger.c: In function ?scavenger_timer?: ../source3/smbd/scavenger.c:482:3: error: format ?%lu? expects argument of type ?long unsigned int?, but argument 3 has type ?uint64_t? [-Werror=format] ../source3/smbd/scavenger.c:490:3:
2011 Sep 09
3
Can't add users to well known groups...
I created the well known group Domain Admins pointing to a local group, but I am not able to add users to the group -- it claims I can only add users to local or global groups... But I only see local, domain ,well-known, builtin. There are no global groups unless one would include all groups that are not local (i.e. domain, well-known, and builtin).... So why doesn't it want to let me add
2016 Mar 09
0
mkdir-dup test flapping
...ess_mask); > + smb_dname, > + false, > + access_mask); > if (!NT_STATUS_IS_OK(status)) { > DEBUG(10, ("open_directory: smbd_check_access_rights on " > - "file %s failed with %s\n", > - smb_fname_str_dbg(smb_dname), > - nt_errstr(status))); > + "file %s failed with %s\n", > + smb_fname_str_dbg(smb_dname), > + nt_errstr(status))); > return status; > } > } > - > + > status = file_new(req, conn, &fsp); > if(!NT_STATUS_IS_OK(status)) { > return st...
2019 Nov 28
0
security=domain fails after upgr. to 4.9, winbind doesn't help
...? uint32_t num_domains = 0; ??? ??? NTSTATUS status; ??? ??? if (lp_server_role() == ROLE_DOMAIN_MEMBER) { ??? ??? ??? status = NT_STATUS_NO_LOGON_SERVERS; ??? ??? ??? DBG_ERR("winbindd not running - " ??? ??? ??? ??? "but required as domain member: %s\n", ??? ??? ??? ??? nt_errstr(status)); ??? ??? ??? return status; ??? ??? } So your server doesn't seem to be able to find winbindd, are you sure it is running ? What does this show: ps ax | grep '[w]inbind' What OS is this ? Rowland
2019 Nov 29
0
get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2
...static_share_mode_data( ??? ??? ??? static_share_mode_record, ??? ??? ??? id, ??? ??? ??? servicepath, ??? ??? ??? smb_fname, ??? ??? ??? old_write_time); ??? ??? if (!NT_STATUS_IS_OK(status)) { ??? ??? ??? DBG_WARNING("get_static_share_mode_data failed: %s\n", ??? ??? ??? ??? ??? nt_errstr(status)); ??? ??? ??? goto fail; ??? ??? } It calls 'get_static_share_mode_data' and the relevant part of that is this: ??? if (value.dptr == NULL) { ??? ??? d = fresh_share_mode_lock( ??? ??? ??? lock_db, servicepath, smb_fname, old_write_time); ??? ??? if (d == NULL) { ??? ??? ??...
2019 Nov 29
0
get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2
...? static_share_mode_record, > ??? ??? ??? id, > ??? ??? ??? servicepath, > ??? ??? ??? smb_fname, > ??? ??? ??? old_write_time); > ??? ??? if (!NT_STATUS_IS_OK(status)) { > ??? ??? ??? DBG_WARNING("get_static_share_mode_data failed: %s\n", > ??? ??? ??? ??? ??? nt_errstr(status)); > ??? ??? ??? goto fail; > ??? ??? } > > It calls 'get_static_share_mode_data' and the relevant part > of that is this: > > ??? if (value.dptr == NULL) { > ??? ??? d = fresh_share_mode_lock( > ??? ??? ??? lock_db, servicepath, smb_fname, old_writ...
2016 Mar 09
4
mkdir-dup test flapping
We looked at this some more, and Andrew seemed to understand and wrote the attached patch. > > We got the logs by forcing smbd to run with -d10 by patching > file_server/fileserver.c. The issue appears to be in this call: 3638 /* Ensure there was no race condition. */ 3639 if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) { 3640
2011 Dec 10
0
Compiling issues latest samba4
...2F1B9' /usr/local/samba/lib/libsamba-util.so: undefined reference to `rep_strlcpy at SAMBA_4.0.0ALPHA18_GIT_092F1B9' /usr/local/samba/lib/libsamba-util.so: undefined reference to `swrap_connect at SAMBA_4.0.0ALPHA18_GIT_092F1B9' /usr/local/samba/lib/libndr.so: undefined reference to `nt_errstr at SAMBA_4.0.0ALPHA18_GIT_092F1B9' /usr/local/samba/lib/libndr-standard.so: undefined reference to `ndr_pull_kerb_EncTypes at SAMBA_4.0.0ALPHA18_GIT_092F1B9' /usr/local/samba/lib/libndr-standard.so: undefined reference to `ndr_pull_security_secinfo at SAMBA_4.0.0ALPHA18_GIT_092F1B9' /...
2015 Nov 27
2
nitwit's attempt to edit samba source
Hi Viktor! Thanks for your try at this, I am already doing what you suggest: the iptables - timestaps. But that is rather troublesome, and I would very much samba to log this vital info. Anyway, I tried what you suggested, and now it stopped compiling. :-) Does this error perhaps tell you something, or are you just as clueless as I am now: > [1955/4033] Compiling source4/auth/ntlm/auth.c
2019 Nov 28
2
security=domain fails after upgr. to 4.9, winbind doesn't help
Hi Rowland, > Remove 'map untrusted to domain = Yes', it has been removed. > > Add 'domain logons = Yes' > > This gets it back to being a PDC: thanks for the hints! I did that, but it doesn't help. I guess the problem is not on the PDC server but on SERVER2. That's the one that got upgraded and stopped working (even with the non-pdc config of SERVER1). I
2009 Jan 30
5
ACLs under Samba 3.3.0
Is behavior of ACLs under Samba 3.3.0 (Sernet) completely different from that under version 3.2.7? The release notes only talks about some "fixes". I installed version 3.3.0 and got completely different result with the same filesystem and the exact same samba configuration. The ACLs behaved strangely and appeared very different under Windows ACL editor. Users were now unable to