14 years agos3-samr: Do not return users in _samr_QueryDisplayInfo() for builtin domain.
Günther Deschner [Thu, 7 May 2009 16:40:39 +0000 (18:40 +0200)]
s3-samr: Do not return users in _samr_QueryDisplayInfo() for builtin domain.

Found by torture test.


14 years agos3-samr: let set_user_info_16 and 20 follow the same pattern as all other levels.
Günther Deschner [Thu, 7 May 2009 19:45:51 +0000 (21:45 +0200)]
s3-samr: let set_user_info_16 and 20 follow the same pattern as all other levels.


14 years agos3-samr: support some more info levels in samr_SetUserInfo calls.
Günther Deschner [Thu, 7 May 2009 15:06:26 +0000 (17:06 +0200)]
s3-samr: support some more info levels in samr_SetUserInfo calls.


14 years agos3-samr: support some more info levels in samr_QueryUser calls.
Günther Deschner [Thu, 7 May 2009 15:05:49 +0000 (17:05 +0200)]
s3-samr: support some more info levels in samr_QueryUser calls.


14 years agos3/ldap: also handle DirX return codes
Björn Jacke [Thu, 7 May 2009 15:50:34 +0000 (17:50 +0200)]
s3/ldap: also handle DirX return codes

14 years agos3:configure: "test" only takes one "="
Björn Jacke [Sat, 4 Apr 2009 09:21:01 +0000 (11:21 +0200)]
s3:configure: "test" only takes one "="

14 years agoFix some type-punned warnings
Volker Lendecke [Thu, 7 May 2009 21:07:55 +0000 (23:07 +0200)]
Fix some type-punned warnings

14 years agoRemove a misleading comment
Volker Lendecke [Wed, 6 May 2009 13:12:27 +0000 (15:12 +0200)]
Remove a misleading comment

14 years agoFix some nonempty blank lines
Volker Lendecke [Thu, 7 May 2009 21:25:49 +0000 (23:25 +0200)]
Fix some nonempty blank lines

14 years agoConvert lib/wb_reqtrans.c to unix calling conventions
Volker Lendecke [Wed, 6 May 2009 13:10:00 +0000 (15:10 +0200)]
Convert lib/wb_reqtrans.c to unix calling conventions

14 years agoAdapt wb_reqtrans to "recent" coding conventions
Volker Lendecke [Wed, 6 May 2009 12:52:17 +0000 (14:52 +0200)]
Adapt wb_reqtrans to "recent" coding conventions

14 years agos3-auth: use full 16byte session key in make_user_info_netlogon_interactive().
Günther Deschner [Thu, 7 May 2009 11:36:52 +0000 (13:36 +0200)]
s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().

Patch from Jeremy.

With this patch, I was able to join Windows 7 RC to a Samba3 DC, and login into a
Samba 3 Domain.

There are still two registry settings required:

            DWORD  DomainCompatibilityMode = 1
    DWORD  DNSNameResolutionRequired = 0

Do *not* modify the other netlogon registry parameters that were passed around,
they weaken security.

(cherry picked from commit b5097d54cb74ca0ea328f9e029562f65f4a01134)

14 years agoAsync API needs all parameters to be kept around until sent,
Jeremy Allison [Thu, 7 May 2009 17:01:28 +0000 (10:01 -0700)]
Async API needs all parameters to be kept around until sent,
ensure they're attached to the state structure. Thanks to Metze
for pointing this out.

14 years agoFix a typo
Volker Lendecke [Thu, 7 May 2009 14:24:54 +0000 (16:24 +0200)]
Fix a typo

14 years agoAdd simple test chaining up sesssetup and tcon
Volker Lendecke [Thu, 7 May 2009 14:24:46 +0000 (16:24 +0200)]
Add simple test chaining up sesssetup and tcon

14 years agoMake cli_tcon_andx chainable
Volker Lendecke [Thu, 7 May 2009 14:24:04 +0000 (16:24 +0200)]
Make cli_tcon_andx chainable

14 years agoMake cli_session_setup_guest chainable
Volker Lendecke [Thu, 7 May 2009 14:23:27 +0000 (16:23 +0200)]
Make cli_session_setup_guest chainable

14 years agos3-samr: Fix _samr_Connect5(). In error case it still needs to return empty info1.
Günther Deschner [Thu, 7 May 2009 12:19:43 +0000 (14:19 +0200)]
s3-samr: Fix _samr_Connect5(). In error case it still needs to return empty info1.


