1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00
Commit Graph

12890 Commits

Author SHA1 Message Date
Jeremy Allison
fa548ad75e r23370: Traverse in tdb wasn't consistently using the
travlocks.lock_rw for lock read/write types, it
was sometimes using it (tdb_next_lock) and
sometimes explicitly using F_WRLCK instead.
Change this to consistently use travlocks.lock_rw
only.
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
Jeremy.
2007-10-10 14:53:12 -05:00
Andrew Bartlett
7f3671bf11 r23365: Try to make Windows Vista join again. On my new test environment, it
wants to check for an existing domain join account, and fails.  This
test shows that we need to return NT_STATUS_NONE_MAPPED when nothing
matches.  (not yet tested if this helps vista).

Andrew Bartlett
2007-10-10 14:53:12 -05:00
Andrew Tridgell
0c3442c68b r23364: add LDB_FLG_NOMMAP flag 2007-10-10 14:53:12 -05:00
Michael Adam
e4955c729f r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.
This fixes the build on a SuSE 6.1. :-)
I guess this had been merely forgotten.

But beware: The implementations of rep_pread and rep_pwrite are
not thread safe.

Michael
2007-10-10 14:53:12 -05:00
Andrew Bartlett
bb583463bf r23361: Merge from SAMBA_4_0_RELEASE:
Print the smb.conf path being created in provision.

Andrew Bartlett
2007-10-10 14:53:11 -05:00
Andrew Bartlett
430c998dc9 r23351: Merge from SAMBA_4_0_RELEASE:
Fix a nasty issue we had with SWAT.  We could not provision into a
different domain, as we didn't re-calcuate the DOMAINDN after the user
changed it in the form.

Andrew Bartlett
2007-10-10 14:53:11 -05:00
Stefan Metzmacher
df6e3bec36 r23339: merge from SAMBA_3_0:
fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticed
it via a SIGBUS...

