Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merges from SAMBA_2_2 | Gerald Carter | 2002-04-16 | 1 | -44/+61 |
| | |||||
* | we did not initialise global_myname and global_myworkgroup which lead to | Jean-François Micouleau | 2002-04-16 | 1 | -1/+14 |
| | | | | | | | | duplicate entries in secrets.tdb and false SID generated. took me *hours* to understand. J.F. | ||||
* | fixed a problem with the smb_buf() macro on some compilers | Andrew Tridgell | 2002-04-16 | 1 | -1/+1 |
| | |||||
* | ignore a few more files | Andrew Tridgell | 2002-04-16 | 3 | -1/+12 |
| | |||||
* | reran configure after adding a test for strnlen() | Andrew Tridgell | 2002-04-16 | 2 | -1/+4 |
| | |||||
* | fixed the handling of STR_TERMINATE | Andrew Tridgell | 2002-04-16 | 3 | -4/+34 |
| | |||||
* | i forgot to commit these parts of the string handling patch earlier. Sorry. | Andrew Tridgell | 2002-04-16 | 2 | -6/+9 |
| | |||||
* | make sure we don't walk past the end of the current SMB buffer when | Andrew Tridgell | 2002-04-16 | 7 | -45/+49 |
| | | | | | pulling a string this might explain a serious filename corruption bug that Quantum QA spotted | ||||
* | make sure that we leave the tree unused after disconnecting | Andrew Tridgell | 2002-04-15 | 1 | -0/+4 |
| | |||||
* | Stubs for connect, domain, user, group and alias policy objects. | Tim Potter | 2002-04-15 | 1 | -39/+202 |
| | | | | Wrote samr connect fn. | ||||
* | merge from SAMBA_2_2 | Gerald Carter | 2002-04-15 | 1 | -1/+1 |
| | |||||
* | Another patch from jelmer: | Andrew Bartlett | 2002-04-15 | 2 | -39/+55 |
| | | | | | | | Doco for pdbedit and (ugly, but the best we could come up with) fix for compiling pdbedit on some non-gcc compilers. Andrew Bartlett | ||||
* | Skeleton for SAMR module. | Tim Potter | 2002-04-15 | 3 | -0/+298 |
| | |||||
* | this fixes the displaying of free disk space for DOS6 clients. Win2000 | Andrew Tridgell | 2002-04-15 | 1 | -14/+37 |
| | | | | | changes its behaviour based on the negotiated protocol for the SMBdskattr SMB | ||||
* | better handling of DOS LANMAN2.1 protocol | Andrew Tridgell | 2002-04-15 | 1 | -4/+18 |
| | |||||
* | by using a prompter function we can avoid the bug in the MIT kerberos | Andrew Tridgell | 2002-04-15 | 1 | -7/+25 |
| | | | | libraries with handling blank passwords. | ||||
* | Merge of print server permission handling fixes from HEAD. | Tim Potter | 2002-04-15 | 2 | -12/+53 |
| | | | | Unit tests rock! | ||||
* | Fixed incorrect debug. | Tim Potter | 2002-04-15 | 1 | -1/+1 |
| | |||||
* | Added hex values as comments for the standard access rights. | Tim Potter | 2002-04-15 | 1 | -5/+5 |
| | |||||
* | Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object() | Tim Potter | 2002-04-14 | 2 | -3/+3 |
| | |||||
* | Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). Not | Tim Potter | 2002-04-14 | 1 | -3/+20 |
| | | | | | | | sure whether these should really be tuples or lists. In open_pipe_creds() raise PyExc_RuntimeError exceptions if the pipe connect function returns an error. | ||||
* | Call PyErr_SetString instead of fprintf to stderr. | Tim Potter | 2002-04-14 | 1 | -7/+5 |
| | | | | | Don't clean up talloc and cli_state on close printer. They will be destroyed in the handle dealloc function. | ||||
* | Shutdown cli_state in the dealloc function. This happens automatically | Tim Potter | 2002-04-14 | 1 | -2/+10 |
| | | | | when a handle object falls out of scope. | ||||
* | Added enumerate trusted domains. | Tim Potter | 2002-04-14 | 1 | -1/+44 |
| | |||||
* | Merge from 2_2. | Volker Lendecke | 2002-04-14 | 2 | -2/+15 |
| | | | | Volker | ||||
* | The cli_lsa_lookup_{names,sids} functions were returning useless | Tim Potter | 2002-04-14 | 4 | -43/+46 |
| | | | | | | information when one or more of the names/sids being queried were not resolvable. We now return a list the same length as the parameters passed instead of an array of just the resolvable names/sids. | ||||
* | Added error string for STATUS_SOME_UNMAPPED | Tim Potter | 2002-04-14 | 1 | -0/+1 |
| | |||||
* | Added a status code for lsa_lookup_{sids,names} returning the fact that | Tim Potter | 2002-04-14 | 1 | -0/+1 |
| | | | | only some of the entries could be resolved. | ||||
* | Extra file for the tdb search code (linked list definition). | Andrew Bartlett | 2002-04-14 | 1 | -0/+37 |
| | | | | Andrew Bartlett | ||||
* | Partly based on the work by mimir (Rafal Szczesniak | Andrew Bartlett | 2002-04-14 | 15 | -68/+406 |
| | | | | | | | | | | | | | | <mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly enumerate its trusted domains - by exaimining the keys in the secrets.tdb file. This patch has been tested with both NT4 and rpcclient/wbinfo, and adds some extra functionality to talloc and rpc_parse to allow it to deal with already unicode strings. Finally, this cleans up some const warnings that were in net_rpc.c by pushing another dash of const into the rpc client code. Andrew Bartlett | ||||
* | New file to hold common prototypes. | Tim Potter | 2002-04-14 | 1 | -0/+30 |
| | |||||
* | Moved security descriptor routines into their own file. | Tim Potter | 2002-04-14 | 3 | -116/+142 |
| | |||||
* | Moved function prototypes to py_common_proto.h | Tim Potter | 2002-04-14 | 1 | -13/+1 |
| | |||||
* | Added copyright. | Tim Potter | 2002-04-14 | 1 | -42/+160 |
| | | | | Added lookup_names() and lookup_sids() functions. | ||||
* | it looks like it is possible for a w2k client to send a spnego auth without ↵ | Andrew Tridgell | 2002-04-14 | 1 | -1/+6 |
| | | | | sending the negotiate - try to cope | ||||
* | win2000 does not check the permissions on the share directory on | Andrew Tridgell | 2002-04-14 | 1 | -3/+19 |
| | | | | | | | tconx, so win2000 clients don't expect a permissions error in tconx. We now match this behaviour, by only checking that the directory exists during tconx and relying on the permissions on other calls to protect directories | ||||
* | pull_username() is a local function | Andrew Tridgell | 2002-04-14 | 1 | -1/+1 |
| | |||||
* | hanle the case where the win2000 username is completely different from | Andrew Tridgell | 2002-04-14 | 1 | -8/+3 |
| | | | | the pre-win2000 username | ||||
* | modified the ADS backend to accept either the long or short versions | Andrew Tridgell | 2002-04-14 | 1 | -11/+44 |
| | | | | of long usernames (win2000 usernames can be longer than 20 characters) | ||||
* | Fixed debugs. | Tim Potter | 2002-04-14 | 1 | -2/+2 |
| | |||||
* | Fixed comment. | Tim Potter | 2002-04-14 | 1 | -1/+1 |
| | |||||
* | Made a comment clearer. | Tim Potter | 2002-04-14 | 1 | -1/+1 |
| | |||||
* | Generate proto for lsa. | Tim Potter | 2002-04-14 | 1 | -11/+18 |
| | | | | Updated patch. | ||||
* | Starting work on lsa module. | Tim Potter | 2002-04-14 | 2 | -0/+59 |
| | |||||
* | More open_pipe_creds() refactoring. | Tim Potter | 2002-04-14 | 4 | -94/+68 |
| | |||||
* | Moved open_pipe_creds() function to common file. | Tim Potter | 2002-04-14 | 2 | -1/+90 |
| | |||||
* | As always, vance looks after the grammer... :-) | Andrew Bartlett | 2002-04-13 | 1 | -1/+1 |
| | |||||
* | two time handling bugfixes | Andrew Tridgell | 2002-04-13 | 1 | -1/+9 |
| | | | | | | | | - the pending mtime overrides the current file time in setfileinfo - a later wtime can override a mtime on setfileinfo this fixes the date of file copies in win2000 | ||||
* | Fix the build on platforms that use our internal popt. | Andrew Bartlett | 2002-04-13 | 1 | -1/+1 |
| | |||||
* | Patch for arbitary smb.conf paramaters (to make the life of plugin maintainers | Andrew Bartlett | 2002-04-13 | 1 | -4/+112 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sane) from ab. Attached is his e-mail to the samba-technical list, as it describes it rather well: Andrew Bartlett Subject: [PATCH] Parametrical options support for Samba 3.0 Date: Fri, 12 Apr 2002 19:13:13 +0300 From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> To: samba-technical@samba.org CC: tridge@samba.org Greetings! Attached patch makes possible arbitrary options to be specified in smb.conf and later queried from VFS modules (and other places) without problems. Below such options are called 'parametrical options'. Patch introduces new notation to smb.conf option's language, as discussed today with Tridgell on @samba-technical: TYPE: OPTION = VALUE Colon sign is important here, it is what distinguishes parametrical options from ones hardcoded in param/loadparm.c. TYPE is 'option domain', OPTION is option name itself. In order to access values of parametrical options, lp_parm_string() function was implemented: char *lp_parm_string(const char *servicename, const char *type, const char *option); This function accepts service name, type and option name, and returns value of option or NULL if this option is underfined. Service name can be NULL, resulting in search in 'global' section only. If option does not exist in specified service, 'global' section is scanned. This allows propagation of globally specified options to all services and later overloading of the option in some services. Caution: 'TYPE: OPTION' combination is case sensitive. So far, testparm is able to handle parametrical options, while SWAT can't. Thus, everyone familiar with SWAT internals is welcomed to add parametrical options support. |