14 years agoFix missing backtick.
Praveen Arimbrathodiyil [Thu, 7 May 2009 12:16:19 +0000 (14:16 +0200)]
Fix missing backtick.

14 years agos3-rpcclient: rework enumdrivers call a bit to allow queries like win7 does.
Günther Deschner [Thu, 7 May 2009 11:35:00 +0000 (13:35 +0200)]
s3-rpcclient: rework enumdrivers call a bit to allow queries like win7 does.


14 years agos3-credentials: protect netlogon_creds_server_step() against NULL creds.
Günther Deschner [Thu, 7 May 2009 11:32:41 +0000 (13:32 +0200)]
s3-credentials: protect netlogon_creds_server_step() against NULL creds.

Found by SCHANNEL torture tests.


14 years agos3-selftest: run RPC-SCHANNEL, RPC-SCHANNEL2 and RPC-BENCH-SCHANNEL1 against Samba3.
Günther Deschner [Thu, 7 May 2009 11:06:03 +0000 (13:06 +0200)]
s3-selftest: run RPC-SCHANNEL, RPC-SCHANNEL2 and RPC-BENCH-SCHANNEL1 against Samba3.


14 years agos4-smbtorture: Avoid failing RPC-SCHANNEL when testing lsa_GetUserName behaviour...
Günther Deschner [Thu, 7 May 2009 11:05:13 +0000 (13:05 +0200)]
s4-smbtorture: Avoid failing RPC-SCHANNEL when testing lsa_GetUserName behaviour against Samba 3.


14 years agoFix bug 6336: "net groupmap set" segfaults
Volker Lendecke [Thu, 7 May 2009 08:09:32 +0000 (10:09 +0200)]
Fix bug 6336: "net groupmap set" segfaults

14 years agotevent: fix typo async_req_done() => tevent_req_done()
Stefan Metzmacher [Fri, 1 May 2009 15:45:39 +0000 (17:45 +0200)]
tevent: fix typo async_req_done() => tevent_req_done()


14 years agoMake cli_setatr async.
Jeremy Allison [Wed, 6 May 2009 23:13:42 +0000 (16:13 -0700)]
Make cli_setatr async.

14 years agoAfter getting confirmation from Guenther, add 3 changes we'll
Jeremy Allison [Wed, 6 May 2009 23:10:20 +0000 (16:10 -0700)]
After getting confirmation from Guenther, add 3 changes we'll
ultimately need to fix bug #6099 Samba returns incurrate capabilities list.
1). Add a comment to point out that r->in.negotiate_flags is an aliased pointer to
2). Ensure we return NETLOGON_NEG_STRONG_KEYS in our flags
return if the client requested it.
3). Clean up the error exits so we always return the same
Signed off by Guenther.

14 years agoMake cli_setattrE async.
Jeremy Allison [Wed, 6 May 2009 22:07:05 +0000 (15:07 -0700)]
Make cli_setattrE async.

14 years agos3-netlogon: Fix NETLOGON credential chain. Fixes Bug #6099 (Windows 7 joining Samba3...
Günther Deschner [Wed, 6 May 2009 17:29:01 +0000 (19:29 +0200)]
s3-netlogon: Fix NETLOGON credential chain. Fixes Bug #6099 (Windows 7 joining Samba3) and probably many, many more.

Jeremy, with 9a5d5cc1db0ee60486f932e34cd7961b90c70a56 you alter the in negotiate
flags (which are a pointer to the out negotiate flags assigned in the generated
netlogon server code). So, while you wanted to just set the *out* negflags, you
did in fact reset the *in* negflags, effectively eliminating the
NETLOGON_NEG_STRONG_KEYS bit (formerly known as NETLOGON_NEG_128BIT) which then
caused creds_server_init() to generate 64bit creds instead of 128bit, causing
the whole chain to break. *Please* check.


14 years agoAvoid --nonet when building manpages; xsltproc will already prefer local
Jelmer Vernooij [Wed, 6 May 2009 15:48:01 +0000 (17:48 +0200)]
Avoid --nonet when building manpages; xsltproc will already prefer local
stylesheets if they are installed.

14 years agos3/docs: Remove unnecessary .sp.
Karolin Seeger [Wed, 6 May 2009 14:06:59 +0000 (16:06 +0200)]
s3/docs: Remove unnecessary .sp.


