summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
2002-10-12We already set LDAPv3 at connect time, no need to set it again.Andrew Bartlett1-8/+0
(This used to be commit c8e32d485bf205b6965579f94063effd86777f3f)
2002-10-11Turns out with Win9x, we could occasionally return from unix_convert() givenJeremy Allison1-0/+12
a mangled name without a valid stat struct if the file existed. This would then cause open_file_shared1() to erroneously think the file open was new, thus not check for oplock break, thus causing a spurious EAGAIN reply to the open on a file we already had kernel oplocked.... (phew - that was fun to track down :-). Jeremy. (This used to be commit e23210e4732163e7f005b320235c20c814b41972)
2002-10-09Added "unknown info level".Jeremy Allison1-0/+1
Jeremy. (This used to be commit afecd1aa52b98f123b226ff172d5ef5768cbb44f)
2002-10-09Use memmove when copies can overlap. Spotted by SUGIOKA Toshinobu ↵Jeremy Allison1-1/+1
<sugioka@itonet.co.jp>. Jeremy. (This used to be commit 71768c488e9b498e8cc77a1cfce0fab873e36068)
2002-10-09print job properties fix from APP_HEAD. a null devmode is not a failure.Gerald Carter1-11/+5
(This used to be commit b507dba452ecbd96ec95242f761501d0c5e0d7b5)
2002-10-09removed stat() call in lp_add_home()Gerald Carter1-7/+0
(This used to be commit 07c7048aa4ef37f1b7af228ede391ab16503d9a1)
2002-10-09add_printer_hook() fix from APP_HEADGerald Carter1-6/+17
(This used to be commit 94201672a5c3cffd145e9f04a3ddd0d17a57e73b)
2002-10-09Distclean should remove scripts/findsmb (patch from metze)Jelmer Vernooij1-8/+12
(This used to be commit e2f9ac5032895f9087707cd9e690fcaf9647562a)
2002-10-08merge from APP_HEADGerald Carter9-20/+222
* s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2 (This used to be commit 764b58e2c0b3179cffe157c0ab58761b156b8423)
2002-10-08Ensure we register the 1c name on the unicast subnet.Jeremy Allison1-0/+10
Jeremy. (This used to be commit ca6146c2d345902446665ebfa88f78a06eb58831)
2002-10-08Third part of my fix for usrmgr. Assuming automagic mappingVolker Lendecke1-1/+1
only in parts of srv_samr_nt is not good. This is soo broken. :-) Volker (This used to be commit 74e4a3479f380b320daa0d46c0ba4daa9f98c18f)
2002-10-08Fix based on Jim McDonough's code for ACL inheritance problem.Jeremy Allison1-9/+60
Jeremy. (This used to be commit a6b3acfc7b98066de6f4b0b6044772a4d56795cd)
2002-10-07Fix John's little typo ...Richard Sharpe1-1/+1
(This used to be commit 0c8e8a162092aa20a70cadf570f14183ac83c175)
2002-10-07Fix ability to locate if we are a WINS client.John Terpstra1-3/+3
(This used to be commit f896232cffb398ff4fef0b39966b55a049173c60)
2002-10-07Fix from Andreas Gruenbacher <agruen@suse.de> to prevent ACL set on read-onlyJeremy Allison1-0/+5
share. Jeremy. (This used to be commit 80d30dbfec03d1d1e82c9e177ff66aa44b4ea993)
2002-10-07forgot some bits from previous rpc_secdesc.h rework patchSimo Sorce2-5/+3
(This used to be commit 738b9237eda8fdb8adb534ab1a84070923f352f1)