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 757d403dfff023fdb122a155f6a05d33daa76410 - 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 8dd1faaa2992851f6852ba7ea4498445af5faadd. 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 8532faffd08bbbcfaac60fd866fa5ab255913d4a.
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 1f265548e7d17a4ed83705149dd944fcdd31134d.
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