summaryrefslogtreecommitdiffstats
path: root/source/scripting
Commit message (Collapse)AuthorAgeFilesLines
* r12738: Use a talloc_reference to ensure this doesn't get free()'ed too early.Andrew Bartlett2006-01-061-0/+3
| | | | Andrew Bartlett
* r12708: This is equivilant, but doesn't cause a warning.Andrew Bartlett2006-01-041-2/+1
| | | | Andrew Bartlett
* r12704: role => server roleJelmer Vernooij2006-01-031-4/+4
|
* r12703: Fix handling of short passdb backends (also reported by Steinar ↵Jelmer Vernooij2006-01-031-2/+4
| | | | Gunderson)
* r12699: correctly escape invalid DN characters (reported by Steinar H. ↵Jelmer Vernooij2006-01-032-2/+31
| | | | | | | Gunderson). this still doesn't work as a bug in ldb causes it to not understand escaped characters in DNs when parsing DNs
* r12697: Support empty fullname fields in unix accountsJelmer Vernooij2006-01-031-0/+4
|
* r12695: A dot is allowed in NetBIOS names.Jelmer Vernooij2006-01-031-2/+2
|
* r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij2006-01-031-1/+1
|
* r12622: Move table.c prototypes to seperate header to prevent circular ↵Jelmer Vernooij2005-12-301-0/+1
| | | | | | dependencies with proto.h
* r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij2005-12-302-2/+4
| | | | | | | subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries).
* r12608: Remove some unused #include lines.Jelmer Vernooij2005-12-301-1/+0
|
* r12596: This variable is unused. Andrew Bartlett2005-12-301-3/+0
| | | | Andrew Bartlett
* r12592: Remove some useless dependenciesJelmer Vernooij2005-12-291-2/+3
|
* r12533: Get the ldb.errstring() out to the user on failure. It helps a lotAndrew Bartlett2005-12-281-2/+9
| | | | | | with debugging! Andrew Bartlett
* r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNSAndrew Tridgell2005-12-281-1/+1
| | | | | | | | | | | | | | | | | lookups in load_interfaces(). The reason was my eth0 interface was down, and it was being interpreted as a DNS name. This patch changes load_interfaces() to happening automatically when interfaces are first needed instead of on the startup of every samba binary. This means that (for example) ldbadd doesn't call load_interfaces(), which means no slow DNS lookups. I also reduced the number of static globals in interface.c to 1, and changed from malloc to talloc When you want to force a reload of the interfaces list, you now call unload_interfaces(), which means the next call that needs the interfaces list will reload it
* r12517: Don't generate empty init functionsJelmer Vernooij2005-12-271-2/+2
|
* r12516: Fix drsuapi and netlogon javascript bindingsJelmer Vernooij2005-12-272-0/+25
|
* r12514: Move DCE/RPC interface table to a seperate fileJelmer Vernooij2005-12-271-1/+1
| | | | Be a bit more strict when checking for duplicate interfaces
* r12510: Change the DCE/RPC interfaces to take a pointer to a Jelmer Vernooij2005-12-271-3/+1
| | | | | | | | | | | | | | | | dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table.
* r12501: Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit, Jelmer Vernooij2005-12-263-38/+17
| | | | | now that it is guaranteed that the smbcalls modules are always initialized after the EJS subsystem itself.
* r12500: Use init functions explicitly in a few more places. 'gensec' and ↵Jelmer Vernooij2005-12-261-0/+12
| | | | | | 'librpc' are the only two subsystems left to convert.
* r12499: Move smb_build.h out of includes.hJelmer Vernooij2005-12-261-0/+1
|
* r12445: Fix header in manpage, make script executableJelmer Vernooij2005-12-231-0/+0
|
* r12323: fixeed the use of options.get_credentials() for ldbAndrew Tridgell2005-12-181-2/+6
|
* r12322: automatically use cmdline_credentials if the ldb object doesn't haveAndrew Tridgell2005-12-181-0/+4
| | | | its own credentials element
* r12252: With this change (hack) we can now do an provision onto Samba4's LDAPAndrew Bartlett2005-12-151-1/+4
| | | | | | server. Now to try another one... Andrew Bartlett
* r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldbAndrew Bartlett2005-12-143-14/+38
| | | | | | | | | | | | | | backend. The idea is that every time we open an LDB, we can provide a session_info and/or credentials. This would allow any ldb to be remote to LDAP. We should also support provisioning to a authenticated ldap server. (They are separate so we can say authenticate as foo for remote, but here we just want a token of SYSTEM). Andrew Bartlett
* r12218: Use common functions for generating listsJelmer Vernooij2005-12-131-2/+2
|
* r12104: Move to (sync) smb_composite_connect from smbcli_tree_full_connection()Rafal Szczesniak2005-12-061-2/+13
| | | | | | | This is one of the last places using the latter function. rafal
* r12014: free the irpc_request structure with the irpc_call_recv functions,Stefan Metzmacher2005-12-021-1/+0
| | | | | | to match all other _recv functions we have metze
* r12013: fix compiler warningsStefan Metzmacher2005-12-022-6/+6
| | | | metze
* r12012: fix renaming smbsrv_trees -> smbsrv_tconsStefan Metzmacher2005-12-021-6/+6
| | | | metze
* r11995: A big kerberos-related update.Andrew Bartlett2005-12-012-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merges Samba4 up to current lorikeet-heimdal, which includes a replacement for some Samba-specific hacks. In particular, the credentials system now supplies GSS client and server credentials. These are imported into GSS with gss_krb5_import_creds(). Unfortunetly this can't take an MEMORY keytab, so we now create a FILE based keytab as provision and join time. Because the keytab is now created in advance, we don't spend .4s at negprot doing sha1 s2k calls. Also, because the keytab is read in real time, any change in the server key will be correctly picked up by the the krb5 code. To mark entries in the secrets which should be exported to a keytab, there is a new kerberosSecret objectClass. The new routine cli_credentials_update_all_keytabs() searches for these, and updates the keytabs. This is called in the provision.js via the ejs wrapper credentials_update_all_keytabs(). We can now (in theory) use a system-provided /etc/krb5.keytab, if krb5Keytab: FILE:/etc/krb5.keytab is added to the secrets.ldb record. By default the attribute privateKeytab: secrets.keytab is set, pointing to allow the whole private directory to be moved without breaking the internal links.
* r11956: removed the old rootdse.ldif, and the provision.js code that uses itAndrew Tridgell2005-11-291-3/+0
|
* r11814: 1) Set name resolution methods according to smb.confRafal Szczesniak2005-11-201-1/+4
| | | | | | | | 2) Set credentials workstation name, otherwise rpc bind function segfaults on auth stage rafal
* r11781: rename tree to tcons to match the sessions substructure of ↵Stefan Metzmacher2005-11-181-5/+5
| | | | | | smbsrv_connection metze
* r11748: By default, use name resolution method provided by meansRafal Szczesniak2005-11-161-0/+1
| | | | | | | of smb.conf. rafal
* r11588: Remove unused (at the moment) variable and quiet compiler warning.Rafal Szczesniak2005-11-091-1/+0
| | | | rafal
* r11586: Further work on ejs interface for libnet. The idea is to split libnetRafal Szczesniak2005-11-082-4/+57
| | | | | | | | | | | | functionalities into groups of subcontexts of net subcontext just the way it's done in net tool. This way we can pass common arguments when creating subcontext. Also, this may allow easier writing net tool completely as a script. At the moment there's a name resolve code segfault to be fixed. rafal
* r11567: Ldb API change patch.Simo Sorce2005-11-081-3/+4
| | | | | | | | | | | | | | | This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo.
* r11501: change provision code to use the new display specifiersAndrew Tridgell2005-11-041-0/+2
|
* r11500: fixed a bug in the variable substition code using the new limit ↵Andrew Tridgell2005-11-041-1/+1
| | | | argument to split()
* r11498: added an optional extra argument to split to limit the number ofAndrew Tridgell2005-11-041-8/+19
| | | | | pieces a string is split into. This allows for a fix in the variable substitution used in provisioning
* r11496: add a minimal ads-compatible schema into our sam.ldb setup. This isAndrew Tridgell2005-11-041-2/+2
| | | | needed for mmc management of Samba4.
* r11475: removed a extraneous ldb_delete() call (i had it there for debugging)Andrew Tridgell2005-11-021-1/+0
|
* r11474: - enable ldb transactions from ejsAndrew Tridgell2005-11-022-4/+100
| | | | | - speed up provisioning a bit using a ldb transaction (also means you can't end up with a ldb being half done)
* r11458: fixed our ejs smbscript interfaces to use arrays where appropriate. InAndrew Tridgell2005-11-028-42/+48
| | | | | | | | js arrays are a special type of object where the length property is automatic, and cannot be modified manually. Our code was manually setting length, which made it abort when someone passed in a real ejs array. To fix this we need to create real arrays instead of objects, and remove the code that manually sets the length
* r11439: Make presedence on strcmp comparison clear, and fill inAndrew Bartlett2005-11-011-1/+3
| | | | | | logon_parameters for the auth subsystem. Andrew Bartlett
* r11365: fixed a comment typoAndrew Tridgell2005-10-281-1/+1
|
* r11363: fixed a problem with provisioning when hklm already exists (theAndrew Tridgell2005-10-281-2/+1
| | | | | problem is really caused by hklm not having objectclass attributes on its records, but this is a workaround)