1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

28598 Commits

Author SHA1 Message Date
Volker Lendecke
ad29104d3d Add read_smb_send/recv, dumping keepalives 2009-04-06 21:32:05 +02:00
Andrew Bartlett
2050187673 s3:libads Make ads_get_dn() take a talloc context
Also remove ads_memfree(), which was only ever a wrapper around
SAFE_FREE, used only to free the DN from ads_get_ds().

This actually makes libgpo more consistant, as it mixed a talloc and a
malloc based string on the same element.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06 15:54:41 +02:00
Andrew Bartlett
89278b1819 s3:printing Convert nt_printer_publish_ads() to use talloc better
In particular, this removes one more user of pull_utf8_allocate()

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06 14:56:29 +02:00
Andrew Bartlett
9512640155 s3:smbldap Remove smbldap_get_dn
This removes one more caller to pull_utf8_allocate()

Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06 14:52:51 +02:00
Volker Lendecke
a2d5fe4a05 Make some functions static to vfs_gpfs.c 2009-04-06 13:29:59 +02:00
Volker Lendecke
f2e17a4b24 Add prototype for smbd_gpfs_get_realfilename_path 2009-04-06 13:29:59 +02:00
Volker Lendecke
54c2fe6583 Fix two c++ warnings in vfs_gpfs.c 2009-04-06 13:29:59 +02:00
Volker Lendecke
15f6d5e805 Use the server config file for smbpasswd -a user in make test
Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID
somehow ended up in the user's token for quite a number of tests, leading to
NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but
with this patch I could not reproduce the ACCESS_DENIED anymore. It might be
coincidence and this patch does not fix anything, but for me it does not really
hurt either.

Metze, please check!

Volker
2009-04-05 17:31:40 +02:00
Volker Lendecke
e5c7df34f2 Remove a silly check
This does not increase security, and if later error messages suck, we have to
fix those.
2009-04-05 17:04:28 +02:00
Volker Lendecke
ba408a2c82 Remove async_req dependency from cli_pull_trans 2009-04-05 16:07:41 +02:00
Volker Lendecke
3b0572bf91 Fix smbd crash for close_on_completion
handle_trans() can talloc_free "conn" if the client requests
close_on_completion. "state" is a talloc_child of conn, so it will be gone when
we later free state->data et al.
2009-04-05 14:34:14 +02:00
Volker Lendecke
0421fa90ce Keep the forked-smbd stdout reader around longer 2009-04-05 13:52:46 +02:00
Volker Lendecke
6d760a4a9f Ensure 0-termination for the forked-smbd debug output 2009-04-05 13:52:46 +02:00
Volker Lendecke
ac4c319ed7 Pass the current debuglevel down to the forked smbd 2009-04-05 13:52:46 +02:00
Günther Deschner
df29f49edd s3-samr: add support for setting password hashes via samr_SetUserInfo level 21.
Guenther
2009-04-03 13:14:26 +02:00
Volker Lendecke
7ee4f168d8 Use cluster-aware procid_is_me instead of comparing pid's 2009-04-03 12:19:20 +02:00
Volker Lendecke
b63cd72ae4 Use procid_str in debug messages for better cluster-debuggability 2009-04-03 12:19:20 +02:00
Günther Deschner
621d40332a s3-build: fix the build after tsocket changes.
Metze, please check.

