svn commit: samba-web r1015 - in trunk: . history
Author: jerry Date: 2006-07-22 02:12:04 + (Sat, 22 Jul 2006) New Revision: 1015 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=1015 Log: announcing 3.0.23a -- email announcements to come tomorrow morning Added: trunk/history/samba-3.0.23a.html Modified: trunk/header_columns.html trunk/index.html Changeset: Sorry, the patch is too large (7005 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=1015
svn commit: samba r17183 - in branches: SAMBA_3_0/source/rpc_server SAMBA_3_0_23/source/rpc_server
Author: jerry Date: 2006-07-22 00:53:19 + (Sat, 22 Jul 2006) New Revision: 17183 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17183 Log: LsaLookupSids() shoudl return the string form of a SID when it cannot be mapped and not the hex of the RID. Who wrote that? Modified: branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c branches/SAMBA_3_0_23/source/rpc_server/srv_lsa_nt.c Changeset: Modified: branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c === --- branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c 2006-07-22 00:52:28 UTC (rev 17182) +++ branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c 2006-07-22 00:53:19 UTC (rev 17183) @@ -873,8 +873,9 @@ if (name->type == SID_NAME_UNKNOWN) { name->dom_idx = -1; - name->name = talloc_asprintf(p->mem_ctx, "%8.8x", -name->rid); + /* unknown sids should return the string representation of the SID */ + name->name = talloc_asprintf(p->mem_ctx, "%s", + sid_string_static(sids[i])); if (name->name == NULL) { return NT_STATUS_NO_MEMORY; } Modified: branches/SAMBA_3_0_23/source/rpc_server/srv_lsa_nt.c === --- branches/SAMBA_3_0_23/source/rpc_server/srv_lsa_nt.c2006-07-22 00:52:28 UTC (rev 17182) +++ branches/SAMBA_3_0_23/source/rpc_server/srv_lsa_nt.c2006-07-22 00:53:19 UTC (rev 17183) @@ -873,8 +873,9 @@ if (name->type == SID_NAME_UNKNOWN) { name->dom_idx = -1; - name->name = talloc_asprintf(p->mem_ctx, "%8.8x", -name->rid); + /* unknown sids should return the string representation of the SID */ + name->name = talloc_asprintf(p->mem_ctx, "%s", + sid_string_static(sids[i])); if (name->name == NULL) { return NT_STATUS_NO_MEMORY; }
svn commit: samba r17182 - in branches/SAMBA_3_0_23/source: .
Author: jerry Date: 2006-07-22 00:52:28 + (Sat, 22 Jul 2006) New Revision: 17182 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17182 Log: setting version to 3.0.23b Modified: branches/SAMBA_3_0_23/source/VERSION Changeset: Modified: branches/SAMBA_3_0_23/source/VERSION === --- branches/SAMBA_3_0_23/source/VERSION2006-07-21 22:02:54 UTC (rev 17181) +++ branches/SAMBA_3_0_23/source/VERSION2006-07-22 00:52:28 UTC (rev 17182) @@ -37,7 +37,7 @@ # e.g. SAMBA_VERSION_REVISION=a# # -> "2.2.8a"# -SAMBA_VERSION_REVISION=a +SAMBA_VERSION_REVISION=b # For 'pre' releases the version will be #
Build status as of Sat Jul 22 00:00:02 2006
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2006-07-21 00:00:09.0 + +++ /home/build/master/cache/broken_results.txt 2006-07-22 00:00:19.0 + @@ -1,18 +1,18 @@ -Build status as of Fri Jul 21 00:00:02 2006 +Build status as of Sat Jul 22 00:00:02 2006 Build counts: Tree Total Broken Panic SOC 0 0 0 -ccache 33 6 0 -distcc 27 2 0 +ccache 27 4 0 +distcc 29 2 0 lorikeet-heimdal 0 0 0 ppp 17 0 0 -rsync27 0 0 -samba3 0 0 +rsync31 1 0 +samba0 0 0 samba-docs 0 0 0 -samba4 38 26 4 -samba_3_036 23 1 -smb-build24 24 0 -talloc 31 12 0 -tdb 28 9 0 +samba4 38 25 4 +samba_3_036 15 1 +smb-build23 23 0 +talloc 31 11 0 +tdb 28 10 0
svn commit: samba r17181 - in branches/SAMBA_3_0/source/locking: .
Author: jra Date: 2006-07-21 22:02:54 + (Fri, 21 Jul 2006) New Revision: 17181 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17181 Log: Fix the build farm RAW-READ bug. When making a copy of the lock array in order to delete them individually it's also important to make a copy of the *size* of this array. Otherwise the unlock decrements the termination index of your for loop :-). Doh ! Big thanks to Volker for showing me how to set up the build farm to track this one down. This is not a 3.0.23a issue. Jeremy. Modified: branches/SAMBA_3_0/source/locking/brlock.c Changeset: Modified: branches/SAMBA_3_0/source/locking/brlock.c === --- branches/SAMBA_3_0/source/locking/brlock.c 2006-07-21 16:26:25 UTC (rev 17180) +++ branches/SAMBA_3_0/source/locking/brlock.c 2006-07-21 22:02:54 UTC (rev 17181) @@ -1243,14 +1243,16 @@ if (unlock_individually) { struct lock_struct *locks_copy; + unsigned int num_locks_copy; /* Copy the current lock array. */ locks_copy = TALLOC_MEMDUP(br_lck, locks, br_lck->num_locks * sizeof(struct lock_struct)); if (!locks_copy) { smb_panic("brl_close_fnum: talloc fail.\n"); } + num_locks_copy = br_lck->num_locks; - for (i=0; i < br_lck->num_locks; i++) { + for (i=0; i < num_locks_copy; i++) { struct lock_struct *lock = &locks_copy[i]; if (lock->context.tid == tid && procid_equal(&lock->context.pid, &pid) &&
Rev 9125: Import initial work on supporting torture tests writting in EJS. in file:///home/jelmer/bzr.samba/4.0-ejstorture/
revno: 9125 revision-id: [EMAIL PROTECTED] parent: svn-v1:[EMAIL PROTECTED] committer: Jelmer Vernooij <[EMAIL PROTECTED]> branch nick: libndr timestamp: Fri 2006-07-21 23:12:44 +0200 message: Import initial work on supporting torture tests writting in EJS. added: source/torture/ejs.c ejs.c-20060721211210-mac4tvapqcxrorkr-1 modified: source/torture/config.mk svn-v1:[EMAIL PROTECTED]
svn commit: samba r17180 - in tags: .
Author: jerry Date: 2006-07-21 16:26:25 + (Fri, 21 Jul 2006) New Revision: 17180 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17180 Log: tagging 3.0.23a Added: tags/release-3-0-23a/ Changeset: Copied: tags/release-3-0-23a (from rev 17179, branches/SAMBA_3_0_RELEASE)
svn commit: samba r17179 - in branches/SAMBA_3_0/source: . include lib modules smbd
Author: jmcd Date: 2006-07-21 15:51:34 + (Fri, 21 Jul 2006) New Revision: 17179 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17179 Log: Merge the vl-posixacls tmp branch into mainline. It modularizes our interface into the special posix API used on the system. Without this patch the specific API flavor is determined at compile time, something which severely limits usability on systems with more than one file system. Our first targets are AIX with its JFS and JFS2 APIs, at a later stage also GPFS. But it's certainly not limited to IBM stuff, this abstraction is also necessary for anything that copes with NFSv4 ACLs. For this we will check in handling very soon. Major contributions can be found in the copyright notices as well as the checkin log of the vl-posixacls branch. The final merge to 3_0 post-3.0.23 was done by Peter Somogyi <[EMAIL PROTECTED]> Added: branches/SAMBA_3_0/source/modules/vfs_aixacl.c branches/SAMBA_3_0/source/modules/vfs_aixacl_util.c branches/SAMBA_3_0/source/modules/vfs_hpuxacl.c branches/SAMBA_3_0/source/modules/vfs_irixacl.c branches/SAMBA_3_0/source/modules/vfs_posixacl.c branches/SAMBA_3_0/source/modules/vfs_solarisacl.c branches/SAMBA_3_0/source/modules/vfs_tru64acl.c Modified: branches/SAMBA_3_0/source/Makefile.in branches/SAMBA_3_0/source/configure.in branches/SAMBA_3_0/source/include/smb_acls.h branches/SAMBA_3_0/source/lib/sysacls.c branches/SAMBA_3_0/source/modules/vfs_default.c branches/SAMBA_3_0/source/smbd/posix_acls.c Changeset: Sorry, the patch is too large (6110 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17179
svn commit: samba r17178 - in branches/tmp/vl-messaging/source/lib: .
Author: ab Date: 2006-07-21 14:24:53 + (Fri, 21 Jul 2006) New Revision: 17178 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17178 Log: Copy&paste bug with file name Modified: branches/tmp/vl-messaging/source/lib/dbwrap_msg.c Changeset: Modified: branches/tmp/vl-messaging/source/lib/dbwrap_msg.c === --- branches/tmp/vl-messaging/source/lib/dbwrap_msg.c 2006-07-21 14:13:30 UTC (rev 17177) +++ branches/tmp/vl-messaging/source/lib/dbwrap_msg.c 2006-07-21 14:24:53 UTC (rev 17178) @@ -742,7 +742,7 @@ TALLOC_FREE(dbl); return ; } - dbl->db = tdb_open_log(lock_path(name), + dbl->db = tdb_open_log(lock_path(buf), lp_open_files_db_hash_size(), TDB_DEFAULT| TDB_CLEAR_IF_FIRST, O_RDWR|O_CREAT,
svn commit: samba r17177 - in branches/SAMBA_3_0/source: include locking rpc_server utils web
Author: vlendec Date: 2006-07-21 14:13:30 + (Fri, 21 Jul 2006) New Revision: 17177 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17177 Log: Get rid of a global variable by adding a private data pointer to share_mode_forall(). Volker Modified: branches/SAMBA_3_0/source/include/locking.h branches/SAMBA_3_0/source/locking/locking.c branches/SAMBA_3_0/source/rpc_server/srv_srvsvc_nt.c branches/SAMBA_3_0/source/utils/status.c branches/SAMBA_3_0/source/web/statuspage.c Changeset: Modified: branches/SAMBA_3_0/source/include/locking.h === --- branches/SAMBA_3_0/source/include/locking.h 2006-07-21 10:34:10 UTC (rev 17176) +++ branches/SAMBA_3_0/source/include/locking.h 2006-07-21 14:13:30 UTC (rev 17177) @@ -67,12 +67,6 @@ enum brl_flavour lock_flav, \ br_off start, br_off size) -#define LOCKING_FN_CAST() \ - void (*)(struct share_mode_entry *, const char *, const char *) - -#define LOCKING_FN(fn) \ - void (*fn)(struct share_mode_entry *, const char *, const char *) - /* Internal structure in brlock.tdb. The data in brlock records is an unsorted linear array of these records. It is unnecessary to store the count as tdb provides the Modified: branches/SAMBA_3_0/source/locking/locking.c === --- branches/SAMBA_3_0/source/locking/locking.c 2006-07-21 10:34:10 UTC (rev 17176) +++ branches/SAMBA_3_0/source/locking/locking.c 2006-07-21 14:13:30 UTC (rev 17177) @@ -1249,15 +1249,23 @@ return True; } +struct forall_state { + void (*fn)(const struct share_mode_entry *entry, + const char *sharepath, + const char *fname, + void *private_data); + void *private_data; +}; + static int traverse_fn(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, - void *state) + void *_state) { + struct forall_state *state = (struct forall_state *)_state; struct locking_data *data; struct share_mode_entry *shares; const char *sharepath; const char *fname; int i; - LOCKING_FN(traverse_callback) = (LOCKING_FN_CAST())state; /* Ensure this is a locking_key record. */ if (kbuf.dsize != sizeof(struct locking_key)) @@ -1274,7 +1282,8 @@ strlen(sharepath) + 1; for (i=0;iu.s.num_share_mode_entries;i++) { - traverse_callback(&shares[i], sharepath, fname); + state->fn(&shares[i], sharepath, fname, + state->private_data); } return 0; } @@ -1284,9 +1293,17 @@ share mode system. / -int share_mode_forall(void (*fn)(const struct share_mode_entry *, const char *, const char *)) +int share_mode_forall(void (*fn)(const struct share_mode_entry *, const char *, +const char *, void *), + void *private_data) { + struct forall_state state; + if (tdb == NULL) return 0; - return tdb_traverse(tdb, traverse_fn, (void *)fn); + + state.fn = fn; + state.private_data = private_data; + + return tdb_traverse(tdb, traverse_fn, (void *)&state); } Modified: branches/SAMBA_3_0/source/rpc_server/srv_srvsvc_nt.c === --- branches/SAMBA_3_0/source/rpc_server/srv_srvsvc_nt.c2006-07-21 10:34:10 UTC (rev 17176) +++ branches/SAMBA_3_0/source/rpc_server/srv_srvsvc_nt.c2006-07-21 14:13:30 UTC (rev 17177) @@ -123,7 +123,8 @@ static struct file_enum_count f_enum_cnt; static void enum_file_fn( const struct share_mode_entry *e, - const char *sharepath, const char *fname ) + const char *sharepath, const char *fname, + void *dummy ) { struct file_enum_count *fenum = &f_enum_cnt; @@ -191,7 +192,7 @@ f_enum_cnt.count = *count; f_enum_cnt.info = *info; - share_mode_forall( enum_file_fn ); + share_mode_forall( enum_file_fn, NULL ); *info = f_enum_cnt.info; *count = f_enum_cnt.count; @@ -802,13 +803,11 @@ /*** / -/* global needed to make use of the share_mode_forall() callback */ -static struct sess_file_count s_file_cnt; - static void sess_file_fn( const struct share_mode_entry *e, - const char *sharepath, const char *fname ) + const char *sharepath, const char *fname, + void *private_data ) { - struct sess_file_count *s
svn commit: samba-web r1014 - in trunk/vendors: .
Author: deryck Date: 2006-07-21 12:39:01 + (Fri, 21 Jul 2006) New Revision: 1014 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=1014 Log: Update vendor entry and image. deryck Modified: trunk/vendors/lantime.html trunk/vendors/lantime.jpg Changeset: Modified: trunk/vendors/lantime.html === --- trunk/vendors/lantime.html 2006-07-21 12:27:51 UTC (rev 1013) +++ trunk/vendors/lantime.html 2006-07-21 12:39:01 UTC (rev 1014) @@ -1,8 +1,8 @@ - - + + @@ -12,7 +12,10 @@ The Meinberg LANTIME systems rely on the power of open source software like Samba, GNU/Linux and NTP and we are very thankful for the very good work the open source community is doing every day. -You can find more information about Meinberg Radio Clocks and our products by visiting our http://www.meinberg.de/english/products/time-server.htm";>website. Or write mail to mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]. We will gladly assist you. +You can find more information about Meinberg Radio Clocks +and the LANTIME http://www.meinberg.de/english/products/time-server.htm";>time +server on our website. Or write mail to mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]. We will +gladly assist you. Modified: trunk/vendors/lantime.jpg === (Binary files differ)
svn commit: samba-web r1013 - in trunk/support: .
Author: deryck Date: 2006-07-21 12:27:51 + (Fri, 21 Jul 2006) New Revision: 1013 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=1013 Log: Two support provider updates. One new entry. deryck Modified: trunk/support/germany.html trunk/support/indonesia.html trunk/support/italy.html Changeset: Modified: trunk/support/germany.html === --- trunk/support/germany.html 2006-07-11 14:27:02 UTC (rev 1012) +++ trunk/support/germany.html 2006-07-21 12:27:51 UTC (rev 1013) @@ -141,7 +141,28 @@ + +Giessen + +Fink Computer Systeme +Heggraben Str. 9 +35435 Wettenberg + +Mail mailto:[EMAIL PROTECTED]">info_at_fink-computer_dot_de +Web http://www.fink-computer.de/";>http://www.fink-computer.de/ +Fon +49-641-980193 +Fax +49-641-980195 + +20 Jahre Erfahrung im Umgang mit grossen Strukturen +sowie Betreuung von Privatkunden sind hier vorhanden. +Dadurch koennen wir auf einen breites Detailwissen zurueckgreifen. +Von ERP, SMB, Mail, VPN oder Packetfilterung +bis zur Infrastruktur allgemein, sind wir Ihr Partner. + + + + Göttingen SerNet Modified: trunk/support/indonesia.html === --- trunk/support/indonesia.html2006-07-11 14:27:02 UTC (rev 1012) +++ trunk/support/indonesia.html2006-07-21 12:27:51 UTC (rev 1013) @@ -5,19 +5,19 @@ Commercial Support - Indonesia - + Jakarta -KEANT SYSTEMS -Kemanggisan Raya No. 59 -Phone. +62 21 536 4320 -Fax. +62 21 536 4320 -Kemanggisan -Jakarta 11480 -Indonesia +Keant Systems +Ruko Taman Kedoya Indah RB 8D +Jl. Kedoya Kembangan Raya +Jakarta 11520 +DKI Jakarta - Indonesia -web: http://www.keant.com";>http://www.keant.com -email : mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] +Phone: +62 21 5835 5150 +Fax: +62 21 5835 5150 +Email: mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] +Web: http://www.keant.com";>http://www.keant.com Modified: trunk/support/italy.html === --- trunk/support/italy.html2006-07-11 14:27:02 UTC (rev 1012) +++ trunk/support/italy.html2006-07-21 12:27:51 UTC (rev 1013) @@ -5,7 +5,7 @@ Commercial Support - Italy - + Bologna @@ -15,7 +15,7 @@ Italy Tel. +39 051.538.709 Fax + 39 051.532.399 -Contact: Diego Ercolani +Contact: Luca Bolcioni e-mail: mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] www: http://www.yacme.com";>http://www.yacme.com http://www.yacme.it";>http://www.yacme.it "The Way to your System's Solution"
svn commit: samba r17176 - in branches/SAMBA_4_0/source/lib/talloc: .
Author: metze Date: 2006-07-21 10:34:10 + (Fri, 21 Jul 2006) New Revision: 17176 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17176 Log: remove off_t from talloc. size_t is large enough to hold the max amount of memory of one process metze Modified: branches/SAMBA_4_0/source/lib/talloc/config.m4 branches/SAMBA_4_0/source/lib/talloc/talloc.3.xml branches/SAMBA_4_0/source/lib/talloc/talloc.c branches/SAMBA_4_0/source/lib/talloc/talloc.h branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt Changeset: Modified: branches/SAMBA_4_0/source/lib/talloc/config.m4 === --- branches/SAMBA_4_0/source/lib/talloc/config.m4 2006-07-21 08:27:37 UTC (rev 17175) +++ branches/SAMBA_4_0/source/lib/talloc/config.m4 2006-07-21 10:34:10 UTC (rev 17176) @@ -8,9 +8,7 @@ AC_CHECK_TYPE(intptr_t, unsigned long long) AC_CHECK_HEADERS(stdint.h stdarg.h unistd.h sys/types.h) -AC_CHECK_SIZEOF(off_t,cross) AC_CHECK_SIZEOF(size_t,cross) -AC_CHECK_SIZEOF(ssize_t,cross) AC_CHECK_SIZEOF(void *,cross) if test $ac_cv_sizeof_size_t -lt $ac_cv_sizeof_void_p; then Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.3.xml === --- branches/SAMBA_4_0/source/lib/talloc/talloc.3.xml 2006-07-21 08:27:37 UTC (rev 17175) +++ branches/SAMBA_4_0/source/lib/talloc/talloc.3.xml 2006-07-21 10:34:10 UTC (rev 17176) @@ -364,7 +364,7 @@ data if you do this. -off_t talloc_total_size(const void *ptr); +size_t talloc_total_size(const void *ptr); The talloc_total_size() function returns the total size in bytes used by this pointer and all child pointers. Mostly useful for @@ -376,7 +376,7 @@ talloc_enable_leak_report_full() has been called. -off_t talloc_total_blocks(const void *ptr); +size_t talloc_total_blocks(const void *ptr); The talloc_total_blocks() function returns the total memory block count used by this pointer and all child pointers. Mostly useful Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.c === --- branches/SAMBA_4_0/source/lib/talloc/talloc.c 2006-07-21 08:27:37 UTC (rev 17175) +++ branches/SAMBA_4_0/source/lib/talloc/talloc.c 2006-07-21 10:34:10 UTC (rev 17176) @@ -735,11 +735,11 @@ /* return the total size of a talloc pool (subtree) */ -off_t talloc_total_size(const void *ptr) +size_t talloc_total_size(const void *ptr) { - off_t total = 0; + size_t total = 0; struct talloc_chunk *c, *tc; - + if (ptr == NULL) { ptr = null_context; } @@ -768,9 +768,9 @@ /* return the total number of blocks in a talloc pool (subtree) */ -off_t talloc_total_blocks(const void *ptr) +size_t talloc_total_blocks(const void *ptr) { - off_t total = 0; + size_t total = 0; struct talloc_chunk *c, *tc = talloc_chunk_from_ptr(ptr); if (tc->flags & TALLOC_FLAG_LOOP) { Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.h === --- branches/SAMBA_4_0/source/lib/talloc/talloc.h 2006-07-21 08:27:37 UTC (rev 17175) +++ branches/SAMBA_4_0/source/lib/talloc/talloc.h 2006-07-21 10:34:10 UTC (rev 17176) @@ -119,8 +119,8 @@ int talloc_free(void *ptr); void *_talloc_realloc(const void *context, void *ptr, size_t size, const char *name); void *_talloc_steal(const void *new_ctx, const void *ptr); -off_t talloc_total_size(const void *ptr); -off_t talloc_total_blocks(const void *ptr); +size_t talloc_total_size(const void *ptr); +size_t talloc_total_blocks(const void *ptr); void talloc_report_full(const void *ptr, FILE *f); void talloc_report(const void *ptr, FILE *f); void talloc_enable_null_tracking(void); Modified: branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt === --- branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt 2006-07-21 08:27:37 UTC (rev 17175) +++ branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt 2006-07-21 10:34:10 UTC (rev 17176) @@ -318,7 +318,7 @@ talloc_steal (new_ctx, NULL) will return NULL with no sideeffects. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -off_t talloc_total_size(const void *ptr); +size_t talloc_total_size(const void *ptr); The talloc_total_size() function returns the total size in bytes used by this pointer and all child pointers. Mostly useful for debugging. @@ -329,7 +329,7 @@ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -off_t talloc_total_blocks(const void *ptr); +size_t talloc_total_blocks(const void *ptr); The talloc_total_blocks() function returns the total memory block count used by thi
svn commit: samba r17175 - in branches/tmp/vl-messaging/source/utils: .
Author: ab Date: 2006-07-21 08:27:37 + (Fri, 21 Jul 2006) New Revision: 17175 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17175 Log: When locking type is 'messages' we have to initialize messaging before locking. Reported by Chris Cowan Modified: branches/tmp/vl-messaging/source/utils/status.c Changeset: Modified: branches/tmp/vl-messaging/source/utils/status.c === --- branches/tmp/vl-messaging/source/utils/status.c 2006-07-21 07:23:07 UTC (rev 17174) +++ branches/tmp/vl-messaging/source/utils/status.c 2006-07-21 08:27:37 UTC (rev 17175) @@ -318,6 +318,8 @@ break; } + message_init(); + if ( show_processes ) { tdb = tdb_open_log(lock_path("sessionid.tdb"), 0, TDB_DEFAULT, O_RDONLY, 0); if (!tdb) { @@ -331,8 +333,10 @@ tdb_close(tdb); } - if (processes_only) - exit(0); + if (processes_only) { + message_end(); + exit(0); + } } if ( show_shares ) { @@ -357,8 +361,10 @@ d_printf("\n"); } - if ( shares_only ) + if ( shares_only ) { + message_end(); exit(0); + } } if ( show_locks ) { @@ -386,5 +392,7 @@ locking_end(); } + message_end(); + return (0); }
svn commit: samba r17174 - in branches/SAMBA_4_0/source/lib/tls: .
Author: abartlet Date: 2006-07-21 07:23:07 + (Fri, 21 Jul 2006) New Revision: 17174 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17174 Log: Enable gnutls code, which requires the HAVE_GNUTLS CPP macro. Andrew Bartlett Modified: branches/SAMBA_4_0/source/lib/tls/config.m4 Changeset: Modified: branches/SAMBA_4_0/source/lib/tls/config.m4 === --- branches/SAMBA_4_0/source/lib/tls/config.m4 2006-07-21 02:05:45 UTC (rev 17173) +++ branches/SAMBA_4_0/source/lib/tls/config.m4 2006-07-21 07:23:07 UTC (rev 17174) @@ -16,5 +16,8 @@ fi SMB_EXT_LIB(GNUTLS, $GNUTLS_LIBS) fi +if test x$SMB_ENABLE_GNUTLS = xYES; then + AC_DEFINE(HAVE_LIBGNUTLS,1,[Whether we have gnutls support (SSL)]) +fi # end SMB_EXT_LIB_GNUTLS ###