14 years agos3-docs: Fix Bug #6331. Document "net dom join/net dom unjoin".
Günther Deschner [Wed, 6 May 2009 13:43:23 +0000 (15:43 +0200)]
s3-docs: Fix Bug #6331. Document "net dom join/net dom unjoin".


14 years agos3-docs: Fix "net eventlog dump" syntax in manpage.
Günther Deschner [Wed, 6 May 2009 13:43:00 +0000 (15:43 +0200)]
s3-docs: Fix "net eventlog dump" syntax in manpage.


14 years agoFix Coverity ID 897: REVERSE_INULL
Volker Lendecke [Wed, 6 May 2009 10:00:49 +0000 (12:00 +0200)]
Fix Coverity ID 897: REVERSE_INULL

14 years agos3-rpcclient: print more infolevels in printer and driver info levels.
Günther Deschner [Mon, 4 May 2009 15:25:41 +0000 (17:25 +0200)]
s3-rpcclient: print more infolevels in printer and driver info levels.


14 years agos3-printing: fix debug statement in virtual registry layer
Günther Deschner [Wed, 6 May 2009 08:20:52 +0000 (10:20 +0200)]
s3-printing: fix debug statement in virtual registry layer


14 years agos3-printing: simplify print_queue helper functions and return WERROR.
Günther Deschner [Tue, 5 May 2009 23:10:33 +0000 (01:10 +0200)]
s3-printing: simplify print_queue helper functions and return WERROR.


14 years agoMake cli_getatr() async.
Jeremy Allison [Wed, 6 May 2009 03:59:22 +0000 (20:59 -0700)]
Make cli_getatr() async.

14 years agos3 Reorder loadparm to keep aliases together
Steven Danneman [Wed, 6 May 2009 00:42:56 +0000 (17:42 -0700)]
s3 Reorder loadparm to keep aliases together

This keeps the "browseable" and "browsable" aliases together.

14 years agos3:loadparm: handle registry config source in file_list - fixes bug #6320
Michael Adam [Wed, 6 May 2009 00:08:33 +0000 (02:08 +0200)]
s3:loadparm: handle registry config source in file_list - fixes bug #6320


14 years agos3 onefs: Turn up the debug level for non-error cases
tprouty [Tue, 5 May 2009 01:17:04 +0000 (01:17 +0000)]
s3 onefs: Turn up the debug level for non-error cases

14 years agos3: Fix trans2 path to use case-insensitive stat optimization
tprouty [Sat, 2 May 2009 00:28:38 +0000 (00:28 +0000)]
s3: Fix trans2 path to use case-insensitive stat optimization

Often times before creating a file, a client will first query to see
if it already exists.  Since some systems have a case-insensitive stat
that is called from unix_convert, we can definitively return
STATUS_NO_SUCH_FILE to the client without scanning the whole

This code path is taken from trans2querypathinfo, but trans2findfirst
still does a full directory scan even though the get_real_filename
(the case-insensitive stat vfs call) can prevent this.

This patch adds the get_real_filename call to the trans2find* path,
and also changes the vfs_default behavior for
SMB_VFS_GET_REAL_FILENAME.  Previously, in the absence of a
get_real_filename implementation, we would fallback to the full
directory scan.  The default behavior now returns -1 and sets errno to
EOPNOTSUPP.  This allows SMB_VFS_GET_REALFILENAME to be called from
trans2* and unix_convert.

14 years agoMake cli_getattrE async.
Jeremy Allison [Tue, 5 May 2009 23:28:44 +0000 (16:28 -0700)]
Make cli_getattrE async.

14 years agoUpdate tdb and talloc web pages
Simo Sorce [Tue, 5 May 2009 23:04:17 +0000 (19:04 -0400)]
Update tdb and talloc web pages

14 years Change system function names
Steven Danneman [Tue, 5 May 2009 21:42:19 +0000 (14:42 -0700)] Change system function names

Addendum to c49730e1.  Use newer cookie conversion names.

14 years agoFix bug 6302: Give the VFS a chance to read from 0-byte files
Volker Lendecke [Sat, 2 May 2009 09:31:37 +0000 (11:31 +0200)]
Fix bug 6302: Give the VFS a chance to read from 0-byte files

14 years agos3-ldap: fix more callers of smbldap_dn_talloc() that were passing a NULL context.
Günther Deschner [Tue, 5 May 2009 19:12:33 +0000 (21:12 +0200)]
s3-ldap: fix more callers of smbldap_dn_talloc() that were passing a NULL context.


