summaryrefslogtreecommitdiff
path: root/source3/winbindd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison6-113/+172
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-24handle wellknown sids in winbindd_passwd.cStefan Metzmacher1-1/+2
metze (This used to be commit 251bd4ea4cdd0a751ed3b91562272221af148e37)
2007-10-22r25573: Add my (C) as wellSimo Sorce1-0/+1
(cherry picked from commit a024e27e7136deb87aeed995348a1c494a850ce6) (This used to be commit 37ee6f498b175b8f3b7e75eba8dd7c709327384c)
2007-10-22r25571: split up child_dispatch_table into domain, idmap and locator tablesStefan Metzmacher5-41/+87
metze (cherry picked from commit abbb36a37c1dba2218a6c7ec31739eba5f250127) (This used to be commit 5af1b45ed31043f952ec141d0f5f2973aec69d1a)
2007-10-22r25570: move code of the locator child into its own fileStefan Metzmacher2-64/+90
metze (This used to be commit 56640908a6367acfdfd53568a0d329c13330e5eb)
2007-10-22r25569: move more idmap stuff into winbindd_idmap.cStefan Metzmacher2-12/+12
metze (cherry picked from commit 953229f040580071f6ee09413f67f7edd3227728) (This used to be commit 590954407b5badfb9d6b8fb55077dc6a520fb816)
2007-10-22r25568: move idmap related functions into their own file.Stefan Metzmacher2-741/+778
the final goal is to have 3 child dispatch tables 'domain', 'idmap' and 'locator' instead of one. metze (cherry picked from commit 97c63f1b95190f3bcc1d9f34765934c97ffb720c) (This used to be commit a1c354866c04a305aa28a287dc6c72db1aa845a9)
2007-10-22r25567: make do_async() non staticStefan Metzmacher1-6/+6
metze (cherry picked from commit badc714d7f82f8d7c21ecfeab137efb57e970210) (This used to be commit d623b2fa710cfe7ef85b7e9dd84b274b081841ae)
2007-10-19Fix an incompatible pointer type warningVolker Lendecke1-2/+2
(This used to be commit 3c50caa9620899f982cd4a833356d965f47ec843)
2007-10-19Fix the popt / bool issues. Some places we used BOOLJeremy Allison1-10/+28
where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy. (This used to be commit 793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
2007-10-19Merge Tridge's fix for the winbind 32/64bit padding.Günther Deschner1-2/+2
Guenther (This used to be commit 36578b22f12a7de21df5a795d7702c10d19b1f3d)
2007-10-19fix startup of smbd, nmbd, winbinddStefan Metzmacher1-4/+4
jra: POPT_ARG_VAL arguments need int values. I assume there're more places like this in the cmdline tools. Please fix this properly, as my commit is just a hack to get make test working again. in samba4 we have a workaround for this see smbd/server.c metze (This used to be commit 9cb1937fe8601e526b5c924930500e0a3b52abd5)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison24-308/+308
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-16Fix default domains support using compat syntax.Simo Sorce1-14/+29
Without this fix idmap_rid can't be used with the compatible syntax. Includes fix to keep trusted domains working (This used to be commit 8c770c367c71d118651964fef63e2fd0fa4a05a5)
2007-10-10Added missing is_ipaddress is_ipaddress_v4 not in initialJeremy Allison1-1/+1
port from old svn code. Jeremy. (This used to be commit 169c5857b7e7922fe3fffef997ced0e014e925a8)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2-3/+6
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter12-1259/+973
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25573: Add my (C) as wellSimo Sorce1-0/+1
(This used to be commit a024e27e7136deb87aeed995348a1c494a850ce6)
2007-10-10r25571: split up child_dispatch_table into domain, idmap and locator tablesStefan Metzmacher5-41/+87
metze (This used to be commit abbb36a37c1dba2218a6c7ec31739eba5f250127)
2007-10-10r25570: move code of the locator child into its own fileStefan Metzmacher2-64/+90
metze (This used to be commit 2dbc168e543b84d05b85bc0a44aa8fc10adc4511)
2007-10-10r25569: move more idmap stuff into winbindd_idmap.cStefan Metzmacher2-12/+12
metze (This used to be commit 953229f040580071f6ee09413f67f7edd3227728)
2007-10-10r25568: move idmap related functions into their own file.Stefan Metzmacher2-741/+778
the final goal is to have 3 child dispatch tables 'domain', 'idmap' and 'locator' instead of one. metze (This used to be commit 97c63f1b95190f3bcc1d9f34765934c97ffb720c)
2007-10-10r25567: make do_async() non staticStefan Metzmacher1-6/+6
metze (This used to be commit badc714d7f82f8d7c21ecfeab137efb57e970210)
2007-10-10r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter1-1/+1
The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
2007-10-10r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter1-1/+1
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam1-2/+2
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r25287: Eliminate a handful of red bars and overly long lines I justMichael Adam1-32/+40
came across. Michael (This used to be commit bf12f0c0f843f088c7fa2d1eca3298a3d76e9761)
2007-10-10r25275: w2k3 (as PDC emulator) returns WERR_NO_SUCH_DOMAIN to ↵Stefan Metzmacher1-3/+13
netlogon_getanydcname() when called for it's own domain. So we should use netlogon_getdcname() which returns WERR_OK:-) gd: feel free to usage rpccli_netlogon_dsr_getdcname(), but please make sure the new WINBIND-STRUCT-GETDCNAME test is still passing. metze (This used to be commit 9a9c164366a252ab8268b687699d54048ced993f)
2007-10-10r25273: unistrX_to_ascii calls pull_ucs2 - ensure it's neverJeremy Allison1-8/+8
called with -1 (these calls were wrong anyway, target was an fstring, not a pstring). Found by Michael Adam <ma@sernet.de>, now to check all other uses. Michael - this version uses sizeof(target) not sizeof(fstring). This way is more future proof. Jeremy. (This used to be commit 9ed3046633b6949c68c9aed61b8e9444601cf101)
2007-10-10r25272: Fix a bunch of callers of pull_ucs2 that passed -1 for dest_len.Michael Adam1-8/+8
Michael (This used to be commit a4f53fe22569a63fe7b196971ac6c28a676ee4e8)
2007-10-10r25270: for internal domains we should not ask a remote DC.Stefan Metzmacher1-0/+9
metze (This used to be commit 579ed8ae87e449dbd5e4f78609754df0556fbf68)
2007-10-10r25260: add trusted domains always to the end of the list.Stefan Metzmacher1-20/+20
Now BUILTIN is always the first domain followed by the domain of our own SAM DB and the primary domain (in member server mode). metze (This used to be commit b8d67b78aa1c35e4e7e61050c1fccbb6d76d9fd7)
2007-10-10r25247: Rename the rpccli_lsa_lookup_sids_all() function to ↵Michael Adam1-7/+7
rpccli_lsa_lookup_sids() and remove the old rpccli_lsa_lookup_sids() function. The old function would fail due to server limits when requesting to resolve too many sids at once (20480 for W2k3). The new version passes the list of sids in hunks to the server. It has up to now been used (and tested) in the winbindd_ads lookup_groupmem() function, and I think the time has come to replace the actual function with this correct version. Michael (This used to be commit 1194d4f36ef720747e62dde31881c295e44e4a76)
2007-10-10r25241: remove sequence_number out of WINBINDD_DOMAIN_INFO callStefan Metzmacher2-10/+2
as this is always answered by the winbindd parent and will most times return old sequence number values. metze (This used to be commit 9caf54c868e8c0109730860e772c9cc404e2f899)
2007-10-10r25236: make it possible to alter WINBINDD_SOCKET_DIR viaStefan Metzmacher2-2/+7
"winbindd:socket dir=/path/to/dir" for usage in make test metze (This used to be commit 5566cf01e827edf60c0235a661d95dd376210108)
2007-10-10r25165: Use talloc_asprintf_append_buffer with an unmodifiedJeremy Allison3-13/+13
string. Jeremy. (This used to be commit fe30a523dfc77cc373145624246fd3ad5c62b9ac)
2007-10-10r25154: move winbindd code into winbindd/Stefan Metzmacher32-0/+29961
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)