15 years agor8784: Install pidl in "vendor" directories (matches debian policy)
Jelmer Vernooij [Tue, 26 Jul 2005 18:20:17 +0000 (18:20 +0000)]
r8784: Install pidl in "vendor" directories (matches debian policy)
(This used to be commit f6a12944d743c92270c3c647a47cd6b4f8185dd5)

15 years agor8781: - fixed a memory leak in BASE-SECLEAK (ironic, isn't it). There is
Andrew Tridgell [Tue, 26 Jul 2005 12:41:29 +0000 (12:41 +0000)]
r8781: - fixed a memory leak in BASE-SECLEAK (ironic, isn't it). There is
  another leak in the ASN.1 code that andrew has volunteered to look at

- make the timelimit controllable with -t
(This used to be commit 227d4d2115e768bbae13db2559d27bf8508aa18d)

15 years agor8780: make numops controllable in BASE-DISCONNECT
Andrew Tridgell [Tue, 26 Jul 2005 12:40:26 +0000 (12:40 +0000)]
r8780: make numops controllable in BASE-DISCONNECT
(This used to be commit 1cb91a11d46b49ae296abae9c8304e267e922df4)

15 years agor8779: Add rdn module to makefile and headers
Simo Sorce [Tue, 26 Jul 2005 09:17:46 +0000 (09:17 +0000)]
r8779: Add rdn module to makefile and headers
Search by distinguishedName as if searching by dn
(This used to be commit 1d4046136255aead319ab08da229146dbd285b38)

15 years agor8778: index on nCName in sam.ldb. This was costing us about 75% of the time in each...
Andrew Tridgell [Tue, 26 Jul 2005 07:46:21 +0000 (07:46 +0000)]
r8778: index on nCName in sam.ldb. This was costing us about 75% of the time in each smb login
(This used to be commit f6d24d063ad1a96c326ce6a60adfc224d905afc6)

15 years agor8777: make sure that the tree connect is a child of the return cli state structure.
Andrew Tridgell [Tue, 26 Jul 2005 07:23:57 +0000 (07:23 +0000)]
r8777: make sure that the tree connect is a child of the return cli state structure.
This fixes the BASE-DISCONNECT test
(This used to be commit 86fe5817b1abc754763eede64b615dc8c9db5362)

15 years agor8776: fixed SMB connections for IP addresses, even when name resolve order
Andrew Tridgell [Tue, 26 Jul 2005 07:23:11 +0000 (07:23 +0000)]
r8776: fixed SMB connections for IP addresses, even when name resolve order
doesn't include 'host'
(This used to be commit 77a1e3076a8d5c711fc96a69dd1a58c00d1f9604)

15 years agor8775: More SamSync work. This is really just mechanical...
Andrew Bartlett [Tue, 26 Jul 2005 06:37:20 +0000 (06:37 +0000)]
r8775: More SamSync work.  This is really just mechanical...

I need to take a grip over the ForiegnSecurityPrincipals, as the
SamSync currently fails on adding some aliases and privilages because
it can't find their entry.

Andrew Bartlett
(This used to be commit 533e44535392fdb292cfff3cdcda9c38ec329d01)

15 years agor8774: make some gensec errors a bit less verbose
Andrew Tridgell [Tue, 26 Jul 2005 05:07:15 +0000 (05:07 +0000)]
r8774: make some gensec errors a bit less verbose
(This used to be commit 2134ca475586ed9e062fbf4ef7222fe286c60c57)

15 years agor8773: fixed another dependency on directory ordering in RAW-SEARCH
Andrew Tridgell [Tue, 26 Jul 2005 04:47:16 +0000 (04:47 +0000)]
r8773: fixed another dependency on directory ordering in RAW-SEARCH

Thanks to andrew bartlett for helping to track this down (his was the
only system that hit this)
(This used to be commit 5edeb56bf0c86dae9cd9fe9275d1e37aedc05503)

15 years agor8772: Include the ldap ejs test in the standard 'make test'
Andrew Bartlett [Tue, 26 Jul 2005 03:46:41 +0000 (03:46 +0000)]
r8772: Include the ldap ejs test in the standard 'make test'

Andrew Bartlett
(This used to be commit 4ade880dcf3aa78f5934345e587cd54851378261)

15 years agor8771: Extend the SamSync code out to groups and aliases, as well as deleting.
Andrew Bartlett [Tue, 26 Jul 2005 03:11:16 +0000 (03:11 +0000)]
r8771: Extend the SamSync code out to groups and aliases, as well as deleting.

Andrew Bartlett
(This used to be commit bf594c1022f5ed59c06cb423411f94483b168cbb)

15 years agor8761: Propagate changes in monitor messaging code.
Rafal Szczesniak [Mon, 25 Jul 2005 22:57:14 +0000 (22:57 +0000)]
r8761: Propagate changes in monitor messaging code.

(This used to be commit 5be8479d5cf119bcda4046bf1c5d7c3b876e718d)

15 years agor8760: Rework monitor messaging code a bit, as Metze once suggested.
Rafal Szczesniak [Mon, 25 Jul 2005 22:56:28 +0000 (22:56 +0000)]
r8760: Rework monitor messaging code a bit, as Metze once suggested.
enum type has now been replaced with unsigned 32-bit field and
message data is passed as void pointer.

This allows various extension implementers to plug their monitor
messages in more easily.

(This used to be commit 4a6ab58133a59d3da3209b3e46c2a8cf848d25e7)

15 years agor8759: Another couple of fields in usermod routine.
Rafal Szczesniak [Mon, 25 Jul 2005 22:00:56 +0000 (22:00 +0000)]
r8759: Another couple of fields in usermod routine.

(This used to be commit 266aaacf0be955096d53e2a967bdaa5d0c5558ed)

15 years agor8758: Use official version numbering standard for debian packages.
Jelmer Vernooij [Mon, 25 Jul 2005 19:30:22 +0000 (19:30 +0000)]
r8758: Use official version numbering standard for debian packages.
(This used to be commit 8c3cdbc239706be36c4264e29b49ae9b9e50bfe8)

15 years agor8753: fixed directory handling on systems that do not return . and .. as the
Andrew Tridgell [Mon, 25 Jul 2005 10:40:17 +0000 (10:40 +0000)]
r8753: fixed directory handling on systems that do not return . and .. as the
first two entries in a directory. This is what caused the FC3 system
shelob in the build farm to fail the RAW-UNLINK and RAW-SEARCH tests.
(This used to be commit f48abaaaca301c025ebd381f62345b3869809917)

15 years agor8752: With all the infrustructure done, details like a SamSync migration
Andrew Bartlett [Mon, 25 Jul 2005 06:33:51 +0000 (06:33 +0000)]
r8752: With all the infrustructure done, details like a SamSync migration
into LDB are actually quite easy.

This brings us the users, and sets basic domain information.

You are expected to have provisioned with the settings for the target
domain, and have joined the domain as a BDC.  Then simply 'net

Now we just need to flesh out the delta types.

Andrew Bartlett
(This used to be commit 1e0f7792bb29b17c23197a5e42ee8cabb0cf17d0)

15 years agor8750: drat, on some systems dirfd() is a macro
Andrew Tridgell [Mon, 25 Jul 2005 04:39:20 +0000 (04:39 +0000)]
r8750: drat, on some systems dirfd() is a macro
(This used to be commit d974bf3589e1b0cd1d5661a21571b81e99350709)

15 years agor8749: for completeness, add rewinddir() and dirfd()
Andrew Tridgell [Mon, 25 Jul 2005 04:34:14 +0000 (04:34 +0000)]
r8749: for completeness, add rewinddir() and dirfd()
(This used to be commit ce022e40908dabad41de276941d2ee7a5739aea4)

15 years agor8748: fixed build. Andrew, please check.
Andrew Tridgell [Mon, 25 Jul 2005 04:15:57 +0000 (04:15 +0000)]
r8748: fixed build. Andrew, please check.
(This used to be commit 9411bd4e5e7ac9fd0aacd1432de967eda45e64f4)

15 years agor8747: remove unused code
Andrew Tridgell [Mon, 25 Jul 2005 04:03:22 +0000 (04:03 +0000)]
r8747: remove unused code
(This used to be commit 60a07da59dfe6dd89f01c6fb494debeda1a1984d)

15 years agor8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
Andrew Tridgell [Mon, 25 Jul 2005 04:03:01 +0000 (04:03 +0000)]
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)

15 years agor8745: make ldap.js cleanup after itself
Andrew Tridgell [Mon, 25 Jul 2005 02:26:38 +0000 (02:26 +0000)]
r8745: make ldap.js cleanup after itself
(This used to be commit 3a1c6a176ed37b4d696dab52b2f2e8ce5b681ff5)

15 years agor8744: Split 'net samdump' out into a separate file
Andrew Bartlett [Mon, 25 Jul 2005 02:23:41 +0000 (02:23 +0000)]
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)