Guenther
2009-04-03 00:30:58 +02:00
Günther Deschner
31ab1d6a64 s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().
Guenther
2009-04-02 22:52:52 +02:00
Günther Deschner
168eb23252 s3-lsa: don't SAFE_FREE talloced structs.
Guenther
2009-04-02 22:50:44 +02:00
Günther Deschner
37aff885a6 s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).
Guenther
2009-04-02 12:46:04 +02:00
Jeremy Allison
c57b32c5ab Allow pdbedit to change a user rid/sid. Based on a fix from Alexander Zagrebin <alexz@visp.ru>.
Jeremy.
2009-04-01 20:21:02 -07:00
Jeremy Allison
1258ed8b1c Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-04-01 20:20:44 -07:00
Tim Prouty
87fe4d732d s3 onefs: Quiet a log message about oplocks being requested on streams 2009-04-01 20:06:18 -07:00
Michael Adam
36c1a52a57 s3:net conf: don't store share names as lower case, but as given.
Michael
2009-04-02 00:30:13 +02:00
Jeremy Allison
aef0bdc6a1 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-04-01 14:03:17 -07:00
Günther Deschner
01a942d8ab s3-auth: rename static smb_create_user(). Sorry...
Guenther
2009-04-01 21:44:14 +02:00
Günther Deschner
5cdf75e679 s3-libnet-samsync: return appropriate error code in fetch_sam_entry().
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
e18f57fd36 s3-libnet-samsync: use smb_create_user().
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
d0e1ff4aff s3-passdb: add smb_create_user().
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
e4802bfcad s3-libnet-samsync: some pure cosmetics.
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
af78240cbe s3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.
Guenther
2009-04-01 19:12:18 +02:00
Jeremy Allison
eaddcfef1b Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-04-01 09:16:41 -07:00
Günther Deschner
264b28ec09 s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks when filled in.
Guenther
2009-04-01 16:58:48 +02:00
Volker Lendecke
ffdc2a3fe8 Print an error if trying a merged build without a system kerberos lib
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-01 16:31:10 +02:00
Michael Adam
6edaf6188c s3: fix the fix for bug #6195 - dont let smbd child processes panic
This patch makes sure the original and temporary TDBs are closed
_before_ the rename. Originally, the open TDB was renamed, and so
the name passdb.tdb.tmp stayed around in the db context. Hence
upon client connect, the smbd children died because reinit_after_fork()
calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which
existed no longer...

Michael
2009-04-01 12:26:36 +02:00
Michael Adam
1e92ddd405 s3:build: add targets to show how libraries will be built / linked
showlibtalloc, showlibtdb, ... and one overall showlibs target.

Michael
2009-04-01 10:41:35 +02:00
Michael Adam
99b486a056 s3:build: don't build the static libs unconditionally
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
b79157f602 s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to Makefile
for completeness

Michael
2009-04-01 10:41:34 +02:00
Michael Adam
15ef346f9f s3:build: no need to set LIBFOO_STATIC to the object collection any more
now that the @LIBFOO_STATIC@ entries have vanished from the object lists.
Just use the static library.

Michael
2009-04-01 10:41:34 +02:00
Michael Adam
993c87495b s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unification
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
baf39de623 s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@
just like for the libs configured with SMB_LIBRARY().
This makes @LIBWBCLIENT_STATIC@ vanish from the object collections.

Michael
2009-04-01 10:41:33 +02:00
Michael Adam
f9eb77477b s3:build: first cut at fixing linking of shared/static libs internally
This is based on a patch from the debian packages
by Steve Langasek <vorlon@debian.org>.

It removes the static libs from the object collections.
For those libs that are set up with SMB_LIBRARY().

Michael
2009-04-01 10:41:33 +02:00
Jeremy Allison
1e742660bf Tidy up some convert_string_internal error cases, found by Andrew Bartlett.
Jeremy.
2009-03-31 18:28:49 -07:00
Tim Prouty
7424665061 s3 onefs: Add missing newlines to debug statements in the onefs module 2009-03-31 17:31:50 -07:00
Zack Kirsch
bfc7bb49ff s3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while running many of the LOCK torture tests.
Return true from the onefs cancel function if we've errored, which can happen
when the CBRL domain is configured to only give out 1 lock. :)
2009-03-31 17:29:07 -07:00
Volker Lendecke
62f12e2322 Fix an uninitialized variable valgrind error
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-31 21:19:15 +02:00
Michael Adam
d8425032cc s3:build: fix build of pam_winbind.so with static linking
Static talloc libs were missing since conversion to talloc.