14 years agos3-ldapsam: Fix Bug #6313: ldapsam_update_sam_account() crashes while doing talloc_fr...
Günther Deschner [Tue, 5 May 2009 16:50:48 +0000 (18:50 +0200)]
s3-ldapsam: Fix Bug #6313: ldapsam_update_sam_account() crashes while doing talloc_free on malloced memory.


14 years agoerror-codes: add some more group specific windows error codes.
Günther Deschner [Tue, 5 May 2009 17:38:58 +0000 (19:38 +0200)]
error-codes: add some more group specific windows error codes.


14 years agos3:loadparm: use the returnvalue of service_ok() in process_smbconf_service().
Michael Adam [Tue, 5 May 2009 15:46:20 +0000 (17:46 +0200)]
s3:loadparm: use the returnvalue of service_ok() in process_smbconf_service().


14 years agoAdd release scripts for talloc and tdb
Simo Sorce [Tue, 5 May 2009 13:50:19 +0000 (09:50 -0400)]
Add release scripts for talloc and tdb

14 years agos3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.
Günther Deschner [Tue, 5 May 2009 10:54:21 +0000 (12:54 +0200)]
s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.

Patch from Blindauer Emmanuel <>.


14 years agoTurn on POSIX test (small test) on buildfarm.
Jeremy Allison [Mon, 4 May 2009 22:55:23 +0000 (15:55 -0700)]
Turn on POSIX test (small test) on buildfarm.

14 years agoFix the async calls for the posix_unlink and posix_rmdir.
Jeremy Allison [Mon, 4 May 2009 22:50:35 +0000 (15:50 -0700)]
Fix the async calls for the posix_unlink and posix_rmdir.

14 years fix issue with missing entries when enumerating directories
Steven Danneman [Mon, 4 May 2009 22:02:17 +0000 (15:02 -0700)] fix issue with missing entries when enumerating directories

This bug prompted several, fairly large changes to the of OneFS's
readdirplus() within Samba.

One fundamental problem is that we kept our cache cursor pointed at the
next entry to be returned from onefs_readdir(), while the resume cookie
needed to refill the cache such that our cursor would be on this entry,
was located in the previous cache entry.  This meant that to correctly handle
seekdir() cases which could be found within the existing cache, and cases
where a cache reload was needed, required that the cache always hold
at least two entries: the entry we wished to return, and the previous entry
which held the resume cookie.  Since the readdirplus() syscall gives us no
guarantee that it will always return these two direntries, there was a
fundamental problem with this design.

To fix this problem, I have rearchitected the onefs_readdir() path to keep
its pointer on the entry which contains the resume_cookie, not the entry
which will be returned next.  Essentially, I changed onefs_readdir() from a
"return an entry then increment the cursor" model to "increment the cursor
then return an entry".  By doing this, we only require that a single entry
be within the cache: the entry containing the resume cookie.

Second, there have been numerous off-by-one bugs in my implementation of
onefs_seekdir() which did a mapping between the 64-bit resume cookie
returned by readdirplus() and its own monotonically increasing "location"
offset.  Furthermore, this design caused a somewhat frequent waste of
cycles, as in some cases we'd need to re-enumerate the entire directory to
recover the current "location" from an old resume cookie.  As this code was
somewhat difficult to understand, prone to bugs, and innefficient in some
cases I decided it was better to wholesale replace it now, rather than later.

It is possible to algorithmically map the 64-bit resume cookies from
readdirplus() into 32-bit offset values which SMB requires.  The
module now calls into a system library to do this conversion.  This greatly
simplifies both the seekdir() and telldir() paths and is more efficient.

14 years agolibcli: Fix shadowed name in header also
Tim Prouty [Mon, 4 May 2009 21:38:59 +0000 (14:38 -0700)]
libcli: Fix shadowed name in header also

14 years agos3 torture: Only close if open was successful
Tim Prouty [Mon, 4 May 2009 20:26:02 +0000 (13:26 -0700)]
s3 torture: Only close if open was successful

14 years agoEnsure we use UID-REGRESSION-TEST. It's a very short test.
Jeremy Allison [Mon, 4 May 2009 18:22:13 +0000 (11:22 -0700)]
Ensure we use UID-REGRESSION-TEST. It's a very short test.

