1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

4595 Commits

Author SHA1 Message Date
Günther Deschner
47bda3f3c7 s3-eventlog: split out evlog_convert_tdb_to_evt().
Guenther
2009-04-08 19:45:58 +02:00
Günther Deschner
98d703a6b7 s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.
Guenther
2009-04-08 19:45:57 +02:00
Günther Deschner
78951bd7f4 s3-util-sock: add ismyaddr() check in is_myname_or_ipaddr().
Guenther
2009-04-08 12:47:10 +02:00
Andrew Bartlett
6859b805e8 s3:lib Use push_ucs2_talloc() in ms_fnmatch()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-08 01:15:24 +02:00
Andrew Bartlett
0c22d55134 s3:charcnv Remove unused unistrcpy() and unistrlen()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:56 +02:00
Andrew Bartlett
80163b5ac5 s3:charcnv Remove unused unistr2 functions
Natrually, the hard work to make these unsued was done by GD, not me :-)

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:55 +02:00
Andrew Bartlett
5fff538820 s3:charcnv Remove unused ucs2_to_unistr2()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:55 +02:00
Karolin Seeger
6343cab308 s3/smbconf_reg: Fix typo.
Karolin
2009-04-07 20:05:21 +02:00
Andrew Bartlett
042aaffabf s3:smbldap convert the easy cases to push_utf8_talloc()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 18:55:05 +02:00
Volker Lendecke
ad29104d3d Add read_smb_send/recv, dumping keepalives 2009-04-06 21:32:05 +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
Jeremy Allison
1e742660bf Tidy up some convert_string_internal error cases, found by Andrew Bartlett.
Jeremy.
2009-03-31 18:28:49 -07: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
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
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
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
Jelmer Vernooij
c42fc5e103 display_sec: Move to common libcli/security directory. 2009-03-25 21:29:13 +01: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
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
93e13fe3e0 Add tevent avahi binding 2009-03-23 17:09:53 +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
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
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
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
Günther Deschner
531af136f9 s3: remove POLICY_HND.
Guenther
2009-03-18 23:22:29 +01:00
Günther Deschner
7a85a87edf s3-rpc_parse: remove unused BUFFER5 and UNISTR3.
Guenther
2009-03-18 20:17:01 +01: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
Stefan Metzmacher
6c290586e4 s3:events: add support for immediate events
metze
2009-03-17 19:59:07 +01:00
Stefan Metzmacher
d27be1d5fa s3:events: make use of tevent_common_loop_wait()
metze
2009-03-17 19:58:58 +01:00
Jeremy Allison
382d8069ad Add some appropriate const.
Jeremy.
2009-03-16 16:38:15 -07:00
Volker Lendecke
8a2b7b3e56 Remove unused async_req references from wb_reqtrans.c 2009-03-16 21:05:02 +01:00
Volker Lendecke
05b49fd4c8 Convert wb_trans to tevent_req 2009-03-16 20:45:55 +01:00
Volker Lendecke
1624b58beb Remove an unnecessary variable 2009-03-16 20:45:55 +01:00
Volker Lendecke
a58eccfee7 Make struct wb_context private to wbclient.c 2009-03-16 20:45:55 +01:00
Volker Lendecke
5c848e47cc Use tevent_wakeup_send in wb_trans 2009-03-16 20:45:55 +01:00
Volker Lendecke
20cee26a3d Convert open_socket_out_defer to tevent_req 2009-03-16 19:32:01 +01:00
Volker Lendecke
cb9effdc63 Use tevent_wakeup_send in open_socket_out_defer 2009-03-16 18:49:54 +01:00
Jelmer Vernooij
e548ec9c24 display_sec: Remove use of samba3-specific data types. 2009-03-15 17:14:25 +01:00
Volker Lendecke
5fa4cf283f Add queue argument to wb_resp_write 2009-03-15 11:26:22 +01:00
Jeremy Allison
e5136e9849 Remove the static "struct client_connection" mess which is part of
the problem that stops libsmbclient being thread safe. Subsidiary
DFS connections are now hung off a list inside the cli_state struct.
Much more to do in order to get libsmbclient to thread safety, but
this is a good start.
Jeremy.
2009-03-12 17:59:24 -07:00
Stefan Metzmacher
bd0f14c1d7 s3:events: pass __location__ to event_loop_*()
metze
2009-03-12 12:12:40 +01:00
Andrew Tridgell
6f1f9f6d8d fixed a bug in message handling for code the change notify code
The change notify code registered a separate message handler for each
tree connect. This registration uses the global messaging context.

The messaging code would consider a 2nd registration for the same
messaging type as being an 'update' of the handler, rather than a new
handler. It also would only call the first handler in the linked list
for a given message type when dispatching messages.

This patch changes the messaging code to allow for multiple
registrations of the same message type, and allow for multiple calls
to different messaging handler for one incoming message.

This fixes the problem with the test_notify_tcon() test that I
recently committed to the S4 smbtorture
2009-03-10 16:45:45 +11:00
Jelmer Vernooij
3b181564c5 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-03-09 21:42:13 +01:00
Stefan Metzmacher
1410490fe7 s3:lib: interfaces.c isn't used in the configure tests anymore
libreplace always provides the getifaddr() function.

This fixes the build on sles8.

metze
2009-03-09 12:49:13 +01:00
Björn Jacke
c3691b839c fix "dubious escape" warning of Studio compiler 2009-03-09 10:47:30 +01:00