summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r9131: started adding the server side code for "AJAJ" (asynchronous ↵Andrew Tridgell2-0/+195
javascript and javascript) This is rather like AJAX, but passes around javascript objects between the client and server, taking advantage of the fact that we have the same language on both client and server. (This used to be commit 5f9e00fb7f36f3351f40da93acfe47c911f6f65f)
2007-10-10r9123: Add ejs_pull_DATA_BLOB() and ejs_pull_BOOL() although leave DATA_BLOBTim Potter2-1/+34
unimplemented for the moment. (This used to be commit 0e022f8d45a99f0edbbd6369dbf41f73906c6fc4)
2007-10-10r9119: added a lp.categories() call in the loadparm js object, to allowAndrew Tridgell1-0/+22
retrieval of the smb.conf parameter categories. This will make writing a smb.conf editor easier. (This used to be commit 8db549b1506b5260c9eb16f40bbdae6a7c006fa2)
2007-10-10r9096: Spelling.Tim Potter1-1/+1
(This used to be commit c61b29bdf043792d885528bd7666c9bea9107928)
2007-10-10r9082: added the ECMA functions encodeURIComponent() andAndrew Tridgell1-0/+81
decodeURIComponent(), which I am using as part of my object linearisation code (This used to be commit f91f705a143b24c2e01b9176850a7089e1a99b86)
2007-10-10r9071: Set real and workstation fields in ejs credentials object.Rafal Szczesniak1-0/+62
rafal (This used to be commit eb7a5d09c7a469f94357434c6dadbdf54b52d5db)
2007-10-10r9070: More fields in ejs credentials object.Rafal Szczesniak1-0/+56
rafal (This used to be commit e819c035f79477b5dd8ee62292a18c9e8532c9f7)
2007-10-10r9059: add a basic credentials object for mimirAndrew Tridgell3-0/+109
(This used to be commit 36a9277e878d4db599fcfc02b96d2aaeac0b74dd)
2007-10-10r8985: Automatically generate make dependency rules forJelmer Vernooij1-3/+1
the asn1 and error table files. This removes the need for HEIMDAL_EXTERNAL (This used to be commit 2f481ac93c0151b82dab737d49ae8d0d3cbbbbbe)
2007-10-10r8979: Bunch of makefile fragment inclusion fixes:Jelmer Vernooij1-0/+23
- support whitespace - support "include " keyword - move swig stuff to .mk file - support autogenerated makefile portions (use "include echo foo|") (This used to be commit 43779c09b6a75e03f4cf6e8953a837cddd318aa5)
2007-10-10r8966: Simplify the makefile generation system a bit.Jelmer Vernooij1-0/+1
Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm) Add INSTALLDIR keyword to .mk files (This used to be commit ce0935112b846486cf705ec69f12350be9c4c89d)
2007-10-10r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC testAndrew Tridgell1-1/+1
(This used to be commit ce9a262d379b946717d0d4be4731c837e6f7373d)
2007-10-10r8822: fixed number of arguments in samr libAndrew Tridgell1-2/+2
(This used to be commit 8eee26bb85472aa45bd42fd28f968a38730e286c)
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell3-71/+73
calls. This changes the generated RPC and IRPC calls to use the 'this' object pointer instead of requiring the passing of the object on each call. So typical usage is now: var echo = echo_init(); var io = irpcObj(); status = echo.connect("ncacn_np:server"); assert(status.is_ok); io.input.in_data = 7; status = echo.AddOne(io); assert(status.is_ok); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8790: Finish the migration of aliases and privilages with SamSync, by addingAndrew Bartlett1-12/+7
templating support for foreignSecurityPrincipals to the samdb module. This is an extension beyond what microsoft does, and has been very useful :-) The setup scripts have been modified to use the new template, as has the SAMR and LSA code. Other cleanups in LSA remove the assumption that the short domain name is the first component of the realm. Also add a lot of useful debug messages, to make it clear how/why the SamSync may have gone wrong. Many of these should perhaps be hooked into an error string. Andrew Bartlett (This used to be commit 1f071b0609c5c83024db1d4a7d04334a932b8253)
2007-10-10r8742: fixed handling of zero length names in mprObject()Andrew Tridgell1-1/+1
(This used to be commit 8086c37df65ac666aa340141d3584e9bc2c81278)
2007-10-10r8700: Propmted by tridge's need to do plaintext auth in ejs, rework theAndrew Bartlett1-10/+25
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-10r8678: setup for gdb backtrace in 'make test'Andrew Tridgell1-0/+1
(This used to be commit acf8c8fd4995acef47390df5a7d4e611c597367d)
2007-10-10r8677: The first part of the domain name may not be equal to the netbios ↵Andrew Bartlett1-0/+3
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-10r8661: added strstr() ejs function in string libAndrew Tridgell1-0/+17
(This used to be commit a569fc8924e8c8edbdfa7efc89ad99659af8c379)
2007-10-10r8660: Use templates for the initial provision of user and computer accounts.Andrew Bartlett1-0/+2
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-10r8659: return ldif formatted attributes in the ejs ldb search call, so sids ↵Andrew Tridgell2-8/+24
show up as strings not binary blobs (This used to be commit d2c29a5a51f68cabb9ef587376bf0a6b936cdd76)
2007-10-10r8650: Use the timestamps and a new objectguid module rather than placingAndrew Bartlett1-5/+14
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-10r8648: automatically redirect to provisioning if not yet provisioned when theAndrew Tridgell1-0/+21
home page in swat is accessed (This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell3-7/+61
- 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-10r8640: continue the trend by moving the ejs random calls into an objectAndrew Tridgell2-4/+17
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
2007-10-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell5-11/+30
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell2-7/+22
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-10r8637: added sys.stat() and sys.lstat() callsAndrew Tridgell1-0/+71
(This used to be commit 5dbdf4fb3317964541339615b7ecbf174a2dc00b)
2007-10-10r8635: make object inheritance with the builtin objects easy by allowingAndrew Tridgell4-22/+29
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-10r8633: check for valid input to ejs_userAuth()Andrew Tridgell1-0/+5
(This used to be commit 8e788ae3094220e5ea195cdf85abb6763a834abd)
2007-10-10r8629: - moved the getDomainList() call out of smbcalls_auth.c and into ↵Andrew Tridgell2-27/+25
libjs/auth.js - tried to make the ejs_userAuth() call work for the sam, not just for unix auth. I didn't get this working. Andrew, when you get a chance can you see what I'm doing wrong? I suspect its because we aren't supplying a challenge, but a challenge doesn't really make sense in a 'is this username/password' correct call. (This used to be commit 9e07c08a71908e99c2f44efc40a3249facd6850f)
2007-10-10r8603: we have to use the same db name as the rest of smbd uses so the ldb ↵Andrew Tridgell1-1/+1
connect works when already open (This used to be commit 1183f54c8dee28c136b4dc72bc059a6175fe09e4)
2007-10-10r8602: allow options in ldb connect callsAndrew Tridgell1-2/+3
(This used to be commit 4c1d6a97c0c9df2848a16afb1b4eed4b20963bef)
2007-10-10r8590: added server status utility functions for checking on the status of a ↵Andrew Tridgell2-0/+80
task via irpc - for stream tasks, returns the number of connections - for non-stream tasks, returns "RUNNING" For both, return "DISABLED" or "NOT RESPONDING" appropriately (This used to be commit 78d6303814382f7835212f5045f12180e396b540)
2007-10-10r8589: - support --version option to smbstatusAndrew Tridgell1-0/+2
- print samba version at startup (This used to be commit eb3e4bbe7f4a8f48c9246275ad6ef21ed0b4d357)
2007-10-10r8584: added --nbt option to smbstatus for nbt server statisticsAndrew Tridgell2-3/+47
(This used to be commit 26a676a4e3596d34aee391bf132f2525972c81df)
2007-10-10r8583: nicer smbstatus outputAndrew Tridgell1-13/+45
(This used to be commit 0578bcdf7f8919509a78a5c64f94aa5de7e90416)
2007-10-10r8582: added sys.httptime() call, to display a NTTIME as a http time stringAndrew Tridgell1-0/+19
(This used to be commit 632f7bbe3e81af1ee89301765f8bfb72d4c9f3d7)
2007-10-10r8581: fixed handling of 64 bit integers in rpc calls from ejsAndrew Tridgell1-14/+8
(This used to be commit 2ae6a338466bf287ea2180d5ad7313ba116b88ca)
2007-10-10r8577: added management calls to list current tree connectsAndrew Tridgell2-1/+51
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10r8575: the beginnings of a smbstatus commandAndrew Tridgell2-0/+59
(This used to be commit 4ecaf72a31cde2722315a61cbe823d44f0c14586)
2007-10-10r8570: delete all records in the old db when provisioning, rather than usingAndrew Tridgell1-2/+26
sys.unlink(). This allows smbd to see the new db without restarting. (This used to be commit 71004aa165e88f5f448dc7d90ad11dea7143f0df)
2007-10-10r8569: delete is a js reserved word, so use del insteadAndrew Tridgell1-1/+1
(This used to be commit 9af48b8fc201822e290a1071d9e61afe519558f5)
2007-10-10r8561: as with the other ejs subsystems, make nss into a objectAndrew Tridgell2-13/+30
(This used to be commit a3f3292e6698ce9be6a5036f47dd4fa81a1dfd4e)
2007-10-10r8558: move newuser logic into the provision.js libAndrew Tridgell1-0/+84
(This used to be commit b6ef32ddd1fdca0d40a12f34fa5f7a484b3c2071)
2007-10-10r8557: expose ldb_errstring() in ldb ejs codeAndrew Tridgell1-0/+19
(This used to be commit 21ca972d06bbf4694569855f39a1649d799c05c7)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell1-1/+1
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 (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8516: let us use all parameters of ldbsearch in ldb.searchSimo Sorce1-8/+31
(This used to be commit e709e3792846e2bd48b55112c74395d1ab3a1b6a)
2007-10-10r8499: clearer function nameSimo Sorce1-5/+5
(This used to be commit 5a6c2170ff83c29ed1d7f0f5329f2d9aa00c223a)