summaryrefslogtreecommitdiff
path: root/source4/winbind
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24371: Actually add the glue to make wbinfo -S and wbinfo -Y workKai Blin2-4/+84
(This used to be commit a8893b3078c927b0a56e9d8e8c98cbeabce3e974)
2007-10-10r24370: Implement wbinfo -i backend (getpwnam)Kai Blin3-1/+226
(This used to be commit 3b8d8fb2c1c75ce5bf30c8676326ac63bd2a4a3d)
2007-10-10r24369: Don't use goto in wb_name2domain, fix wb_samba3_split_names call.Kai Blin1-9/+9
Missed this one on my previous name2domain cleanup patch. (This used to be commit 4305fab4a20dd765e5874507887e3d489c40a055)
2007-10-10r24366: Implemet backend for wbinfo -Y, sid2gidKai Blin2-0/+77
(This used to be commit 599416ca31e6a6ac0a86e543a3903e218043164a)
2007-10-10r24365: Implemet backend for wbinfo -S, sid2uidKai Blin2-0/+79
(This used to be commit 682e7124fb4218ce599fdcea1399b6a7a46079e2)
2007-10-10r24364: Remove sync call from name2domain, bump debug level to 5Kai Blin1-13/+3
(This used to be commit 95783210d2d076b9df490acbec9de04b9828f999)
2007-10-10r24157: Merge from ↵Kai Blin1-1/+1
kai/samba4-gsoc.git;h=728deba680f8cf85cab168a6278a2cf657f65fdb Make WBSRV_SAMBA3_SET_STRING use safe_strcpy instead of strncpy. (This used to be commit 6b92b816fc70278d83d23f835275acf5f227dd74)
2007-10-10r24127: Set the Domain SID into the libnet context, and have libnet_UserInfoAndrew Bartlett1-0/+1
return full SIDs for the user SID and primary group sid. This should help kai with his getpwnam work in winbind. Andrew Bartlett (This used to be commit 078671d5015c63e4bcd96815e150dae918763b83)
2007-10-10r24112: Complete initialistion of the libnet_ctx when setting up the domain.Andrew Bartlett1-0/+4
We need to set the access_mask and the domain name, or else libnet will try to do this itself. This seems to fix the issues Kai was having. Andrew Bartlett (This used to be commit 44c193272b05959c756ee0078d666bcdf1374023)
2007-10-10r24111: Untested code is broken code, untested code is broken code...Andrew Bartlett2-2/+2
Apologies for my previous commit, which should never have been commited untested. Andrew Bartlett (This used to be commit ec69f41d093df598cb3969be0efdd6b8b804d423)
2007-10-10r24110: I hate seeing callers manually filling in the composite context. UseAndrew Bartlett2-4/+3
the helper functions instead (and in kai's new code, which just copied the previous bad practice). Andrew Bartlett (This used to be commit 0908d8232e8621e5c7bce74b19e5d1e75fc115ab)
2007-10-10r24109: Add a wb_name2domain callKai Blin2-0/+132
(This used to be commit a6a45ab9706961ea2a9a7451d9a38cb8dea7baf2)
2007-10-10r24108: Split out samba3_parse_domuser to a seperate file and rename, so it ↵Kai Blin3-23/+51
can be used for a name2domain call. (This used to be commit 75e41da039e10127820635500e185e24ea55c777)
2007-10-10r23995: Work to allow mimir's libnet code to be called from winbind.Andrew Bartlett9-57/+53
We now setup a libnet_ctx for each domain. We should then be able to replace/merge some more of the winbind code with libnet calls, referencing domain->libnet_ctx. Andrew Bartlett (This used to be commit bad2dc14d704be59300f619c84694c11620559e0)
2007-10-10r23890: Allow wbinfo -a to work against Samba4's winbind.Andrew Bartlett4-146/+76
Add a test for wbinfo -a to test_member.sh Reimplement the server-side 'pam_auth' and 'pam_auth_crap' calls to use the same SamLogon code as auth_winbind uses. In my previous code, we did not bind to the LSA and SAMR pipes, before attempting operations. We now do this (how we passed any tests before is beyond me). This required some rework, particularly to make it easier to setup secondary connections. The new rpc_secondary_auth_connection() function also performs the bind. The dcerpc_connect.c file was getting to big, so things have been merged into dcerpc_secondary.c. Andrew Bartlett (This used to be commit 365778a993b7d76af6d53ba2a598b7e271741dc5)
2007-10-10r23880: Don't crash when we run wbinfo -a against our own winbind when we ↵Andrew Bartlett2-3/+6
are a DC. Next step is to make it work... Andrew Bartlett (This used to be commit a1b6c9ecb9a6f17bcbabf81a8128398df6447490)
2007-10-10r23810: Make things static, and remove unsued code.Andrew Bartlett1-231/+0
This includes some of the original ildap ldap client API. ldb provides a much easier abstraction on this to use, and doesn't use these functions. Andrew Bartlett (This used to be commit dc27a7e41c297472675e8c251bb14327a1af3902)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell21-63/+42
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23653: add dummy implementation for all nss calls to let nsstestStefan Metzmacher2-6/+107
pass against a samba4 winbind metze (This used to be commit 57dfc7674352df8b0d4e06750e11a91b574eabb1)
2007-10-10r23311: Updating the samba4 winbind protocol to version 18.Kai Blin3-13/+29
nsswitch/winbindd_nss.h is just copied from SAMBA_3_0. nsswitch/winbind_nss_config.h is copied from SAMBA_3_0, too, but I had to drop some of the defines to make things build again. Kai (This used to be commit 553b7e146f52975b45941ba850140e312a280513)
2007-10-10r23149: Fix up the trusted domain lookup code to use the new structures.Andrew Bartlett2-24/+21
Andrew Bartlett (This used to be commit 6ecb3cb0b337260f31abd257e9f900661de4cfd2)
2007-10-10r23146: fix the build (temporary)Stefan Metzmacher1-0/+7
abartlet: please fix this correct! metze (This used to be commit a4df092c80ca5d797bb8e13175c9918f9cc76043)
2007-10-10r23141: Use the finddcs() library call rather than a winbind-specific version.Andrew Bartlett3-64/+35
(I created finddcs() from the winbind code a while back, so this finishes that work) Andrew Bartlett (This used to be commit 218b279a46a4ca739597936f0b67573599e6d375)
2007-10-10r23133: I felt pity on Kai, as he starts work on winbind in Samba4, so IAndrew Bartlett7-477/+228
decided to clean it up a little. We now use SPNEGO for authentication if possible, and common routines shared with the rest of the librpc codebase. Rather than make a connection to IPC$, then connect the pipes to it, we instead have the lsa and samr pipes as 'secondary connections'. Andrew Bartlett (This used to be commit 86654056b22245a57396544d572de6401069b9e5)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher10-21/+21
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-1/+1
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r22612: Fix more cases where we have uninitialised values in theAndrew Bartlett11-57/+18
composite_context, because we don't use the creation function. Andrew Bartlett (This used to be commit e37064e356c17d0c87bb7fa7adf0c0d04d8daba2)
2007-10-10r22582: Cleanups towards making winbind work again. We still have a long ↵Andrew Bartlett6-54/+14
way to go, as this has bitrotted over the past months. This change in particular catches winbind up with the next composite_create() function. We also needed to remove an unused flags field, and fill in the lm response. Andrew Bartlett (This used to be commit bd26e4ffaf1c060fdc3aae28fd4393e83c5a83ea)
2007-10-10r22403: this dependencies should be privateStefan Metzmacher1-1/+1
metze (This used to be commit c3cc03ffb290cb7c1eba51e98c52e5e7c1aba5fb)
2007-10-10r21541: Export mgmt, samr and atsvc for use in samba-gtk.Jelmer Vernooij1-2/+2
(This used to be commit 7f451cbb8da26cfe27861c402e06b3f34f7ac647)
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell4-4/+4
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-2/+2
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett3-3/+3
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19573: Move secrets.o into param/ (subsystems haven't been integrated yet).Jelmer Vernooij1-1/+1
(This used to be commit 8143de855c0b65346b2d8e59ecdb78952927de4a)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-1/+2
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldapAndrew Tridgell1-1/+1
library. Even though we don't like to that library, it gets loaded via nss-ldap, which means nss-ldap calls into the samba ldap lib with the wrong parameters, and crashes. We really need to use a completely different namespace in libcli/ldap/ (This used to be commit c440e0eed9afae5fe69995a7416971e7c8560779)
2007-10-10r17956: LSA Cleanup!Andrew Bartlett1-2/+2
This commit cleans up a number of aspects of the LSA interface. Firstly, we do 2 simple searches on opening the LSA policy, to obtain the basic information we need. This also avoids us searching for dnsDomain (an invented attribute). While I was at it, I added and tested new LSA calls, including the enumTrustedDomainsEx call. I have also merged the identical structures lsa_DomainInformation and lsa_DomainList. Also in this commit: Fix netlogon use of uninitialised variables. Andrew Bartlett (This used to be commit 3f3fa7f466df56612064029143fbae8effb668aa)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij3-3/+2
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17342: implement a SamLogon via IRPC in samba4's winbindStefan Metzmacher5-3/+273
metze (This used to be commit c3ce7a0c3708f0c8e784404e86034f7a00685f88)
2007-10-10r17306: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit cee012c5702da225c81f82d90193b500e3707613)
2007-10-10r17290: don't do any stuff that can fail in the _recv functionStefan Metzmacher1-7/+10
metze (This used to be commit 88bcb57e82c799197b1d87212466a9b21d61edf8)
2007-10-10r17250: Fix comment, the Samba3 winbind protocol uses the host byte order here.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit dc4500eb902fbb0a0e7d3b38a9d257ea839d00d3)
2007-10-10r15371: Revert some of my previous patch as it was breaking the plain buildJelmer Vernooij1-1/+1
(This used to be commit fac9871122bcea2bb282ba77e5032094733442e5)
2007-10-10r15370: Fix more dependencies for shared libsJelmer Vernooij1-1/+1
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij2-2/+0
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r15301: Use static libraries internally. This required a few hacks in the buildJelmer Vernooij1-1/+3
system - these should be removed later on. (This used to be commit 06547391669e064d2b92f5841b7df5f101a34cb9)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij1-2/+2
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher10-11/+10
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14567: Make some more functions public.Jelmer Vernooij1-1/+2
(This used to be commit 8e84e6cb6b172c89072723e07f344da8f4476c1f)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)