summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make this safe for -DDEVELOPER checks.Andrew Bartlett2003-04-231-2/+2
| | | | | | | | | | Andrew Bartlett (This used to be commit 39fb77d8c1d9dddf00e8063198157bf77fb58a8f)
* | This const isn't quite vaild C.Andrew Bartlett2003-04-231-1/+1
| | | | | | | | | | Andrew Bartlett (This used to be commit de96c1aaca9006696d61aa3d07151c0f74516e63)
* | Add a check to ensure that the server returns the correct device type, notAndrew Bartlett2003-04-232-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | just the correct error. This should help us avoid breaking NT4 IPC$ connections, for example. This has required that we don't overwrite the device type for IPC$ in our tcon&X code, but only smbwrapper even uses it, and a server that doesn't send a correct dev type breaks other things pretty badly. In any case, I'll 'fix' smbwrapper :-). Andrew Bartlett (This used to be commit a93057efcb6e639be05b7bdcb9729ed8f39f5f62)
* | Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett2003-04-238-90/+202
| | | | | | | | | | | | | | merge last time. I hope this might fix a few failures on the build farm too. Andrew Bartlett (This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)
* | Try to keep existing behaviour for our printing code - never returnAndrew Bartlett2003-04-231-17/+6
| | | | | | | | | | | | | | | | | | | | global_myname(), always either the name the client called us, or if they didn't call us anything useful, our IP address. Jerry, can you check this? Andrew Bartlett (This used to be commit 599e70bffbae9930b949c9b82cbc8dfc7c966d78)
* | Fix this for both *SMBSERVER and *SMBSERV as per comments in loadparm.c.Andrew Bartlett2003-04-231-1/+9
| | | | | | | | | | Andrew Bartlett (This used to be commit c6d416541be5349254a63e30fa29b022516b094e)
* | Try to avoid setting *SMBSERVER as a 'local name'.Andrew Bartlett2003-04-231-0/+3
| | | | | | | | | | Andrew Bartlett (This used to be commit 5b5e167bb1a760a4f9c603feea886ce1dab52e19)
* | Don't leak the session identifier string when we shut down a vuid.Andrew Bartlett2003-04-231-0/+1
| | | | | | | | | | Andrew Bartlett (This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)
* | Now that Volker fixed the real issues with ldapsam and adding null attributesAndrew Bartlett2003-04-231-40/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | etc, move the SAMR create_user code back to using the 'pdb_init_sam_pw' method to fill out the attributes. This is basicly the same code, but we really didn't need the duplication. Also, take advantage of the fact that RIDs will always be returned back into the SAM_ACCOUNT on ADD, so we don't need to duplicate the 'get'. This should also help in sites with replicated LDAP - the second fetch might occour before the first is replicated back. Andrew Bartlett (This used to be commit 39714c24fd9da4701d4fe69ddd3d61a25254409f)
* | - Merge a memory leak fix from HEADAndrew Bartlett2003-04-231-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | - change update behaviour for new RIDs: - store the new RID into the SAM_ACCOUNT, so that the caller get's it back automaticly - use this to make the code paths simpiler for the normal 'need_update' code. We must always store a RID if we intend to use the sambaAccount objectClass Andrew Bartlett (This used to be commit 5edeee5116b9c775a1bded1d53cb2b22c7a2765f)
* | Merge idra's fix for pdb_tdb segfaults from HEAD to 3.0 - sombody changedAndrew Bartlett2003-04-231-3/+7
| | | | | | | | | | | | | | unix_strlower semantics. Andrew Bartlett (This used to be commit 93bdd1a2925edb9dea3e85d8b025a65460896c05)
* | allow the unix group in a mapping to be changed; doesn't work with LDAP ↵Gerald Carter2003-04-231-1/+21
| | | | | | | | | | | | right now but should be ok with tdb's (This used to be commit fdacad185c4f78958d56bccbd69a0f2628f1b792)
* | Limit the number of outstanding print notify messages for a process toJeremy Allison2003-04-232-1/+39
| | | | | | | | | | | | 1000. Jeremy. (This used to be commit 2e5e4c10d2377493913554e7dab79d97a4d16d87)
* | Added Stephen Roylance's patch - Adds to Status page, a Start All, Restart AllJohn Terpstra2003-04-221-9/+38
| | | | | | | | | | and Stop All deamons button. (This used to be commit 57cfcb3108935f46cb3938b403a3eaba2888fb55)
* | Remove ldapsam_search_one_user_by_uid from pdb_ldap.Andrew Bartlett2003-04-222-68/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | sambaAccount requires the rid to be present, and doing this fallback is quite dangerous, becouse it assumes that alorithmic RIDs are in use - which is quite often not the case. Also finish of vl's work on 'use a function pointer, not embedded logic' to tell lower levels that they should/should not attempt to set the user's password into LDAP with the extended operation. Andrew Bartlett (This used to be commit 715d0bd804b6bff4c0b365f98ca196d41ed9c5c4)
* | don't reset the group type unless specifiedGerald Carter2003-04-221-14/+8
| | | | | | | | (This used to be commit 541f40a144461ca139ac53837d3f31ce6972d18c)
* | update copyright notice that is written to the logsGerald Carter2003-04-221-1/+1
| | | | | | | | (This used to be commit 6735a9889f6629f4f77006c59c011570031e044f)
* | Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison2003-04-221-0/+27
| | | | | | | | | | | | error on Linux. Jeremy. (This used to be commit 546d1a941b63a538702f2fb668019d2b89f63bdc)
* | Added editreg.John Terpstra2003-04-221-1/+6
| | | | | | | | (This used to be commit ce016df1ecbb8a083c9a37b7d61b4356dfbc77a7)
* | parse_string is only used for the authentication negotiators.Volker Lendecke2003-04-222-11/+13
| | | | | | | | | | | | | | | | | | | | | | It can itself determine the length of the string it has to transfer. Andrew B., could you take a look at the length calculation? Is that safe? Thanks, Volker (This used to be commit 0ef69b586a8f1fa11a41a3900180ea2090b60bfd)
* | This is meant to be initialised to the size of the buffer.Andrew Bartlett2003-04-221-1/+1
| | | | | | | | (This used to be commit ca489db7d3d4713401da3627b563af3cbef82c58)
* | Add configure test for previous ldap modifications - we now check if theAndrew Bartlett2003-04-221-0/+1
| | | | | | | | | | | | | | ldap_initialze function exists, not just if we are on a particular OpenLDAP. Andrew Bartlett (This used to be commit 8a20162db6a8b3fa7eb0e829663b9b4ced1218c0)
* | Make pdb_ldap use a random factor in deciding how long we need to sleep.Andrew Bartlett2003-04-221-7/+22
| | | | | | | | | | | | | | | | | | | | | | This might help avoid killing the ldap server when all 100 smbd processes reconnect in pulses... Also, reduces the maximum wait time, as SMB clients will time out after 30 seconds anyway... Andrew Bartlett (This used to be commit 08c5aaae6a92d6ee14f9bf8e3330191718e84edf)
* | Merge (HEAD->3.0) mbp's fixes to our charcnv code - don't use a staic buffer,Andrew Bartlett2003-04-221-12/+33
| | | | | | | | | | | | | | which can restrict things like unix_strupper() to 512 byte strings. Andrew Bartlett (This used to be commit 341d6affa474262654f83c075f186d985cbcb9a0)
* | Merge mimir's trusted domain code from HEAD -> 3.0, plus some memoryAndrew Bartlett2003-04-221-37/+55
| | | | | | | | | | | | | | leak fixes. (secrets.c portion) Andrew Bartlett (This used to be commit 3ea8fdd0361623b38f30f0b815dc4935e2e17447)
* | Merge comment with HEADAndrew Bartlett2003-04-221-3/+3
| | | | | | | | (This used to be commit 8f8d819d5814c2a538b5b906014ff0c354625450)
* | Start merging mimir's trusted domain code from HEAD to 3.0. (for HEAD trustingAndrew Bartlett2003-04-222-8/+147
| | | | | | | | | | NT). (This used to be commit 76cd4a8901a8ac1c3691bc89e496bbb493e5c234)
* | Setting the credentials for the netsec netlogon pipe connect upon eachVolker Lendecke2003-04-222-8/+5
| | | | | | | | | | | | | | | | samlogon call certainly breaks the credential chain. Do it once during the bind response. Volker (This used to be commit d4262c37f13642e034d3e207bfbb563c17a8a176)
* | Oops...Andrew Bartlett2003-04-221-1/+1
| | | | | | | | | | Andrew Bartlett (This used to be commit 898ff89632a394ff32fd38f1c4e94412388fa8bd)
* | Make our 'get DNS domain name' code try a bit harder - if gethostname() doesn'tAndrew Bartlett2003-04-222-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | include a domain portion, do a gethostbyname() lookup on that name. Use this name in our PolicyPrimaryDomainInformation reply (_lsa_query_info2) that Win2k uses when trying to trust us as a trusted domain. (We need to do a better mapping between our Netbios and Win2k domain names, but this will do for now - particularly annoying is the way this possibly needs to map with our kerberos realm). Andrew Bartlett (This used to be commit 3be03271030208a69da29c6e2a7b92cdbaa8c6aa)
* | default new groups to domain groupsGerald Carter2003-04-221-3/+3
| | | | | | | | (This used to be commit 665d21b8656bf85f9b372b44ff1f4af414551e5a)
* | Fix up bugs in the new 'store sec_channel type' code - we were always joiningAndrew Bartlett2003-04-222-6/+4
| | | | | | | | | | | | | | as a BDC. Andrew Bartlett (This used to be commit f35674e7552dcfece342e7bece10bbfb0e81cbf8)
* | support referencing group by sid in all operations; allow group name to be ↵Gerald Carter2003-04-221-13/+60
| | | | | | | | | | | | changed (This used to be commit b6ccdb8f7b72eed4c4248db43fefa09b6f084852)
* | wrap pdb_enum_group_mapping() in [un]become_root() so LDAP queries can get ↵Gerald Carter2003-04-221-0/+5
| | | | | | | | | | | | the credentials from secrets.tdb (This used to be commit bb8b63b865b941abecc0d821e710702dd12866fe)
* | removing some ifdef'd out codeGerald Carter2003-04-221-8/+0
| | | | | | | | (This used to be commit 43942398af7e7589fcf8534099eccf277f6e4295)
* | Tidyups of some dubious logic discovered whilst trying to track down aJeremy Allison2003-04-222-7/+6
| | | | | | | | | | | | strange oplock related issue on the PSA. Jeremy. (This used to be commit 1dd274bf61aaaad3c475de93f53aac176678bc7c)
* | Fixup a few typos for Jerry.Jeremy Allison2003-04-211-4/+4
| | | | | | | | | | Jeremy. (This used to be commit 1e5fe87d75ef4bb9d6af787abc501dcf105c9c6c)
* | * fix segfault when no vfs objects definedGerald Carter2003-04-213-8/+18
| | | | | | | | | | * add "sid=..." to 'net groupmap add' (This used to be commit e5f6676639b5552f7dec90091c53cf14e78088ee)
* | Make it easier to select which domain to show the sid for.Andrew Bartlett2003-04-211-2/+2
| | | | | | | | (This used to be commit 4c7efe25c3f2336938050086ffe5f4cfe462e6f6)
* | Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett2003-04-2124-201/+360
| | | | | | | | | | | | | | | | | | | | | | | | This allows us to join as a BDC, without appearing on the network as one until we have the database replicated, and the admin changes the configuration. This also change the SID retreval order from secrets.tdb, so we no longer require a 'net rpc getsid' - the sid fetch during the domain join is sufficient. Also minor fixes to 'net'. Andrew Bartlett (This used to be commit 876e00fd112e4aaf7519eec27f382eb99ec7562a)
* | Add const, static and fix a double free() (merge from HEAD).Andrew Bartlett2003-04-211-6/+5
| | | | | | | | (This used to be commit 9ba88c7314168b87b72a7e9dc3c7588dcce86893)
* | Merge whitespace and const from HEADAndrew Bartlett2003-04-211-9/+9
| | | | | | | | (This used to be commit 88fdc36f9373c63706907e48be317007aeba06d6)
* | Header updates for smb signing mergeAndrew Bartlett2003-04-211-3/+4
| | | | | | | | (This used to be commit 2e4b45cd2efe46477c2849faffe0e8401132ef88)
* | Merge SMB signing, cli buffer clobber and NTLMSSP signing tweaks from HEAD.Andrew Bartlett2003-04-215-20/+50
| | | | | | | | (This used to be commit c6c4f69b8ddc500890a65829e1b9fb7a3e9839e9)
* | Default to "passdb.xml" as default output filename instead of "-"Jelmer Vernooij2003-04-211-1/+1
| | | | | | | | (This used to be commit dfbd2a2e7a5f0f2713bc48daa24d43b07f187d14)
* | - Fix modules build of pdb_mysql and pdb_xmlJelmer Vernooij2003-04-213-10/+4
| | | | | | | | | | - Fix typo in script/installswat.sh (This used to be commit 8d2aec7a73d41a9d32c10abd1c8833ebfd41dd77)
* | Pdb modules are in $libdir/pdb not $libdir/passdbJelmer Vernooij2003-04-211-1/+1
| | | | | | | | (This used to be commit 9c9d969c93400d91a12e78635d54e1c5f90efab8)
* | Merge a trivial fix across from HEAD. Not that thisVolker Lendecke2003-04-201-1/+1
| | | | | | | | | | | | | | would work now... Volker (This used to be commit 8c70f657cfb2f2b32fbaa31112d7953a3a6dc775)
* | Address gcc warnings.Volker Lendecke2003-04-191-1/+5
| | | | | | | | | | | | | | | | I could not fix the "passing arg 5 of `ldap_search_s'" completely with gcc -Wall. A non-developer compile does not complain though. Volker (This used to be commit cf923d713305620278e3759599247d3cf7aa0e2f)
* | Added smbgroupedit to PROGS2John Terpstra2003-04-191-1/+1
| | | | | | | | (This used to be commit bed69decea61881ab7071be3e34be71df9b178a1)