summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-10-21Fixed up tconx function. Implemented nt_create_andx, query_secdescTim Potter1-12/+121
and set_secdesc functions. (This used to be commit 3fd568ef5c984f089e7799d9ff55395330716641)
2002-10-21Whoops - this should be in py_smb.cTim Potter1-52/+0
(This used to be commit b740c7e5050b18bc06865451bed3daf3ae09c609)
2002-10-21Give better error messages for TypeError, which will arise if e.g. youMartin Pool1-10/+24
try to pack an Int using a string tdbpack format. (This used to be commit 6139ab3cbca3fc2969d1e578b38394b1f6aeb9c3)
2002-10-21More cleanups of validation functions.Tim Potter2-19/+66
(This used to be commit a4790ba42cc6ee4086dafbc64b1dba790a6c3583)
2002-10-21Zero some more return values.Tim Potter1-1/+2
(This used to be commit 7f45bad319ace07a5bfc21465a0db919131dd608)
2002-10-21add a 'mangle prefix' option to allow people to tune the number ofAndrew Tridgell2-17/+46
characters used in the prefix for 8.3 names in the hash2 algorithm. The longer the prefix the more readable the 8.3 names will be, but the weaker the hash. this was added because of someone complaining that the new hashing algorithm was unreadable but the old one was broken :) (This used to be commit 3ca3cc838e5b957c7244b21947daddc4ee4c3099)
2002-10-21level should be a uint32 in enum_ports function.Tim Potter1-1/+1
(This used to be commit 121db5b6821df9c6ec05adb2d35c2dde930736f2)
2002-10-21Stricter validation in python->C conversion functions.Tim Potter1-9/+16
(This used to be commit 672c07e2432299e3b1015af524dc5c124f61f904)
2002-10-21Fixed DRIVER_INFO_3 conversion function to check for dependent_filesTim Potter1-3/+29
key. (This used to be commit 35413be0ac39ce52f009f7750f23b41728d8a35c)
2002-10-21Fix a silly memset typo.Tim Potter1-2/+2
Change a int* to a uint32* in the cli_spoolss_enum_ports() function. (This used to be commit 4663d79d3e9dcfef49f7cef1f6205efe58edbdc1)
2002-10-21reverted an incorrect fix. What I was trying to do was fix a problemAndrew Tridgell1-1/+1
with filenames with spaces in mangle_hash.c but the real problem is that mangle_hash.c assumes that the set of valid characters for 8.3 names is the same as the set of valid characters for long names. Thats an invalid assumption, with space being the obvious example. (This used to be commit e0065f4db4a1cfae03a3bb86e5cfea9c45dfa1c3)
2002-10-21a space is a standard valid character in a filenameAndrew Tridgell1-1/+1
(This used to be commit 0db79d4a379a502362c230a9019d5d71f5af8e0e)
2002-10-21Zero tallocated memory in decode_printer_info, decode_driver_info,Tim Potter1-0/+10
decode_port_info and decode_printerdriver functions. (This used to be commit bf2d9dd5ba2ecc7e0e1bd17049adee6dd80d807c)
2002-10-21Bugfix for pidfile_create() from Kelledin.Tim Potter1-1/+1
(This used to be commit 4808a95f5f4536774d41bebca76660f010069117)
2002-10-20Added stubs for query/set security descriptors on files. Not even close toTim Potter1-0/+52
working yet. (This used to be commit b7ef2e8b41bd6a7225b9f21c65c42b8ef0f82a32)
2002-10-19Fix full_name for info23 as well. Thanks, Andrew.Volker Lendecke1-1/+1
Volker (This used to be commit 382c444225fae54ae577baae8948a64a843a2afc)
2002-10-19This fixes some bugs for NT4 usrmgr.exeVolker Lendecke3-9/+33
Volker (This used to be commit 32d6bcf3acefc77873a7241cc0c7e26241a65301)
2002-10-18must add one to the extra_data size to transfer the 0 string terminator.Herb Lewis1-1/+2
This was causing "wbinfo --sequence" to access past the end of malloced memory. (This used to be commit 4125c582aaf86ee5d92b0c800266543a390aefce)
2002-10-18Don't encourage people to use -P - it's obsoleteJelmer Vernooij1-1/+0
(This used to be commit 59ecac901a231383bd4cacb326724f786e3d7244)
2002-10-18It seems that I'm meant to be using the helper function here, not the structAndrew Bartlett1-1/+1
directly... Andrew Bartlett (This used to be commit 0abeb8725e8ea53a468d6004457bb7fa89a0f8b2)
2002-10-18Format objectGUIDs on ads dumps.Jim McDonough2-5/+53
(This used to be commit 7eaf7e7115c75e682b1b9368c6f28c60429885e5)
2002-10-18Start to merge the new ACL mapping code from Andreas Gruenbacher ↵Jeremy Allison2-48/+106
<agruen@suse.de>. Jeremy. (This used to be commit f6103f866a5e698ab55fdab1444a14e3d8da16bb)
2002-10-18NULL enum_local_groups for ads winbindd (temporary workaround).Gerald Carter2-1/+2
(This used to be commit 06eea39abdb49d9d547707dcb170c988d7276c1d)
2002-10-18Add extra parm to cli_full_connection call. Tim, you should probably look ↵Jim McDonough1-1/+1
at this. (This used to be commit a9f632ed5d3d033849c25efac419b21e830c5069)
2002-10-18Fix build. Extra parm was added to cli_full_connection, but not in locktest2.c.Jim McDonough1-1/+2
(This used to be commit 51e0f5c2dd469c59a41822dbda293e59794a7dc4)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison10-29/+99
that app-head does. Jeremy. (This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17Revert changesVolker Lendecke2-25/+17
(This used to be commit 975fd17f8af0f03f43995deb3fdd9bd5995a1c92)
2002-10-17Revert changesVolker Lendecke1-24/+22
(This used to be commit 84b62f6d96a77ccbc1b4475ab0780a4e4c9d4875)
2002-10-17When unmarshalling a relstr, don't unmarshall the string data if theTim Potter1-0/+3
offset is zero. Previously we were jumping to the start of the parse buffer (i.e offset zero) and reading string data until we hit a terminating NULL. Test case: in a PRINTER_INFO_0 structure, the servername field may be NULL when doing an enumprinters with flags = PRINTER_ENUM_LOCAL. (This used to be commit e62c6bf066c2242aae605ba707c9775b37bcaca3)
2002-10-17Ignore python build directory.Tim Potter1-0/+1
(This used to be commit 36681c1c2784ebfe63173a442a193ef22e25c3e3)
2002-10-17Do a SMB_ASSERT() in cli_nt_session_open() when the pipe index is outTim Potter1-2/+3
of range instead of silently failing. (This used to be commit b5111f47b5cf1820550e17663f983674b67bcaff)
2002-10-17make protoTim Potter1-1/+1
(This used to be commit 86c884c3a129d12dc77332c38484bef78c66440e)
2002-10-17open_pipe_creds() now takes a pipe index instead of a pipe name.Tim Potter5-10/+9
(This used to be commit 3a0a30beda4b8be0038c98ccc6f8f01c6dae386a)
2002-10-17Fix for new arguments of cli_nt_session_open()Tim Potter1-4/+3
(This used to be commit cfb0c12eb6412c2cc84785c17ab2f6c89916aa56)
2002-10-16Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).Jeremy Allison1-1/+3
Jeremy. (This used to be commit 0d989a911d742ed5eeb874f5b8350b0931f3d9db)
2002-10-16fix from APP_HEAD to commit a re-init'd printer to diskGerald Carter1-0/+6
(This used to be commit 64a159144483457887df2c6d779e6a139dfc6d1f)
2002-10-16No functional change. I'm trying to understand pdb_ldap.c andVolker Lendecke1-22/+24
found an unecessary parameter to ldapsam_search_one_user. Volker (This used to be commit a085670c7e3a0ca82df749592fd5c6a86def1d53)
2002-10-16Create group mappings on the fly.Volker Lendecke2-17/+25
Volker (This used to be commit e2fc1de34aaf875a7003f9d15d5f8ecf159130fb)
2002-10-16SMB_ASSERT to check list terminates.Jeremy Allison1-0/+3
Jeremy (This used to be commit 25f6a9247e88a94cbacdc8fb06dc0d13c53d69bd)
2002-10-15- we need to rescan the trusted domain list regularly to cope withAndrew Tridgell2-1/+5
transitive trusts, and trusts that are added while winbindd is running - removed an unnecessary call to time() (This used to be commit 14489ff30bb9eca2c55d36a69c0b45a2db339061)
2002-10-15Change default of max_xmit to match W2K. Ensure NT negprot uses it.Jeremy Allison2-2/+4
Jeremy. (This used to be commit e5fbfbcc9dc995b23eb0b46c6f59b03cfe9c02b5)
2002-10-15Fix spelling of background_process.Jeremy Allison2-6/+6
Jeremy. (This used to be commit 94fc0ea9f99bc73486ef374a84d2c20ce895ee14)
2002-10-15Change to use sys_read/sys_write.Jeremy Allison1-10/+4
Jeremy. (This used to be commit 042890056d5d4128eaaca346e7898ccda860dbe2)
2002-10-15Added cli_set_timeout() call.Jeremy Allison1-0/+11
Jeremy. (This used to be commit 94a5c589945ffd4719f7509c162cf994f7914312)
2002-10-15fixed a crash bug on 64 bit systems. Thanks to Anton Blanchard forAndrew Tridgell1-4/+2
finding this. (This used to be commit 4ba8608020123a52432e5afaa914e290e4ce8cbf)
2002-10-15merge from app_head to use GMT in job submission notificationGerald Carter1-1/+1
(This used to be commit b130c681d2e8e6dcabe8cfd85dd718a294b04233)
2002-10-14Tidyup of file specific access mask bits.Tim Potter1-14/+19
Added directory specific access mask bits. (This used to be commit edbd942a8d0edcb5e7cc3086c3d98c6ff1d6cd80)
2002-10-14Don't use SAM FLAGS from smb.h since they're gone - patch from metzeJelmer Vernooij2-32/+3
(This used to be commit 82a0abf4c84ddd0672b3c5ea4ba9759abd6778c6)
2002-10-14In my test, sync_context simply has to be incremented. CanVolker Lendecke1-10/+9
somebody with a large domain do a net rpc samdump to verify this? Without this change, I don't get everything from a NT4 SP1 and SP6 PDC. Volker (This used to be commit f6a9180a5ff62932de0d4f890092b0d8281e9d6e)
2002-10-12Nice *big* patch from metze.Andrew Bartlett20-513/+694
The actual design change is relitivly small however: It all goes back to jerry's 'BOOL store', added to many of the elements in a SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into ldap. This was a great win for admins, and this patch follows in the same way. This patch extends the concept - we don't store values back into LDAP unless they have been changed. So if we read a value, but don't update it, or we read a value, find it's not there and use a default, we will not update ldap with that value. This reduced clutter in our LDAP DB, and makes it easier to change defaults later on. Metze's particular problem was that when we 'write back' an unchanged value, we would clear any muliple values in that feild. Now he can still have his mulitivalued 'uid' feild, without Samba changing it for *every* other operation. This also applies to many other attributes, and helps to eliminate a nasty race condition. (Time between get and set) This patch is big, and needs more testing, but metze has tested usrmgr, and I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly flawed ;-). The same system will be introduced into the SAM code shortly, but this fixes bugs that people were coming across in production uses of Samba 3.0/HEAD, hence it's inclusion here. Andrew Bartlett (This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)