summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-23Parinoia for compleatly broken SMB servers that don't send back the rightAndrew Bartlett1-2/+3
fstype for IPC$ - assume the device type is IPC. Andrew Bartlett (This used to be commit 5ec78042124589d7d4e377581c187712950c93b2)
2003-04-23Make this safe for -DDEVELOPER checks.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 39fb77d8c1d9dddf00e8063198157bf77fb58a8f)
2003-04-23This const isn't quite vaild C.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit de96c1aaca9006696d61aa3d07151c0f74516e63)
2003-04-23add test file for FDSESSAndrew Bartlett1-0/+2
(This used to be commit 309ebac68999f6ba97a3dc558283e5f13dfc3044)
2003-04-23Add a check to ensure that the server returns the correct device type, notAndrew Bartlett2-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)
2003-04-23Start testing a few more things out of smbtorture in the build farm.Andrew Bartlett11-5/+25
Andrew Bartlett (This used to be commit 273a9bd7aa608d37b127b61d41773ba8135e38f7)
2003-04-23Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett8-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)
2003-04-23Update - closed off for nowJohn Terpstra1-13/+199
(This used to be commit 2ddb882596e5d2219ccc96fa11dffa0fdc900a17)
2003-04-23Try to keep existing behaviour for our printing code - never returnAndrew Bartlett1-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)
2003-04-23Fix this for both *SMBSERVER and *SMBSERV as per comments in loadparm.c.Andrew Bartlett1-1/+9
Andrew Bartlett (This used to be commit c6d416541be5349254a63e30fa29b022516b094e)
2003-04-23Try to avoid setting *SMBSERVER as a 'local name'.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 5b5e167bb1a760a4f9c603feea886ce1dab52e19)
2003-04-23Don't leak the session identifier string when we shut down a vuid.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)
2003-04-23Now that Volker fixed the real issues with ldapsam and adding null attributesAndrew Bartlett1-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)
2003-04-23- Merge a memory leak fix from HEADAndrew Bartlett1-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)
2003-04-23Merge idra's fix for pdb_tdb segfaults from HEAD to 3.0 - sombody changedAndrew Bartlett1-3/+7
unix_strlower semantics. Andrew Bartlett (This used to be commit 93bdd1a2925edb9dea3e85d8b025a65460896c05)
2003-04-23allow the unix group in a mapping to be changed; doesn't work with LDAP ↵Gerald Carter1-1/+21
right now but should be ok with tdb's (This used to be commit fdacad185c4f78958d56bccbd69a0f2628f1b792)
2003-04-23Limit the number of outstanding print notify messages for a process toJeremy Allison2-1/+39
1000. Jeremy. (This used to be commit 2e5e4c10d2377493913554e7dab79d97a4d16d87)
2003-04-22Added Stephen Roylance's patch - Adds to Status page, a Start All, Restart AllJohn Terpstra1-9/+38
and Stop All deamons button. (This used to be commit 57cfcb3108935f46cb3938b403a3eaba2888fb55)
2003-04-22Remove ldapsam_search_one_user_by_uid from pdb_ldap.Andrew Bartlett2-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)
2003-04-22My last change left the wording a little awkward, so I fiddled it a bit.Christopher R. Hertel1-3/+3
(This used to be commit 4dd84707f92e4cf6f6ecfce510d242a07561ce88)
2003-04-22The wording described "CIFS" as the successor to SMBFS. I changed it toChristopher R. Hertel1-3/+3
say that "CIFS VFS" was the successor to SMBFS. (This used to be commit d7d48e9d9ddfde7309a7221be3be3eb8243407a7)
2003-04-22don't reset the group type unless specifiedGerald Carter1-14/+8
(This used to be commit 541f40a144461ca139ac53837d3f31ce6972d18c)
2003-04-22update copyright notice that is written to the logsGerald Carter1-1/+1
(This used to be commit 6735a9889f6629f4f77006c59c011570031e044f)
2003-04-22Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison1-0/+27
error on Linux. Jeremy. (This used to be commit 546d1a941b63a538702f2fb668019d2b89f63bdc)
2003-04-22Added editreg.John Terpstra1-1/+6
(This used to be commit ce016df1ecbb8a083c9a37b7d61b4356dfbc77a7)
2003-04-22parse_string is only used for the authentication negotiators.Volker Lendecke2-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)
2003-04-22This is meant to be initialised to the size of the buffer.Andrew Bartlett1-1/+1
(This used to be commit ca489db7d3d4713401da3627b563af3cbef82c58)
2003-04-22Add configure test for previous ldap modifications - we now check if theAndrew Bartlett1-0/+1
ldap_initialze function exists, not just if we are on a particular OpenLDAP. Andrew Bartlett (This used to be commit 8a20162db6a8b3fa7eb0e829663b9b4ced1218c0)
2003-04-22Make pdb_ldap use a random factor in deciding how long we need to sleep.Andrew Bartlett1-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)
2003-04-22Update from HEADJohn Terpstra1-4/+4
(This used to be commit bf464208af6cd5503a0133e7c33586e2de36faa3)
2003-04-22Merge (HEAD->3.0) mbp's fixes to our charcnv code - don't use a staic buffer,Andrew Bartlett1-12/+33
which can restrict things like unix_strupper() to 512 byte strings. Andrew Bartlett (This used to be commit 341d6affa474262654f83c075f186d985cbcb9a0)
2003-04-22Merge mimir's trusted domain code from HEAD -> 3.0, plus some memoryAndrew Bartlett1-37/+55
leak fixes. (secrets.c portion) Andrew Bartlett (This used to be commit 3ea8fdd0361623b38f30f0b815dc4935e2e17447)
2003-04-22Merge comment with HEADAndrew Bartlett1-3/+3
(This used to be commit 8f8d819d5814c2a538b5b906014ff0c354625450)
2003-04-22Start merging mimir's trusted domain code from HEAD to 3.0. (for HEAD trustingAndrew Bartlett2-8/+147
NT). (This used to be commit 76cd4a8901a8ac1c3691bc89e496bbb493e5c234)
2003-04-22Setting the credentials for the netsec netlogon pipe connect upon eachVolker Lendecke2-8/+5
samlogon call certainly breaks the credential chain. Do it once during the bind response. Volker (This used to be commit d4262c37f13642e034d3e207bfbb563c17a8a176)
2003-04-22Oops...Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 898ff89632a394ff32fd38f1c4e94412388fa8bd)
2003-04-22Make our 'get DNS domain name' code try a bit harder - if gethostname() doesn'tAndrew Bartlett2-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)
2003-04-22Updating from HEAD.John Terpstra2-1197/+0
(This used to be commit b2149cb411f76048d80d0d6113fee431b36acfbe)
2003-04-22Updating docs from HEAD.John Terpstra12-286/+707
(This used to be commit 8a302f117cfce141389995de5ad045553b472891)
2003-04-22default new groups to domain groupsGerald Carter1-3/+3
(This used to be commit 665d21b8656bf85f9b372b44ff1f4af414551e5a)
2003-04-22Fix up bugs in the new 'store sec_channel type' code - we were always joiningAndrew Bartlett2-6/+4
as a BDC. Andrew Bartlett (This used to be commit f35674e7552dcfece342e7bece10bbfb0e81cbf8)
2003-04-22support referencing group by sid in all operations; allow group name to be ↵Gerald Carter1-13/+60
changed (This used to be commit b6ccdb8f7b72eed4c4248db43fefa09b6f084852)
2003-04-22wrap pdb_enum_group_mapping() in [un]become_root() so LDAP queries can get ↵Gerald Carter1-0/+5
the credentials from secrets.tdb (This used to be commit bb8b63b865b941abecc0d821e710702dd12866fe)
2003-04-22removing some ifdef'd out codeGerald Carter1-8/+0
(This used to be commit 43942398af7e7589fcf8534099eccf277f6e4295)
2003-04-22Tidyups of some dubious logic discovered whilst trying to track down aJeremy Allison2-7/+6
strange oplock related issue on the PSA. Jeremy. (This used to be commit 1dd274bf61aaaad3c475de93f53aac176678bc7c)
2003-04-21Fixup a few typos for Jerry.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 1e5fe87d75ef4bb9d6af787abc501dcf105c9c6c)
2003-04-21This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+1348
used to be commit f7019d22aa580f77e2f779f4a5ede59088a25d53)
2003-04-21Updates.John Terpstra4-36/+80
(This used to be commit 27eafbec10ae82eb686a7326f23e2ad9de2369dd)
2003-04-21Merged the two browsing documents into one. Added locking module to ↵John Terpstra4-838/+901
global.ent file. (This used to be commit 1027525be23e7db97677e2ed3e2706d271ad0a0b)
2003-04-21* fix segfault when no vfs objects definedGerald Carter3-8/+18
* add "sid=..." to 'net groupmap add' (This used to be commit e5f6676639b5552f7dec90091c53cf14e78088ee)