summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25032: Contact an off site DC if non is available on site.Lars Müller2-22/+37
(This used to be commit 50879e6de5101b6c5ab8b3fb954f1d2a48530716)
2007-10-10r25030: ip_srv_nonsite and count_nonsite are initialized in get_kdc_list() ↵Lars Müller1-2/+2
in any case. (This used to be commit 287604a1c7dc7dede4b278de92ad8233f597d0b6)
2007-10-10r25025: Remove an unused functionVolker Lendecke1-5/+0
(This used to be commit 858f7b7d786ca352ffebb56b9fda40c636acef74)
2007-10-10r25024: Fix a whole bunch of Coverity bugsVolker Lendecke1-0/+1
The callers of get_domain_group_from_sid() with some justification expected map->gid to be initialized when get_domain_group_from_sid returned True. (This used to be commit bc8b74dbfec965ede7bf45118d1a863b28d000fd)
2007-10-10r25023: Coverity #455. Not actually a bug, but this clarifiesJeremy Allison1-0/+1
the code a lot. Jeremy. (This used to be commit 5ba12eefbed209a8a6b474da479efd190f91638e)
2007-10-10r25022: Fix coverity #395. Resource leak on error.Jeremy Allison1-6/+13
Jeremy. (This used to be commit 6a237600b825f4df2241277bdd80e98669f69685)
2007-10-10r25021: Fix coverity #435. Use of -1.Jeremy Allison1-4/+12
Jeremy. (This used to be commit f789186086b55a81c52e05d1f8c97c33b69131bd)
2007-10-10r25020: Fix coverity #374, possible null deref.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 82b3656b4b26ff63d894eed975d73ef3c8b5d2b2)
2007-10-10r25019: Fix coverity bug #105, run #332. Use of uninitialized variable.Jeremy Allison1-6/+8
Jeremy. (This used to be commit a58de8cee51c1396a2607ee743c92d58d7703547)
2007-10-10r25011: We don't use mangle_map any more.Jeremy Allison1-211/+0
Jeremy. (This used to be commit 2e0999c1df33c192fee5f739070a0e4c3d22dff8)
2007-10-10r25009: Large patch discussed with Volker. Move unix_convert to a talloc-basedJeremy Allison16-684/+1069
interface. More development will come on top of this. Remove the "mangled map" parameter. Jeremy. (This used to be commit dee8beba7a92b8a3f68bbcc59fd0a827f68c7736)
2007-10-10r25002: Refactor out code duplication created by the previousMichael Adam1-18/+9
unification of r24998. Michael (This used to be commit 6026d132537f2fb2a963fa54377a926fa99eeb35)
2007-10-10r24999: Use the new regval_compose() function in regval_ctr_addvalue().Michael Adam1-18/+3
Michael (This used to be commit dab9ffe602eaca478a73f3b882f543629ce3001e)
2007-10-10r24998: Add a function regval_compose() to compose a REGISTRY_VALUE fromMichael Adam2-4/+42
input data. Use this function in a first step to refactor the canonicalization code of smbconf_store_values(). Michael (This used to be commit f4caa2d7d412e2b9bb2a1ce71514551569ccf373)
2007-10-10r24996: Eliminate more trailing spaces...Michael Adam1-5/+5
(This used to be commit 1ee1b75113c7035c8882fe53981dba7cfc3aa187)
2007-10-10r24993: Apply some constVolker Lendecke2-4/+5
(This used to be commit 613b9fcd18bcc29bf5313e2287b53b8de430d17e)
2007-10-10r24991: Kill all those lots of trailing whitespaces from secrets.c.Michael Adam1-72/+72
These red bars in vi really hurt my eyes... :-o Michael (This used to be commit 2e99e141c3254fe072756697b8db3cbd4e4f1db4)
2007-10-10r24990: Kill an incredible amount of trailing whitespaces...Michael Adam1-8/+10
Further reformat get_trust_pw to conform to coding rules. Michael (This used to be commit b9e76a479e933084b1ee081ef5d8bd6bdbd7fadf)
2007-10-10r24981: - Use the formal syntax for calling functions through pointers. ↵Derrell Lipman2-94/+98
I've wanted to make this change for ages, but now with the issue of "open" requiring it, this is the time to just do all of them. Derrell (This used to be commit e746aaaf4db7099252ef048da7857bd488cb681f)
2007-10-10r24978: move domain_init_recv() near the functions that uses itStefan Metzmacher1-15/+16
metze (This used to be commit 18e830a935d4712bfbff54f94b531e30cea8a1f9)
2007-10-10r24977: Ensure negative caching for name2sid, sid2name and rids2namesRafal Szczesniak1-26/+89
mappings. rafal (This used to be commit 3a9b5eabf97e892e761184da37465d850b5d774c)
2007-10-10r24974: catch SIGINT and SIGQUIT like SIGTERMStefan Metzmacher1-0/+2
metze (This used to be commit ab15f5c3e72df6272db9a4431f720f604fcf40f2)
2007-10-10r24970: Polish some comments and add my (C).Michael Adam1-10/+3
Michael (This used to be commit aa043bb446ec8ab90a8e61c590be8d33b6a2d42d)
2007-10-10r24969: Fwd port "open" patchSimo Sorce3-6/+6
(This used to be commit 113d62682ae8b045ff0132a743a32f3bc4856d54)
2007-10-10r24955: Reformat some object lists in Makefile.in to minimize the diff.Michael Adam1-11/+22
(This used to be commit 5d94c3dab2dfab68f170e18e6af9374026f6f194)
2007-10-10r24954: Fix the build without krb5.Günther Deschner1-3/+11
Guenther (This used to be commit 9df961914c3119eb6b20ecdc05d963480dea3521)
2007-10-10r24952: Set the kdc locator env vars. This makes the krb5 locator plugin fullyGünther Deschner2-3/+67
operational (from within winbindd and outside). Guenther (This used to be commit 800645d5388d7df1f8cf31b4218bfc7dd5b4d12a)
2007-10-10r24951: Warn if "os level" > 255Volker Lendecke1-0/+4
Thanks to Karolin Seeger <ks@sernet.de> (This used to be commit 3abf06efc1286090caf380eb685e90ba7f412748)
2007-10-10r24949: Remove some static buffersVolker Lendecke9-79/+57
(This used to be commit df648d47ff3c4e24f439fda839653bda98323100)
2007-10-10r24943: Some stackframesVolker Lendecke9-6/+24
(This used to be commit cddb9f11d5fafcd3797cb242775c37f0c04d4f15)
2007-10-10r24920: Reformatting.Günther Deschner1-128/+182
Guenther (This used to be commit 62426a055513c309a381d0d96d60edc07e6dfcdf)
2007-10-10r24903: One more tick in #if 0 codeVolker Lendecke1-1/+1
(This used to be commit e0b4fb55e3176785a85d66efece15d0a366a35f1)
2007-10-10r24902: DEBUG might use talloc_tos() itself...Volker Lendecke1-1/+1
(This used to be commit 1b39374a173bf6b40426000d010d092e94afc4d7)
2007-10-10r24879: Activate the winbindd cache-validation message handler.Michael Adam1-4/+38
Now the winbindd cache can be checked at runtime by calling "smbcontrol winbindd validate-cache". For the execution of the validation code, I fork a child and in the child restore the default SIGCHLD handler in order for the fork/waitpid mechanism of tdb_validate to work. Michael (This used to be commit f379a5c47d5004a5a66b6c12ec119c739b9e146d)
2007-10-10r24877: Don't panic in tdb validation code when the fork or waitpid fails.Michael Adam1-5/+7
Return error instead. Michael (This used to be commit 9b25355dd66519afd548fecbf2da7608b024a35b)
2007-10-10r24864: - Correct failure of libsmbclient against a version of Windows found ↵Derrell Lipman1-24/+2
on a NAS device. The device resets a NBT connection on port 139 when it receives a NetBIOS keepalive request. That request should be supported when NetBIOS is in use; Windows is behaving badly. libsmbclient needs a way to determine if a connection is still alive, and was using a NetBIOS keepalive request if port 139 was in use (on the assumption that it was probably NBT), and getpeername() when port 139 was not being used (assuming naked transport). This patch simplifies the code by exclusively using getpeername() to check whether a connection is still alive. The NetBIOS keepalive request is optional anyway (with preference being given to using TCP mechanisms for the same purpose), so this should be both simpler and more reliable. Derrell (This used to be commit 1f122352b02e3f4be9ac2d638b18807dafd05429)
2007-10-10r24853: Rename function as Jerry asked.Rafal Szczesniak2-5/+5
s/net_use_upn_machine_account/net_use_krb_machine_account/ rafal (This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
2007-10-10r24848: Make tdb_validate() take an open tdb handle instead of a file name.Michael Adam2-17/+47
A new wrapper tdb_validate_open() takes a filename an opens and closes the tdb before and after calling tdb_validate() respectively. winbindd_validata_cache_nobackup() now dynamically calls one of the above functions depending on whether the cache tdb has already been opened or not. Michael (This used to be commit dc0b08e6590caa4974fd4d9f34f39f261d1f1dee)
2007-10-10r24847: Change standard failure return code of tdb_validate from "-1" to "1".Michael Adam1-2/+2
(This is more safely used with casts from int to uint8, e.g.) Michael (This used to be commit cb3583b39212688a627a29bbddb2e98497714d42)
2007-10-10r24845: Fix a segfault in smbcontrol when called with parameters but no ↵Michael Adam1-3/+5
extra args. Michael (This used to be commit f1bbf9bc18fc615a5660674f8346b4a7bed50044)
2007-10-10r24843: Add a "validate-cache" control message to winbindd.Michael Adam3-0/+71
So there is a new subcommand "smbcontrol winbindd validate-cache" now. This change provides the infrastructure: The function currently returns "true" unconditionally. The call of a real cache validation function will be incorporated in subsequent changes. Michael (This used to be commit ef92d505c04397614cb0dd5ede967e9017a5e302)
2007-10-10r24842: Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit 205ef6ab3e9332a2a4a4f775c2cdddbcd3ec739d)
2007-10-10r24841: The locator has no dependencies to ldap libs anymore. Also fix the ↵Günther Deschner1-2/+1
build. Guenther (This used to be commit ce7c816083db6fc844b936a14dd593fe1ef07374)
2007-10-10r24838: Now for real: build the locator, if we can.Günther Deschner1-2/+4
Guenther (This used to be commit 28f9b8d98dabd9ba8e812ca01bcf4fc192fb5e44)
2007-10-10r24836: Initialize some uninitialized variables.Michael Adam1-3/+5
This prevents a segfault when get_kdc_ip_string() is called with sitename == NULL. Michael (This used to be commit 58d31e057b57bc69a96e63aabba9aa1da5418d83)
2007-10-10r24833: Move locator to nsswitch (does not belong to libads anymore).Günther Deschner2-1/+1
Guenther (This used to be commit af90c6949c929c82d4390b2f87a420bd598275dd)
2007-10-10r24832: In the winbind-locator recursion case, try to pick up the kdc from theGünther Deschner1-3/+22
environment. Guenther (This used to be commit 7f42fe4e08c0899f5e8addbc5135d87af193ee68)
2007-10-10r24830: Add a winbindd cache validation function that does not doMichael Adam1-0/+25
backup and corrupt file handling. (To be used in subsequent changes.) (This used to be commit b3dcadbed0b4a1b7bb2e83df2c66bca9dcbcad60)
2007-10-10r24829: Make use of a variable, that is available... :-)Michael Adam1-2/+1
(This used to be commit 90626652084c2ada6b2eb041db652720c03a1c3b)
2007-10-10r24828: Give smbcontrol an initial talloc stackframe.Michael Adam1-1/+6
(This used to be commit 55020b07b5568104091352fd3ae21e2b29e34501)