14 years agoTorture test for bug #6315 - smbd crashes doing vfs_full_audit on IPC$ close event.
Jeremy Allison [Mon, 4 May 2009 17:40:57 +0000 (10:40 -0700)]
Torture test for bug #6315 - smbd crashes doing vfs_full_audit on IPC$ close event.
Shows that doing a tdis with invalid uid succeeds.

14 years agos3 torture: Fix comparison is always true warning
Tim Prouty [Mon, 4 May 2009 15:51:55 +0000 (08:51 -0700)]
s3 torture: Fix comparison is always true warning

14 years agolibcli: Fix shadowed variable warning
Tim Prouty [Mon, 4 May 2009 15:50:35 +0000 (08:50 -0700)]
libcli: Fix shadowed variable warning

14 years agoFix bug #6315 smbd crashes doing vfs_full_audit on IPC$ close event.
Jeremy Allison [Mon, 4 May 2009 15:31:40 +0000 (08:31 -0700)]
Fix bug #6315 smbd crashes doing vfs_full_audit on IPC$ close event.
The underlying problem
is that once SMBulogoff is called, all server_info contexts associated with the
vuid should become invalid, even if that's the context being currently used by
the connection struct (tid). When the SMBtdis comes in it doesn't need a valid
vuid value, but the code called inside vfs_full_audit always assumes that there
is one (and hence a valid conn->server_info pointer) available.

This is actually a bug inside the vfs_full_audit and other code inside Samba,
which should only indirect conn->server_info on calls which require AS_USER to
be set in our process table. I could fix all these issues, but there's no
guarentee that someone might not add more code that fails this assumption, as
it's a hard assumption to break (it's usually true).

So what I've done is to ensure that on SMBulogoff the previously used
conn->server_info struct is kept around to be used for print debugging purposes
(it won't be used to change to an invalid user context, as such calls need
AS_USER set). This isn't strictly correct, as there's no association with the
(now invalid) context being freed and the call that causes conn->server_info to
be indirected, but it's good enough for most cases.

The hard part was to ensure that once a valid context is used again (via new
sessionsetupX calls, or new calls on a still valid vuid on this tid) that we
don't leak memory by simply replacing the stored conn->server_info pointer. We
would never actually leak the memory (as all conn->server_info pointers are
talloc children of conn), but with the previous patch a malicious client could
cause many server_info structs to be talloced by the right combination of SMB
calls. This new patch introduces free_conn_server_info_if_unused(), which
protects against the above.

14 years agos3/packaging: Add keyutils-devel to build requires.
Karolin Seeger [Mon, 4 May 2009 13:54:34 +0000 (15:54 +0200)]
s3/packaging: Add keyutils-devel to build requires.

This should fiy bug #5853. Thanks to D.L. Meyer <dlmeyer [at]>
for reporting.


14 years agos3/docs: Fix typo.
Karolin Seeger [Mon, 4 May 2009 13:17:30 +0000 (15:17 +0200)]
s3/docs: Fix typo.


14 years agoDo not crash in ctdbd_traverse if ctdbd is not around
Volker Lendecke [Mon, 4 May 2009 12:39:56 +0000 (14:39 +0200)]
Do not crash in ctdbd_traverse if ctdbd is not around

14 years agoIncrease debug level of "create_connection_server_info failed" message
Volker Lendecke [Mon, 4 May 2009 10:36:13 +0000 (12:36 +0200)]
Increase debug level of "create_connection_server_info failed" message

I don't think we should unconditionally send every refused connection attempt
to a share to syslog, that's where all debug level 0 messages end up.

14 years agos3-printing: Fix driver upload for Xerox 4110 PS printer driver.
Günther Deschner [Fri, 1 May 2009 00:17:23 +0000 (02:17 +0200)]
s3-printing: Fix driver upload for Xerox 4110 PS printer driver.

We need to allow to set filesystem capabilities from the default vfs in
create_conn_struct() in order to find mixed-case filenames. Thanks Volker!

This one was hard to find, so a little longer explanation:

When a Windows client tries to upload e.g. the Xerox 4110 PS driver, the client
first uploads the driver files to the [print$] share. Some of them (in this case
the Windows Postscript drivers) are with uppercase filenames while some of them
(like the PPD file) are in lowercase. After the driver upload the client issues
the spoolss_AddPrinterDriverEx() call with level 6. There the client tries to
add the PPD file with an uppercase filename (while having stored it in lowercase
on the server). The internal spoolss add driver functions then could not find the
appropriate filename while trying to move them to the version subdirectory (in
this case W32X86/3) and fails then entire spoolss_AddPrinterDriverEx() call.
With this fix, the convert_unix_name() name finds the correct file and
the spoolss_AddPrinterDriverEx() succeeds.


