search for: hash_size

Displaying 20 results from an estimated 25 matches for "hash_size".

2005 Sep 09
7
[PATCH 0/6] jbd cleanup
The following 6 patches cleanup the jbd code and kill about 200 lines. First of 4 patches can apply to 2.6.13-git8 and 2.6.13-mm2. The rest of them can apply to 2.6.13-mm2. fs/jbd/checkpoint.c | 179 +++++++++++-------------------------------- fs/jbd/commit.c | 101 ++++++++++-------------- fs/jbd/journal.c | 11 +- fs/jbd/revoke.c | 158
1998 Apr 01
0
[Fwd: Semaphore problem on HP-UX ?]
...--------------------------------------------------- DEBUG(4,("Trying sysv shmem open of size %d\n", shm_size)); /* first the semaphore */ sem_id = semget(SEMAPHORE_KEY, 0, 0); if (sem_id == -1) { if (read_only) return NULL; hash_size = SHMEM_HASH_SIZE; DEBUG(4,("semaphore : initial hash-size = %d \n", hash_size)); while (hash_size > 1) { sem_id = semget(SEMAPHORE_KEY, hash_size+1, IPC_CREAT|IPC_EXCL|S...
2003 Mar 31
1
Samba-3.0alpha23 available on samba.org mirrors
...n is only done before setting ACLs if there is either no change of owning user, or change of owning user is towards the current user. Otherwise chown is done after setting ACLs. 4) Continuing work on NTLMSSP-based SMB signing 5) When opening an existing TDB, don''t require the hash_size specified to the open call to be the same as that of the existing tdb. The specified hash_size is only used if the tdb needs to be (re)created. 6) Add support for "WinXP" and "Win2K3" client architectures. 7) Fixed the unmarshalling of the queryaliasmem SAMR call...
2003 Mar 31
1
Samba-3.0alpha23 available on samba.org mirrors
...n is only done before setting ACLs if there is either no change of owning user, or change of owning user is towards the current user. Otherwise chown is done after setting ACLs. 4) Continuing work on NTLMSSP-based SMB signing 5) When opening an existing TDB, don''t require the hash_size specified to the open call to be the same as that of the existing tdb. The specified hash_size is only used if the tdb needs to be (re)created. 6) Add support for "WinXP" and "Win2K3" client architectures. 7) Fixed the unmarshalling of the queryaliasmem SAMR call...
2006 Jul 27
1
MANAGESIEVE patch v2
Hello Timo, Dispite the heat out here, I managed to come up with a new version of the managesieve patch for dovecot-1.0rc2: - Fixed the bug (missing CRLF) in the authenticate command - Modified the sieve storage library making the interface much less crude. - The scripts put on the server using the putscript command are now checked before they are accepted. - The reported SIEVE capability is
1999 Aug 06
2
Solaris 7 5/99 and samba-2.0.5a (PR#19508)
...ly) { BOOL other_processes; @@ -536,6 +537,8 @@ union semun su; int i; pid_t pid; + struct passwd *root_pwd = sys_getpwuid((uid_t)0); + gid_t root_gid = root_pwd ? root_pwd->pw_gid : (gid_t)0; read_only = ronly; @@ -593,7 +596,7 @@ hash_size = sem_ds.sem_nsems-1; if (!read_only) { - if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != 0) { + if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != root_gid) { DEBUG(0,("ERROR: root did not create the semaphore\n&quot...
2006 Jun 29
3
Secure connection from "localhost" in jails
...Thu Jun 29 18:59:19 2006 @@ -411,7 +411,7 @@ const struct ip_addr *ip) { struct imap_client *client; - - const char *addr; + const char *addr, *local_addr; if (max_logging_users > CLIENT_DESTROY_OLDEST_COUNT && hash_size(clients) >= max_logging_users) { @@ -429,8 +429,10 @@ client->common.tls = ssl; addr = net_ip2addr(ip); + local_addr = net_ip2addr(local_ip); client->common.secured = ssl || (IPADDR_IS_V4(ip) && strncmp(addr, "127.", 4) ==...
2007 Feb 23
3
Conntrack table full and Heavy p2p loaded traffic manager ...
Hello I''ve setuped a bridge with l7-filter and ipp2p. We have every day + or - between 10Mbits and 30 Mbits P2P traffic from + or - 450 customers. When traffic increase. I''ve got this kind of error message : Feb 23 14:26:19 gestor1 kernel: printk: 38 messages suppressed. Feb 23 14:26:19 gestor1 kernel: ip_conntrack: table full, dropping packet. The server is celeron
2005 Jun 14
2
[2.6 patch] fs/jbd/: possible cleanups
..._caches(); if (ret != 0) journal_destroy_caches(); --- linux-2.6.12-rc6-mm1-full/fs/jbd/revoke.c.old 2005-06-14 03:58:36.000000000 +0200 +++ linux-2.6.12-rc6-mm1-full/fs/jbd/revoke.c 2005-06-14 03:58:41.000000000 +0200 @@ -116,7 +116,8 @@ (block << (hash_shift - 12))) & (table->hash_size - 1); } -int insert_revoke_hash(journal_t *journal, unsigned long blocknr, tid_t seq) +static int insert_revoke_hash(journal_t *journal, unsigned long blocknr, + tid_t seq) { struct list_head *hash_list; struct jbd_revoke_record_s *record;
2005 Jul 19
1
[2.6 patch] fs/jbd/: cleanups
...t *); extern void journal_ack_err (journal_t *); --- linux-2.6.12-rc6-mm1-full/fs/jbd/revoke.c.old 2005-06-14 03:58:36.000000000 +0200 +++ linux-2.6.12-rc6-mm1-full/fs/jbd/revoke.c 2005-06-14 03:58:41.000000000 +0200 @@ -116,7 +116,8 @@ (block << (hash_shift - 12))) & (table->hash_size - 1); } -int insert_revoke_hash(journal_t *journal, unsigned long blocknr, tid_t seq) +static int insert_revoke_hash(journal_t *journal, unsigned long blocknr, + tid_t seq) { struct list_head *hash_list; struct jbd_revoke_record_s *record; --- linux-2.6.13-rc3-mm1-full/fs/jbd/journ...
2019 Nov 13
2
"samba-tool backup offline" stuck
...action_start (tdb=0x80161f000, lockflags=TDB_LOCK_WAIT) at ../../common/transaction.c:490 #7 0x000000000040188b in backup_tdb ( old_name=0x7fffffffddd6 "/var/db/samba4/private/secrets.ldb", new_name=0x80161c000 "/var/db/samba4/private/secrets.ldb.copy.tdb", hash_size=<optimized out>, nolock=<optimized out>, readonly=<optimized out>) at ../../tools/tdbbackup.c:157 #8 0x0000000000401528 in main (argc=<optimized out>, argv=0x7fffffffdb40) at ../../tools/tdbbackup.c:360 Don't know if this is enough, but I'll get more in...
2019 Nov 13
0
"samba-tool backup offline" stuck
...> lockflags=TDB_LOCK_WAIT) > at ../../common/transaction.c:490 > #7 0x000000000040188b in backup_tdb ( > old_name=0x7fffffffddd6 "/var/db/samba4/private/secrets.ldb", > new_name=0x80161c000 "/var/db/samba4/private/secrets.ldb.copy.tdb", > hash_size=<optimized out>, nolock=<optimized out>, > readonly=<optimized out>) > at ../../tools/tdbbackup.c:157 > #8 0x0000000000401528 in main (argc=<optimized out>, argv=0x7fffffffdb40) > at ../../tools/tdbbackup.c:360 > > > Don't know if this...
2019 Nov 11
2
"samba-tool backup offline" stuck
On 2019-11-10 21:41, Andrew Bartlett wrote: > Is this unpatched Samba Yes and no. Yes: it's the stock FreeBSD's Samba port. No: the FreeBSD port has itself several patches WRT the original Samba distribution. > and what is the full backtrace on that tdbbackup? You mean: compile with debug symbols, attach gdb and get stack trace? If so, I'll do it, but I'll need some
2015 Jan 13
0
Smbd dumps core while starting
...atch specified executable file. Core was generated by `net'. Program terminated with signal 4, Illegal instruction. #0 0x0000000000000000 in ?? () (gdb) where #0 0x0000000000000000 in ?? () #1 0x0900000005f6ff2c in tdb_open_log (name=0x11002e7f0 "/var/opt/samba/cache/gencache.tdb", hash_size=0, tdb_flags=2048, open_flags=258, mode=420) at ../source3/lib/util_tdb.c:327 #2 0x0900000006435fd4 in gencache_init () at ../source3/lib/gencache.c:69 #3 0x0900000006436780 in gencache_parse (keystr=0x11002e750 "AD_SITENAME/DOMAIN/NAMDEV.NSROOTDEV.NET", parser=@0x9001000a0d1460...
2000 Jun 12
0
smbstatus getting a SIGBUS error
...d (*fn)(share_mode_entry *, char *)) { int i, count=0; int *mode_array; share_mode_record *file_scanner_p; shm_share_mode_entry *entry_scanner_p; mode_array = (int *)shmops->offset2addr(shmops->get_userdef_off()); for( i = 0; i < shmops->hash_size(); i++) { shmops->lock_hash_entry(i); if(mode_array[i] == 0) { shmops->unlock_hash_entry(i); continue; } file_scanner_p = (share_mode_record *)shmops->offset2addr(mode_array[i]...
2018 Jun 18
0
Connection problem due to tdb_lock failed
...config CLIENT2:backend = rid > idmap config CLIENT2:range = 5000001-5999999 > map to guest = never > max log size = 50 > lock directory = /var/vol/3/.ctera/samba/lock > state directory = /var/vol/3/.ctera/samba > cache directory = /var/vol/3/.ctera/samba/cache > gencache:hash_size = 10000 > > [cloud] > path=/var/vol/cloud > comment= > wide links=no > vfs objects = fruit streams_xattr acl_xattr shadow_copy2 > use sendfile = true > strict sync=yes > acl_xattr:ignore system acls = yes > force unknown acl user = yes > shadow:snapdir = ....
2005 Apr 22
2
[2.6 patch] fs/jbd/: possible cleanups
...unsigned long count, void *data) { char buf[32]; --- linux-2.6.12-rc2-mm3-full/fs/jbd/revoke.c.old 2005-04-21 03:44:18.000000000 +0200 +++ linux-2.6.12-rc2-mm3-full/fs/jbd/revoke.c 2005-04-21 03:44:31.000000000 +0200 @@ -116,7 +116,8 @@ (block << (hash_shift - 12))) & (table->hash_size - 1); } -int insert_revoke_hash(journal_t *journal, unsigned long blocknr, tid_t seq) +static int insert_revoke_hash(journal_t *journal, unsigned long blocknr, + tid_t seq) { struct list_head *hash_list; struct jbd_revoke_record_s *record;
1999 Aug 14
1
HPUX shared memory creates error (PR#19573)
...sv.c.fixed Tue Aug 10 16:08:16 1999 @@ -536,6 +536,8 @@ union semun su; int i; pid_t pid; + struct passwd *root_pwd = sys_getpwuid((uid_t)0); + gid_t root_gid = root_pwd ? root_pwd->pw_gid : (gid_t)0; read_only = ronly; @@ -593,8 +595,8 @@ hash_size = sem_ds.sem_nsems-1; if (!read_only) { - if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != 0) { - DEBUG(0,("ERROR: root did not create the semaphore\n")); + if (sem_ds.sem_perm.cuid != 0 || ((sem_ds.sem_perm.cgid != root_...
1999 Oct 23
3
semaphores and Solaris 7 8/99
I just installed the 8/99 release of Solaris 7 on three Sun Ultra 10's and it seems to have broken Samba. I am running Samba 2.0.5a and it works fine on an Ultra 10 running the 5/99 release of Solaris 7. All of the Ultra 10's are using the 64 bit kernel. This is the errors that I am getting. [1999/10/22 21:09:56, 0] locking/shmem_sysv.c:sysv_shm_open(597) ERROR: root did not create the
2018 Jun 17
3
Connection problem due to tdb_lock failed
We are using Samba 4.6.15. We have users not being able to login. winbindd log shows this: [2018/06/14 14:48:44.300203, 0, pid=3228] ../source3/rpc_client/cli_pipe.c:3292(cli_rpc_pipe_open_schannel_with_creds) netlogon_creds_cli_get returned NT_STATUS_UNSUCCESSFUL [2018/06/14 14:53:43.896350, 0, pid=3228] ../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log)