summaryrefslogtreecommitdiff
path: root/source4/winbind
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25001: Fix more C++ and other warnings, fix some of the indentation with ↵Jelmer Vernooij1-2/+2
ts=4 lines that I accidently added earlier. (This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-1/+1
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24577: Implement basic getpwent.Kai Blin3-1/+173
This one still cheats and only returns one winbindd_pw structure per call. Also, doesn't get a new libnet_UserList yet. (This used to be commit e1b93be1e130692a75a2fc4eb5ca8ee425fe1b82)
2007-10-10r24576: Implement endpwentKai Blin1-0/+7
(This used to be commit ef93a7991d3b4445ba87f964f2f17c33044ba8c4)
2007-10-10r24575: Implement setpwentKai Blin4-2/+188
(This used to be commit 9bbbedac99278853e30a9f81f594ee3144545268)
2007-10-10r24574: Fix a warning in wb_samba3_cmd.cKai Blin1-1/+1
(This used to be commit ebdd03ee9e5bf11d1cb85da0ecb66a84f810bbcc)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher2-8/+8
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24556: forgot to commit the winbind/ subdir...sorryStefan Metzmacher1-2/+2
metze (This used to be commit 184a7cfc36860e16f9483347ae70a053a5823e83)
2007-10-10r24486: Bump another DEBUG to level 5Kai Blin1-1/+1
(This used to be commit 0454edc9581e0013eee3a369fb77db3408253c6e)
2007-10-10r24483: Implement backend for wbinfo -u (list users)Kai Blin4-1/+248
(This used to be commit 9fbc8aa15f97ab97f4da801e5d36223a874e912b)
2007-10-10r24480: Bump another DEBUG down to level 5Kai Blin1-1/+1
(This used to be commit 6e6eac551a42d4d68676d408b31207de7b9d0006)
2007-10-10r24397: Bump debug level of sid2(u|g)id calls to 5.Kai Blin1-3/+3
(This used to be commit ef9bc55a6b1e90d49d621a1c4bebc80b6c7c2be0)
2007-10-10r24396: Fix a typo.Kai Blin1-3/+3
Thanks to metze (metze@samba.org) for catching this one. (This used to be commit abf631822da6221af187498cde9fe068cd91ee43)
2007-10-10r24395: Add check if talloc_strdup worked.Kai Blin1-0/+1
(This used to be commit 754b9ff696cda6b2df4d569c9a910ab0ca49e13b)
2007-10-10r24376: Missed this file from the checkin, sorry.Kai Blin1-0/+78
(This used to be commit c81b0980cac901e70e52dfd0eb013ad4d6f15540)
2007-10-10r24375: Implement backend for wbinfo --uid-infp (getpwuid)Kai Blin3-1/+233
(This used to be commit 760973856fbc3fc940c903bfa5bd82c51339f25c)
2007-10-10r24373: Implement backend for wbinfo -G (gid2sid)Kai Blin3-2/+50
(This used to be commit e928e56219c8911105b34e3a322bd70f7172382b)
2007-10-10r24372: Implement backend for wbinfo -UKai Blin4-2/+132
(This used to be commit a18cf553cf9748749d713c4d54f1452ae92f7218)
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)