14 years agoFix Coverity ID 913 (NEGATIVE_RETURNS) -- gd, please check!
Volker Lendecke [Sun, 3 May 2009 21:05:11 +0000 (23:05 +0200)]
Fix Coverity ID 913 (NEGATIVE_RETURNS) -- gd, please check!

14 years agoFix an invalid type warning
Volker Lendecke [Sun, 3 May 2009 20:46:05 +0000 (22:46 +0200)]
Fix an invalid type warning

14 years agoFix some warnings due to uint16_t!=-1 always being true
Volker Lendecke [Sun, 3 May 2009 20:45:42 +0000 (22:45 +0200)]
Fix some warnings due to uint16_t!=-1 always being true

14 years agoFix a bunch of type-punned warnings -- gd, please fix properly :-)
Volker Lendecke [Sun, 3 May 2009 20:44:36 +0000 (22:44 +0200)]
Fix a bunch of type-punned warnings -- gd, please fix properly :-)

14 years agoFix bug 6136: New AFS syscall conventions
Geza Gemes [Sun, 3 May 2009 20:13:36 +0000 (22:13 +0200)]
Fix bug 6136: New AFS syscall conventions

Haven't checked this myself, but as I've already got several reports that Samba
won't compile against current OpenAFS anymore, I just believe Geza Gemes. This
patch only affects AFS code, so it should not hurt anything else.


14 years agoClean up after Tridge's util_strlist changes
Volker Lendecke [Sun, 3 May 2009 11:08:46 +0000 (13:08 +0200)]
Clean up after Tridge's util_strlist changes

14 years agos3/docs: Fix typos.
Karolin Seeger [Sun, 3 May 2009 07:55:46 +0000 (09:55 +0200)]
s3/docs: Fix typos.

That fixes bug #4247. Thanks to David McNeill <davemc [at]>
for reporting!


14 years agos3/docs: Fix typo.
Karolin Seeger [Sun, 3 May 2009 07:35:55 +0000 (09:35 +0200)]
s3/docs: Fix typo.

This fixes bug #4245. Thanks to David McNeill <davemc [at]>
for reporting!


14 years agoOf course, s_addr is a #define somewhere else .... (Solaris...)
Volker Lendecke [Sat, 2 May 2009 21:34:45 +0000 (23:34 +0200)]
Of course, s_addr is a #define somewhere else .... (Solaris...)

14 years agoFix a warning on host "gwen"
Volker Lendecke [Sat, 2 May 2009 17:17:23 +0000 (19:17 +0200)]
Fix a warning on host "gwen"

cc: "../librpc/ndr/ndr_basic.c", line 572: warning 604: Pointers are not assignment-compatible.

Apparently in_addr.s_addr is not compatible to uint32_t, maybe a 32-bit signed

14 years agoAttempt to fix the build on SerNet-sles8
Volker Lendecke [Sat, 2 May 2009 17:11:52 +0000 (19:11 +0200)]
Attempt to fix the build on SerNet-sles8

That compiler does not like #if embedded into the macro NT_STATUS_IS_OK.

14 years agoExplicitly link in pthreads for lib/pthreadpool if required
Volker Lendecke [Sat, 2 May 2009 15:14:36 +0000 (17:14 +0200)]
Explicitly link in pthreads for lib/pthreadpool if required

No idea why it works on my Linux without -lpthread ... :-)

14 years agoFix Coverity 911: FORWARD_NULL. Metze, please check!
Volker Lendecke [Sat, 2 May 2009 11:12:57 +0000 (13:12 +0200)]
Fix Coverity 911: FORWARD_NULL. Metze, please check!

14 years agoAttempt to fix the merged build on OpenSuSE 10.2
Volker Lendecke [Sat, 2 May 2009 10:53:30 +0000 (12:53 +0200)]
Attempt to fix the merged build on OpenSuSE 10.2

Python.h 2.5 on that platform does not #include the necessary headers
to see uintptr_t.

14 years agoFix a malloc/talloc mixup
Volker Lendecke [Sat, 2 May 2009 10:40:29 +0000 (12:40 +0200)]
Fix a malloc/talloc mixup

