summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-16i forgot to commit these parts of the string handling patch earlier. Sorry.Andrew Tridgell2-6/+9
(This used to be commit bac0093a9713416b1679d1bc167b70f02b06ef78)
2002-04-16make sure we don't walk past the end of the current SMB buffer whenAndrew Tridgell7-45/+49
pulling a string this might explain a serious filename corruption bug that Quantum QA spotted (This used to be commit a877eae24becad9e0cd5b33ffe0916a20d5ba227)
2002-04-15make sure that we leave the tree unused after disconnectingAndrew Tridgell1-0/+4
(This used to be commit e75e4ad7d3af5beee48b3001fd904eede8df033f)
2002-04-15Stubs for connect, domain, user, group and alias policy objects.Tim Potter1-39/+202
Wrote samr connect fn. (This used to be commit f2155aa3f4608b14777092002c39358b816dbea5)
2002-04-15merge from SAMBA_2_2Gerald Carter1-1/+1
(This used to be commit fedc11cab16dbecfdae858fc48d629b9172c0fb8)
2002-04-15Another patch from jelmer:Andrew Bartlett2-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 (This used to be commit 80adf1dbb56cf8bdbfbcc2c8c7b670c0a23c97f8)
2002-04-15Skeleton for SAMR module.Tim Potter3-0/+298
(This used to be commit 70bd1a0f94412236bf6603f16947336cb75c6415)
2002-04-15this fixes the displaying of free disk space for DOS6 clients. Win2000Andrew Tridgell1-14/+37
changes its behaviour based on the negotiated protocol for the SMBdskattr SMB (This used to be commit b693917530d649e22a677bd3bb1adedbfdd89bba)
2002-04-15better handling of DOS LANMAN2.1 protocolAndrew Tridgell1-4/+18
(This used to be commit 7f923d738b94eef042b21e4d0143861755620d91)
2002-04-15by using a prompter function we can avoid the bug in the MIT kerberosAndrew Tridgell1-7/+25
libraries with handling blank passwords. (This used to be commit 59d755ffb57c322a104ff8f52819956cafff1bac)
2002-04-15Merge of print server permission handling fixes from HEAD.Tim Potter2-12/+53
Unit tests rock! (This used to be commit bc673c42045ceb46d9569bc4d88f9c64897fc85a)
2002-04-15Fixed incorrect debug.Tim Potter1-1/+1
(This used to be commit 3b6df44ddc80d728c01511529ccb05c1ba3d414b)
2002-04-15Added hex values as comments for the standard access rights.Tim Potter1-5/+5
(This used to be commit 00511ae2b4bc0ef3bfda89cc0ae3e1fba092b6d6)
2002-04-14Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()Tim Potter2-3/+3
(This used to be commit 4bf6a9830acde47994975dffd578454ebb75e45a)
2002-04-14Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). NotTim Potter1-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. (This used to be commit 45cb1fed490d1fdafc5b63f2f5a33dfe5b334972)
2002-04-14Call PyErr_SetString instead of fprintf to stderr.Tim Potter1-7/+5
Don't clean up talloc and cli_state on close printer. They will be destroyed in the handle dealloc function. (This used to be commit 4114fe5996f84dfd14855ffdf666e065446607b4)
2002-04-14Shutdown cli_state in the dealloc function. This happens automaticallyTim Potter1-2/+10
when a handle object falls out of scope. (This used to be commit 39546dd241b36d5e7b8e239525a13b91e4e9db80)
2002-04-14Added enumerate trusted domains.Tim Potter1-1/+44
(This used to be commit 3a11ce31ca3eed23f3bf82c46b2ebd2423be737d)
2002-04-14Merge from 2_2.Volker Lendecke2-2/+15
Volker (This used to be commit 8973a01f5efa547ed356e27fe1660da732b24cdd)
2002-04-14The cli_lsa_lookup_{names,sids} functions were returning uselessTim Potter4-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. (This used to be commit 245468dbabb7c849ce423cc3cb586fa913d0adfe)
2002-04-14Added error string for STATUS_SOME_UNMAPPEDTim Potter1-0/+1
(This used to be commit f736e115c00e02e3f131ccceb7769559dd4d908a)
2002-04-14Added a status code for lsa_lookup_{sids,names} returning the fact thatTim Potter1-0/+1
only some of the entries could be resolved. (This used to be commit 0722e71d1ef59a72567f383e3572546ab78e9e6a)
2002-04-14Extra file for the tdb search code (linked list definition).Andrew Bartlett1-0/+37
Andrew Bartlett (This used to be commit c3312006009f5b312b285e3e679d01719012f29d)
2002-04-14Partly based on the work by mimir (Rafal SzczesniakAndrew Bartlett15-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 (This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
2002-04-14New file to hold common prototypes.Tim Potter1-0/+30
(This used to be commit d5862891979678c4defb3e33791edca1f1f8c3e4)
2002-04-14Moved security descriptor routines into their own file.Tim Potter3-116/+142
(This used to be commit 8e0457f8aa7b5ecababcdec4dfbc328d11513192)
2002-04-14Moved function prototypes to py_common_proto.hTim Potter1-13/+1
(This used to be commit f006bcf8e50e44b955678356039a6d6a7e16ab20)
2002-04-14Added copyright.Tim Potter1-42/+160
Added lookup_names() and lookup_sids() functions. (This used to be commit 2d2c925014374605b29e052729e959c0fd690586)
2002-04-14it looks like it is possible for a w2k client to send a spnego auth without ↵Andrew Tridgell1-1/+6
sending the negotiate - try to cope (This used to be commit 95278aa41f654108d9d20cd0096a34caf175d32b)
2002-04-14win2000 does not check the permissions on the share directory onAndrew Tridgell1-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 (This used to be commit 4fc476686476da31cc2b45badb05cb0765259f98)
2002-04-14pull_username() is a local functionAndrew Tridgell1-1/+1
(This used to be commit fbf154bcfb68b90eb43ada9de317c93f43711608)
2002-04-14hanle the case where the win2000 username is completely different fromAndrew Tridgell1-8/+3
the pre-win2000 username (This used to be commit aa139ba507e4b898377fdfc9b27f7febf029d5a4)
2002-04-14modified the ADS backend to accept either the long or short versionsAndrew Tridgell1-11/+44
of long usernames (win2000 usernames can be longer than 20 characters) (This used to be commit 0719e756f60950b9ec04450fda5cc3776752e9a9)
2002-04-14Fixed debugs.Tim Potter1-2/+2
(This used to be commit 6d9336f3b9b205e5916424ee844658b445439fdb)
2002-04-14Fixed comment.Tim Potter1-1/+1
(This used to be commit 06df6c79ae91cb4b1427a2a230fee288cff50e10)
2002-04-14Made a comment clearer.Tim Potter1-1/+1
(This used to be commit 703e0a6ce2d283349f64cba72b36c1bef6a0d806)
2002-04-14Generate proto for lsa.Tim Potter1-11/+18
Updated patch. (This used to be commit 5dbd716b99c522eac89d9216eb4293084958b966)
2002-04-14Starting work on lsa module.Tim Potter2-0/+59
(This used to be commit 5c44397803622400390b13f1998b49f5da83d2a1)
2002-04-14More open_pipe_creds() refactoring.Tim Potter4-94/+68
(This used to be commit 7f2c814237f1df7008c9a91b7cf3b1de01e6ed87)
2002-04-14Moved open_pipe_creds() function to common file.Tim Potter2-1/+90
(This used to be commit 14e4d889a236dd9c2ba6db68b3133e44195b8a47)
2002-04-13As always, vance looks after the grammer... :-)Andrew Bartlett1-1/+1
(This used to be commit 206f1158bd059de9bf4290935d131f42e4639f99)
2002-04-13two time handling bugfixesAndrew Tridgell1-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 (This used to be commit 79630bb2c0a99c961a0a1c67223899e39685ee2c)
2002-04-13Fix the build on platforms that use our internal popt.Andrew Bartlett1-1/+1
(This used to be commit 3261a210dd0f89e3a8b8524747fa182bcc84bf9f)
2002-04-13Patch for arbitary smb.conf paramaters (to make the life of plugin maintainersAndrew Bartlett1-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. (This used to be commit bfd7cd43556bed3131d0d18869abfd1cbc30bcd0)
2002-04-13Fix the compile-bug in pdb_ldap from my last patch.Andrew Bartlett1-4/+4
Andrew Bartlett (This used to be commit 81eaa7924b7bd3a13d049bce7fe7a16ab9174364)
2002-04-13Doco update from Hasch@t-online.de (Juergen Hasch)Andrew Bartlett1-0/+2
(This used to be commit 1650bc969fbd36a02758fafd9addc66ea715e835)
2002-04-13More updates from ctrlsoft. (Jelmer Vernooij <jelmer@nl.linux.org>)Andrew Bartlett2-14/+38
Andrew Bartlett (This used to be commit 012b3326c40ca0f8f4c7673310d73f695cc4f79b)
2002-04-13Better handling of uid/gid -> RID and RID -> uid/gid code.Andrew Bartlett9-85/+108
All uids and gids must create valid RIDs, becouse other code expects this, and can't handle the failure case. (ACL code in particular) Allow admins to adjust the base of the RID algorithm, so avoid clashes with users brought in from NT (for example). Put all the algorithm code back in one place, so that this change is global. Better coping with NULL sid pointers - but it still breaks a lot of stuff. BONUS: manpage entry for new paramater :-) counter based rids for normal users in tdbsam is disabled for the timebeing, idra and I will work out some things here soon I hope. Andrew Bartlett (This used to be commit 5275c94cdf0c64f347d4282f47088d084b1a7ea5)
2002-04-13This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer VernooijAndrew Bartlett9-482/+386
<jelmer@nl.linux.org>. This patch also includes major rework of pdbedit to use popt, and the addition of -i paramter (allowing the user to specify which PDBs is being operated on) and -e to export a pdb - useful for backup and testing etc. Use of -i and -e gets us pdb2pdb functionality for transition between backends, much like the sam2sam in TNG. Andrew Bartlett (This used to be commit c10def37f506d3f2bab442418ac08fdb62659b02)
2002-04-13Make our atomic increment code actually do this during its first/second run.Andrew Bartlett1-5/+20
The previous code would return the same value for both the initial and second call, only incrementing on later calls. Andrew Bartlett (This used to be commit a4594d9efeca1f67dea57be8323fb4bd986318ce)