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
Michael Adam
d813a90d18
version: fix handling of SAMBA_VERSION_VENDOR_PATCH.
...
We need a string version of this, or else version.c does not compile.
Michael
2009-03-19 23:57:34 +01:00
Dan Sledz
f603903cb0
s3: Fix a free of an uninitialized variable in winbind_get_sid_aliases
2009-03-19 14:59:23 -07:00
Stefan Metzmacher
18b4925031
s3:libads: use libcli/cldap code
...
metze
2009-03-19 16:26:00 +01:00
Stefan Metzmacher
4508152282
s3:build: compile lib/tsocket and libcli/cldap
...
metze
2009-03-19 16:25:59 +01:00
Björn Jacke
011ad7245d
fix build on old Heimdal based systems
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-19 14:47:48 +01:00
Stefan Metzmacher
88dd6af605
s3:libsmb: always create bytes array in cli_trans code
...
Otherwise we return NO_MEMORY without a reason for fragmented trans
requests, as talloc_append_blob() returns buf if we append a 0 length
blob. When we pass buf = NULL we'll get back NULL and then assume
NO_MEMORY...
metze
2009-03-19 13:57:21 +01:00
Stefan Metzmacher
880fbc4e8c
s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requests
...
Before we send the secondary requests we need to remove the
old mid=>seqnum mapping and reset cli->mid and make the new
mid=>seqnum mapping "persistent".
The bug we had in cli_send_trans was this:
The first cli_send_smb() incremented cli->mid
and the secondary requests used the incremented mid,
but as cli->outbuf still had the correct mid,
we send the correct mid to the server. The real problem
was that the cli_send_smb() function stored the seqnum
under the wrong mid.
cli_send_nttrans() was totally broken and now follows the
same logic as cli_send_trans().
The good thing is that in practice the problem is unlikely to happen,
because max_xmit is large enough to avoid secondary requests.
metze
2009-03-19 13:54:22 +01:00
Stefan Metzmacher
0dfdb7b911
s3:lib/util_sock: use sys_recv() instead of sys_read() on sockets
...
This ways the pcap support in socket wrapper sees the received data.
metze
2009-03-19 13:54:17 +01:00
Jeremy Allison
c5394cd7cf
Modify simple POSIX open test to use filenames containing a ':'
...
character. Should stop regressions of bug #6196 .
Jeremy.
2009-03-18 21:49:32 -07:00
Jeremy Allison
28e03f2011
Allow DFS client paths to work when POSIX pathnames have been
...
selected (we need to path in pathname /that/look/like/this).
Jeremy.
2009-03-18 20:57:47 -07:00
Jeremy Allison
a00a9e4e2c
Fix bug #6196 - Unable to serve files with colons to Linux CIFS/VFS client
...
Looks like the pathname parsing for POSIX paths got
broken when the code for doing Windows streams parsing got added.
Jeremy.
2009-03-18 20:01:33 -07:00
Tim Prouty
710948c788
s3 onefs: Correctly error out when the read returns EOF
...
Also add some more debugging.
2009-03-18 16:51:41 -07:00
Jeremy Allison
f942cb616e
Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly.
...
This is a really nasty one to fix as in order to successfully update the
passdb.tdb we must do the equivalent of a tdbbackup to move to the new hash
values before we do the upgrade.
Jeremy.
2009-03-18 15:44:13 -07:00
Günther Deschner
531af136f9
s3: remove POLICY_HND.
...
Guenther
2009-03-18 23:22:29 +01:00
Günther Deschner
7d7b1a8dcc
s3-rpc_parse: remove some unused parsing code.
...
Guenther
2009-03-18 22:02:23 +01:00
Günther Deschner
a1256594b0
s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code.
...
When _spoolss_GetPrinterData receives a query on a printserver handle for a
value that we have not stored or do not provide, we need to return
WERR_INVALID_PARAM, not WERR_BADFILE. Tested with w2k and w2k3 servers.
Found by torture test.
Guenther
2009-03-18 21:57:07 +01:00
Günther Deschner
43182fdff8
s3-spoolss: fix _spoolss_EnumPrinterDataEx error path.
...
When a windows clients queries the "" key, we need to make sure to return with
the appropriate error (WERR_INVALID_PARAM in that case), and not fall through
to the buffer size handling macros. Found by torture test.
Guenther
2009-03-18 21:56:38 +01:00
Günther Deschner
7a85a87edf
s3-rpc_parse: remove unused BUFFER5 and UNISTR3.
...
Guenther
2009-03-18 20:17:01 +01:00
Günther Deschner
e966719049
s3-rpc_client: remove unused CLI_DO_RPC_WERR macro.
...
Guenther
2009-03-18 20:01:51 +01:00
Günther Deschner
21391f7fbe
s3-smbcontrol: use correct PRINTER_NOTIFY flags.
...
Guenther
2009-03-18 17:46:00 +01:00
Günther Deschner
9d1ab9a001
spoolss: add my copyright.
...
Guenther
2009-03-18 17:18:46 +01:00
Günther Deschner
7fbdf8aae9
s3-spoolss: remove include/rpc_spoolss.h.
...
Guenther
2009-03-18 17:09:39 +01:00
Günther Deschner
36d0785806
s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.
...
Guenther
2009-03-18 17:09:33 +01:00
Günther Deschner
a502392541
s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether.
...
Good-Bye, last hand-marshalled rpc functions, rest in peace.
Guenther
2009-03-18 17:09:26 +01:00
Günther Deschner
a4e999c7e3
s3-spoolss: remove old spoolss_EnumPrinterDataEx.
...
Guenther
2009-03-18 17:09:18 +01:00
Günther Deschner
0cfb1aea29
s3-spoolss: use pidl for _spoolss_EnumPrinterDataEx.
...
Please note that this has been the last call in samba3 that was
using hand-marshalled rpc. With this commit all named pipe rpc services
in samba3 have now fully moved to pidl generated code :-)
Guenther
2009-03-18 17:07:39 +01:00
Günther Deschner
31106cdace
s3-spoolss: use printer and job notify enums provided by idl.
...
Guenther
2009-03-18 16:47:01 +01:00
Günther Deschner
e61c9ca36d
s3-spoolss: fix spoolss server after spoolss_Field changes.
...
Guenther
2009-03-18 16:46:49 +01:00
Günther Deschner
8b730ca1d8
s3-rpcclient: fix spoolss notify test after spoolss_Field changes.
...
Guenther
2009-03-18 16:46:42 +01:00
Günther Deschner
9ab8953d74
s3-rpc_parse: move prs_uint64 to rpc_parse/parse_prs.c.
...
Guenther
2009-03-18 16:43:28 +01:00
Günther Deschner
9fdeb7f7b3
s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.
...
Guenther
2009-03-18 14:18:42 +01:00
Günther Deschner
b0747651b9
s3-printing: use marshall/unmarshall_sec_desc_buf in sec_desc_upg_fn().
...
Guenther
2009-03-18 13:06:24 +01:00
Günther Deschner
ef02342562
s3-spoolss: add registry_value_to_printer_enum_value.
...
Guenther
2009-03-18 11:55:54 +01:00
Günther Deschner
f683341294
s3-spoolss: add SPOOLSS_BUFFER_ARRAY macro.
...
Guenther
2009-03-18 11:55:47 +01:00
Stefan Metzmacher
93c2057c8b
s3:winbindd: accept new connections via fd events
...
metze
2009-03-18 07:00:42 +01:00
Stefan Metzmacher
3b8dd79f2b
s3:winbindd: move non event related code out of process_loop() in the the caller
...
metze
2009-03-18 07:00:42 +01:00
Stefan Metzmacher
0685031ccf
s3:winbindd: remove unused close_winbindd_socket() function
...
metze
2009-03-18 07:00:41 +01:00
Stefan Metzmacher
450252d2a1
s3:smbd: use tevent_loop_once() in the parent event loop
...
metze
2009-03-18 07:00:40 +01:00
Stefan Metzmacher
b659daf81f
s3:printing: use tevent_loop_wait() instead of manual looping
...
metze
2009-03-18 07:00:39 +01:00
Stefan Metzmacher
339ea0503d
s3:printing: use a fd event to monitor the pipe to the parent
...
metze
2009-03-18 07:00:39 +01:00
Stefan Metzmacher
445b37f4f3
s3:smbd: don't exit the parent when we have no connections
...
This code path can't really happen anymore, because
launchd support was removed with commit e5a951325a
.
But it's confusing to have that code there...
metze
2009-03-18 07:00:38 +01:00
Günther Deschner
cd7f62ab70
s3-spoolss: use rpccli_spoolss_enumprinterdataex in ldap_printer.c.
...
Guenther
2009-03-18 02:37:57 +01:00
Günther Deschner
9d024d1715
s3-spoolss: remove old rpccli_spoolss_enumprinterdataex.
...
Guenther
2009-03-18 01:30:41 +01:00
Günther Deschner
f9712d568a
s3-net: use rpccli_spoolss_enumprinterdataex.
...
Guenther
2009-03-18 01:30:34 +01:00
Günther Deschner
8c3ef2d900
s3-rpcclient: use rpccli_spoolss_enumprinterdataex wrapper.
...
Guenther
2009-03-18 01:30:26 +01:00
Günther Deschner
ab85fc78bd
s3-spoolss: add rpccli_spoolss_enumprinterdataex convenience wrapper.
...
Guenther
2009-03-18 01:30:18 +01:00
Alexander Zagrebin
b4ae0e8d84
Missing break in conversion function prevents tdb password database update.
2009-03-17 15:38:33 -07:00
Jeremy Allison
8dd1faaa29
Remove the global "struct cm_cred_struct" and associated calls, make
...
callers pass in a struct user_auth_info * instead. This commit causes
smbc_set_credentials() to print out a message telling callers to use
smbc_set_credentials_with_fallback() instead, as smbc_set_credentials()
has a broken API (no SMBCCTX * pointer). No more global variables used
in the connection manager API for client dfs calls.
Jeremy.
2009-03-17 14:53:06 -07:00
Günther Deschner
153a837bd6
s3-rpcclient: say that we are displaying a REG_MULTI_SZ in display_reg_value().
...
Guenther
2009-03-17 22:15:20 +01:00
Steve Langasek
c6b570ce30
s3: Fix bugs in the detection of the GNU ld version (Bug #6147 )
...
This bug results in a failure to use linker scripts to limit the set of symbols
exported by our shared libraries.
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17 22:10:23 +01:00
Volker Lendecke
b29c69f459
Fix #6130 : Don't crash in winbindd_rpc lookup_groupmem() on unmapped members
...
Thanks to François Legal <devel@thom.fr.eu.org> for reporting this bug
2009-03-17 21:19:32 +01:00
Stefan Metzmacher
6c290586e4
s3:events: add support for immediate events
...
metze
2009-03-17 19:59:07 +01:00