15 years agor8743: automatically find the basedn in ldap.js
Andrew Tridgell [Mon, 25 Jul 2005 02:23:27 +0000 (02:23 +0000)]
r8743: automatically find the basedn in ldap.js
(This used to be commit bdca9537a260369a53cbb286642db86bc3ea0828)

15 years agor8742: fixed handling of zero length names in mprObject()
Andrew Tridgell [Mon, 25 Jul 2005 02:23:04 +0000 (02:23 +0000)]
r8742: fixed handling of zero length names in mprObject()
(This used to be commit 8086c37df65ac666aa340141d3584e9bc2c81278)

15 years agor8741: Kill warnings about enums not fully enumerated, as we will never use
Andrew Bartlett [Mon, 25 Jul 2005 01:19:16 +0000 (01:19 +0000)]
r8741: Kill warnings about enums not fully enumerated, as we will never use
all the branches.

Andrew Bartlett
(This used to be commit 258e5e302e461d789e5c353e1a0d81ce33b52f6b)

15 years agor8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:
Andrew Bartlett [Mon, 25 Jul 2005 01:17:09 +0000 (01:17 +0000)]
r8740: Extend the rdn_name module to handle adding the rdn as an attribute.  ie:

dn: cn=foo,ou=bar
objectClass: person


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)

