summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-21* fix segfault when no vfs objects definedGerald Carter3-8/+18
* add "sid=..." to 'net groupmap add' (This used to be commit e5f6676639b5552f7dec90091c53cf14e78088ee)
2003-04-21Make it easier to select which domain to show the sid for.Andrew Bartlett1-2/+2
(This used to be commit 4c7efe25c3f2336938050086ffe5f4cfe462e6f6)
2003-04-21Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett24-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)
2003-04-21Add const, static and fix a double free() (merge from HEAD).Andrew Bartlett1-6/+5
(This used to be commit 9ba88c7314168b87b72a7e9dc3c7588dcce86893)
2003-04-21Merge whitespace and const from HEADAndrew Bartlett1-9/+9
(This used to be commit 88fdc36f9373c63706907e48be317007aeba06d6)
2003-04-21Header updates for smb signing mergeAndrew Bartlett1-3/+4
(This used to be commit 2e4b45cd2efe46477c2849faffe0e8401132ef88)
2003-04-21Merge SMB signing, cli buffer clobber and NTLMSSP signing tweaks from HEAD.Andrew Bartlett5-20/+50
(This used to be commit c6c4f69b8ddc500890a65829e1b9fb7a3e9839e9)
2003-04-21Default to "passdb.xml" as default output filename instead of "-"Jelmer Vernooij1-1/+1
(This used to be commit dfbd2a2e7a5f0f2713bc48daa24d43b07f187d14)
2003-04-21- Fix modules build of pdb_mysql and pdb_xmlJelmer Vernooij3-10/+4
- Fix typo in script/installswat.sh (This used to be commit 8d2aec7a73d41a9d32c10abd1c8833ebfd41dd77)
2003-04-21Pdb modules are in $libdir/pdb not $libdir/passdbJelmer Vernooij1-1/+1
(This used to be commit 9c9d969c93400d91a12e78635d54e1c5f90efab8)
2003-04-20Merge a trivial fix across from HEAD. Not that thisVolker Lendecke1-1/+1
would work now... Volker (This used to be commit 8c70f657cfb2f2b32fbaa31112d7953a3a6dc775)
2003-04-19Address gcc warnings.Volker Lendecke1-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)
2003-04-19Added smbgroupedit to PROGS2John Terpstra1-1/+1
(This used to be commit bed69decea61881ab7071be3e34be71df9b178a1)
2003-04-19use gid_t for gids not uid_tSimo Sorce1-1/+1
(This used to be commit a369c2ff2637dc808035217eaada4cf923c5cf6d)
2003-04-19Merging smbgroupedit into 'net groupmap'. Not entirely done.Gerald Carter4-2/+463
Need to check on where the privilege code is sitting and update the docs. Examples: root# bin/net help groupmap net groupmap add Create a new group mapping net groupmap modify Update a group mapping net groupmap delete Remove a group mapping net groupmap list List current group map # bin/net groupmap add Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>] # bin/net groupmap delete Usage: net groupmap delete name=<string|SID> # bin/net groupmap modify Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local> (This used to be commit f2fd0ab41ffbc0355db95529b6bda1b21aa4860a)
2003-04-18'vfs object' is a list not a string (we have cascaded VFS modules in 3_0 asJelmer Vernooij1-20/+3
well now) (This used to be commit 6220068d48f1fc5c85ff68a791e4e34e92cb4a0a)
2003-04-18fix byte ordering when using CIDR notation in hosts allow/deny; spotted by ↵Gerald Carter1-0/+4
Eloy Paris (This used to be commit 6155144b9f6a8d41675ff8f0564f86420431c142)
2003-04-18Survive a samdump with an alias that has no descriptionVolker Lendecke1-3/+6
Volker (This used to be commit 5af417a6ba24e6bb09979488511f482efa4894b8)
2003-04-18fixing torture build by merging code from HEADGerald Carter2-892/+1359
(This used to be commit 7798c7ee1a2fafa0a4879e550e16027f17ccbbcf)
2003-04-17Do not use lp_parm_bool() and lp_parm_ulong() yet. They're only in HEADJelmer Vernooij1-138/+72
(This used to be commit 58aa32ea6ac587df92ceefc527afbb1ff5bd0b08)
2003-04-17Remove SamBackend variable (is already gone in HEAD)Jelmer Vernooij1-1/+0
(This used to be commit 3a99e5a2dbc88a2234ca08ca1e7b50f14ff9bce9)
2003-04-17This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+3145
used to be commit a50dc3f836a898d1aef08afbd12e7221db24440a)