summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-03-19Merge lorikeet-heimdal -r 787 into Samba4 tree.Andrew Bartlett155-1351/+36677
Andrew Bartlett (This used to be commit d88b530522d3cef67c24422bd5182fb875d87ee2)
2008-03-17RAW-BENCH-OPEN: avoid sync calls before the main loopStefan Metzmacher1-33/+55
On multi cpu machines the server may reply to the first requests while the test is still in setup mode. Now we setup the first opens, but send them all together when entering the main loop. metze (This used to be commit 3f2d12c61e95475009baf77c3e0fbea2abecc17a)
2008-03-17RAW-BENCH-OPEN: fix the output and calculate the total operationsStefan Metzmacher1-7/+17
metze (This used to be commit c84e3abae9781c0cbea5fee00bafe70967fb6468)
2008-03-17selftest: handle progress output in verbose modeStefan Metzmacher3-4/+31
metze (This used to be commit 9196213c49532ac60349ff55e66430b7c80b09c2)
2008-03-17socket_wrapper: make pcap code more portableStefan Metzmacher1-39/+40
Now the pcap support works on x86_64. metze (This used to be commit 61a87bed61ef661d98131239976be95c6a8b4d96)
2008-03-17Don't require users of credentials.h to have krb5.h and gssapi.hAndrew Bartlett4-11/+24
Rather than require users of Samba4's headers to have krb5-devel installed (presumably in their system paths), don't expose the minor functions which require this by default. Andrew Bartlett (This used to be commit f14737e4d2040d2f401a3b20c5e78d0d793cfc3a)
2008-03-15pvfs_open: set h->have_opendb_entry directly after odb_open_file()Stefan Metzmacher1-2/+2
Otherwise we may not clean up in the destructor. metze (This used to be commit 218ec98a1694080748d1ac12baa90ffcda364833)
2008-03-15pvfs_open: the pvfs_odb_retry structs need to be children of the requestStefan Metzmacher1-2/+0
Otherwise they're not cleaned up when the request is finished. metze (This used to be commit 055760f0f4aadd2079b0a4999b59ac3dbe5edf8a)
2008-03-15pvfs_unlink: disable async retries for wildcard deletesStefan Metzmacher1-0/+6
We would setup multiple retries per client request. metze (This used to be commit 951764e28407a53ea4dd39d34388fab1b2259785)
2008-03-15messaging: fix a valgrind warning on 64bit hosts zero out paddingStefan Metzmacher1-0/+2
metze (This used to be commit f555b8e4c35f69fdc1fb34427d882580eecad284)
2008-03-15Rework memberof handling in slapd.conf (used for OpenLDAP backend)Andrew Bartlett2-25/+24
Instead of using an include file, put the generated configurationd directly into slapd.conf. Andrew Bartlett (This used to be commit 95ac786136aebfe5ededeb3fb81cbd4e296e3988)
2008-03-14swig: regenerate _wrap.c filesStefan Metzmacher5-49/+49
metze (This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
2008-03-14swig: make the code more portable and use NT_STATUS_V() and W_ERROR_V()Stefan Metzmacher1-2/+2
metze (This used to be commit d6fd98a307f83fd492ef73bf6ec281f9f11286f2)
2008-03-14libreplace: fix samba4 build (by not setting global LIBS).Michael Adam2-3/+3
This corrects the earlier fix of the standalone build, by setting LIBS to the desired value only in configure.ac but not in getifaddrs.m4. Not that this changes the standalone build in that it adds these libs undconditionally and not only if they are needed by the getifaddrs replacement functions. Michael (This used to be commit ff3af1703ddc9e5383f32156bc5be8351f795e76)
2008-03-14libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.Michael Adam1-0/+4
This is needed, otherwise $libreplacedir/system/network.h does not find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.). Michael (This used to be commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5)
2008-03-14heimdal_build: fix linkage of asn1_compile and compile_et.Michael Adam1-2/+0
Now inet_aton is available from libreplace. Michael (This used to be commit 3b2a3da2f73020b1d3b08a05a479de380b2aa5c4)
2008-03-14libreplace: add an inet_aton() function that calls inet_pton().Michael Adam6-0/+42
inet_aton() is even needed inside libreplace, in the implementation of rep_getaddrinfo(). Michael (This used to be commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
2008-03-14Allow more 'domain' objects when looking for a unqiue SID.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit db3b5f16ec8d9b83d8a82a535a4847dce5923663)
2008-03-14Rework our SAMR test and SAMR server.Andrew Bartlett3-50/+111
Now that we don't create users/domain groups/aliases in the builtin domain, we hit some bugs in the server-side implementation of the enumeration functions. In essence, it turns out to be: don't treat 0 as a special case. Also, fix up the PDC name to always be returned. I'm sure nothing actually uses it, particularly for BUILTIN... Andrew Bartlett (This used to be commit 353bb79f568f20c8469cb9458f7b14c24612ad23)
2008-03-14Check for Administrator as a Alias (copy&paste bug)Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit e7afb31df1f12a3cd39ed9b95d76edc6ff0d6a70)
2008-03-14Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett3-1/+5
(This used to be commit d50b76ed71ab6bc8e63926540638df5af10202ae)
2008-03-13build: compile_et also needs inet_aton()Stefan Metzmacher1-0/+1
metze (This used to be commit b6bcd66612eb3e507da94eb6f05e5d0317a8276c)
2008-03-13build: we don't rely on bash yet:-) '==' should be just '='Stefan Metzmacher1-1/+1
metze (This used to be commit 17997dd9bcd385fcf27646d832ad824cc2a0800a)
2008-03-13fix build of asn1_compile when there is no system inet_aton() function.Michael Adam1-0/+1
Michael (This used to be commit f1c2207b3d9411eac27cb85891f62e9d05bf5118)
2008-03-13configure: when detecting python we should disable pyconfig.hStefan Metzmacher1-0/+2
This fixes the detection on HP-UX where the pyconfig.h contains bogus defines. metze (This used to be commit 9391f6f80461be2b214a881782aecf7df8a4aba3)
2008-03-13Rework SAMR functions to avoid gendb_search()Andrew Bartlett1-26/+38
The gendb_*() API does not return error codes, and mixes error returns with the count of returned entries. Andrew Bartlett (This used to be commit facbc8dfa5188fdd610f400b5be6e05bc33b0820)
2008-03-13Don't use 'dn', this attribute does not exist with the LDAP backend,Andrew Bartlett1-1/+1
or in AD. Andrew Bartlett (This used to be commit a3e1f2830679a56366f0080115de504cdb0144f7)
2008-03-13Show why a LookupName fails (help debugging)Andrew Bartlett2-3/+21
Andrew Bartlett (This used to be commit 9bfc4757887ceabb4c621d62c140515794679250)
2008-03-13Report binding in libnet failure message.Andrew Bartlett1-1/+4
Andrew Bartlett (This used to be commit def46f6852075e1efe2bb7c5a7cffa5defdbb4ee)
2008-03-13Bail out, rather than segfault on no domain sid.Andrew Bartlett1-2/+3
Andrew Bartlett (This used to be commit 7e85f318b571d1a909dffad0ecd661468ed497ca)
2008-03-13Correctly normalise records against OpenLDAP.Andrew Bartlett1-1/+1
Fixing this simple typo allows more of the ldap.js test to pass. Andrew Bartlett (This used to be commit 7c80cd18d5cd9cbf32dac15a4734f5a3c67cd0e7)
2008-03-13Don't search the whole tree for the domains's sidAndrew Bartlett1-4/+18
This change removes a dependency on objectclass=domainDNS, and avoids a subtree search when we really know exactly where this record is. Andrew Bartlett (This used to be commit 52947fc0c019e57438a21e54953601b6cc08eb49)
2008-03-13Rework to have member server 'domains' be CN=NETBIOSNAMEAndrew Bartlett7-6/+49
This reworks quite a few parts of our provision system to use CN=NETBIOSNAME as the domain for member servers. This makes it clear that these domains are not in the DNS structure, while complying with our own schema (found by OpenLDAP's schema validation). Andrew Bartlett (This used to be commit bda6a38b055fed2394e65cdc0b308a1442116402)
2008-03-13Don't segfault on invalid objectClass input.Andrew Bartlett1-6/+13
If the objectClass found does not include a defaultSecurityDescriptor, then we should not segfault in the SDDL parser. Andrew Bartlett (This used to be commit 5a92771fb55149fcf24f21f30e4c6a622bef44f8)
2008-03-13Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett16-67/+655
(This used to be commit e9567e39106efb7443ed2c5df3492208b1c1d766)
2008-03-13Update the provision scripts and selftest for LDAPAndrew Bartlett3-9/+19
This should allow us to provision onto an OpenLDAP backend again. Also ensure we always have a sysvol and netlogon share in the selftest environment. Andrew Bartlett (This used to be commit b2d9b03ba3434e76d4d476233a198728523d17f9)
2008-03-13Don't talloc_free() the UUID before we return.Andrew Bartlett1-1/+4
This error caused us to put a 0x80 byte at the end of GUID, which was only detected by OpenLDAP's schema checking. Andrew Bartlett (This used to be commit fd99b7719bcb503e2695b2cbad0230fa23a094ca)
2008-03-13Upgrade provision-backend to python.Andrew Bartlett3-399/+697
This required a large rework of the provision code, so as to move much of the 'guess' logic into subprocedures, rather than just inline in the provision code. Andrew Bartlett (This used to be commit a0754c2a857217ca831c2295b17255d8f38dfbc2)
2008-03-12pvfs_open: retry pvfs_open() after an EGAIN or EWOULDBLOCK from open()Stefan Metzmacher1-4/+54
In case a unix application as an oplock or share mode on a file we need to retry periodicly as there's no way to get a notification from the kernel when the oplock is released. metze (This used to be commit 4d40f3a02643b4cdacee31f0b7bc9fc77cc9869a)
2008-03-12pvfs_open: pass O_NONBLOCK to open() so that we'll not block with kernel oplocksStefan Metzmacher1-2/+2
metze (This used to be commit eeb0b8c349552517b521f1b8d7d9341e0ef630f2)
2008-03-12opendb_tdb: use sys_lease to setup kernel oplocksStefan Metzmacher2-9/+42
metze (This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
2008-03-12ntvfs/sysdep: implement linux kernel oplocks based F_SETLEASEStefan Metzmacher3-0/+233
metze (This used to be commit 3f165d3114519c317b9e7c871bb61d4fcbb8fb09)
2008-03-12ntvfs/sysdep: add sys_lease abstraction to later support kernel oplocksStefan Metzmacher3-0/+215
metze (This used to be commit b399f0c872f32bb791da196102a5872c20e62100)
2008-03-12pvfs_open: pass down &f->handle->fd to odb_open_file()Stefan Metzmacher1-31/+30
metze (This used to be commit 80f5f9362100b971fa12ffee33705b745131770e)
2008-03-12opendb: pass down a pointer to the fd in odb_open_file()Stefan Metzmacher5-5/+8
This prepares kernel oplock support. metze (This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
2008-03-12ntvfs/cifs: fix the fnum on RAW_RENAME_NTTRANSStefan Metzmacher1-0/+7
metze (This used to be commit b43f1a53dd185cc51a3fb8a18e311abb77c2a7c9)
2008-03-12pvfs_rename: implement RAW_RENAME_NTTRANS as noop as w2k3Stefan Metzmacher1-1/+10
metze (This used to be commit 40563583f7ef3d8d1a3426c6c12eaecd18af215c)
2008-03-12RAW-RENAME: w2k3 just ignores a NTTRANS-RENAME!Stefan Metzmacher1-15/+50
metze (This used to be commit cd1b8efc5d8dc1eec03fe1bf1eb58dbded9584eb)
2008-03-12RAW-STREAMS: do a exit on the session after each sub testsStefan Metzmacher1-0/+2
metze (This used to be commit 3f7fef8b8c567379649611637d69c89d77d11d6c)
2008-03-12RAW-STREAMS: do what the comments sayStefan Metzmacher1-3/+5
metze (This used to be commit eb68a8ed4fa214ad2e858a7fbdf9b5376cda6e04)