15 years agor8738: Test (using ejs!) the basic operation of the ldb modules.
Andrew Bartlett [Sun, 24 Jul 2005 22:18:01 +0000 (22:18 +0000)]
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)

15 years agor8736: this fixes the ldb speed (raises BENCH-WINS from 15 ops/sec to over 4000)
Andrew Tridgell [Sun, 24 Jul 2005 12:38:42 +0000 (12:38 +0000)]
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)

15 years agor8735: added NBT and WINS testing to 'make test' so we will know if it breaks again
Andrew Tridgell [Sun, 24 Jul 2005 12:24:34 +0000 (12:24 +0000)]
r8735: added NBT and WINS testing to 'make test' so we will know if it breaks again
(This used to be commit 519812a9e8da777e4dff1dec22bd8a96c05c50c9)

15 years agor8734: fixed the wins server for the new ldb DN restrictions.
Andrew Tridgell [Sun, 24 Jul 2005 12:18:11 +0000 (12:18 +0000)]
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)

15 years agor8729: make the RAW-SEARCH test more robust to servers with hash based directory...
Andrew Tridgell [Sun, 24 Jul 2005 01:01:00 +0000 (01:01 +0000)]
r8729: make the RAW-SEARCH test more robust to servers with hash based directory ordering
(This used to be commit 8c4d0cd7b7063116ab08545dbe5f23390c7973c4)

15 years agor8726: increase default session timeout to 15 minutes to be less painful for developers
Andrew Tridgell [Sat, 23 Jul 2005 11:11:37 +0000 (11:11 +0000)]
r8726: increase default session timeout to 15 minutes to be less painful for developers
(This used to be commit d40e590674a20528a5649e1cfd377ee661265bb9)

15 years agor8725: redirect to the base install page not the provisioning page on first
Andrew Tridgell [Sat, 23 Jul 2005 11:05:32 +0000 (11:05 +0000)]
r8725: redirect to the base install page not the provisioning page on first
(This used to be commit eeeeab5eb7aff4fa3b25fa07a352eda74c44db6c)

15 years agor8724: some boilerplate installation text
Andrew Tridgell [Sat, 23 Jul 2005 11:03:24 +0000 (11:03 +0000)]
r8724: some boilerplate installation text
(This used to be commit 5b28bdb9c800e8fbf2c7ee62a7c6faf2ec773ef9)

