1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

52132 Commits

Author SHA1 Message Date
Tim Prouty
f9636b0c01 socket wrapper: Fix 'might be used uninitialized' warning 2009-03-04 12:59:16 -08:00
Steven Danneman
5a9f668dab s3: Remove madvise support
This reverts 193be432.  The MADVISE_PROTECT is inherited by all child
processes and cannot be unset.  The intention of the original patch was
to protect the parent process, but allow children to be killed in low
memory.  Since this isn't possible with the current API, reverting the
whole feature.
2009-03-04 11:07:27 -08:00
Volker Lendecke
ddc1864fb2 Attempt to fix the build on IRIX 2009-03-04 12:28:39 +01:00
Volker Lendecke
e8484e01ed Make use of gpfs_get_real_filename optional 2009-03-04 11:23:12 +01:00
Michael Adam
fb70a8a255 s3: Fix a memleak in dbwrap_rbt.
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of
the db context. This is a quick fix using talloc instead of malloc
for allocation of the node data.

Since malloc was originally used for performance reasons, one
might want to reverse to malloc and create a talloc destructor
that walks the tree and frees all the node data if this talloc
approach proves to be too slow..

Michael
2009-03-04 11:23:05 +01:00
Stefan Metzmacher
27cf23958b socket_wrapper: add multiple interface support for ipv6
We use FD00::5357:5FXX in the same way we use 127.0.0.XX

metze
2009-03-04 08:32:33 +01:00
Stefan Metzmacher
b99bb962aa socket_wrapper: add ipv6 pcap support
metze
2009-03-04 08:32:33 +01:00
Stefan Metzmacher
8ae34cc994 socket_wrapper: pass down sockaddr instead of sockaddr_in to prepare pcap support for ipv6
metze
2009-03-04 08:32:32 +01:00
Stefan Metzmacher
40da086fe0 socket_wrapper: prepare pcap support for ipv6 traffic
metze
2009-03-04 08:32:32 +01:00
Stefan Metzmacher
d52e813117 s4:blackbox/test_ldb: make use of the $VALGRIND envvar
metze
2009-03-04 08:32:32 +01:00
Stefan Metzmacher
c51e5a23fb socket_wrapper: don't crash if we get EAGAIN from real_recv()
This fixes a crash in the ldaps tests with socket wrapper pcap support.

metze
2009-03-04 08:32:31 +01:00
Andrew Bartlett
8ee0cc24b8 Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel 2009-03-04 14:10:41 +11:00
Andrew Bartlett
52542e1aff Pull in all the schema information during DRS schema fetch
This includes things such as allowed attributes, which were not
populated into the schema structure before.

Andrew Bartlett
2009-03-04 14:06:11 +11:00
Andrew Bartlett
952bdffaad Don't print the admin password if we don't set one.
For example, if we don't create the admin user (perhaps expecting
users to be in LDAP already, or we are due an incoming replication) we
should not confuse the administrator by printing a unused password.

Andrew Bartlett
2009-03-04 14:02:35 +11:00
Andrew Bartlett
44c94b6c66 Allow 'net vampire' to work without an existing smb.conf
Now the provision can generate one based on the detected settings from
the target domain.

Andrew Bartlett
2009-03-04 13:58:07 +11:00
Tim Prouty
ef89c4bc0d s3 passdb: Add back some useful debug statements
Originally removed in be1dfff02d562e42a7847bd02fed8538630d3f41
2009-03-03 16:49:36 -08:00
Jeremy Allison
35f4ea221e Fix bug #6155 - "force group" is no longer working as expected.
We need to store the "force group" uid separately from the
conn->server_info token as we need to apply it separately also.
Volker PLEASE CHECK !
Jeremy.
2009-03-03 16:08:56 -08:00
Tim Prouty
243d4e8a08 s3 OneFS: Add parameter to ignore streams 2009-03-03 13:06:16 -08:00
Stefan Metzmacher
b00204a461 lib/util: remove samba specific talloc_get_type_abort()
metze
2009-03-03 18:07:33 +01:00
Stefan Metzmacher
b6f479d441 talloc: add talloc_get_type_abort()
metze
2009-03-03 18:07:33 +01:00
Jeremy Allison
4b2955aa7d Fix "ignore return" warning.
Jeremy.
2009-03-03 08:50:35 -08:00
Dan Sledz
be1dfff02d It appears that the first time we see a uid/gid that winbind can't map,
we end up returning the null sid instead of falling back to the legacy
code.  Next time through the code we'll hit the negative cache and do
the right thing, but we still fail the first time.

