summaryrefslogtreecommitdiffstats
path: root/source/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* r9070: More fields in ejs credentials object.Rafal Szczesniak2005-08-041-0/+56
| | | | rafal
* r9059: add a basic credentials object for mimirAndrew Tridgell2005-08-043-0/+109
|
* r8985: Automatically generate make dependency rules for Jelmer Vernooij2005-08-031-3/+1
| | | | | | the asn1 and error table files. This removes the need for HEIMDAL_EXTERNAL
* r8979: Bunch of makefile fragment inclusion fixes:Jelmer Vernooij2005-08-031-0/+23
| | | | | | | - support whitespace - support "include " keyword - move swig stuff to .mk file - support autogenerated makefile portions (use "include echo foo|")
* r8966: Simplify the makefile generation system a bit. Jelmer Vernooij2005-08-031-0/+1
| | | | | Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm) Add INSTALLDIR keyword to .mk files
* r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC testAndrew Tridgell2005-08-011-1/+1
|
* r8822: fixed number of arguments in samr libAndrew Tridgell2005-07-281-2/+2
|
* r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell2005-07-283-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);
* r8790: Finish the migration of aliases and privilages with SamSync, by addingAndrew Bartlett2005-07-271-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
* r8742: fixed handling of zero length names in mprObject()Andrew Tridgell2005-07-251-1/+1
|
* r8700: Propmted by tridge's need to do plaintext auth in ejs, rework theAndrew Bartlett2005-07-221-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
* r8678: setup for gdb backtrace in 'make test'Andrew Tridgell2005-07-211-0/+1
|
* r8677: The first part of the domain name may not be equal to the netbios ↵Andrew Bartlett2005-07-211-0/+3
| | | | | | | | | domain name. Remove the use of flatname from the main domain object, we no longer reference it. Andrew Bartlett
* r8661: added strstr() ejs function in string libAndrew Tridgell2005-07-211-0/+17
|
* r8660: Use templates for the initial provision of user and computer accounts.Andrew Bartlett2005-07-211-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
* r8659: return ldif formatted attributes in the ejs ldb search call, so sids ↵Andrew Tridgell2005-07-212-8/+24
| | | | | | show up as strings not binary blobs
* r8650: Use the timestamps and a new objectguid module rather than placingAndrew Bartlett2005-07-201-5/+14
| | | | | | | | boilerplate attributes in every entry in provision.ldif. The next step will be to use templates. Andrew Bartlett
* r8648: automatically redirect to provisioning if not yet provisioned when theAndrew Tridgell2005-07-201-0/+21
| | | | home page in swat is accessed
* r8643: - make lp_configfile() work againAndrew Tridgell2005-07-203-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
* r8640: continue the trend by moving the ejs random calls into an objectAndrew Tridgell2005-07-202-4/+17
|
* r8639: moved loadparm calls into an ejs objectAndrew Tridgell2005-07-205-11/+30
|
* r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell2005-07-202-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
* r8637: added sys.stat() and sys.lstat() callsAndrew Tridgell2005-07-201-0/+71
|
* r8635: make object inheritance with the builtin objects easy by allowingAndrew Tridgell2005-07-204-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.
* r8633: check for valid input to ejs_userAuth()Andrew Tridgell2005-07-201-0/+5
|
* r8629: - moved the getDomainList() call out of smbcalls_auth.c and into ↵Andrew Tridgell2005-07-202-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.
* r8603: we have to use the same db name as the rest of smbd uses so the ldb ↵Andrew Tridgell2005-07-191-1/+1
| | | | | | connect works when already open
* r8602: allow options in ldb connect callsAndrew Tridgell2005-07-191-2/+3
|
* r8590: added server status utility functions for checking on the status of a ↵Andrew Tridgell2005-07-192-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
* r8589: - support --version option to smbstatusAndrew Tridgell2005-07-191-0/+2
| | | | - print samba version at startup
* r8584: added --nbt option to smbstatus for nbt server statisticsAndrew Tridgell2005-07-192-3/+47
|
* r8583: nicer smbstatus outputAndrew Tridgell2005-07-191-13/+45
|
* r8582: added sys.httptime() call, to display a NTTIME as a http time stringAndrew Tridgell2005-07-191-0/+19
|
* r8581: fixed handling of 64 bit integers in rpc calls from ejsAndrew Tridgell2005-07-191-14/+8
|
* r8577: added management calls to list current tree connectsAndrew Tridgell2005-07-192-1/+51
|
* r8575: the beginnings of a smbstatus commandAndrew Tridgell2005-07-192-0/+59
|
* r8570: delete all records in the old db when provisioning, rather than usingAndrew Tridgell2005-07-191-2/+26
| | | | sys.unlink(). This allows smbd to see the new db without restarting.
* r8569: delete is a js reserved word, so use del insteadAndrew Tridgell2005-07-191-1/+1
|
* r8561: as with the other ejs subsystems, make nss into a objectAndrew Tridgell2005-07-192-13/+30
|
* r8558: move newuser logic into the provision.js libAndrew Tridgell2005-07-181-0/+84
|
* r8557: expose ldb_errstring() in ldb ejs codeAndrew Tridgell2005-07-181-0/+19
|
* r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell2005-07-171-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
* r8516: let us use all parameters of ldbsearch in ldb.searchSimo Sorce2005-07-161-8/+31
|
* r8499: clearer function nameSimo Sorce2005-07-151-5/+5
|
* r8489: neaten up the object handlingAndrew Tridgell2005-07-152-4/+20
|
* r8488: after discussions with simo, moved to a full OO interface, so you ↵Andrew Tridgell2005-07-153-44/+47
| | | | | | | | 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
* r8486: switched to a separate connection operation in ldb interfaceAndrew Tridgell2005-07-152-75/+106
| | | | (a suggestion from simo)
* r8484: switched the sys_*() calls to the OO interfaceAndrew Tridgell2005-07-152-18/+34
| | | | tim, do you want to do the cli_*() calls now?
* r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell2005-07-157-74/+21
| | | | | | 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
* r8481: switched ldb ejs called over to an OO interface, so you do:Andrew Tridgell2005-07-154-6/+38
| | | | | | | | | | | | | | 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).