15 years agor8723: fix esptest menu
Andrew Tridgell [Sat, 23 Jul 2005 10:59:05 +0000 (10:59 +0000)]
r8723: fix esptest menu
(This used to be commit 5a52729d5b81336973adaf277d265445b78b2ea7)

15 years agor8722: make the menu handling considerably saner and easier to follow. The whole
Andrew Tridgell [Sat, 23 Jul 2005 10:58:09 +0000 (10:58 +0000)]
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)

15 years agor8721: Further work on libnet_rpc_usermod function. Now it can change
Rafal Szczesniak [Sat, 23 Jul 2005 10:27:45 +0000 (10:27 +0000)]
r8721: Further work on libnet_rpc_usermod function. Now it can change
both account name and full name.

(This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)

15 years agor8720: split form object out to separate include file, and make it a real
Andrew Tridgell [Sat, 23 Jul 2005 09:05:34 +0000 (09:05 +0000)]
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)

15 years agor8718: try to improve the 2 level menu a bit.
Andrew Tridgell [Sat, 23 Jul 2005 08:54:09 +0000 (08:54 +0000)]
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)

15 years agor8717: Add monitor message emiting in userdel and usermod calls.
Rafal Szczesniak [Fri, 22 Jul 2005 17:45:42 +0000 (17:45 +0000)]
r8717: Add monitor message emiting in userdel and usermod calls.

(This used to be commit 4b3aa69e70ed5d6e78f6f45f8f43649ad9ae108d)

15 years agor8715: - revert the %PRIi64 stuff. Tim, we explicitly check for %llu support
Andrew Tridgell [Fri, 22 Jul 2005 11:32:01 +0000 (11:32 +0000)]
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)

15 years agor8714: Oops - get it right this time!
Tim Potter [Fri, 22 Jul 2005 11:19:55 +0000 (11:19 +0000)]
r8714: Oops - get it right this time!
(This used to be commit 1d2b708da657a3f3c81bb60600f66bc359c2eab7)

15 years agor8713: Experiment to try and fix warnings on 64-bit machines without breaking
Tim Potter [Fri, 22 Jul 2005 11:16:32 +0000 (11:16 +0000)]
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)

15 years agor8712: cleanup old search test code to use talloc
Andrew Tridgell [Fri, 22 Jul 2005 10:58:49 +0000 (10:58 +0000)]
r8712: cleanup old search test code to use talloc
(This used to be commit 1d830bcd473a2166b6f89281faabb001697e35d4)

15 years agor8711: add m4 for finding return type for signal handlers
Andrew Tridgell [Fri, 22 Jul 2005 10:48:22 +0000 (10:48 +0000)]
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)

15 years agor8710: another attempt at fixing HPUX
Andrew Tridgell [Fri, 22 Jul 2005 10:01:26 +0000 (10:01 +0000)]
r8710: another attempt at fixing HPUX
(This used to be commit eb3b3c8b407b2208291385539c3379f0420a448e)

15 years agor8709: fixed the assumption in RAW-SEARCH that directories are returned in sorted...
Andrew Tridgell [Fri, 22 Jul 2005 09:49:32 +0000 (09:49 +0000)]
r8709: fixed the assumption in RAW-SEARCH that directories are returned in sorted order
(This used to be commit 92afff5fe7134872f12c25628d047b2a92e92a37)

15 years agor8708: fixed an assert that abartlet found
Andrew Tridgell [Fri, 22 Jul 2005 07:21:59 +0000 (07:21 +0000)]
r8708: fixed an assert that abartlet found
(This used to be commit f5e6547c28b2069ae80da5037c5f8d0661da652c)

15 years agor8707: this typedef isn't used, and breaks the build on HPUX, so I've removed it
Andrew Tridgell [Fri, 22 Jul 2005 06:52:46 +0000 (06:52 +0000)]
r8707: this typedef isn't used, and breaks the build on HPUX, so I've removed it
(This used to be commit b9b8714297401664fcf8380d4c90ee22b7341d35)

