1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00
Commit Graph

5431 Commits

Author SHA1 Message Date
Andrew Tridgell
b6ef32ddd1 r8558: move newuser logic into the provision.js lib 2007-10-10 13:29:37 -05:00
Andrew Tridgell
21ca972d06 r8557: expose ldb_errstring() in ldb ejs code 2007-10-10 13:29:37 -05:00
Andrew Tridgell
cc61a0ba33 r8541: this might take a few tries ... 2007-10-10 13:29:37 -05:00
Andrew Tridgell
777ac8496b r8540: fixed network interface detection on several hosts 2007-10-10 13:29:36 -05:00
Andrew Tridgell
e571d6a36b r8539: $LOGNAME is a common varient of $USER on some systems 2007-10-10 13:29:36 -05:00
Andrew Tridgell
6202a9d099 r8537: cope better with the small file handle limit on some systems in the build farm 2007-10-10 13:29:36 -05:00
Andrew Tridgell
ff42315245 r8536: - use smbd pid file to kill at end of selftest
- remove use of 'jobs -p' as it is not portable
2007-10-10 13:29:36 -05:00
Andrew Tridgell
2e8d154e7d r8535: no longer rely on seekdir working after a closedir. Instead, keep
directories open, but close search states based on an inactivity
timer, with a default of a 5 minute timeout
2007-10-10 13:29:36 -05:00
Andrew Tridgell
3dd6e20566 r8533: improve --help output 2007-10-10 13:29:36 -05:00
Andrew Tridgell
810fa4f762 r8532: this miight fix cross compilation for reactos 2007-10-10 13:29:35 -05:00
Simo Sorce
a910671bd8 r8530: Now our ldap server is able to fullfill present and substring searches 2007-10-10 13:29:35 -05:00
Simo Sorce
24a65b5ba6 r8529: Matching against the wrong union 2007-10-10 13:29:35 -05:00
Andrew Tridgell
9eebd240d8 r8527: found an uninitialised variable in 'make valgrindtest' 2007-10-10 13:29:35 -05:00
Andrew Tridgell
af36bc4011 r8525: added two more test targets:
- 'make quicktest' for running only quick tests. Finishes in 20
   seconds or so.

 - 'make valgrindtest' runs smbd under valgrind in a xterm window and
   runs the quick tests. Also disables tls as that slows down valgrind
   too much to be usable
2007-10-10 13:29:35 -05:00
Andrew Tridgell
6e81e866dc r8523: match a zero message id in ldap replies to the last request sent. Thanks to simo
for noticing that this is needed to catch the server sending a "can't decode request"
error reply
2007-10-10 13:29:35 -05:00
Andrew Tridgell
d2c9285483 r8522: fixed another couple of size_t warnings 2007-10-10 13:29:34 -05:00
Andrew Tridgell
a58ea6b385 r8520: fixed a pile of warnings from the build farm gcc -Wall output on
S390. This is an attempt to avoid the panic we're seeing in the
automatic builds.

The main fixes are:

 - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats

 - use of NULL format statements to perform dn searches.

 - assumption that sizeof() returns an int
2007-10-10 13:29:34 -05:00
Andrew Tridgell
f93bd0ced6 r8519: better method of ensuring null termination 2007-10-10 13:29:34 -05:00
Andrew Tridgell
17decd1299 r8518: ensure all constructed NDR packets are null terminated. This is needed
by the new ldb code dealing with binary records, but is also a good
defensive strategy in general
2007-10-10 13:29:34 -05:00
Andrew Tridgell
19d789e825 r8517: fixed a crash bug in ldb_dn_compare_base() 2007-10-10 13:29:34 -05:00
Simo Sorce
e709e37928 r8516: let us use all parameters of ldbsearch in ldb.search 2007-10-10 13:29:33 -05:00
Simo Sorce
76d496c308 r8515: ldb_dn_cmp now uses ldb_dn_compare so that the DNs are compared
on a content level not ona form level, his means that the 2 DNs:
a) cn= user, dc=this, dc = is,dc=test
b) cn=user,dc=this,dc=is,dc=test
are now identical even if the string form differ (spaces)
2007-10-10 13:29:33 -05:00
Simo Sorce
876f0a095b r8514: add docs 2007-10-10 13:29:33 -05:00
Andrew Bartlett
40088b9566 r8511: This 'can't happen', but GCC gives warnings because it thinks it can.
Andrew Bartlett
2007-10-10 13:29:33 -05:00
Stefan Metzmacher
102c2e0ae4 r8505: - 'seal' and 'sign,seal' is the same
- sign and seal are tested seperate below

