summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* we did not initialise global_myname and global_myworkgroup which lead toJean-François Micouleau2002-04-161-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 compilersAndrew Tridgell2002-04-161-1/+1
|
* ignore a few more filesAndrew Tridgell2002-04-163-1/+12
|
* reran configure after adding a test for strnlen()Andrew Tridgell2002-04-162-1/+4
|
* fixed the handling of STR_TERMINATEAndrew Tridgell2002-04-163-4/+34
|
* i forgot to commit these parts of the string handling patch earlier. Sorry.Andrew Tridgell2002-04-162-6/+9
|
* make sure we don't walk past the end of the current SMB buffer whenAndrew Tridgell2002-04-167-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 disconnectingAndrew Tridgell2002-04-151-0/+4
|
* Stubs for connect, domain, user, group and alias policy objects.Tim Potter2002-04-151-39/+202
| | | | Wrote samr connect fn.
* merge from SAMBA_2_2Gerald Carter2002-04-151-1/+1
|
* Another patch from jelmer:Andrew Bartlett2002-04-152-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 Potter2002-04-153-0/+298
|
* this fixes the displaying of free disk space for DOS6 clients. Win2000Andrew Tridgell2002-04-151-14/+37
| | | | | changes its behaviour based on the negotiated protocol for the SMBdskattr SMB
* better handling of DOS LANMAN2.1 protocolAndrew Tridgell2002-04-151-4/+18
|
* by using a prompter function we can avoid the bug in the MIT kerberosAndrew Tridgell2002-04-151-7/+25
| | | | libraries with handling blank passwords.
* Merge of print server permission handling fixes from HEAD.Tim Potter2002-04-152-12/+53
| | | | Unit tests rock!
* Fixed incorrect debug.Tim Potter2002-04-151-1/+1
|
* Added hex values as comments for the standard access rights.Tim Potter2002-04-151-5/+5
|
* Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()Tim Potter2002-04-142-3/+3
|
* Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). NotTim Potter2002-04-141-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 Potter2002-04-141-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 automaticallyTim Potter2002-04-141-2/+10
| | | | when a handle object falls out of scope.
* Added enumerate trusted domains.Tim Potter2002-04-141-1/+44
|
* Merge from 2_2.Volker Lendecke2002-04-142-2/+15
| | | | Volker
* The cli_lsa_lookup_{names,sids} functions were returning uselessTim Potter2002-04-144-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_UNMAPPEDTim Potter2002-04-141-0/+1
|
* Added a status code for lsa_lookup_{sids,names} returning the fact thatTim Potter2002-04-141-0/+1
| | | | only some of the entries could be resolved.
* Extra file for the tdb search code (linked list definition).Andrew Bartlett2002-04-141-0/+37
| | | | Andrew Bartlett
* Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett2002-04-1415-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 Potter2002-04-141-0/+30
|
* Moved security descriptor routines into their own file.Tim Potter2002-04-143-116/+142
|
* Moved function prototypes to py_common_proto.hTim Potter2002-04-141-13/+1
|
* Added copyright.Tim Potter2002-04-141-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 Tridgell2002-04-141-1/+6
| | | | sending the negotiate - try to cope
* win2000 does not check the permissions on the share directory onAndrew Tridgell2002-04-141-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 functionAndrew Tridgell2002-04-141-1/+1
|
* hanle the case where the win2000 username is completely different fromAndrew Tridgell2002-04-141-8/+3
| | | | the pre-win2000 username
* modified the ADS backend to accept either the long or short versionsAndrew Tridgell2002-04-141-11/+44
| | | | of long usernames (win2000 usernames can be longer than 20 characters)
* Fixed debugs.Tim Potter2002-04-141-2/+2
|
* Fixed comment.Tim Potter2002-04-141-1/+1
|
* Made a comment clearer.Tim Potter2002-04-141-1/+1
|
* Generate proto for lsa.Tim Potter2002-04-141-11/+18
| | | | Updated patch.
* Starting work on lsa module.Tim Potter2002-04-142-0/+59
|
* More open_pipe_creds() refactoring.Tim Potter2002-04-144-94/+68
|
* Moved open_pipe_creds() function to common file.Tim Potter2002-04-142-1/+90
|
* As always, vance looks after the grammer... :-)Andrew Bartlett2002-04-131-1/+1
|
* two time handling bugfixesAndrew Tridgell2002-04-131-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 Bartlett2002-04-131-1/+1
|
* Patch for arbitary smb.conf paramaters (to make the life of plugin maintainersAndrew Bartlett2002-04-131-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.
* Fix the compile-bug in pdb_ldap from my last patch.Andrew Bartlett2002-04-131-4/+4
| | | | Andrew Bartlett