14 years agoFix dependency on the attributes file.
Jelmer Vernooij [Fri, 1 May 2009 23:10:20 +0000 (01:10 +0200)]
Fix dependency on the attributes file.

14 years agoRemove unused entries from clean.
Jelmer Vernooij [Fri, 1 May 2009 22:39:49 +0000 (00:39 +0200)]
Remove unused entries from clean.

14 years agoRemove rules for unused epstopdf.
Jelmer Vernooij [Fri, 1 May 2009 21:53:27 +0000 (23:53 +0200)]
Remove rules for unused epstopdf.

14 years agoRemove XSLT script to generate image dependencies, instead rely on make
Jelmer Vernooij [Fri, 1 May 2009 21:50:49 +0000 (23:50 +0200)]
Remove XSLT script to generate image dependencies, instead rely on make
given that the number of image formats we use is limited.

14 years agoRemove text chunks support. Was never built by any of the main targets,
Jelmer Vernooij [Fri, 1 May 2009 21:10:59 +0000 (23:10 +0200)]
Remove text chunks support. Was never built by any of the main targets,
and one of the reasons the complex dependency system exists.

14 years agoAttempt to the build on NetBSD5 and a few others
Volker Lendecke [Fri, 1 May 2009 21:25:31 +0000 (23:25 +0200)]
Attempt to the build on NetBSD5 and a few others

14 years agofind_unused_doc: Strip spaces in configuration names, just like the parser does.
Jelmer Vernooij [Fri, 1 May 2009 20:58:39 +0000 (22:58 +0200)]
find_unused_doc: Strip spaces in configuration names, just like the parser does.

14 years agoUse <example> + <smbconfblock> rather than nonexistant element
Jelmer Vernooij [Fri, 1 May 2009 20:33:29 +0000 (22:33 +0200)]
Use <example> + <smbconfblock> rather than nonexistant element

14 years agoIgnore docs-xml/output directory and its contents as well as png files
Jelmer Vernooij [Fri, 1 May 2009 20:29:57 +0000 (22:29 +0200)]
Ignore docs-xml/output directory and its contents as well as png files
generated run-time from versioned svg files.

14 years agoFix a couple of invalid DocBook XML usages in the Samba3 Developers Guide.
Jelmer Vernooij [Fri, 1 May 2009 20:28:08 +0000 (22:28 +0200)]
Fix a couple of invalid DocBook XML usages in the Samba3 Developers Guide.

14 years agoFix most of the invalid usages of DocBook in the Samba 3 HOWTO.
Jelmer Vernooij [Fri, 1 May 2009 20:27:03 +0000 (22:27 +0200)]
Fix most of the invalid usages of DocBook in the Samba 3 HOWTO.
make check FTW!

14 years agoFix a bunch of XML validation errors.
Jelmer Vernooij [Fri, 1 May 2009 20:00:19 +0000 (22:00 +0200)]
Fix a bunch of XML validation errors.

14 years agoRemove broken XSL-FO translation code; this has been broken for a while
Jelmer Vernooij [Fri, 1 May 2009 19:09:13 +0000 (21:09 +0200)]
Remove broken XSL-FO translation code; this has been broken for a while
and the output was never used.

14 years agoAdd more output generated by the documentation build process to .gitignore.
Jelmer Vernooij [Fri, 1 May 2009 18:57:47 +0000 (20:57 +0200)]
Add more output generated by the documentation build process to .gitignore.

14 years agoMove expansion of Samba-specific XML elements out of xslt/latex.xsl into a
Jelmer Vernooij [Fri, 1 May 2009 18:51:43 +0000 (20:51 +0200)]
Move expansion of Samba-specific XML elements out of xslt/latex.xsl into a
separate file, for better readability. xslt/latex.xsl now only contains
tweaks to the dblatex configuration.

14 years agoExplicitly mention licenses in all stylesheets
Jelmer Vernooij [Fri, 1 May 2009 18:36:56 +0000 (20:36 +0200)]
Explicitly mention licenses in all stylesheets

14 years agoRemove the DTD for the removed pdb-xml backend.
Jelmer Vernooij [Fri, 1 May 2009 18:27:48 +0000 (20:27 +0200)]
Remove the DTD for the removed pdb-xml backend.

14 years agoGenerate pdf documents in-place rather than copying them from . to output/
Jelmer Vernooij [Fri, 1 May 2009 18:25:34 +0000 (20:25 +0200)]
Generate pdf documents in-place rather than copying them from . to output/