metze
2007-10-10 13:29:33 -05:00
Stefan Metzmacher
ec31739642 r8503: remove useless line
metze
2007-10-10 13:29:32 -05:00
Andrew Tridgell
22f7fd7634 r8500: greatly reduce the number of build warnings on x86-64 (every NDR macro
in the generated code from pidl generated a warning)
2007-10-10 13:23:10 -05:00
Simo Sorce
5a6c2170ff r8499: clearer function name 2007-10-10 13:23:10 -05:00
Andrew Tridgell
82f8ad16af r8498: more test suite speedups. It's down to 5 minutes on my box now 2007-10-10 13:23:10 -05:00
Andrew Tridgell
efb151ba79 r8497: prevent a fd leak in RAW-SEARCH test 2007-10-10 13:23:09 -05:00
Andrew Tridgell
037feb7538 r8496: speed up the test_echo.sh test a lot, while still providing good coverage 2007-10-10 13:23:09 -05:00
Andrew Tridgell
16d752b551 r8495: allow for up 10% change in allocated disk space during QFSINFO tests 2007-10-10 13:23:09 -05:00
Andrew Tridgell
9264555541 r8494: fixed a bug in RAW-SFILEINFO that caused inconsistent results on different platforms 2007-10-10 13:23:09 -05:00
Andrew Tridgell
e499b1abae r8491: lower the offset limit that filesystems need to support to pass RAW-WRITE to 2^33 2007-10-10 13:23:09 -05:00
Andrew Tridgell
6b20bcbeeb r8490: make the ldb tests more portable 2007-10-10 13:23:09 -05:00
Andrew Tridgell
ccf20b2b13 r8489: neaten up the object handling 2007-10-10 13:23:09 -05:00
Andrew Tridgell
cf35818648 r8488: after discussions with simo, moved to a full OO interface, so you don't need to keep
a 'db' variable around. The ldb object knows what it is connected to.

Added a simple ldb testsuite in testprogs/ldb.js
2007-10-10 13:23:08 -05:00
Andrew Tridgell
adae47c829 r8487: kfixed a typo 2007-10-10 13:23:08 -05:00
Andrew Tridgell
98c9c4ecb8 r8486: switched to a separate connection operation in ldb interface
(a suggestion from simo)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
9f29cccbc1 r8485: - be friendly to shells other than bash
- don't use /tmp in test paths, as that opens us to symlink attacks
2007-10-10 13:23:08 -05:00
Andrew Tridgell
9991e924e9 r8484: switched the sys_*() calls to the OO interface
tim, do you want to do the cli_*() calls now?
2007-10-10 13:23:08 -05:00
Andrew Tridgell
57d7a585e8 r8483: switched our generated ejs rpc code over to the new OO interface. This
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
2007-10-10 13:23:08 -05:00
Andrew Tridgell
437c4057ae r8482: gnutls_x509_crt_set_subject_key_id is not available in some versions
of gnutls. Thanks to ab for spotting this.
2007-10-10 13:23:08 -05:00
Andrew Tridgell
3093057d97 r8481: switched ldb ejs called over to an OO interface, so you do:
var ldb = ldb_init();

res = ldb.search(dbfile, "(objectClass=user)");

you can also do:

ldbSearch = ldb.search;
res = ldbSearch(dbfile, "(objectClass=user)");

if you want the old interface (ie. you can use this to import
functions into the global or local namespace).
2007-10-10 13:23:07 -05:00
Andrew Tridgell
aa68459fe7 r8480: fixed a typo
(metze, I assume this was just a typo? it broke the build on oehmesrs6k)
2007-10-10 13:23:07 -05:00
Stefan Metzmacher
53b9175410 r8476: add a note that DsAddEntry is very incomplete yet
metze
2007-10-10 13:23:07 -05:00
Stefan Metzmacher
8454d32eb2 r8474: add some more attid mappings
for the password fields

metze
2007-10-10 13:23:07 -05:00
Andrew Tridgell
a9d05af0fd r8471: --ejs taking an optional arguments interferes with the pidl extra args 2007-10-10 13:23:07 -05:00
Andrew Tridgell
d3872a6e4c r8470: looks like popt portability is going to be a bit of a fight :( 2007-10-10 13:23:06 -05:00
Andrew Tridgell
f54e6c83e4 r8469: the extra pidl args need to be normal args, not after a --, otherwise pidl tries to compile
"--uint-enums" as a IDL file :-)

This should help the build on AIX 5.2
2007-10-10 13:23:06 -05:00