1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-02 08:58:33 +03:00

5846 Commits

Author SHA1 Message Date
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
Andrew Tridgell
a369f0ecaf r8678: setup for gdb backtrace in 'make test'
(This used to be commit acf8c8fd4995acef47390df5a7d4e611c597367d)
2007-10-10 13:29:53 -05:00
Andrew Bartlett
f8c1258d01 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)
2007-10-10 13:29:53 -05:00
Andrew Tridgell
989a4b673d 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)
2007-10-10 13:29:53 -05:00
Andrew Bartlett
d3a2b03f76 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)
2007-10-10 13:29:53 -05:00
Andrew Tridgell
a78558321a 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)
2007-10-10 13:29:52 -05:00
Andrew Bartlett
f3f9e09d6d 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)
2007-10-10 13:29:52 -05:00
Andrew Bartlett
4396d0d148 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)
2007-10-10 13:29:52 -05:00
Andrew Tridgell
eb08c1fc8f 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)
2007-10-10 13:29:52 -05:00
Andrew Bartlett
2a0cf520e3 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)
2007-10-10 13:29:52 -05:00
Andrew Bartlett
c7204bd985 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)
2007-10-10 13:29:51 -05:00
Andrew Tridgell
c7ca980ca9 r8665: fixed a segv at high debug level in the web server
thanks to volker for finding this
(This used to be commit e02d7753f77327e3ca295a86afde9ea74ddcf5e0)
2007-10-10 13:29:51 -05:00
Andrew Bartlett
c2f9eb30cd 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)
2007-10-10 13:29:51 -05:00
Andrew Bartlett
8191f2cc80 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)
2007-10-10 13:29:51 -05:00
Andrew Bartlett
1211496eba 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)
2007-10-10 13:29:51 -05:00
Andrew Tridgell
4163622a0b r8661: added strstr() ejs function in string lib
(This used to be commit a569fc8924e8c8edbdfa7efc89ad99659af8c379)
2007-10-10 13:29:51 -05:00
Andrew Bartlett
6173fad231 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)
2007-10-10 13:29:51 -05:00
Andrew Tridgell
7a8ac75887 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)
2007-10-10 13:29:50 -05:00
Andrew Tridgell
4327a3f1ba 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)
2007-10-10 13:29:50 -05:00
Andrew Tridgell
11832f7222 r8652: added a test for the boolean bug just fixed
(This used to be commit 19ae68f59ad9b81005eb68b3773f24234c0f891d)
2007-10-10 13:29:50 -05:00
Andrew Tridgell
5e9988708f r8651: fixed a boolean expression bug (submitted upstream)
(This used to be commit bd4c388cd2653823e012f1cd8c14832ee032eb11)
2007-10-10 13:29:50 -05:00
Andrew Bartlett
24d2107324 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)
2007-10-10 13:29:50 -05:00
Andrew Tridgell
79a87c55fe r8649: added smbscript to the list of binaries to install
(This used to be commit f5e39455a8e7aff54503857ec148c880aac71fac)
2007-10-10 13:29:49 -05:00
Andrew Tridgell
2fd92cb1b4 r8648: automatically redirect to provisioning if not yet provisioned when the
home page in swat is accessed
(This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338)
2007-10-10 13:29:49 -05:00
Love Hörnquist Åstrand
01b9564909 r8647: no diffrences between the heimdal and no heimdal case when building
(This used to be commit 08eb97c264d238304908c251d1de7fe2ed8b5a1e)
2007-10-10 13:29:49 -05:00
Andrew Tridgell
d3741424b9 r8646: update install howto for new provision code
(This used to be commit bfc3270fb6177b01cb60e02c231084170c9ec15f)
2007-10-10 13:29:49 -05:00
Andrew Tridgell
4512f76c1b 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)
2007-10-10 13:29:49 -05:00
Andrew Bartlett
5bf8d0f516 r8644: This is a more useful error than unsuccesful.
Andrew Bartlett
(This used to be commit d7136c93fb7ddf27d914329a7c9fd77de22d4356)
2007-10-10 13:29:49 -05:00
Andrew Tridgell
2f5f01567b 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)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
238a7e2f4c r8642: - fixed install of new swat files
- removed old provisioning items from esptest menu
(This used to be commit 760cc6bea5661245a8e4e18f103148281e31aaac)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
d5ac1f9bf4 r8640: continue the trend by moving the ejs random calls into an object
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
86d628a292 r8639: moved loadparm calls into an ejs object
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
620301858a 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:

  string_init(global);

into base.js. That brings the functions into the global scope for our
existing scripts
(This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
3d59490a40 r8637: added sys.stat() and sys.lstat() calls
(This used to be commit 5dbdf4fb3317964541339615b7ecbf174a2dc00b)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
524044a64a r8636: fixed the ejs ldb test to work with the new ldb.search() syntax, and
add it to our test suite so it will be maintained
(This used to be commit 42ae50db8108ddc7c33f832d8752f809c99de157)
2007-10-10 13:29:47 -05:00
Andrew Tridgell
240ca36cf2 r8635: make object inheritance with the builtin objects easy by allowing
callers to optionally supply an existing object to add the properties
to. So you can do:

 var rpc = samr_init();
 lsa_init(rpc);

and you end up with 'rpc' having both the samr and lsa functions and
constants available.
(This used to be commit 6a1ed328e27769bd52899fc2437a43fc17104eff)
2007-10-10 13:29:47 -05:00
Andrew Tridgell
a4428c814a r8634: we are still getting occasional test failures due to disk space
changing. I suspect it is a signed/unsigned problem with the approx
equal test. Hopefully this will fix it.
(This used to be commit 668dd29259198698c556c50e28a9070085db89ea)
2007-10-10 13:29:47 -05:00
Andrew Tridgell
d6c20a5c8a r8633: check for valid input to ejs_userAuth()
(This used to be commit 8e788ae3094220e5ea195cdf85abb6763a834abd)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
53ffd147bd r8632: use <pre> around displayed exceptions
(This used to be commit 001917cc9dec4bdf8839ef175edad352b2763239)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
3473f6b74b r8631: give an error on incorrect argument count
(This used to be commit ed09e19794d9625553bc48892a2e08b84d7bdcf4)
2007-10-10 13:29:46 -05:00