15 years agor8706: My previous patch oversimplied the previous change to session setup -
Andrew Bartlett [Fri, 22 Jul 2005 05:04:45 +0000 (05:04 +0000)]
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)

15 years agor8703: cope with null string in interpret_addr()
Andrew Tridgell [Fri, 22 Jul 2005 04:32:59 +0000 (04:32 +0000)]
r8703: cope with null string in interpret_addr()
(This used to be commit ff156f7aae29045edd898635d16d141b3e848f3f)

15 years agor8702: fixed ntlm_auth build. Andrew, can you check I got this right?
Andrew Tridgell [Fri, 22 Jul 2005 04:30:11 +0000 (04:30 +0000)]
r8702: fixed ntlm_auth build. Andrew, can you check I got this right?
(This used to be commit 3c12b46e320412e4746fced7e2898f892e815118)

15 years agor8701: Fix up auth_developer for recent changes.
Andrew Bartlett [Fri, 22 Jul 2005 04:18:16 +0000 (04:18 +0000)]
r8701: Fix up auth_developer for recent changes.

Andrew Bartlett
(This used to be commit 1bc5a1190765571719dd0aaacef1413bba812617)

15 years agor8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
Andrew Bartlett [Fri, 22 Jul 2005 04:10:07 +0000 (04:10 +0000)]
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)

15 years agor8699: removed invalid comment
Andrew Bartlett [Fri, 22 Jul 2005 04:06:28 +0000 (04:06 +0000)]
r8699: removed invalid comment
(This used to be commit f5910ceef5e1ec3fe40b4589e919fe502593b582)

15 years agor8698: attempt to cope with lack of strtoull() on HPUX
Andrew Tridgell [Fri, 22 Jul 2005 03:46:57 +0000 (03:46 +0000)]
r8698: attempt to cope with lack of strtoull() on HPUX
(This used to be commit c84c516b179fcbbcdb36c0c0aa4ffb4ff12f2c35)

15 years agor8696: fixed ejs to more strictly follow the va_list rules. Might fix that
Andrew Tridgell [Fri, 22 Jul 2005 01:56:51 +0000 (01:56 +0000)]
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)

15 years agor8693: Test code for usermod routine.
Rafal Szczesniak [Thu, 21 Jul 2005 22:33:47 +0000 (22:33 +0000)]
r8693: Test code for usermod routine.

(This used to be commit 19f5ea9c9c2a46c110e5946605432116cb2ad7b3)

15 years agor8692: Starting parts of code to provide user modify functionality.
Rafal Szczesniak [Thu, 21 Jul 2005 22:32:04 +0000 (22:32 +0000)]
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.

(This used to be commit bee1c9ec2dea4cad703386af35470c7d74cef4b0)

15 years agor8690: Code cleanups, improvements necessary for dependencies (not added yet)
Jelmer Vernooij [Thu, 21 Jul 2005 21:27:39 +0000 (21:27 +0000)]
r8690: Code cleanups, improvements necessary for dependencies (not added yet)
(This used to be commit 7384b3c4a1450ad63356dcf586e3a7e7335f8e6d)

15 years agor8685: an alpha in the build farm is dying with a floating point
Andrew Tridgell [Thu, 21 Jul 2005 14:04:13 +0000 (14:04 +0000)]
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)

15 years agor8684: this should fix the panic on x86_64, and possibly alpha
Andrew Tridgell [Thu, 21 Jul 2005 14:00:51 +0000 (14:00 +0000)]
r8684: this should fix the panic on x86_64, and possibly alpha
(This used to be commit c2f5884e2f8a033446467384b6c058567b2fb9ce)

15 years agor8681: if SOCKET_WRAPPER_DIR starts with ./ then strip it internally. This saves...
Andrew Tridgell [Thu, 21 Jul 2005 13:45:07 +0000 (13:45 +0000)]
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)

15 years agor8680: try harder to find the binary for gdb in the backtrace
Andrew Tridgell [Thu, 21 Jul 2005 12:35:00 +0000 (12:35 +0000)]
r8680: try harder to find the binary for gdb in the backtrace
(This used to be commit e84871dd3232de73104bee81dd877cc329cd1970)