Michael
2009-03-31 16:55:40 +02:00
Michael Adam
9aab2631c6 s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebled
Michael
2009-03-31 08:51:40 +02:00
Michael Adam
b2e8bc28a5 s3:build: line-wrap assignment of FLAGS for readability
Michael
2009-03-31 08:51:40 +02:00
Jeremy Allison
9be2e2fdce Ensure files starting with multiple dots are hidden
if "hide dot files" is set. Thanks to Barry Kelly <bkelly.ie@gmail.com>
for pointing this one out.
Jeremy.
2009-03-30 15:05:39 -07:00
Björn Jacke
4b184eaea1 s3/cups: add encryption support 2009-03-30 11:11:19 +02:00
Volker Lendecke
4b8e4ea728 Fix a debug msg typo 2009-03-29 00:53:04 +01:00
Jeremy Allison
0b890ae19a Fix the problem of 3.0.x passdb databases being version
3 but using a different hash calculation than 3.2.x passwd
databases (also version 3). Introduces a minor version
number.
Jeremy.
2009-03-27 21:29:37 -07:00
Scott Urban
ee22c417f3 s3: added per-client statistics to onefs perfcount module
* we now track, uid, remote ip, and local ip per CIFS operation
* removed perfcount_set_client() from perfcount interface as it's
  unecessary
2009-03-27 17:33:26 -07:00
Derrell Lipman
c33f3d5cba [Bug 6228] SMBC_open_ctx failure due to path resolve failure doesn't set errno
Fixed.

It turns out there were a number of places where cli_resolve_path() was called
and the error path upon that function failing did not set errno. There were a
couple of places the failure handling code did set errno to ENOENT, so I made
them all consistent, although I think better errno choices for this condition
exist, e.g.  EHOSTUNREACH.