If we fail the winbind id to sid mapping, call the legacy version.  This
catches the case where we don't have a negative cache entry for the mapping.
This is better than returning the NULL sid to the caller.
2009-03-02 16:50:19 -08:00
Bo Yang
deb73e87b2 More fix to initialize idmap statuses 2009-03-02 15:51:55 -08:00
Björn Jacke
71ffd21d27 use test -f, Solaris /bin/sh doesn't know test -e 2009-03-02 14:56:58 -08:00
Simo Sorce
1ea0dca50a Fix wbclient.c wrt tevent_req changes too. 2009-03-02 15:38:45 -05:00
Volker Lendecke
9cacb49eb6 Attempt to fix the build
Simo, with which compiler did you build this? I'd be curious to learn about the
compiler settings that make this build.

Thanks,

Volker
2009-03-02 20:17:40 +01:00
Simo Sorce
67d41d0fc7 Make struct tevent_req opaque
Move struct tevent_req in tevent_internal, and ad getters and setters
for private data and the callback function.
This patch also renames 'private_state' into 'data'. What is held in this
pointer is in fact data and not a state like enum tevent_req_state.
Calling it 'state' is confusing.

The functions addedd are:
tevent_req_set_callback() - sets req->async.fn and req->async.private_data
tevent_req_set_print_fn() - sets req->private_print
tevent_req_callback_data() - gets req->async.private_data
tevent_req_data() - gets rea->data

This way it is much simpler to keep API/ABI compatibility in the future.
2009-03-02 11:02:09 -05:00
Günther Deschner
04a2b455a0 s3-spoolss: PRINTER_STATUS_OK has been moved to IDL.
Guenther
2009-03-02 14:25:01 +01:00
Günther Deschner
8b336211c3 s3-rpcclient: zero out devmode and secdesc in setdriver and setprinter command.
Guenther
2009-03-02 14:25:01 +01:00
Günther Deschner
6d27a89ada s3: re-run make samba3-idl.
Guenther
2009-03-02 14:25:00 +01:00
Günther Deschner
bd77ab5986 spoolss: move up printer and job status codes.
Guenther
2009-03-02 14:25:00 +01:00
Günther Deschner
c9061d048f spoolss: use dummy pointers for truncated devmode and secdesc in SetJobInfo2/4.
Guenther
2009-03-02 14:24:58 +01:00
Günther Deschner
db728c1ade error-codes: add WERR_DEVICE_NOT_CONNECTED.
Guenther
2009-03-02 14:24:57 +01:00
Björn Jacke
212756646e make man page (un)install more portable 2009-03-02 14:17:06 +01:00
Björn Jacke
88bd0f2ac6 some shells are picky about ^ without quotes 2009-03-02 13:05:02 +01:00
Karolin Seeger
2ab9d365cf s3/docs: Add missing full stop.
Karolin
2009-03-02 12:12:31 +01:00
Stefan Metzmacher
84b57a5dba libcli/security: fix the source4 build
metze
2009-03-02 12:05:43 +01:00
Stefan Metzmacher
ae1a69f3ea libcli/security: fix the source3 build
metze
2009-03-02 08:56:22 +01:00
Jelmer Vernooij
cdbc00bb52 Fix test_surrounding in samba4.rpcecho.python. 2009-03-02 05:07:30 +01:00
Jelmer Vernooij
0a3ee53b50 Use samba3's own iconv implementation for now, until all changes are
merged.
2009-03-02 05:04:07 +01:00
Jelmer Vernooij
2d7a3748b2 Merge branch 'master' of git://git.samba.org/samba into convenience 2009-03-02 04:15:11 +01:00
Jelmer Vernooij
c7b9757b8a Import ISO-8859-1, 646 from Samba 3 iconv. 2009-03-02 04:12:57 +01:00
Tim Prouty
9b0df441e1 s3: Fix incompatible type warnings 2009-03-01 16:40:17 -08:00
Tim Prouty
664268a287 s3 OneFS: Refactor config code and cleanup includes 2009-03-01 16:39:55 -08:00
Jelmer Vernooij
9940c7690e Use shared header file for character sets, remove old definitions from samba3 smb.h. 2009-03-01 22:31:10 +01:00
Jelmer Vernooij
9551ab8f7b Merge branch 'master' of git://git.samba.org/samba into convenience 2009-03-01 22:25:57 +01:00
Jelmer Vernooij
7ab8f373c8 Use common header file for character set handling in Samba 3 and Samba 4. 2009-03-01 22:24:34 +01:00
Jelmer Vernooij
8568b4fa9f Add header files for secace and secacl. 2009-03-01 20:06:55 +01:00
Jelmer Vernooij
94069bd274 s4: Use same function signature for convert_* as s3. 2009-03-01 19:55:46 +01:00
Jelmer Vernooij
da6721e323 Move secacl to top-level. 2009-03-01 18:15:36 +01:00