1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

12208 Commits

Author SHA1 Message Date
Stefan Metzmacher
c36eedf35c r22571: - don't use "localhost" anymore in our tests
- use different passwords for dc and member

metze
(This used to be commit 9e882cbde232e5945c77eb162645328146023bee)
2007-10-10 14:51:46 -05:00
Stefan Metzmacher
498166904d r22570: run the NBT tests against DC and MEMBER
metze
(This used to be commit 307cee21e4fd56150bdee9f1bbc2a1f2c2440afc)
2007-10-10 14:51:45 -05:00
Stefan Metzmacher
ba204fe350 r22569: use the $SERVER_IP for the LDAP-* tests because I'll later change
$SERVER from localhost to localdc.

we should find out why this is needed and add explicit name resolution
in related code...

metze
(This used to be commit 8336e85aad03deb6fffe89c0a770fb05c2319c8e)
2007-10-10 14:51:45 -05:00
Stefan Metzmacher
d17ae2fe82 r22568: use the $SERVER_IP for the NET-* tests because I'll later change
$SERVER from localhost to localdc

mimir: please take a look why that's needed at all, as it shouldn't:-)

metze
(This used to be commit b06a9a00cf8414b13c16550a8156dba65c5dd7ea)
2007-10-10 14:51:45 -05:00
Rafal Szczesniak
2096de0b8d r22567: add NET-API-DOMLIST test to automatic testing.
rafal
(This used to be commit 69a6f655aac57db1cfb15c61900a411c07da3d7a)
2007-10-10 14:51:45 -05:00
Rafal Szczesniak
dffe18ed1a r22566: add a simple test of libnet_DomainList function.
rafal
(This used to be commit a1ca08b05b804021aa829c737aeb66b4e283940c)
2007-10-10 14:51:44 -05:00
Rafal Szczesniak
c66fae011f r22565: add libnet_DomainList function.
rafal
(This used to be commit b17da3b7da40de6a1fbe45a56b614b352f007508)
2007-10-10 14:51:44 -05:00
Jeremy Allison
522f9ace14 r22563: As tridge requested remove the _strict calls - for Samba3 I'm moving
to a separate file.
Jeremy.
(This used to be commit 80706cf98d31593a899652acb2cdedaa8bf3dfab)
2007-10-10 14:51:44 -05:00
Andrew Bartlett
6736106581 r22559: Make the ad2OLschema tool case insensitive.
Andrew Bartlett
(This used to be commit ddcca38c65c12a4e6a49151296ab36a458c53cb6)
2007-10-10 14:51:44 -05:00
Andrew Bartlett
729674054a r22558: Move to a static list of enctypes to put into our keytab. In future,
I'll allow this to be configured from the secrets.ldb, but it should
fix some user issues.

Andrew Bartlett
(This used to be commit 0fd74ada220fb07d4ebe8c2d9b8ae50a387c2695)
2007-10-10 14:51:43 -05:00
Andrew Bartlett
f34c57f4fc r22557: Simo has long bugged me that the paths in the sam.ldb partitions were
not relative to the location of the sam.ldb, but instead
lp_private_dir().

This fixes that issue.

Andrew Bartlett
(This used to be commit c0fd6f63399d55a1938e31ae7b10689cc02ff2fa)
2007-10-10 14:51:43 -05:00
Andrew Bartlett
b006d86e65 r22556: Make the slapd command valid.
Andrew Bartlett
(This used to be commit dfb2fd2b2a45f5f96627c4beef6aa9174978688e)
2007-10-10 14:51:43 -05:00
Stefan Metzmacher
b8fdea2172 r22552: this doesn't need a dc
metze
(This used to be commit 56a86c7cc7263f1415c2d75bb9ab921de66842bc)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
99b2851f46 r22551: use fixed passwords, to make it possible to reproduce stuff
and look into krb5 blobs when using wireshark on
--socket-wrapper-pcap created files

metze
(This used to be commit eaf4b9c0ee88ef32e984e10e76d57ea5daa0e7e7)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
ecc37e1dac r22550: nmblookup -U needs an ip address otherwise we depend on gethostbyname()
metze
(This used to be commit 5533fc50636fcbba643f25c02bf6f4cae431de47)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
c1195e0e60 r22549: export some more info ipaddress and in member env also the
details of the dc

metze
(This used to be commit 0c8c1c55f4047e98848028927b7870d5972e7513)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
e5b0977897 r22548: - maintain a global array of exported envvars
- make it possible to specify the envname for make testenv:
  SELFTEST_TESTENV=member make testenv