Derrell
2009-03-27 18:02:46 -04:00
Volker Lendecke
4b88f2c17e Fix external np read after conversion to tevent_req 2009-03-27 21:12:17 +01:00
Jeremy Allison
d942d248d6 Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly. For the clustering case.
Clustered setups should have only ever used
the unsigned version of TDB_DATA in the
first place so they can't be in this mess :-).
Just do the normal upgrade in the clustered case.
Jeremy.
2009-03-27 12:13:13 -07:00
Björn Jacke
66b97d36b9 s3: ifdef sendfile code that's only used in other ifdef'ed sendfile code
This fixes a "defined but not used" compile warning.
2009-03-27 13:41:35 +01:00
Stefan Metzmacher
424370274a s3:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS
metze
2009-03-27 12:19:10 +01:00
Volker Lendecke
9e70a960b7 Fix the build of nfsv4_acls.c
.. after adding smb_iconv_convenience to ndr_size_security_descriptor()
2009-03-27 11:10:50 +01:00
Jeremy Allison
1f83aafac8 Try and fix the build farm RAW-STREAMS errors. Ordering of
modules shouldn't matter, so as vfs_streams_depot doesn't
implement get/setxattrs then call into the full VFS stack
at the top.
Jeremy
2009-03-26 15:30:42 -07:00
Jeremy Allison
e235b4628b Revert 757d403dff - module
order shouldn't matter & I have a more correct fix for this.
Jeremy.
2009-03-26 14:48:34 -07:00
Jeremy Allison
757d403dff This should fix the build farm RAW-STREAMS failure. streams_depot.so
depends on xattrs, and xattr_tdb was pushed *first* in the stack...
Jeremy.
2009-03-26 14:34:25 -07:00
Jeremy Allison
94ba56b2bd Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs to run elections
Fix logic bug that causes nmbd to wait 5 minutes before
looking for a master browser. This one is *old* :-). Thanks
for Simo for bugging me on this.
Jeremy.
2009-03-26 12:28:40 -07:00
Jelmer Vernooij
494e471d74 configure: Use m4 defines for minimum library versions rather than shell
variables, so the values rather than the variable names show up in
configure output.
2009-03-26 16:28:45 +01:00
Jelmer Vernooij
30a3dec549 Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec 2009-03-26 15:28:18 +01:00
Volker Lendecke
2d087a0c15 Fix a talloc/malloc screwup in file_lines_pload
Another bug due to careless merge to /lib :-(((

Volker
2009-03-26 14:58:38 +01:00
Volker Lendecke
c164c0c20a Fix a scary "fill_share_mode_lock failed" message
To me "fill_share_mode_lock failed" is a "can't happen" alert. There is
however a perfectly valid case in get_file_infos() when the file is not open.

Change the corresponding debug message to level 10 and explain more.
2009-03-26 12:30:44 +01:00
Günther Deschner
56d74b6212 s3-libnetapi: fix creds in libnetapi_open_ipc_connection().
Jeremy, this broke with 8dd1faaa29. Not sure if
other users broke as well with that change.

Guenther
2009-03-26 10:43:18 +01:00
Günther Deschner
fe340eb92f s3:rpc_parse: remove unused init_unistr().
Guenther
2009-03-26 10:42:13 +01:00
Günther Deschner
24d5229a81 s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong information.
Guenther
2009-03-26 10:29:57 +01:00
Volker Lendecke
a20a710c94 Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crash 2009-03-26 10:05:27 +01:00
Jeremy Allison
202228d48b Ensure we never enter VFS_CREATE without having initialized
sbuf as invalid (if not already read via stat()). Still trying
to find the build farm RAW-STREAM errors and it's happening
in a openX call....
Jeremy.
2009-03-25 21:48:37 -07:00
Michael Adam
5adeaea664 Revert "s3/swat: don't link against zlib"
This reverts commit 8532faffd0.

swat needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.

Michael
2009-03-26 01:31:44 +01:00
Michael Adam
04eeae74e6 Revert "s3/smbd: don't link against zlib"
This reverts commit 1f265548e7.

smbd needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.

Michael
2009-03-26 01:30:42 +01:00
Björn Jacke
b574a09cf5 s3/ldbtools: don't neddlessly link against wbinbind libs
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:44 +01:00
Björn Jacke
9e62b7f7bb s3/cifs: don't link cifs mount helpers agains popt
the mount helpers don't use any popt symbols

Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:44 +01:00
Björn Jacke
8532faffd0 s3/swat: don't link against zlib
swat doesn't use any zlib symbolѕ

Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:43 +01:00
Björn Jacke
1f265548e7 s3/smbd: don't link against zlib
smbd doesn't use any zlib symbolѕ

Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:43 +01:00
Björn Jacke
39e6bd5b29 s3/pam_smbpass: don't link agains KRB5LIBS
pam_smbpass doesn't use the krb5 stuff

Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:43 +01:00
Günther Deschner
c86df62b4a s3-rpc_parse: remove unused smb_io_domsid().
Guenther
2009-03-25 23:09:52 +01:00
Günther Deschner
72636db8e5 s3: remove unused rpc_parse/parse_sec.c file.
Guenther
2009-03-25 22:50:40 +01:00
Günther Deschner
8000479d18 s3-registry: remove last sec_io_desc() caller.
This is a temporary solution while waiting for the regf merge from s4.

Guenther
2009-03-25 22:50:40 +01:00
Jelmer Vernooij
c42fc5e103 display_sec: Move to common libcli/security directory. 2009-03-25 21:29:13 +01:00
Steven Danneman
365b5cfcbe Add missing newlines to debug statements 2009-03-25 12:53:06 -07:00
Jelmer Vernooij
9a61758c1e Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec 2009-03-25 20:51:29 +01:00
Günther Deschner
e3f7057b09 s3-libnet: Fix Bug #6193: avoid messing with sync_context in libnet_samsync_delta().
We absolutely need to avoid messing with the sync_context as that breaks the
stream of replication data coming from the DC (only replicates ~350 instead of
~4000 groups).

Guenther
2009-03-25 16:09:13 +01:00
Günther Deschner
283e135298 s3-spoolss: implement enumprinters_level0.
Guenther
2009-03-25 12:46:40 +01:00
David Kwan
ad98eae02e s3 onefs: Change error status to NT_ACCESS_DENIED for errors in SET_SECURITY_DESC 2009-03-24 17:27:37 -07:00
Tim Prouty
db5677d071 s3: parse_packet can return NULL which is then dereferenced in match_mailslot_name 2009-03-24 17:05:16 -07:00
Volker Lendecke
c653e8daaf Fix two memleaks in the encryption code
ntlmssp_seal_packet creates its own signature data blob, which we then
have to free.

Jeremy, please check and merge appropriately (Yes, I'm asking you to do the
janitor work, I want you to *look* at this :-))

Volker
2009-03-24 22:00:10 +01:00
Kai Blin
2ff2ceffd2 wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULL 2009-03-24 14:59:11 +01:00
Volker Lendecke
5f753e22f1 Convert rpc_pipe_bind to tevent_req 2009-03-24 13:23:41 +01:00
Volker Lendecke
fa62836839 Convert rpc_cli_transport->trans to tevent_req 2009-03-24 13:23:41 +01:00
Volker Lendecke
8e0d9d002a Convert rpc_cli_transport->write to tevent_req 2009-03-24 13:23:41 +01:00
Volker Lendecke
22badee4bf Convert rpc_cli_transport->read to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
1724f2ff31 Convert rpc_api_pipe_req to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
f88990ec7e Convert rpc_api_pipe to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
545ed5b52e Convert cli_api_pipe to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
7a429fb369 Convert get_complete_frag to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
7573bb758e Convert rpc_write to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
1dd0883458 Convert rpc_read to tevent_req 2009-03-24 13:23:40 +01:00
Volker Lendecke
f91565544f Fix bug 6097
A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with
NT_STATUS_INVALID_SID, even if other SIDs in the list are valid.

Thanks to Pavel <wylda@volny.cz> for the bug report!
2009-03-24 11:59:42 +01:00
Günther Deschner
de2a7c8e4c s3: use generated dcerpc code.
Guenther
2009-03-24 11:14:06 +01:00
Günther Deschner
c388efdbcb s3: add missing prototype for auth_wbc_init().
Guenther
2009-03-24 11:11:57 +01:00
Björn Jacke
87b428e424 s3:dsgetdcname: use parentheses in if condition to make negation clear
Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-24 10:20:12 +01:00
Tim Prouty
130582f170 s3 OneFS: Remove usage of non-existant function
The function was removed in:
c16c90a1cb
2009-03-23 11:57:13 -07:00
Tim Prouty
866afd5d0b s3: Remove redundant comment 2009-03-23 11:55:58 -07:00
Michael Adam
36b957b5b7 s3:build: make SHOWFLAGS target phony and add alias showflags
Michael
2009-03-23 17:48:24 +01:00
Volker Lendecke
63aae58fdc Use avahi to register _smb._tcp in smbd 2009-03-23 17:09:53 +01:00
Volker Lendecke
93e13fe3e0 Add tevent avahi binding 2009-03-23 17:09:53 +01:00
Volker Lendecke
4c1794c41c Add avahi detection to configure 2009-03-23 17:09:53 +01:00
Volker Lendecke
dfa93041ab Disable dns_sd by default 2009-03-23 17:09:53 +01:00
Michael Adam
a4cc3e2538 s3:build: prevent from setting "-O -g", check for $debug first.
This makes configure actually behave as the comments describe.
The reversal of order was introduced by mistake in
90ea8ae9b1

Michael
2009-03-23 14:22:37 +01:00
Björn Jacke
2dc8ce59b2 don't set -O twice
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-23 14:20:46 +01:00
Björn Jacke
a087310b33 remove non standard way to point to ctdb path
we can provide the path to ctdb via the --with-ctdb=... configure flag like we
do it with other packageѕ, too. There is no need for another redundnant
Makefile hack to point the ctdb header location

Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-23 13:20:06 +01:00
Björn Jacke
f4aec7b590 ѕ3/winbind_pam: fix gcc 4.4 compile warning 2009-03-23 13:10:54 +01:00
Stefan Metzmacher
97a086d5c4 selftest/Samba3: Test smb signing against the member server
metze
2009-03-23 12:21:14 +01:00
Stefan Metzmacher
6af15943c6 s3:libsmb: use new simplified smb_signing code for the client side
We store the seqnum/mid mapping in the cli_request structure
for async requests and in the cli_state structure for sync calls.

We skip the signing check for oplock requests while waiting
for async requests coming in.

metze
2009-03-23 12:21:14 +01:00
Stefan Metzmacher
c16c90a1cb s3:smbd: use new simplified snb_signing code in the server
We keep the seqnum/mid mapping in the smb_request structure.

This also moves one global variable into the
smbd_server_connection struct.

metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
2654653f55 s3:libsmb: add a much simplified smb_siging infrastructure
It's the job of the caller to maintain the seqnum/mid mapping.

Hopefully we can use this code in s4 later too.

metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
1a48d0793b s3:libsmb: rename smb_signing.c => clisigning.c
This prepares a large simplification of the smb_signing code

metze
2009-03-23 12:21:12 +01:00
Stefan Metzmacher
7716ad68a8 s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too.
Otherwise we'll confuse the client signing engine, when we reply an error to each transs2.

metze
2009-03-23 12:21:12 +01:00
Volker Lendecke
298bff5019 Fix connect to port 139 only -- thanks gd for bugging me :-) 2009-03-23 12:06:57 +01:00
Volker Lendecke
1bff89c4ad Only build the dirsort module if we have the dirfd function
Fix the build on HP/UX
2009-03-22 13:17:42 +01:00
Volker Lendecke
14df86e9e3 Use StrCaseCmp in the dirsort module 2009-03-22 11:44:13 +01:00
Andy Kelk
2835d0d463 Add dirsort module 2009-03-22 11:44:13 +01:00
Stefan Metzmacher
3b73cdb412 s3:nmbd: implement a MAILSLOT => CLDAP proxy for NETLOGON_SAMLOGON requests
This will be used as part a the franky setup, where nmbd will forward
the MAILSLOT requests to the local samba4 CLDAP server.

"nmbd_proxy_logon:cldap_server = 127.0.0.1" would configure
and activate this feature.

metze
2009-03-21 10:44:42 +01:00
Stefan Metzmacher
593ab6ac00 s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRIND
metze
2009-03-21 10:44:40 +01:00
Günther Deschner
19de802c17 s3-spoolss: _spoolss_EnumPrinters level 3 always returns WERR_UNKNOWN_LEVEL.
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
d2de9b068c s3-spoolss: implement enumprinters_level4.
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
aa6dbcfc11 s3-spoolss: implement enumprinters_level5.
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
6713244d46 s3-spoolss: use enum_all_printers_info_level for level 1 and 2.
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
95f2913c7d s3-spoolss: add enum_all_printers_info_level().
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
5a388115a9 s3-spoolss: apply some const in spoolss server.
Guenther
2009-03-20 17:20:32 +01:00
Günther Deschner
c9a388348a s3-rpcclient: allow to set flags in enumprinters command.
Guenther
2009-03-20 17:20:32 +01:00
Jelmer Vernooij
ca202cf464 Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec 2009-03-20 16:40:09 +01:00
Günther Deschner
3a6133d702 s3-netapi: Fix Coverity #774 (REVERSE_INULL).
Guenther
2009-03-20 11:21:36 +01:00
Günther Deschner
f2243e8197 s3-netapi: Fix Coverity #775 (REVERSE_INULL).
Guenther
2009-03-20 11:19:59 +01:00
Günther Deschner
d2e348b191 s3-netapi: Fix Coverity #776 (REVERSE_INULL).
Guenther
2009-03-20 11:17:50 +01:00
Günther Deschner
97190ae184 s3-krb5: Fix Coverity #762 (REVERSE_INULL).
Guenther
2009-03-20 11:11:04 +01:00
Günther Deschner
73030b107d s3-net: Fix Coverity #861 (UNINIT).
Guenther
2009-03-20 11:07:21 +01:00
Günther Deschner
d2fb6d3482 s3-net: Fix Coverity #898 (UNINIT).
Guenther
2009-03-20 11:04:59 +01:00
Günther Deschner
045151b767 s3-spoolss: pure comsetics.
sorry, I just need to do that.

Guenther
2009-03-20 10:49:45 +01:00
Günther Deschner
1524abd8bf s3-krb5: Fix Coverity #722 (RESOURCE_LEAK).
Guenther
2009-03-20 10:41:44 +01:00
Günther Deschner
2c186be0df s3-net: Fix Coverity #886 (FORWARD_NULL).
Guenther
2009-03-20 10:41:44 +01:00
Günther Deschner
842edcd2b0 s3-samr: try to to fix password_expired flag handling.
Guenther
2009-03-20 10:39:18 +01:00
Bo Yang
808928c24b Fix crash in async_smb.c 2009-03-20 09:56:15 +01:00
Michael Adam
3a4638db03 add a versiontest program to print samba_version_string().
This is to allow for testing samba_version_string() without
the need to compile any of the larger binaries like smbd or net...

Michael
2009-03-19 23:57:35 +01:00