Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r9070: More fields in ejs credentials object. | Rafal Szczesniak | 2005-08-04 | 1 | -0/+56 | |
| | | | | rafal | |||||
* | r9059: add a basic credentials object for mimir | Andrew Tridgell | 2005-08-04 | 3 | -0/+109 | |
| | ||||||
* | r8985: Automatically generate make dependency rules for | Jelmer Vernooij | 2005-08-03 | 1 | -3/+1 | |
| | | | | | | the asn1 and error table files. This removes the need for HEIMDAL_EXTERNAL | |||||
* | r8979: Bunch of makefile fragment inclusion fixes: | Jelmer Vernooij | 2005-08-03 | 1 | -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 Vernooij | 2005-08-03 | 1 | -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 test | Andrew Tridgell | 2005-08-01 | 1 | -1/+1 | |
| | ||||||
* | r8822: fixed number of arguments in samr lib | Andrew Tridgell | 2005-07-28 | 1 | -2/+2 | |
| | ||||||
* | r8821: continue the trend to move to a more OO style of interface for our js | Andrew Tridgell | 2005-07-28 | 3 | -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 adding | Andrew Bartlett | 2005-07-27 | 1 | -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 Tridgell | 2005-07-25 | 1 | -1/+1 | |
| | ||||||
* | r8700: Propmted by tridge's need to do plaintext auth in ejs, rework the | Andrew Bartlett | 2005-07-22 | 1 | -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 Tridgell | 2005-07-21 | 1 | -0/+1 | |
| | ||||||
* | r8677: The first part of the domain name may not be equal to the netbios ↵ | Andrew Bartlett | 2005-07-21 | 1 | -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 lib | Andrew Tridgell | 2005-07-21 | 1 | -0/+17 | |
| | ||||||
* | r8660: Use templates for the initial provision of user and computer accounts. | Andrew Bartlett | 2005-07-21 | 1 | -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 Tridgell | 2005-07-21 | 2 | -8/+24 | |
| | | | | | | show up as strings not binary blobs | |||||
* | r8650: Use the timestamps and a new objectguid module rather than placing | Andrew Bartlett | 2005-07-20 | 1 | -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 the | Andrew Tridgell | 2005-07-20 | 1 | -0/+21 | |
| | | | | home page in swat is accessed | |||||
* | r8643: - make lp_configfile() work again | Andrew Tridgell | 2005-07-20 | 3 | -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 object | Andrew Tridgell | 2005-07-20 | 2 | -4/+17 | |
| | ||||||
* | r8639: moved loadparm calls into an ejs object | Andrew Tridgell | 2005-07-20 | 5 | -11/+30 | |
| | ||||||
* | r8638: continue the trend of maknig our C functions true ejs objects by ↵ | Andrew Tridgell | 2005-07-20 | 2 | -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() calls | Andrew Tridgell | 2005-07-20 | 1 | -0/+71 | |
| | ||||||
* | r8635: make object inheritance with the builtin objects easy by allowing | Andrew Tridgell | 2005-07-20 | 4 | -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 Tridgell | 2005-07-20 | 1 | -0/+5 | |
| | ||||||
* | r8629: - moved the getDomainList() call out of smbcalls_auth.c and into ↵ | Andrew Tridgell | 2005-07-20 | 2 | -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 Tridgell | 2005-07-19 | 1 | -1/+1 | |
| | | | | | | connect works when already open | |||||
* | r8602: allow options in ldb connect calls | Andrew Tridgell | 2005-07-19 | 1 | -2/+3 | |
| | ||||||
* | r8590: added server status utility functions for checking on the status of a ↵ | Andrew Tridgell | 2005-07-19 | 2 | -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 smbstatus | Andrew Tridgell | 2005-07-19 | 1 | -0/+2 | |
| | | | | - print samba version at startup | |||||
* | r8584: added --nbt option to smbstatus for nbt server statistics | Andrew Tridgell | 2005-07-19 | 2 | -3/+47 | |
| | ||||||
* | r8583: nicer smbstatus output | Andrew Tridgell | 2005-07-19 | 1 | -13/+45 | |
| | ||||||
* | r8582: added sys.httptime() call, to display a NTTIME as a http time string | Andrew Tridgell | 2005-07-19 | 1 | -0/+19 | |
| | ||||||
* | r8581: fixed handling of 64 bit integers in rpc calls from ejs | Andrew Tridgell | 2005-07-19 | 1 | -14/+8 | |
| | ||||||
* | r8577: added management calls to list current tree connects | Andrew Tridgell | 2005-07-19 | 2 | -1/+51 | |
| | ||||||
* | r8575: the beginnings of a smbstatus command | Andrew Tridgell | 2005-07-19 | 2 | -0/+59 | |
| | ||||||
* | r8570: delete all records in the old db when provisioning, rather than using | Andrew Tridgell | 2005-07-19 | 1 | -2/+26 | |
| | | | | sys.unlink(). This allows smbd to see the new db without restarting. | |||||
* | r8569: delete is a js reserved word, so use del instead | Andrew Tridgell | 2005-07-19 | 1 | -1/+1 | |
| | ||||||
* | r8561: as with the other ejs subsystems, make nss into a object | Andrew Tridgell | 2005-07-19 | 2 | -13/+30 | |
| | ||||||
* | r8558: move newuser logic into the provision.js lib | Andrew Tridgell | 2005-07-18 | 1 | -0/+84 | |
| | ||||||
* | r8557: expose ldb_errstring() in ldb ejs code | Andrew Tridgell | 2005-07-18 | 1 | -0/+19 | |
| | ||||||
* | r8520: fixed a pile of warnings from the build farm gcc -Wall output on | Andrew Tridgell | 2005-07-17 | 1 | -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.search | Simo Sorce | 2005-07-16 | 1 | -8/+31 | |
| | ||||||
* | r8499: clearer function name | Simo Sorce | 2005-07-15 | 1 | -5/+5 | |
| | ||||||
* | r8489: neaten up the object handling | Andrew Tridgell | 2005-07-15 | 2 | -4/+20 | |
| | ||||||
* | r8488: after discussions with simo, moved to a full OO interface, so you ↵ | Andrew Tridgell | 2005-07-15 | 3 | -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 interface | Andrew Tridgell | 2005-07-15 | 2 | -75/+106 | |
| | | | | (a suggestion from simo) | |||||
* | r8484: switched the sys_*() calls to the OO interface | Andrew Tridgell | 2005-07-15 | 2 | -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. This | Andrew Tridgell | 2005-07-15 | 7 | -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 Tridgell | 2005-07-15 | 4 | -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). |