15 years agor8679: only call fault setup once (thanks to andrew for pointing this out)
Andrew Tridgell [Thu, 21 Jul 2005 12:20:18 +0000 (12:20 +0000)]
r8679: only call fault setup once (thanks to andrew for pointing this out)
(This used to be commit f8a2b032a70dd63f4454b982d00168dcf6793202)

15 years agor8678: setup for gdb backtrace in 'make test'
Andrew Tridgell [Thu, 21 Jul 2005 12:11:52 +0000 (12:11 +0000)]
r8678: setup for gdb backtrace in 'make test'
(This used to be commit acf8c8fd4995acef47390df5a7d4e611c597367d)

15 years agor8677: The first part of the domain name may not be equal to the netbios domain name.
Andrew Bartlett [Thu, 21 Jul 2005 11:28:24 +0000 (11:28 +0000)]
r8677: The first part of the domain name may not be equal to the netbios domain name.

Remove the use of flatname from the main domain object, we no longer
reference it.

Andrew Bartlett
(This used to be commit 2303e24be74570187b23c3d31d0433263c83ba7e)

15 years agor8676: attribute lists in ldb searches must be NULL terminated
Andrew Tridgell [Thu, 21 Jul 2005 10:57:52 +0000 (10:57 +0000)]
r8676: attribute lists in ldb searches must be NULL terminated

this is what was causing the panic on the s390 box
(This used to be commit 3a49626ae17d6076f0fc54b0453acb459d88297c)

15 years agor8674: With the rdn_name module, we don't need this duplication in the samdb
Andrew Bartlett [Thu, 21 Jul 2005 09:19:21 +0000 (09:19 +0000)]
r8674: With the rdn_name module, we don't need this duplication in the samdb
module any more.

Andrew Bartlett
(This used to be commit da48e77e7ca21bc99f2829a22ea3dc96ba413191)