I missed to remove the samba3 specifc code path to tdb_open_ex()
when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex()
dropped the compiler warning :-(

metze
2007-10-10 14:53:11 -05:00
Andrew Bartlett
96df61e3a8 r23325: Remove items from menu that have been removed from SVN long ago, with
the start of the transition to the new SWAT.

Andrew Bartlett
2007-10-10 14:53:11 -05:00
Kai Blin
553b7e146f r23311: Updating the samba4 winbind protocol to version 18.
nsswitch/winbindd_nss.h is just copied from SAMBA_3_0.
nsswitch/winbind_nss_config.h is copied from SAMBA_3_0, too, but I had to
drop some of the defines to make things build again.

Kai
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
06caaf0d8d r23306: pass down LDFLAGS to the link command in the libreplace standalone build
metze
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d890a2dabf r23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
pread/pwrite when using large file support.

metze
2007-10-10 14:53:10 -05:00
Andrew Tridgell
76b981fcef r23301: merged from ctdb 2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d89088128a r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
so try the same fix as for 11.00

metze
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
04f19c054e r23294: try to fix the build
metze
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
bb2da636be r23293: the fix for HP-UX 11.11 doesn't work on HP-UX 11.00
we end up with sozeof(uint64_t) == 4 :-(

the _APP32_64BIT_OFF_T section in <sys/unistd.h> missed
to redirect pread, pwrite to pread64, pwrite64 in HP-UX 11.00
so try it manually as a workarround

metze
2007-10-10 14:53:09 -05:00
Rafal Szczesniak
18c5341fad r23292: check for errors returned in a call result.
rafal
2007-10-10 14:53:09 -05:00
Jelmer Vernooij
44248f662f r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_. 2007-10-10 14:53:08 -05:00
Stefan Metzmacher
7fae261a49 r23288: give more info...
metze
2007-10-10 14:53:08 -05:00
Andrew Bartlett
bed522df4b r23286: In SWAT, it was not possible to use a domain name other than the default.
Fix this in the same way the setup/provision script does.

Andrew Bartlett
2007-10-10 14:53:08 -05:00
Andrew Bartlett
9bf7e4d896 r23281: Ensure we wipe all the right things in distclean.
Andrew Bartlett
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
6dff6c93fc r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
metze
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
71eac88f7e r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
with it...

metze
2007-10-10 14:53:07 -05:00
Andrew Bartlett
f687bc92ae r23264: Make it more clear what this is actually setting up 2007-10-10 14:53:07 -05:00
Andrew Bartlett
db8d78f187 r23262: Fix mkrelease.sh to work in the right directories 2007-10-10 14:53:07 -05:00
Andrew Bartlett
f803e563cb r23261: Merge WHATSNEW back into the main branch. Comments/omissions greatly
appriciated.

Andrew Bartlett
2007-10-10 14:53:07 -05:00
Andrew Bartlett
3ecd180343 r23257: Newer OpenLDAP versions don't seem to need this, so simplfy.
Andrew Bartlett
2007-10-10 14:53:06 -05:00
Günther Deschner
9c2b964233 r23240: Fill in netr_DsrGetDcSiteCoverageW.
Guenther
2007-10-10 14:53:06 -05:00
Günther Deschner
cf953d0481 r23239: Fill in drsuapi_QuerySitesByCost.
Guenther
2007-10-10 14:53:06 -05:00
Andrew Tridgell
9dbb2633d7 r23238: merged transaction lock changes from ctdb
this ensures that having the global lock also implies the transaction
lock
2007-10-10 14:53:06 -05:00
Andrew Tridgell
361c5995bc r23237: update lib/replace from ctdb 2007-10-10 14:53:05 -05:00
Andrew Bartlett
6d4d90399f r23235: Don't do a seperate LDAP provision step. Instead, everything we need
(including the config files) is created by provision-backend.

Andrew Bartlett
2007-10-10 14:53:05 -05:00
Andrew Bartlett
a7a409074a r23233: Use the schema and basedn files generated by the provision-backend script.
(Moving towards using only the script's output, one step at a time).

Andrew Bartlett
2007-10-10 14:53:05 -05:00
Andrew Bartlett
0108334fe3 r23232: Add in some extra files required by the new provision-backend.
(sorry for breaking the build)

Andrew Bartlett
2007-10-10 14:53:04 -05:00
Jim McDonough
69270178e5 r23231: Fix make test on build farm for 64-bit hosts. There's no reason this should
be any different for 64-bit hosts, but we probably are lucking out on other
fields here as well.  The "fields_present" field shouldn't just be copied
from usrmgr traces, because it indicates which fields should be set, and
in this case, we were setting the kickoff time (NOT the expired time) to some
random date.
2007-10-10 14:53:04 -05:00
Stefan Metzmacher
48eb20199e r23209: import getnameinfo.c, inet_ntop.c and inet_pton.c from
loikeet-heimdal

metze
2007-10-10 14:53:04 -05:00
Stefan Metzmacher
0c7e3ed962 r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
for dlopen but no library contains the function...

metze
2007-10-10 14:53:03 -05:00
Stefan Metzmacher
236da2cb3d r23205: abartlet please commit the correct content ...
this just fixes make install

metze
2007-10-10 14:53:03 -05:00
Andrew Bartlett
2cde9eb860 r23191: Use the new provision-backend script to setup Fedora DS for make test.
OpenLDAP to follow once I get things working...

Andrew Bartlett
2007-10-10 14:53:03 -05:00
Andrew Bartlett
0f457b1d2e r23189: Work towards a totally scripted setup of LDAP backends, so others can
easily try this out.

I also intend to use this for the selftest, but I'm chasing issues
with the OpenlDAP (but not Fedora DS) backend.

Andrew Bartlett
2007-10-10 14:53:02 -05:00
Stefan Metzmacher
0e88e2e461 r23188: revert 23123 and 23118.
as a long term solution this was the correct approach,
but it's a bit more complex and we need to provide the
whole socket api and libnsl.so checking in libreplace...

as a short term solution to fix the build on host 'hape'
we'll use the same trick as with inet_aton.c from
heimdal's lib/roken/

metze
2007-10-10 14:53:02 -05:00
Stefan Metzmacher
cd012361d2 r23187: revert 23145 and 23135 to fix the build on solaris...
metze
2007-10-10 14:53:02 -05:00
Andrew Tridgell
fae416cbe8 r23182: fixed valgrind error 2007-10-10 14:53:01 -05:00
Andrew Tridgell
a25c27dbae r23181: prevent attempts to reopen the connection twice at the same time 2007-10-10 14:53:01 -05:00
Andrew Tridgell
32a6c268a7 r23180: auto-reconnect on both NT_STATUS_END_OF_FILE and NT_STATUS_LOCAL_DISCONNECT 2007-10-10 14:53:01 -05:00
Rafal Szczesniak
9471de13ea r23179: I forgot ejsnet.js script is one of tests. Disable it temporarily.
rafal
2007-10-10 14:53:00 -05:00
Rafal Szczesniak
43f9d9ba71 r23178: add simple js code I use for testing and which starts to look like
ejsnet command line utility (perhaps to be moved to utils later...)

rafal
2007-10-10 14:53:00 -05:00
Andrew Bartlett
01d54d13dc r23177: Add in a new provision-backend script. This helps set up the OpenLDAP or Fedora DS backend.
This required a new mkdir() call in ejs.

We can now provision just the schema for ad2oLschema to operate on
(with provision_schema(), without performing the whole provision, just
to wipe it again (adjustments to 'make test' to come soon).

Andrew Bartlett
2007-10-10 14:53:00 -05:00
Andrew Bartlett
4fee8a7b77 r23176: Note that we only return one DC from this call at the moment.
Andrew Bartlett
2007-10-10 14:52:59 -05:00
Jelmer Vernooij
222acbe33b r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl 2007-10-10 14:52:59 -05:00
Jelmer Vernooij
a6293ab5cb r23174: merge text 2007-10-10 14:52:59 -05:00