metze
(This used to be commit b6b57dd9c9aa066127f26c49f2af6c055be0422e)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
5d78a487b8 r22547: fix some pathes and make sure we work with relative and abslute prefix pathes
metze
(This used to be commit dc3df1ca433036683f5432635d6e3251ad5f971e)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
5b1a01a9c0 r22546: use the same error codes in both share backends
metze
(This used to be commit e0fae01e4cf93393b57514ffc08c126abf034e11)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
9a66e0f7fb r22545: fix formating and a compiler warning
metze
(This used to be commit 5e627cc7c097e2a5316f3140dc6551659e1ec7a9)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
18d141a3cf r22544: use the same syntax as in all other files
maybe that fixes make test on all sun hosts...

metze
(This used to be commit 2597152126251da78b605f1d20c8b00e0e51396b)
2007-10-10 14:51:40 -05:00
Jeremy Allison
ca3a7a5578 r22541: Added talloc_size_strict macro.
Jeremy.
(This used to be commit 219e1cae7792a5da886212f335ed11a35f28b3eb)
2007-10-10 14:51:40 -05:00
Jeremy Allison
3477721278 r22540: Added _strict varients of the macro calls - added
prototypes.
Jeremy.
(This used to be commit ba1a66cc6febed8b9c809c59562414675df5f74e)
2007-10-10 14:51:40 -05:00
Jeremy Allison
b06fc3b53c r22539: Added _strict varients of the talloc calls to
return NULL on size == 0 varients.
Jeremy.
(This used to be commit 1ef269067ca501e2a4ded4ca8654c6a6cc26f385)
2007-10-10 14:51:39 -05:00
Stefan Metzmacher
5a616802ff r22538: same day late at night in au...:-)
fix the strcasecmp_m() returns 0 for a match

also use the correct array element to fill priv->dcinfo

the fixes the problems where ldb changes the order of the search results
when changing the main dc netbios name from "localhost" to "localtest"

metze
(This used to be commit 25fffe385ea039ae19f25730cba6c7ea8684860b)
2007-10-10 14:51:39 -05:00
Stefan Metzmacher
aad487ac94 r22536: resolve name before passing to cldap
metze
(This used to be commit 2d282584065e668befea120b2baa2988cfe8998d)
2007-10-10 14:51:39 -05:00
Stefan Metzmacher
383fc70970 r22535: pass down $(TESTS) to all test variants
metze
(This used to be commit c27519d35159499d653281341c63bf57e77562de)
2007-10-10 14:51:39 -05:00
Stefan Metzmacher
9c6c917571 r22534: don't remove socket and fd_event before we told the
packet layer.

also fix double free (left over from cut-n-paste)

metze
(This used to be commit a26db7e694def6206345222a240d160fac17dd7d)
2007-10-10 14:51:38 -05:00
Andrew Bartlett
4d23d4b210 r22531: Fix up OpenLDAP schema map to almost pass 'make test'.
Andrew Bartlett
(This used to be commit ef9320ae5b0b01bd39b60c22ff4e3698ac0ae9a7)
2007-10-10 14:51:38 -05:00
Stefan Metzmacher
e5ea03737f r22530: use message() to make --quiet work
metze
(This used to be commit 7c381b2d4f92622ac7efdcc6b8e405d418e2d4bb)
2007-10-10 14:51:38 -05:00
Stefan Metzmacher
42b133748f r22528: remember that the connection was marked dead and don't
allow sending packet over the broken connection,
as we would segfault...

metze
(This used to be commit 738b2c74117bdbef3b314c37f01f2f73b7a80685)
2007-10-10 14:51:38 -05:00
Andrew Bartlett
ba6f0b0c48 r22522: Print why we can't find these entries.
Andrew Bartlett
(This used to be commit 465f1811683d22f4a3e3f5e693b3b29c59053cb4)
2007-10-10 14:51:37 -05:00
Andrew Bartlett
9aeaac2c2b r22521: Don't fail the module load just because we don't have a schema yet.
This code to be replaced by metze's schema loader soon...

Andrew Bartlett
(This used to be commit a354ec282232c00d149304d90f9b8ef01c9a2e5f)
2007-10-10 14:51:37 -05:00
Jelmer Vernooij
771b57b3fc r22520: Fix the TYPE command.
(This used to be commit b81b0d3308bf51c2e22d54024b3d6f1a59c6b283)
2007-10-10 14:51:37 -05:00
Rafal Szczesniak
29c2744f96 r22519: convert libnet_DomainOpenSamr function from state-handling routine
to composite_continue.