15 years agor8671: use much shorter names for the selftest directory and socket wrapper
Andrew Tridgell [Thu, 21 Jul 2005 08:42:17 +0000 (08:42 +0000)]
r8671: use much shorter names for the selftest directory and socket wrapper
code. I'm afraid this is needed by irix 6.4 which silently truncates
names in unix domain sockets in recvfrom() to 16 chars. My apologies
for having to move to such short names :-(
(This used to be commit f9693e313da67e1347a607db5d3ebbf36e02a77a)

15 years agor8670: Remove GUID code from SAMR, it is handled lower down now. I notice
Andrew Bartlett [Thu, 21 Jul 2005 08:34:54 +0000 (08:34 +0000)]
r8670: Remove GUID code from SAMR, it is handled lower down now.  I notice
this code also does string SIDs, but I'm not quite sure where that
fits in.

Andrew Bartlett
(This used to be commit 968bcc4fe8142319ca0a2ac9e3a895b5436b4552)

15 years agor8669: The objectguid module belongs in Samba's ldb module collection, not in
Andrew Bartlett [Thu, 21 Jul 2005 08:32:07 +0000 (08:32 +0000)]
r8669: The objectguid module belongs in Samba's ldb module collection, not in
ldb, as it can't build without the NDR and GUID code.

Also make it properly use the NDR encoding for the GUID (I forgot last
time, and used a string), as well as set the dependencies on the
module correctly.

Andrew Bartlett
(This used to be commit 8054abc76e5e3588cebc7fc01062a1223b7f140b)

15 years agor8668: fixed a segv during upgrade of a very old ldb.
Andrew Tridgell [Thu, 21 Jul 2005 08:06:39 +0000 (08:06 +0000)]
r8668: fixed a segv during upgrade of a very old ldb.
Thanks to volker for finding this one too. Keep them coming!
(This used to be commit 756796ad2ea86a9471d1b09e66b1a74c4523f6f4)

15 years agor8667: Further simply the provision script, by removing the 'name' attribute.
Andrew Bartlett [Thu, 21 Jul 2005 07:59:01 +0000 (07:59 +0000)]
r8667: Further simply the provision script, by removing the 'name' attribute.

This is now calculated on the fly for every add and modify.

Andrew Bartlett
(This used to be commit ed1f2e029c840d2b3ecb49dbe6e8cd67588eeeed)

15 years agor8666: The same fix as the last commit, I was caught out on a move from a
Andrew Bartlett [Thu, 21 Jul 2005 07:57:20 +0000 (07:57 +0000)]
r8666: The same fix as the last commit, I was caught out on a move from a
BOOL to int function return.

Andrew Bartlett
(This used to be commit e03e00fe606db443783f1dea03411025c01c7de5)

15 years agor8665: fixed a segv at high debug level in the web server
Andrew Tridgell [Thu, 21 Jul 2005 07:52:31 +0000 (07:52 +0000)]
r8665: fixed a segv at high debug level in the web server
thanks to volker for finding this
(This used to be commit e02d7753f77327e3ca295a86afde9ea74ddcf5e0)

15 years agor8664: I got caught out not testing...
Andrew Bartlett [Thu, 21 Jul 2005 07:15:55 +0000 (07:15 +0000)]
r8664: I got caught out not testing...

I replaced these function calls, and they went from BOOL to int return
values, so naturally failed.

Andrew Bartlett
(This used to be commit 1982fdb6f3355494ecaae93280eea4e69c78430f)

15 years agor8663: Since simo constructed the samdb module, he and tridge have worked on
Andrew Bartlett [Thu, 21 Jul 2005 05:24:02 +0000 (05:24 +0000)]
r8663: Since simo constructed the samdb module, he and tridge have worked on
a DN parsing system.  Leverage that in the dsdb module.

Andrew Bartlett
(This used to be commit 2408f322765fc1b1769d5c8ea69eae4d968cd195)

15 years agor8662: Revert change to CN=Cert Publishers, this group still needs to
Andrew Bartlett [Thu, 21 Jul 2005 05:21:27 +0000 (05:21 +0000)]
r8662: Revert change to CN=Cert Publishers, this group still needs to
override the template for these attributes.

Andrew Bartlett
(This used to be commit 3462cbadb285313dfd88234b144d1921d2bcc880)

15 years agor8661: added strstr() ejs function in string lib
Andrew Tridgell [Thu, 21 Jul 2005 04:10:35 +0000 (04:10 +0000)]
r8661: added strstr() ejs function in string lib
(This used to be commit a569fc8924e8c8edbdfa7efc89ad99659af8c379)

15 years agor8660: Use templates for the initial provision of user and computer accounts.
Andrew Bartlett [Thu, 21 Jul 2005 02:12:20 +0000 (02:12 +0000)]
r8660: Use templates for the initial provision of user and computer accounts.

This ensures the templating code is used, and also makes it clearer
what I need to duplicate in the vampire area.

Also fix a silly bug in the template application code (the samdb
module) that caused templates to be compleatly unused (my fault, from
my commit last night).

Andrew Bartlett
(This used to be commit 4a8ef7197ff938942832034453f843cb8a50f2d1)

15 years agor8659: return ldif formatted attributes in the ejs ldb search call, so sids show...
Andrew Tridgell [Thu, 21 Jul 2005 01:56:22 +0000 (01:56 +0000)]
r8659: return ldif formatted attributes in the ejs ldb search call, so sids show up as strings
not binary blobs
(This used to be commit d2c29a5a51f68cabb9ef587376bf0a6b936cdd76)

15 years agor8658: move use of lp_security() and lp_nt_status_support() into the connection struc...
Andrew Tridgell [Thu, 21 Jul 2005 01:43:26 +0000 (01:43 +0000)]
r8658: move use of lp_security() and lp_nt_status_support() into the connection structure.
This massively reduces the number of lp_*() calls made
(This used to be commit b1d577f48d31c0c17ad0b6abd78120087408e58d)

15 years agor8652: added a test for the boolean bug just fixed
Andrew Tridgell [Wed, 20 Jul 2005 11:56:07 +0000 (11:56 +0000)]
r8652: added a test for the boolean bug just fixed
(This used to be commit 19ae68f59ad9b81005eb68b3773f24234c0f891d)

15 years agor8651: fixed a boolean expression bug (submitted upstream)
Andrew Tridgell [Wed, 20 Jul 2005 11:55:20 +0000 (11:55 +0000)]
r8651: fixed a boolean expression bug (submitted upstream)
(This used to be commit bd4c388cd2653823e012f1cd8c14832ee032eb11)

15 years agor8650: Use the timestamps and a new objectguid module rather than placing
Andrew Bartlett [Wed, 20 Jul 2005 11:43:23 +0000 (11:43 +0000)]
r8650: Use the timestamps and a new objectguid module rather than placing
boilerplate attributes in every entry in provision.ldif.

The next step will be to use templates.

Andrew Bartlett
(This used to be commit 940ed9827f5ab83b668a60a2b0110567dd54c3e2)

15 years agor8649: added smbscript to the list of binaries to install
Andrew Tridgell [Wed, 20 Jul 2005 11:30:45 +0000 (11:30 +0000)]
r8649: added smbscript to the list of binaries to install
(This used to be commit f5e39455a8e7aff54503857ec148c880aac71fac)

15 years agor8648: automatically redirect to provisioning if not yet provisioned when the
Andrew Tridgell [Wed, 20 Jul 2005 11:26:17 +0000 (11:26 +0000)]
r8648: automatically redirect to provisioning if not yet provisioned when the
home page in swat is accessed
(This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338)

15 years agor8647: no diffrences between the heimdal and no heimdal case when building
Love Hörnquist Åstrand [Wed, 20 Jul 2005 11:18:52 +0000 (11:18 +0000)]
r8647: no diffrences between the heimdal and no heimdal case when building
(This used to be commit 08eb97c264d238304908c251d1de7fe2ed8b5a1e)

15 years agor8646: update install howto for new provision code
Andrew Tridgell [Wed, 20 Jul 2005 11:15:52 +0000 (11:15 +0000)]
r8646: update install howto for new provision code
(This used to be commit bfc3270fb6177b01cb60e02c231084170c9ec15f)

15 years agor8645: updated the ldb esp test for the new ldb ejs syntax
Andrew Tridgell [Wed, 20 Jul 2005 11:13:11 +0000 (11:13 +0000)]
r8645: updated the ldb esp test for the new ldb ejs syntax

simo, when changing ejs syntax, please grep -r through the *.js and *.esp files to
fix all the callers. Thanks :)
(This used to be commit 8d0c9557a29a802800257af1bab38bfe57928c17)

