search for: numentries

Displaying 20 results from an estimated 161 matches for "numentries".

2005 Aug 10
1
BUG: samba-3.0.14a & samba-3.0.20pre2 endless loop AIX 5.3 (jfs2) & Win98
...c:dptr_fetch_lanman2(667) fetching dirptr 257 for path ./ [2005/08/02 13:13:04, 3] smbd/trans2.c:call_trans2findnext(1653) dptr_num is 257, mask = *, attr = 1016, dirptr=(0x201BD398,-1) [2005/08/02 13:13:04, 3] smbd/trans2.c:call_trans2findnext(1752) SMBtrans2 mask=* directory=./ dirtype=4118 numentries=4 [2005/08/02 13:13:04, 3] smbd/process.c:process_smb(1091) Transaction 7501 of length 96 [2005/08/02 13:13:04, 3] smbd/process.c:switch_message(886) switch message SMBtrans2 (pid 72450) conn 0x201b8e68 [2005/08/02 13:13:04, 3] smbd/trans2.c:call_trans2findnext(1595) call_trans2findnext: dirh...
2005 Jun 28
1
Fw: Missing files on Windows client side
...BOOL got_exact_match = False; +1446 +1447 /* this is a heuristic to avoid seeking the dirptr except when +1448 absolutely necessary. It allows for a filename of about 40 chars */ +1449 if (space_remaining < DIRLEN_GUESS && numentries > 0) { +1450 out_of_space = True; +1451 finished = False; +1452 } else { +1453 finished = !get_lanman2_dir_entry(conn, +1454 inbuf, outbuf, +1455...
2023 Nov 16
3
[PATCH][next] nouveau/gsp: replace zero-length array with flex-array member and use __counted_by
...vU32 length; + NvU32 nameOffset; + NvU8 type; + NvU32 data; + NvU32 length; } PACKED_REGISTRY_ENTRY; typedef struct PACKED_REGISTRY_TABLE { - NvU32 size; - NvU32 numEntries; - PACKED_REGISTRY_ENTRY entries[0]; + NvU32 size; + NvU32 numEntries; + PACKED_REGISTRY_ENTRY entries[] __counted_by(numEntries); } PACKED_REGISTRY_TABLE; #endif diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c b/drivers/gpu/drm/nouveau/nvk...
2011 Mar 15
0
[LLVMdev] [PATCH 1/5] Prevent infinite growth of the DenseMap.
...T/DenseMap.h b/include/llvm/ADT/DenseMap.h index 9d2b11d..71dcc25 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -289,11 +289,14 @@ private: // table completely filled with tombstones, no lookup would ever succeed, // causing infinite loops in lookup. ++NumEntries; - if (NumEntries*4 >= NumBuckets*3 || - NumBuckets-(NumEntries+NumTombstones) < NumBuckets/8) { + if (NumEntries*4 >= NumBuckets*3) { this->grow(NumBuckets * 2); LookupBucketFor(Key, TheBucket); } + if (NumBuckets-(NumEntries+NumTombstones) < NumBu...
2009 Apr 28
2
[LLVMdev] infinite looping on hashtables
...+++ llvm.test/include/llvm/ADT/DenseMap.h (working copy) @@ -346,12 +346,12 @@ // probe almost the entire table until it found the empty bucket. If the // table completely filled with tombstones, no lookup would ever succeed, // causing infinite loops in lookup. + ++NumEntries; if (NumEntries*4 >= NumBuckets*3 || NumBuckets-(NumEntries+NumTombstones) < NumBuckets/8) { this->grow(NumBuckets * 2); LookupBucketFor(Key, TheBucket); } - ++NumEntries; // If we are writing over a tombstone, remember this. if (!KeyIn...
2023 Nov 16
1
[PATCH][next] nouveau/gsp: replace zero-length array with flex-array member and use __counted_by
...nameOffset; > + NvU8 type; > + NvU32 data; > + NvU32 length; > } PACKED_REGISTRY_ENTRY; > > typedef struct PACKED_REGISTRY_TABLE > { > - NvU32 size; > - NvU32 numEntries; > - PACKED_REGISTRY_ENTRY entries[0]; > + NvU32 size; > + NvU32 numEntries; > + PACKED_REGISTRY_ENTRY entries[] __counted_by(numEntries); > } PACKED_REGISTRY_TABLE; Thanks for the fix! However, I have some concerns about changing those h...
2003 Dec 21
1
why does this happen?
...objectClass: sambaGroupMapping gidNumber: 512 cn: Domain Admins memberUid: Administrator description: Netbios Domain Administrators sambaSID: S-1-5-21-3186189367-1246494297-1334198316-512 sambaGroupType: 2 displayName: Domain Admins # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 [root@linserv2 sbin]# ldapsearch -x -h localhost -b "o=Mullen,c=US" '(cn=adm)' version: 2 # # filter: (cn=adm) # requesting: ALL # # adm, Group, Mullen, US dn: cn=adm,ou=Group,o=Mullen,c=US objectClass: posixGroup objectClass: top cn: adm gidNumber: 4 memberUid: daemon member...
2015 Aug 25
3
Strange behaviour with LDAP searches
...CN=Guests,CN=Builtin,DC=id,DC=modelnine,DC=org objectClass: top objectClass: group cn: Guests ... # Users, Builtin, id.modelnine.org dn: CN=Users,CN=Builtin,DC=id,DC=modelnine,DC=org objectClass: top objectClass: group cn: Users ... # search result search: 2 result: 0 Success # numResponses: 6 # numEntries: 2 # numReferences: 3 - --- vs. - --- modelnine at xdom00 ~ $ ldapsearch -H ldap://id.modelnine.org -b "dc=id,dc=modelnine,dc=org" -W -D "cn=Machine Account,cn=Users,dc=id,dc=modelnine,dc=org" "(&(objectClass=group)(|(distinguishedName=cn=Users,cn=Builtin,dc=id,dc=mod...
2007 Nov 26
1
DFS enumeration on a Samba hosted DFS tree.
...of the tail two entries here. As well I've written up a small tool to check each link in the DFS tree (to detect broken links) using the Win32 API function NetDfsEnum. Basically (this is going to get pretty mangled): result = NetDfsEnum(argv[1],3,MAX_PREFERRED_LENGTH,(LPBYTE *)&root,&numEntries,&hResume); while(result==ERROR_SUCCESS) { for(iterator=1;iterator<=numEntries;iterator++) { info = dfsEntry->Storage; for(numStorage=dfsEntry->NumberOfStorages;numStorage>0;numStorage--) { swprintf_s(buffer,MAX_PATH,L"\\\\%s\\%s\\*",info-&g...
2014 Jul 02
1
sssd_sudo search results different from command line ldapsearch
...800 name: %wheel objectGUID:: jpGX5AmGUkimPw1yl+oZkA== objectCategory: CN=sudoRole,CN=Schema,CN=Configuration,DC=teemu,DC=local sudoUser: %wheel sudoHost: ALL sudoCommand: ALL distinguishedName: CN=%wheel,OU=SUDOers,DC=teemu,DC=local # search result search: 4 result: 0 Success # numResponses: 5 # numEntries: 4 [root at dc1 var]# kdestroy [root at dc1 var]# kinit 'dc1$@TEEMU.LOCAL' -k -t /etc/krb5.sssd.keytab [root at dc1 var]# ldapsearch -h dc1 -Y GSSAPI -b ou=SUDOers,dc=teemu,dc=local SASL/GSSAPI authentication started SASL username: dc1$@TEEMU.LOCAL SASL SSF: 56 SASL data security layer i...
2014 Jul 03
1
How to manipulate ldap access rights on Samba 4?
...800 name: %wheel objectGUID:: jpGX5AmGUkimPw1yl+oZkA== objectCategory: CN=sudoRole,CN=Schema,CN=Configuration,DC=teemu,DC=local sudoUser: %wheel sudoHost: ALL sudoCommand: ALL distinguishedName: CN=%wheel,OU=SUDOers,DC=teemu,DC=local # search result search: 4 result: 0 Success # numResponses: 5 # numEntries: 4 [root at dc1 var]# kdestroy [root at dc1 var]# kinit 'dc1$@TEEMU.LOCAL' -k -t /etc/krb5.sssd.keytab [root at dc1 var]# ldapsearch -h dc1 -Y GSSAPI -b ou=SUDOers,dc=teemu,dc=local SASL/GSSAPI authentication started SASL username: dc1$@TEEMU.LOCAL SASL SSF: 56 SASL data security layer i...
2011 Apr 23
1
ldapsearch with samba4
...SASL username: administrator at XXX SASL SSF: 56 SASL data security layer installed. # extended LDIF # # LDAPv3 # base <> (default) with scope subtree # filter: (sAMAccountName=dumaresq) # requesting: ALL # results in here... # search result search: 5 result: 0 Success # numResponses: 2 # numEntries: 1 I cannot get ldapsearch -Z or ldaps working: ldapsearch '(sAMAccountName=dumaresq)' -Z SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Server is unwilling to perform (53) additional info: SASL:[GSSAPI]: Sign or Seal are not allowed if TLS is used Here is...
2024 Jan 29
0
[PATCH] [v2] nouveau: add command-line GSP-RM registry support
...ld_registry -- create the registry RPC data + * @registry: pointer to the RPC payload to fill + * + * After all registry key/value pairs have been added, call this function to + * build the RPC. + * + * The registry RPC looks like this: + * + * +-----------------+ + * |NvU32 size; | + * |NvU32 numEntries;| + * +-----------------+ + * +---------------------+ + * |PACKED_REGISTRY_ENTRY| + * +---------------------+ + * |PACKED_REGISTRY_ENTRY| + * +---------------------+ + * ... (one copy for each entry) + * + * +----------------------------------+ + * |Null-terminated string for entry 0| + * +--------...
2024 Feb 20
2
[PATCH] [v4] nouveau: add command-line GSP-RM registry support
...the registry RPC data + * @gsp: gsp pointer + * @registry: pointer to the RPC payload to fill + * + * After all registry key/value pairs have been added, call this function to + * build the RPC. + * + * The registry RPC looks like this: + * + * +-----------------+ + * |NvU32 size; | + * |NvU32 numEntries;| + * +-----------------+ + * +---------------------+ + * |PACKED_REGISTRY_ENTRY| + * +---------------------+ + * |PACKED_REGISTRY_ENTRY| + * +---------------------+ + * ... (one copy for each entry) + * + * +----------------------------------------+ + * |Null-terminated key (string) for entry 0| +...
2012 Aug 02
2
[LLVMdev] [NVPTX] Strange assertion around BlockToChain.clear(); in Release+Asserts build
...before: hello_f: /tmp/rpmbuild_debug/BUILD/llvm/build/include/llvm/ADT/DenseMap.h:126: void llvm::DenseMap<KeyT, ValueT, KeyInfoT>::clear() [with KeyT = llvm::MachineBasicBlock*, ValueT = <unnamed>::BlockChain*, KeyInfoT = llvm::DenseMapInfo<llvm::MachineBasicBlock*>]: Assertion `NumEntries == 0 && "Node count imbalance!"' failed. Program received signal SIGABRT, Aborted. 0x00007ffff785c945 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00007ffff785c945 in raise () from /lib64/libc.so.6 #1 0x00007ffff785df21 in abort () from /lib64/libc.so.6 #2 0x00007ffff78...
2011 Mar 15
10
[LLVMdev] Prevent unbounded memory consuption of long lived JIT processes
This series of patches address several issues causing memory usage to grow indefinetely on a long lived process. These are not convenional leaks -- memory would have been freed when the LLVM context or/and JIT engine is destroyed -- but for as long as they aren't the memory is usage effectively ubounded. The issues were found using valgrind with '--show-reachable=yes' option: 1.
2024 Feb 03
2
Slow ldap membership query in large active directory
...:636 -D "CN=Auth-User,CN=Users,DC=subdomain,DC=example,DC=de" -w xxxx -b "OU=courses,OU=myou,DC=subdomain,DC=example,DC=de" "(&(objectclass=group)(member=CN=user.name,OU=Employees,OU=Users,OU=myou,DC=subdomain,DC=example,DC=de))" gidNumber # numResponses: 68 # numEntries: 67 real??? 0m0.378s user??? 0m0.029s sys??? 0m0.012s When trying to get the gidNumber of all groups (courses) it only takes around 249ms (-45ms bind/unbind overhead). So querying the gidNumber of 1280 groups is faster then querying the gidNumber of groups where the user is a member: # time l...
2005 Jan 27
1
Problem joining DOMAIN
...orporated,dc=com objectClass: top objectClass: inetOrgPerson objectClass: posixAccount cn: voip-pdc1$ sn: voip-pdc1$ uid: voip-pdc1$ uidNumber: 2000 gidNumber: 553 homeDirectory: /dev/null loginShell: /bin/false description: Computer # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 [root@core1 var]# Can anyone help me or point me in the right direction? Thanks! Regards, Daniel
2008 Apr 14
0
problem with user nobody and net groupmap
...Change: 13966 shadowMax: 99999 shadowWarning: 7 loginShell: /bin/sh uidNumber: 65534 gidNumber: 65534 host: roark host: archives3 host: arrowhead host: preshs host: wmounds host: manship host: welty homeDirectory: /home gecos: Nobody # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 [root@roark samba]# [root@roark samba]# ldapsearch -D 'cn=Manager,dc=mdah,dc=state,dc=ms,dc=us' -b "cn=nobody,ou=Group,dc=mdah,dc=state,dc=ms,dc=us" -w xxxxxxxxxx -x # extended LDIF # # LDAPv3 # base <cn=nobody,ou=Group,dc=mdah,dc=state,dc=ms,dc=us> with scope subtree...
2001 Nov 29
1
(no subject)
...bd/dir.c:dptr_fetch_lanman2(550) fetching dirptr 256 for path ./ [2001/11/29 15:20:40, 3] smbd/trans2.c:call_trans2findnext(956) dptr_num is 256, mask = *, attr = 16, dirptr=(0x81E5D08,6) [2001/11/29 15:20:40, 3] smbd/trans2.c:call_trans2findnext(1105) SMBtrans2 mask=* directory=./ dirtype=22 numentries=6 [2001/11/29 15:20:40, 3] smbd/process.c:process_smb(860) Transaction 222 of length 90 [2001/11/29 15:20:40, 3] smbd/process.c:switch_message(667) switch message SMBtrans2 (pid 7648) [2001/11/29 15:20:40, 3] smbd/trans2.c:call_trans2findnext(905) call_trans2findnext: dirhandle = 256, max_dat...