1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

5885 Commits

Author SHA1 Message Date
Andrew Tridgell
dc4af82432 r8750: drat, on some systems dirfd() is a macro
(This used to be commit d974bf3589e1b0cd1d5661a21571b81e99350709)
2007-10-10 13:30:02 -05:00
Andrew Tridgell
ecc691041c r8749: for completeness, add rewinddir() and dirfd()
(This used to be commit ce022e40908dabad41de276941d2ee7a5739aea4)
2007-10-10 13:30:02 -05:00
Andrew Tridgell
27ab60f5d4 r8748: fixed build. Andrew, please check.
(This used to be commit 9411bd4e5e7ac9fd0aacd1432de967eda45e64f4)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
616ea8deb4 r8747: remove unused code
(This used to be commit 60a07da59dfe6dd89f01c6fb494debeda1a1984d)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
f92c000fc9 r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
are broken (apparently all BSD systems). This breakage leads to unlink
on files in an open directory causing a later seekdir to miss
files. The bug happens due to a block boundary bug in the BSD libc
implementation of these calls.

This replacement code also fixes a severe memory usage problem with
telldir that can cause closedir() to take an arbitrary amount of time.

I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer)
(This used to be commit e1bf7c4279fbc03a52497d24cea375e75059cba1)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
fc9ffba413 r8745: make ldap.js cleanup after itself
(This used to be commit 3a1c6a176ed37b4d696dab52b2f2e8ce5b681ff5)
2007-10-10 13:30:01 -05:00
Andrew Bartlett
82f96542fa r8744: Split 'net samdump' out into a separate file
Work on the talloc memory tree, as I think talloc_reference and other
things were biting me.

Crush unions in the name of code reform. ;-)

Andrew Bartlett
(This used to be commit 2eadcf46699f1cc7adb2066e17096f70c7b73998)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
52371753bd r8743: automatically find the basedn in ldap.js
(This used to be commit bdca9537a260369a53cbb286642db86bc3ea0828)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
8fbcde9450 r8742: fixed handling of zero length names in mprObject()
(This used to be commit 8086c37df65ac666aa340141d3584e9bc2c81278)
2007-10-10 13:30:00 -05:00
Andrew Bartlett
44ff3305f8 r8741: Kill warnings about enums not fully enumerated, as we will never use
all the branches.

Andrew Bartlett
(This used to be commit 258e5e302e461d789e5c353e1a0d81ce33b52f6b)
2007-10-10 13:30:00 -05:00
Andrew Bartlett
a7f9d9c5b8 r8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:
dn: cn=foo,ou=bar
objectClass: person

implies

dn: cn=foo,ou=bar
objectClass: person
cn: foo
(as well as a pile more default attributes)

We also correct the case in the attirbute to match that in the DN
(win2k3 behaviour) and I have a testsuite (in ejs) to prove it.

This module also found a bug in our provision.ldif, so and reduces
code complexity in the samdb module.

Andrew Bartlett
(This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)
2007-10-10 13:30:00 -05:00
Andrew Bartlett
77e52a4e2c r8738: Test (using ejs!) the basic operation of the ldb modules.
ejs seems to test this stuff very nicely!

