search for: mem_ctx

Displaying 20 results from an estimated 103 matches for "mem_ctx".

2017 Jan 07
2
frequent core dumps (invalid lock_order?)
...ce3/lib/dumpcore.c:337 #3 0x00007fc5a4df31f7 in smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:811 #4 0x00007fc5a6c7791f in smb_panic (why=why at entry=0x7fc5a1920401 "*invalid lock_order*") at ../lib/util/fault.c:166 #5 0x00007fc5a191b81d in dbwrap_check_lock_order (mem_ctx=0x7fc5a893aaa0, db=0x7fc5a894eb20) at ../lib/dbwrap/dbwrap.c:186 #6 dbwrap_fetch_locked_internal (db=db at entry=0x7fc5a894eb20, mem_ctx=mem_ctx at entry=0x7fc5a893aaa0, key=..., db_fn=<optimized out>) at ../lib/dbwrap/dbwrap.c:216 #7 0x00007fc5a191ba48 in dbwrap_fetch_locked (db=db...
2018 Dec 27
1
FreeBSD, Libmd5, samba 4.9.4 & "smbclient -L" (using password) -> core dump
...lt;incomplete sequence \350\356>, user_in=<optimized out>, domain_in=<optimized out>, kr_buf=kr_buf at entry=0x7fffffffd320 "\a\203f\243y6f\331\063$\027\004 at CD\252\005\226\263\003\b") at ../libcli/auth/smbencrypt.c:241 #5 0x00000008092a0807 in SMBNTLMv2encrypt_hash (mem_ctx=mem_ctx at entry=0x811a1d780, user=<optimized out>, domain=<optimized out>, nt_hash=nt_hash at entry=0x811a49430 "\347\305\335 ", <incomplete sequence \350\356>, server_chal=server_chal at entry=0x7fffffffd3f0, server_timestamp=server_timestamp at entry=0x811a85a...
2015 Apr 21
0
samba-4.2.0 join samba3 PDC
..., parser=0x7f47fd549b8d <netlogon_creds_cli_fetch_parser>, private_data=0x7fff0ba1c770) at ../lib/dbwrap/dbwrap.c:387 #9 0x00007f47fd54a5d6 in netlogon_creds_cli_lock_fetch (req=0x7f48048df320) at ../libcli/auth/netlogon_creds_cli.c:849 #10 0x00007f47fd54a3d2 in netlogon_creds_cli_lock_send (mem_ctx=0x7f48048cbe30, ev=0x7f48048c49a0, context=0x7f48048c63e0) at ../libcli/auth/netlogon_creds_cli.c:796 #11 0x00007f47fd54d65c in netlogon_creds_cli_LogonSamLogon_start (req=0x7f48048cbca0) at ../libcli/auth/netlogon_creds_cli.c:2292 #12 0x00007f47fd54d19b in netlogon_creds_cli_LogonSamLogon_send (me...
2017 Jan 07
0
frequent core dumps (invalid lock_order?)
...0x00007fc5a4df31f7 in > smb_panic_s3 (why=<optimized out>) at ../source3/lib/util.c:811 > #4 0x00007fc5a6c7791f in smb_panic (why=why at entry=0x7fc5a1920401 > "*invalid lock_order*") at ../lib/util/fault.c:166 > #5 0x00007fc5a191b81d in dbwrap_check_lock_order > (mem_ctx=0x7fc5a893aaa0, db=0x7fc5a894eb20) > at ../lib/dbwrap/dbwrap.c:186 > #6 dbwrap_fetch_locked_internal (db=db at entry=0x7fc5a894eb20, > mem_ctx=mem_ctx at entry=0x7fc5a893aaa0, key=..., > db_fn=<optimized out>) at ../lib/dbwrap/dbwrap.c:216 > #7 0x00007fc5a191ba48 in d...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...l(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]); > if (!NT_STATUS_IS_OK(status)) { > DEBUG(10, ("parse_acl_blob returned %s\n", > nt_errstr(status))); &...
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 >
2006 Jun 19
2
3.0.23 + afsacl build problem
...nts to function `lookup_sid' modules/vfs_afsacl.c: In function `afsacl_connect': modules/vfs_afsacl.c:1012: warning: assignment discards qualifiers from pointer target type make: *** [modules/vfs_afsacl.po] Error 1 Then I added to lookup_sid in line 145 and to lookup_name in line 159 the mem_ctx argument, and changed LOOKUP_NAME_FULL to LOOKUP_NAME_ALL. Now I should add the mystic mem_ctx argument in line 754, but it's not defined in this (nt_to_afs_acl) function, so I've stucked. I've tried to pass a NULL instead of it to check for further build problems, but it has been co...
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
...e made it much clearer (at least to me). diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index 2163a75..870e6da 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -625,7 +625,7 @@ static NTSTATUS validate_nt_acl_blob(TALLOC_CTX *mem_ctx, vfs_handle_struct *handle, files_struct *fsp, const struct smb_filename *smb_fname, - DATA_BLOB *blob, + const DATA_B...
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
2009 Feb 16
1
samba-3.2.8 - KRB5_KT_UNKNOWN_TYPE;
...krb5_open_keytab with a filename "/etc/v5srvtab" it would work fine, however if the "default" keytab is used the expectation is that it must have a prefix "FILE:" or "WRFILE:". Is this the correct logic? It appears that the loop while (next_token_talloc(mem_ctx, &tmp, &kt_str, ",")) { Should have the test if (tmp[0] == '/') found_valid_name = True; Glenn kerberos_keytab.c ads_keytab_add_entry() ret = smb_krb5_open_keytab(context, NULL, True, &keytab); if (ret) { DEBUG(1,("ad...
2015 Mar 05
2
Oracle 11 nts authentication againts samba4 AD DC
...ory? I finally dug a bit into the code and found the line in which the unsuccessful query is performed: If in the samba_kdc_lookup_server function of the db-glue.c change the following piece of code: ---------------------------------------------- lret = dsdb_search_one(kdc_db_ctx->samdb, mem_ctx, msg, *realm_dn, LDB_SCOPE_SUBTREE, attrs, DSDB_SEARCH_SHOW_EXTENDED_DN | DSDB_SEARCH_NO_GLOBAL_CATALOG, "(&(objectClass=user) (samAccountName=%s))", ldb_binary_encode_string(mem_ctx, short_princ)); -----------------------------...
2003 Dec 01
0
No subject
...BOOL got_dom_pol =3D False;=0A= uint32 des_access =3D SEC_RIGHTS_MAXIMUM_ALLOWED;=0A= int i;=0A= + uint32 num_groups, k;=0A= + uint32 *user_gids;=0A= + NTSTATUS status;=0A= =0A= *num_entries =3D 0;=0A= *info =3D NULL;=0A= @@ -95,14 +98,35 @@=0A= (*info)[i].acct_name =3D unistr2_tdup(mem_ctx, = &info1.str[j].uni_acct_name);=0A= (*info)[i].full_name =3D unistr2_tdup(mem_ctx, = &info1.str[j].uni_full_name);=0A= (*info)[i].user_rid =3D info1.sam[j].rid_user;=0A= - /* For the moment we set the primary group for=0A= - every user to be the Domain Users group.=0A= -...
2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...ent function is listed below : enum winbindd_result winbindd_getpwnam(struct winbindd_cli_state *state) { WINBIND_USERINFO user_info; WINBINDD_PW *pw; DOM_SID user_sid; NTSTATUS status; fstring name_domain, name_user; enum SID_NAME_USE name_type; struct winbindd_domain *domain; TALLOC_CTX *mem_ctx; /* Ensure null termination */ state->request.data.username[sizeof(state->request.data.username)-1]='\0'; DEBUG(3, ("[%5lu]: getpwnam %s\n", (unsigned long)state->pid, state->request.data.username)); /* Parse domain and username */ parse_domain_user(state-...
2005 Jun 02
1
Winbindd chokes on W2K users in only one group
Hi there, I've been trying to set up Samba 3.0.14a with Active Directory integration on a network with an ordinary W2k Server PDC. I'm currently having a problem which I'm convinced has nothing to do with my Windows or Samba configuration. The problem only occurs when trying to connect to the Samba server from an authenticated domain account which is only a member of the default
2004 Aug 31
4
winbind problem (?) on samba 3 ADS
Hi, I have installed samba 3.0.6 based on the "Official HOWTO" to join out Active Directory environment, with winbind and pam support. I have join the samba to the domain using "net ads join -Umyloginame". I can do the "wbinfo -g", "getent passwd" and "getent group" correctly. I also can list shares on other machine, using kerberos: # kinit
2018 Nov 01
4
Kodi crashes when trying to browse network
...pen_urandom () at ../lib/util/genrand.c:37 #3  generate_random_buffer (out=out at entry=0x7ffeb252b536 ".\025\260\230\027\207\260U",     len=len at entry=2) at ../lib/util/genrand.c:46 #4  0x00007fe78501fc6e in generate_trn_id () at ../source3/libsmb/namequery.c:1276 #5  name_query_send (mem_ctx=<optimized out>, ev=0x55b08717c250,     name=name at entry=0x7fe7884799ed "\001\002__MSBROWSE__\002", name_type=name_type at entry=1,     bcast=bcast at entry=true, recurse=recurse at entry=true, addr=0x7fe73c061260)     at ../source3/libsmb/namequery.c:1276 #6  0x00007fe7850208...
2018 Nov 02
2
Kodi crashes when trying to browse network
On 11/2/18 4:28 PM, Jeremy Allison wrote: > if you're getting the abort(), then urand_fd == -1. > If urand_fd != -1 and you're hitting the abort then > you have a compiler bug. A compiler bug is also possible. When I have time I'll try to rebuild Samba with -O0 to make sure it isn't an optimization issue.
2015 Mar 05
0
Oracle 11 nts authentication againts samba4 AD DC
...the code and found the line in which the > unsuccessful query is performed: > > If in the samba_kdc_lookup_server function of the db-glue.c change the > following piece of code: > ---------------------------------------------- > > lret = dsdb_search_one(kdc_db_ctx->samdb, mem_ctx, msg, > *realm_dn, LDB_SCOPE_SUBTREE, > attrs, > DSDB_SEARCH_SHOW_EXTENDED_DN | > DSDB_SEARCH_NO_GLOBAL_CATALOG, > "(&(objectClass=user) > (samAccountName=%s))", > ldb_binary_encode_string(mem_ctx, > short_...
2018 Nov 03
2
Kodi crashes when trying to browse network
...6 > #2  0x00007ff696b19925 in generate_random_buffer (out=0x7ffe0422a426 > <incomplete sequence \352>, >     len=2) at ../lib/util/genrand.c:50 > #3  0x00007ff699280357 in generate_trn_id () > at ../source3/libsmb/namequery.c:249 #4  0x00007ff699283332 in > name_query_send (mem_ctx=0x55788a265200, ev=0x55788b8424e0, > name=0x7ff69c731e2b "\001\002__MSBROWSE__\002", name_type=1, > bcast=true, recurse=true, addr=0x55788a014360) > at ../source3/libsmb/namequery.c:1276 (snip) > > (gdb) p rw_ret > $1 = 0 > (gdb) p len > $2 = 2 > > Looking...
2016 Mar 06
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...-a ldap09 Starting program: /usr/local/samba/bin/smbpasswd -a ldap09 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1". New SMB password: Retype new SMB password: Breakpoint 1, smbldap_talloc_autofree_ldapmod (mem_ctx=0x80032f78, mod=0x80011a98) at ../source3/lib/smbldap.c:274 274 if (mod == NULL) { (gdb) bt full #0 smbldap_talloc_autofree_ldapmod (mem_ctx=0x80032f78, mod=0x80011a98) at ../source3/lib/smbldap.c:274 handle = 0xbffff988 __FUNCTION__ = "smbldap_talloc_autofr...