rafal
(This used to be commit 4a2839d95d18fe05152abbd88676c4fef4d59ace)
2007-10-10 14:51:36 -05:00
Jelmer Vernooij
4adf0b62a3 r22518: Create pkgconfig dir.
(This used to be commit 17e9c56a75264e77a9cab130890ad97618442301)
2007-10-10 14:51:36 -05:00
Jelmer Vernooij
781575f508 r22517: Use DESTDIR
(This used to be commit 4614da125fe3ce87ab59bc583aa95fa73beebaab)
2007-10-10 14:51:36 -05:00
Jelmer Vernooij
78cf175165 r22516: Use DESTDIR
(This used to be commit d0f8d46813ea0b633cb40c9a77b90f34307cb2ab)
2007-10-10 14:51:36 -05:00
Stefan Metzmacher
7236bcf39d r22515: only steal pipe on success
metze
(This used to be commit acfaba06f51184df5f1e99f0acd6fd0bd5f34afc)
2007-10-10 14:51:35 -05:00
Jelmer Vernooij
4b0820f9ad r22514: Add version numbers to tdb and talloc (required so they can be packaged independent of Samba for Debian).
(This used to be commit 846cfcf44df07457d228c9a5afab743e071ab7aa)
2007-10-10 14:51:35 -05:00
Stefan Metzmacher
5d2f325f83 r22508: at option for the startup delay
metze
(This used to be commit 09da9f6490bf57d231a2ace4697adc8c6cd5f912)
2007-10-10 14:51:35 -05:00
Jelmer Vernooij
1db793be75 r22503: Add support for dgram to socket_ipv6. No tests yet...
(This used to be commit 2f64b758460a3bde6c7b4a240998fb76bd6e0827)
2007-10-10 14:51:34 -05:00
Andrew Bartlett
6d69e67dfd r22498: The initial LDIF import into Fedora DS didn't work, so just push this
onto the end of dse.ldif.

This make Fedora DS work with multiple naming contexts.

Andrew Bartlett
(This used to be commit 43deee4f938444349ad2d398670537f4537a6072)
2007-10-10 14:51:33 -05:00
Andrew Bartlett
17078a46b8 r22497: Support renaming objectclasses and attributes for the LDAP backend.
OpenLDAP is fussy about operational attributes in user-supplied
schema.

Andrew Bartlett
(This used to be commit d7cd4b768a7f56ced8ed94b9a63d01865ba7d10a)
2007-10-10 14:51:33 -05:00
Andrew Bartlett
f1851e7abc r22494: Skip subSchema again, but we will need to remap this objectClass.
Make the Fedora DS backend test again.

Andrew Bartlett
(This used to be commit 65327a0e4d61e2c9813720f04fe24ffc5c49278b)
2007-10-10 14:51:33 -05:00
Jelmer Vernooij
c58042c90e r22488: Hopefully fix ipv6.
(This used to be commit 7a0da66e39fde8c06ab8af94a14113141076c969)
2007-10-10 14:51:33 -05:00
Stefan Metzmacher
f66bd1ae54 r22486: add a flag to ignore timeouts of a request and don't close
the connection on timeout

metze
(This used to be commit 6b23ab1fd265e2a92456701fb02bd1838c098874)
2007-10-10 14:51:32 -05:00
Stefan Metzmacher
d7b0175249 r22485: don't crash when the main dcerpc code haven't setup
transport.recv_data yet

also return always a usefull error

metze
(This used to be commit 0a8b4c328dfac972186564d2a4e1757d5135ec47)
2007-10-10 14:51:32 -05:00
Andrew Bartlett
3d4c4c5fa3 r22478: Update the LDAP backend code to handle initialisation of multiple
partitions onto the target LDAP server.

Make the LDAP provision run before smbd starts, then stop the LDAP
server.  This ensures this occurs synchronously, We then restart it
for the 'real run' (with slapd's stdin being the FIFO).

This required fixing a few things in the provision scripts, with more
containers being created via a add/modify pair.

Andrew Bartlett
(This used to be commit 860dfa4ea1ab2b62d4d4fe0644e0a9b882fdafa1)
2007-10-10 14:51:31 -05:00
Andrew Bartlett
a62b46b4b2 r22477: When an invaild base is specified to ldb_search, it should return
LDB_ERR_NO_SUCH_OBJECT.  Handle this (found against LDAP, ldb_tdb is
being updated).

Andrew Bartlett
(This used to be commit 93e2ff2e85c57a192aadac96ce09a678d464e8ad)
2007-10-10 14:51:31 -05:00