Andrew Bartlett
(This used to be commit 325f6d24dfc285587bde9fea6eeaf136c2731eff)
2007-10-10 13:30:00 -05:00
Andrew Tridgell
79cac4b6e2 r8736: this fixes the ldb speed (raises BENCH-WINS from 15 ops/sec to over 4000)
simo, we need to be careful to cope with this sort of direct dn query efficiently
(This used to be commit 7b37923b726752101062fa8a92d3f96e41d55602)
2007-10-10 13:30:00 -05:00
Andrew Tridgell
126c673136 r8735: added NBT and WINS testing to 'make test' so we will know if it breaks again
(This used to be commit 519812a9e8da777e4dff1dec22bd8a96c05c50c9)
2007-10-10 13:30:00 -05:00
Andrew Tridgell
f4b488ec01 r8734: fixed the wins server for the new ldb DN restrictions.
This gets it working, but I'm rather worried about the speed. We used
to get more than 5000 ops/sec, but now we are down to around 15
ops/sec. I suspect a bug in ldb.
(This used to be commit 83727bf72c970effdc5995e2f6e7816a57887b5c)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
6b2d6ce604 r8729: make the RAW-SEARCH test more robust to servers with hash based directory ordering
(This used to be commit 8c4d0cd7b7063116ab08545dbe5f23390c7973c4)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
9abc667c71 r8726: increase default session timeout to 15 minutes to be less painful for developers
(This used to be commit d40e590674a20528a5649e1cfd377ee661265bb9)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
6e2ef3fa25 r8725: redirect to the base install page not the provisioning page on first
use
(This used to be commit eeeeab5eb7aff4fa3b25fa07a352eda74c44db6c)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
3c2a5aa63c r8724: some boilerplate installation text
(This used to be commit 5b28bdb9c800e8fbf2c7ee62a7c6faf2ec773ef9)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
dc2635efe3 r8723: fix esptest menu
(This used to be commit 5a52729d5b81336973adaf277d265445b78b2ea7)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
fdb322876d r8722: make the menu handling considerably saner and easier to follow. The whole
menu hierarchy is now in /menu.js
(This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
2007-10-10 13:29:59 -05:00
Rafal Szczesniak
64f31e424b r8721: Further work on libnet_rpc_usermod function. Now it can change
both account name and full name.

rafal
(This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)
2007-10-10 13:29:58 -05:00
Andrew Tridgell
23924170cc r8720: split form object out to separate include file, and make it a real
object, with a display() method
(This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
2007-10-10 13:29:58 -05:00
Andrew Tridgell
66526f5e4a r8718: try to improve the 2 level menu a bit.
Deryck, if you get a chance, could you see how to make this a little
"left and up" arrow instead of "Main Menu" ?
(This used to be commit c6c1b2998c68b40496fe605097900071704d6474)
2007-10-10 13:29:58 -05:00
Rafal Szczesniak
e5f6083092 r8717: Add monitor message emiting in userdel and usermod calls.
rafal
(This used to be commit 4b3aa69e70ed5d6e78f6f45f8f43649ad9ae108d)
2007-10-10 13:29:58 -05:00
Andrew Tridgell
f1418f62ee r8715: - revert the %PRIi64 stuff. Tim, we explicitly check for %llu support
in configure, and replace snprintf if the system doesn't support
  it. Our replacement code does not handle the "%PRIi64" stuff, so
  using it would break us on lots of platforms

- fixed constant array initialisers to work on HPUX.
(This used to be commit c6bae3e87e2dcb3a89bbb32da131627c60871e3d)
2007-10-10 13:29:58 -05:00
Tim Potter
ab4f3a663b r8714: Oops - get it right this time!
(This used to be commit 1d2b708da657a3f3c81bb60600f66bc359c2eab7)
2007-10-10 13:29:58 -05:00
Tim Potter
a33c02612a r8713: Experiment to try and fix warnings on 64-bit machines without breaking
32-bit ones.  Yes, this weird looking macros are part of C99.
(This used to be commit 7b316f119b8486b75ebe63b185c50fab82313e58)
2007-10-10 13:29:57 -05:00
Andrew Tridgell
2c457eca25 r8712: cleanup old search test code to use talloc
(This used to be commit 1d830bcd473a2166b6f89281faabb001697e35d4)
2007-10-10 13:29:57 -05:00
Andrew Tridgell
f4691cf6f6 r8711: add m4 for finding return type for signal handlers
this patch brought to you by the continuing saga of HPUX portability
(This used to be commit 4d63bd27d482ec84078c4541166b16cd82cfeb6a)
2007-10-10 13:29:57 -05:00
Andrew Tridgell
0edd0f43c0 r8710: another attempt at fixing HPUX
(This used to be commit eb3b3c8b407b2208291385539c3379f0420a448e)
2007-10-10 13:29:56 -05:00
Andrew Tridgell
92a6cd373a r8709: fixed the assumption in RAW-SEARCH that directories are returned in sorted order
(This used to be commit 92afff5fe7134872f12c25628d047b2a92e92a37)
2007-10-10 13:29:56 -05:00
Andrew Tridgell
0b650edc83 r8708: fixed an assert that abartlet found
(This used to be commit f5e6547c28b2069ae80da5037c5f8d0661da652c)
2007-10-10 13:29:56 -05:00
Andrew Tridgell
e95fbd6db2 r8707: this typedef isn't used, and breaks the build on HPUX, so I've removed it
(This used to be commit b9b8714297401664fcf8380d4c90ee22b7341d35)
2007-10-10 13:29:56 -05:00
Andrew Bartlett
42287c6f97 r8706: My previous patch oversimplied the previous change to session setup -
we didn't cope with the 'anonymous NTLM under SPNEGO' login.

Andrew Bartlett
(This used to be commit c3cc14542e426b23e468a11803c1bab0f6fe290f)
2007-10-10 13:29:56 -05:00
Andrew Tridgell
355c169989 r8703: cope with null string in interpret_addr()
(This used to be commit ff156f7aae29045edd898635d16d141b3e848f3f)
2007-10-10 13:29:56 -05:00
Andrew Tridgell
4d28d20a02 r8702: fixed ntlm_auth build. Andrew, can you check I got this right?
(This used to be commit 3c12b46e320412e4746fced7e2898f892e815118)
2007-10-10 13:29:55 -05:00
Andrew Bartlett
cd882fc78d r8701: Fix up auth_developer for recent changes.
Andrew Bartlett
(This used to be commit 1bc5a1190765571719dd0aaacef1413bba812617)
2007-10-10 13:29:55 -05:00
Andrew Bartlett
b16362fab6 r8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
user_info strcture in auth/

This moves it to a pattern much like that found in ntvfs, with
functions to migrate between PAIN, HASH and RESPONSE passwords.

Instead of make_user_info*() functions, we simply fill in the control
block in the callers, per recent dicussions on the lists.  This
removed a lot of data copies as well as error paths, as we can grab
much of it with talloc.

Andrew Bartlett
(This used to be commit ecbd2235a3e2be937440fa1dc0aecc5a047eda88)
2007-10-10 13:29:55 -05:00
Andrew Bartlett
176c0d1b77 r8699: removed invalid comment
(This used to be commit f5910ceef5e1ec3fe40b4589e919fe502593b582)
2007-10-10 13:29:55 -05:00
Andrew Tridgell
fe6eeeb601 r8698: attempt to cope with lack of strtoull() on HPUX
(This used to be commit c84c516b179fcbbcdb36c0c0aa4ffb4ff12f2c35)
2007-10-10 13:29:55 -05:00
Andrew Tridgell
d55b75d833 r8696: fixed ejs to more strictly follow the va_list rules. Might fix that
pesky panic on x86_64
(This used to be commit 80177b29f4b32996d41a87df041c4c1bfb6876c2)
2007-10-10 13:29:55 -05:00
Rafal Szczesniak
6366a8dc2d r8693: Test code for usermod routine.
rafal
(This used to be commit 19f5ea9c9c2a46c110e5946605432116cb2ad7b3)
2007-10-10 13:29:54 -05:00
Rafal Szczesniak
6868795a39 r8692: Starting parts of code to provide user modify functionality.
It's more like a placeholder now, than a working code. Just don't
want to hang it around my laptop only.

rafal
(This used to be commit bee1c9ec2dea4cad703386af35470c7d74cef4b0)
2007-10-10 13:29:54 -05:00
Jelmer Vernooij
c84512f0e1 r8690: Code cleanups, improvements necessary for dependencies (not added yet)
(This used to be commit 7384b3c4a1450ad63356dcf586e3a7e7335f8e6d)
2007-10-10 13:29:54 -05:00
Andrew Tridgell
2a65d17e06 r8685: an alpha in the build farm is dying with a floating point
exception. Catch these in out fault handler, so we get a backtrace
(This used to be commit 802724cf69e65a07202f3399a4321a35c2f3c018)
2007-10-10 13:29:54 -05:00
Andrew Tridgell
04598d3832 r8684: this should fix the panic on x86_64, and possibly alpha
(This used to be commit c2f5884e2f8a033446467384b6c058567b2fb9ce)
2007-10-10 13:29:54 -05:00
Andrew Tridgell
5086945689 r8681: if SOCKET_WRAPPER_DIR starts with ./ then strip it internally. This saves us 2 more chars
in the name, which is enough to get IRIX 6.4 working
(This used to be commit e6d9cde482ad9f3fa91d9ce3638e2ec6530b3a9c)
2007-10-10 13:29:54 -05:00
Andrew Tridgell
5637940838 r8680: try harder to find the binary for gdb in the backtrace
(This used to be commit e84871dd3232de73104bee81dd877cc329cd1970)
2007-10-10 13:29:53 -05:00
Andrew Tridgell
87e2396be9 r8679: only call fault setup once (thanks to andrew for pointing this out)
(This used to be commit f8a2b032a70dd63f4454b982d00168dcf6793202)
2007-10-10 13:29:53 -05:00