Matthias Dieter Wallnöfer
46bcf883bf
s4:rootdse LDB module - strip trailing whitespaces
2010-06-19 17:53:18 +02:00
Matthias Dieter Wallnöfer
7f46a91e77
s4:rootdse LDB module - protect add and delete operations on the rootdse entry
2010-06-19 17:53:18 +02:00
Matthias Dieter Wallnöfer
72e14ea8bd
s4:rootdse LDB module - Return "UNWILLING_TO_PERFORM" when no attribute fits on a change
2010-06-19 17:53:17 +02:00
Matthias Dieter Wallnöfer
2af67a3602
s4:rootdse LDB module - refactor error messages
...
Fix indentations, use "set_errstring" when no "asprintf" functionality required.
2010-06-19 17:53:16 +02:00
Matthias Dieter Wallnöfer
a4381239ba
s4:objectclass LDB module - use the old DN when displaying error messages
2010-06-19 17:53:16 +02:00
Matthias Dieter Wallnöfer
ee2bb4474f
s4:objectclass LDB module - add a better message when the parent DN is invalid
2010-06-19 17:53:15 +02:00
Matthias Dieter Wallnöfer
04890bb750
s4:objectclass LDB module - add an error message when someone tries to add entries without objectclasses
2010-06-19 17:53:15 +02:00
Matthias Dieter Wallnöfer
9da8b06112
s4:objectclass LDB module - handle the case when there is a retry to add the root basedn
...
This isn't quitted with a normal "NO_SUCH_OBJECT" (parent not found) but with a
very special referral: one with the DN itself and the hostname is the last
component value of the DN.
2010-06-19 17:53:14 +02:00
Jelmer Vernooij
24930aa716
wafsamba: Use octal modes directly rather than constants.
2010-06-19 16:00:04 +02:00
Jelmer Vernooij
b099631f42
heimdal/waf: Initial work on making it possible to use the system
...
heimdal again.
Still missing are the detection of the right Heimdal version and
linking (unresolved symbols at the moment).
2010-06-19 15:32:27 +02:00
Jelmer Vernooij
b03637cb9e
dsdb: Fix includes when building against system ldb.
2010-06-19 14:46:22 +02:00
Jelmer Vernooij
f370bd47b0
wafsamba: Allow manually specifying cflags/ldflags for system libraries.
2010-06-19 14:45:35 +02:00
Jelmer Vernooij
7646eb6a0f
wafsamba: Use convenience function to find out if bundling is necessary.
2010-06-19 14:02:18 +02:00
Jelmer Vernooij
ccaf0c6038
dsdb: Use Samba includes so _PUBLIC_ is defined.
2010-06-19 13:55:41 +02:00
Jelmer Vernooij
a8aaf3d4be
wafsamba: Factor out functions to determine if a bundled library should not or
...
must be used.
2010-06-19 13:47:11 +02:00
Jelmer Vernooij
238e89f7b0
dsdb: Make module ops struct for each module public.
2010-06-19 13:46:39 +02:00
Jelmer Vernooij
f36a9afc2f
s4-python: Use sys.prefix rather than guessing prefix from current
...
file path.
2010-06-19 13:41:48 +02:00
Jelmer Vernooij
bd1786f7f1
wafsamba: Fix typo: noextenion -> noextension.
2010-06-19 12:10:29 +02:00
Jelmer Vernooij
bf8045037d
waf: Add missing dependency (so header paths are inherited) on talloc to internal python lib.
2010-06-19 02:26:13 +02:00
Jelmer Vernooij
5143353108
samba4: Build libreplace as builtin library by default so it doesn't end
...
up in $prefix/lib.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
f2527d217c
replace: Avoid hiding symbols when libreplace is builtin, as this
...
appears to cause unresolved symbols at the moment.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
380ee5f081
ldb: Remove dependency on self.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
e0fe941218
wafsamba: Use BUILTIN_LIBRARY() rather than relying on side-effects.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
da0fb0affb
ldbsamba: Build as subsystem to prevent infinite recursion issues.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
4c22434b3b
s4: Don't build a $prefix/lib/libpython.so, as such a library often already exists :-)
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
b391b7d072
s4-waf: Don't include pytalloc when embedding python.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
ebd0bca555
s4: Build more python convenience files as subsystems rather than as python modules.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
8e8496208b
ldb: Don't build pyldb_util as python module but rather as subsystem, so as to not delute /usr/lib.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
f74dceda8c
ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, so as to not delute /usr/lib.
2010-06-18 23:51:40 +02:00
Jelmer Vernooij
9382507909
web_server: Don't build wsgi support as python module but rather as
...
subsystem so we don't install it into /usr/lib.
2010-06-18 23:51:40 +02:00
Matthias Dieter Wallnöfer
837a975c2b
s4:cldap_server/rootdse.c - simplify the code a bit
...
Remove "NULL"-content variables and use "NULL"s directly as arguments. Add some
linewraps where needed.
2010-06-18 19:21:34 +02:00
Matthias Dieter Wallnöfer
9969cfc36c
s4:cldap_server.c - here the counter variable should be "signed"
2010-06-18 18:57:38 +02:00
Jeremy Allison
2e8c563961
Second part of fix converting prs_XX struct and functions to talloc. Remove unneeded prs_mem_free calls.
...
Jeremy.
Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-18 07:42:05 -04:00
Jeremy Allison
f4e7d9d38e
Convert the prs_XXX struct and functions to use talloc instead of malloc. Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls.
...
Jeremy.
Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-18 07:41:47 -04:00
Matthieu Patou
3fa38046cb
unittest: Change the name of the base ldb test so that it can be easily called separatly
2010-06-18 10:04:28 +02:00
Matthias Dieter Wallnöfer
c9ef9da12f
s4:ldap_backend.c - fix crash bugs when we got in error situations with "res" still set to "NULL"
2010-06-18 10:03:19 +02:00
Matthias Dieter Wallnöfer
e7fef1ac84
s4:ldap_backend.c - fix a small error (use "ModifyResponse" rather than "AddResponse")
2010-06-18 10:03:19 +02:00
Matthias Dieter Wallnöfer
955e1835ef
s4:objectclass LDB module - move "mem_ctx" initialisation lower
...
Saves us some "talloc_free"s on error cases
2010-06-18 10:03:09 +02:00
Matthias Dieter Wallnöfer
56e4822566
s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the detection of the address family in a better way
...
Obviously the last attempt wasn't enough. Now we do really only read the first
byte in the address buffer which on little endian transmission does always
contain the address family (MS-NRPC 2.2.1.2.4.1).
This should now be working platform-independently.
2010-06-18 10:03:08 +02:00
Matthias Dieter Wallnöfer
01e9d090f1
s4:torture/rpc/netlogon.c - make sure that the address family is set in little endian in the "AddressToSitenames" tests
2010-06-18 10:03:07 +02:00
Matthias Dieter Wallnöfer
917f6015a6
s4:torture/rpc/netlogon.c - activate "AddressToSitenames" tests which do run against s4
2010-06-18 10:03:07 +02:00
Jeremy Allison
be31b2ba62
Use #defined constant instead of "false" to be clearer about intent.
2010-06-17 12:34:15 -07:00
Günther Deschner
160d882f34
s3-selftest: fix locktest9 in make selftest.
...
Guenther
2010-06-17 15:08:27 +02:00
Björn Jacke
14c8d319e3
s3:configure: use cc for linking on IRIX and fix shlib usage
2010-06-17 11:41:58 +02:00
Stefan Metzmacher
d823e529b8
s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of dcerpc_netr_LogonSamLogon()
...
metze
2010-06-17 10:17:33 +02:00
Stefan Metzmacher
22eb6d7b6b
selftest/Samba4: make the naming of passwords more consistent
...
metze
2010-06-17 09:12:00 +02:00
Stefan Metzmacher
f26c0e5456
selftest/Samba4: let localfl2000dc use 127.0.0.5
...
Now we have 127.0.0.6-10 available for more servers.
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
8aed54adbf
selftest/Samba4: let localvampiredc use 127.0.0.2
...
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
6a0db03c80
selftest: use 127.0.0.11-16 for the client
...
This gives more room for servers.
Note: socket_wrapper currently only supports 127.0.0.1-16
see MAX_WRAPPED_INTERFACES.
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
1e8d025a3c
selftest/Samba3: remove unused create_clientconf() function
...
metze
2010-06-17 09:11:58 +02:00