15 years agor8644: This is a more useful error than unsuccesful.
Andrew Bartlett [Wed, 20 Jul 2005 10:54:50 +0000 (10:54 +0000)]
r8644: This is a more useful error than unsuccesful.

Andrew Bartlett
(This used to be commit d7136c93fb7ddf27d914329a7c9fd77de22d4356)

15 years agor8643: - make lp_configfile() work again
Andrew Tridgell [Wed, 20 Jul 2005 10:07:48 +0000 (10:07 +0000)]
r8643: - make lp_configfile() work again

- get rid of redundeny dyn_CONFIGFILE argument to lp_load()

- fixed provisioning to work with completely pristine install,
  creating an initial smb.conf is none is present

- added lp.set() and lp.reload() to loadparm ejs object interface
(This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)

15 years agor8642: - fixed install of new swat files
Andrew Tridgell [Wed, 20 Jul 2005 08:39:53 +0000 (08:39 +0000)]
r8642: - fixed install of new swat files

- removed old provisioning items from esptest menu
(This used to be commit 760cc6bea5661245a8e4e18f103148281e31aaac)

15 years agor8640: continue the trend by moving the ejs random calls into an object
Andrew Tridgell [Wed, 20 Jul 2005 07:29:23 +0000 (07:29 +0000)]
r8640: continue the trend by moving the ejs random calls into an object
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)

15 years agor8639: moved loadparm calls into an ejs object
Andrew Tridgell [Wed, 20 Jul 2005 07:20:03 +0000 (07:20 +0000)]
r8639: moved loadparm calls into an ejs object
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)

15 years agor8638: continue the trend of maknig our C functions true ejs objects by making the...
Andrew Tridgell [Wed, 20 Jul 2005 07:04:07 +0000 (07:04 +0000)]
r8638: continue the trend of maknig our C functions true ejs objects by making the string functions
into an object. To keep existing code working I have added:


into base.js. That brings the functions into the global scope for our
existing scripts
(This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)