Michael Adam
0b87f210f1
s3:libads: use lock_path for creating paths to local krb5.conf files
...
instead of manually doing an asprintf with lp_lockdir()
Michael
squash
2009-01-16 01:02:22 +01:00
Michael Adam
37c77643f9
s3:libads: give create_local_private_krb5_conf_for_domain() a common exit point
...
Michael
2009-01-16 01:02:22 +01:00
Michael Adam
2fb694df23
s3:vfs_xattr_tdb: don't leak state_path() to talloc_tos in xattr_tdb_init().
...
Michael
2009-01-16 01:02:21 +01:00
Michael Adam
26e5e4f6fd
s3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database()
...
Michael
2009-01-16 01:02:21 +01:00
Michael Adam
2f06192523
s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init()
...
Michael
2009-01-16 01:02:21 +01:00
Jeremy Allison
660d7794b6
Fix bug #6040 - Missing <th> header in Status page.
...
Based on a patch from pkg-samba-maint@lists.alioth.debian.org .
Jeremy.
2009-01-15 15:55:17 -08:00
Jeremy Allison
6fd867f036
Allow reinit_after_fork to be called safely from within swat and other binaries that don't have
...
an event context or a msg context. Fixes crash bug in swat.
Jeremy.
2009-01-15 15:52:41 -08:00
Günther Deschner
9361c73c2f
winreg: fix winreg_EnumValue callers.
...
Guenther
2009-01-16 00:28:46 +01:00
Günther Deschner
b9d9832cc3
s3: re-run make samba3-idl.
...
Guenther
2009-01-16 00:28:46 +01:00
Günther Deschner
c3ac9a2977
winreg: fix winreg_EnumValue by re-adding winreg_ValNameBuf from 3.3/3.2.
...
This fixes viewing samba registry with windows tools like regedit and eventviewer.
Michael, Jelmer, please check.
Guenther
2009-01-16 00:28:46 +01:00
Günther Deschner
87fec1450f
lib: add strlen_m_term_null from s3.
...
Guenther
2009-01-16 00:28:45 +01:00
Günther Deschner
64d8eb0cee
s3-util: for convenience, provide format comments in tdb_unpack().
...
Guenther
2009-01-16 00:28:45 +01:00
Günther Deschner
0d2c0da7d2
s3-eventlog: remove whitespace.
...
Guenther
2009-01-16 00:28:45 +01:00
Günther Deschner
6dc18f2cab
s3-eventlog: some minor code cleanup in eventlog server.
...
Guenther
2009-01-16 00:28:45 +01:00
Günther Deschner
288c469195
s4-smbtorture: fix RPC-EVENTLOG test.
...
Guenther
2009-01-16 00:28:44 +01:00
Simo Sorce
6c5a1b0372
Fix LDB_MODULESDIR for ldb standalone builds
2009-01-15 18:05:45 -05:00
Tim Prouty
efc487b80a
librpc: Re-run make idl_full
2009-01-15 14:53:10 -08:00
Tim Prouty
c59ec17ddd
librpc: Change a uint16 to use the max property instead of range
...
This fixes a "comparison is always false due to limited range of data
type" warning
2009-01-15 14:52:35 -08:00
Tim Prouty
7c861cac53
pidl: Add max property to be used instead of range for unsigned types.
...
Compilers complain about ranges starting at 0 for unsigned types,
since an unsigned type is never less than 0. The max property
implicitly makes 0 the lower bound when used with unsigned types.
2009-01-15 14:52:35 -08:00
Stefan Metzmacher
3913d0a205
packaging(RHEL-CTDB): export CC - really use ccache...
...
metze
Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-15 22:58:25 +01:00
Michael Adam
39ec8791f8
s3: make better use of ccache by not including version.h in every C-file.
...
version.h changes rather frequently. Since it is included via includes.h,
this means each C file will be a cache miss. This applies to the following
situations:
* When building a new package with a new Samba version
* building in a git branch after calling mkversion.sh
after a new commit (i.e. virtually always)
This patch improves the situation in the following way:
* remove inlude "version.h" from includes.h
* Use samba_version_string() instead of SAMBA_VERSION_STRING
in files that use no other macro from version.h instead of
SAMBA_VERSION_STRING.
* explicitly include "version.h" in those files that use more
macros from "version.h" than just SAMBA_VERSION_STRING.
Michael
2009-01-15 22:56:01 +01:00
Jelmer Vernooij
da656c2e87
Use AS_HELP_STRING() in a couple more places.
2009-01-15 21:22:34 +01:00
Jelmer Vernooij
0cbce777a3
Fix indentation for some configure options.
2009-01-15 21:17:56 +01:00
Jelmer Vernooij
2d85e23e06
python/param: Cope with lp configfile being NULL.
2009-01-15 21:16:31 +01:00
Jeremy Allison
354a2e03ab
Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails.
...
Jeremy.
2009-01-15 10:29:34 -08:00
Kai Blin
a0abb933d2
s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.
2009-01-15 10:35:00 +01:00
Kai Blin
ec93fd6b0c
s4 torture: Add another wbinfo test and fix a typo in another one
2009-01-15 10:35:00 +01:00
Jeremy Allison
907f085296
Remove smbclient globals that bled into clidfs.c. Now we only have
...
the connections list and authentication structures to worry about.
Jeremy
2009-01-14 16:08:19 -08:00
Jeremy Allison
592ee76341
Fix build of netapi.
...
Jeremy.
2009-01-14 14:33:46 -08:00
Jeremy Allison
2c0a802cf8
Remove another global from clidfs that is only used in client.c.
...
Jeremy.
2009-01-14 14:26:56 -08:00
Jeremy Allison
b3e6247a9e
Fix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery.
...
Jeremy.
2009-01-14 13:17:38 -08:00
Bo Yang
e3ef19b9b9
Fix bug in get_dc_name_via_netlogon(), null pointer refrence.
2009-01-14 11:47:45 -08:00
Jeremy Allison
9aa385a090
Clean up comments a little.
...
Jeremy.
2009-01-14 11:12:52 -08:00
Bo Yang
54325f7ed5
Don't send message to any other child in child process.
...
Signed-off-by: Bo Yang <boyang@novell.com>
2009-01-14 10:42:02 -08:00
Volker Lendecke
8c983af56d
Make rpc_read look like a real read call
...
It doesn't really need to know about prs_structs
2009-01-14 17:08:40 +01:00
Volker Lendecke
e1aeb486e8
Make rpc_read() match the control flow normally used in Samba
...
Replace do { .. } while () with a while () { .. }
2009-01-14 17:08:40 +01:00
Volker Lendecke
11e3388083
Simplify rpc_read a bit
...
rpc_read always reads the whole bytes it was asked to read. So it is not really
necessary for it to update the current_pdu_offset, for clarity this can better
be done in the caller.
2009-01-14 17:08:39 +01:00
Volker Lendecke
15dd11b31e
Remove an unnecessary size check
...
rpc_read is only ever called with at most fraglen-RPC_HEADER_SIZE length
2009-01-14 17:08:39 +01:00
Volker Lendecke
274f575b24
Check the fragment size the server has sent us
2009-01-14 17:08:39 +01:00
Volker Lendecke
583d7913c8
Slightly simplify rpc_read: It should not do the resize
2009-01-14 17:08:39 +01:00
Volker Lendecke
87f9f0b01a
Always read with offset 0 from a named pipe
2009-01-14 17:08:39 +01:00
Günther Deschner
990491d187
s3-eventlog: fix ps struct removal leftover.
...
Guenther
2009-01-14 10:53:04 +01:00
Günther Deschner
8721ad5f60
s3: re-run make samba3-idl.
...
Guenther
2009-01-14 10:19:31 +01:00
Günther Deschner
76f137b908
eventlog: more eventlog record idl fixes.
...
- treat eventlogEventTypes as an enum.
- do not align the full eventlog entry.
- set range on number of strings according to docs.
- make a little more obvious what the reserved field stands for.
Guenther
2009-01-14 10:18:51 +01:00
Günther Deschner
a950242143
s3-rpcclient: always parse the full eventlog entry.
...
Guenther
2009-01-14 10:18:14 +01:00
Günther Deschner
df8b724819
s3-eventlog: use main talloc context in eventlog read call.
...
Guenther
2009-01-14 10:18:14 +01:00
Günther Deschner
af9f7a39f0
s4-smbtorture: also test for invalid flags in eventlog test_ReadEventLog.
...
Guenther
2009-01-14 10:18:13 +01:00
Günther Deschner
4994956ad0
s4-smbtorture: pure cosmetic cleanup of eventlog test.
...
Guenther
2009-01-14 10:18:13 +01:00
Kai Blin
9874c9eff7
s4 torture: Fix the wbinfo blackbox tests
2009-01-14 08:25:52 +01:00
Andrew Bartlett
96b1b8b94a
Fix error message in mkrelease to refer to source4, not source
2009-01-14 15:06:39 +11:00