summaryrefslogtreecommitdiff
path: root/source4/winbind
Commit message (Collapse)AuthorAgeFilesLines
* Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison2011-05-041-1/+1
|
* source4/winbind: Fix prototypes for all functions.Jelmer Vernooij2011-03-193-0/+7
|
* s4-waf: move wbinfo buildrule to winbind.Günther Deschner2011-02-171-0/+4
| | | | | | Will be moved back later, once we have a more common samba-util.so Guenther
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-1/+1
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pam: share pam errors in a common location.Günther Deschner2011-02-081-1/+1
| | | | Guenther
* s4:winbind/idmap.c - we cannot use "failed" until we are in a transactionMatthias Dieter Wallnöfer2011-01-121-8/+14
| | | | We've to wait until "trans" is initialised.
* Add some debug in s4's winbind serverMatthieu Patou2011-01-123-2/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Jan 12 01:43:11 CET 2011 on sn-devel-104
* s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer2010-12-121-2/+0
| | | | And optimise includes
* s4-server: make server sockets a child of the task contextAndrew Tridgell2010-11-151-2/+2
| | | | | | | | | | | | We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* winbind: Build as shared module.Jelmer Vernooij2010-11-141-2/+3
|
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-071-1/+1
|
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-81/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-smbd: don't initialise process models more than onceAndrew Tridgell2010-10-301-1/+1
| | | | | | | | | this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij2010-10-261-3/+3
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBCLI_LDAP to libcli_ldap.Jelmer Vernooij2010-10-241-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-1/+1
|
* s4: Rename SAMDB_COMMON to samdb_common.Jelmer Vernooij2010-10-241-1/+1
|
* libcli/security Use common security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | This includes dom_sid.h and security_token.h and will be moved to the top level shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
* s4-param Refactor secrets code to not require an event context.Andrew Bartlett2010-10-111-3/+0
| | | | | | | | A new event context is constructed by LDB when required for secrets.ldb This will be essentially unused, as LDB on TDB will only trigger 'fake' events, and blocks on transactions and lock operations anyway. Andrew Bartlett
* idmap: Add missing dependency on ldbsamba.Jelmer Vernooij2010-10-101-1/+1
|
* s4-winbind Add a proxy method to update DNS records with a read-write DCAndrew Bartlett2010-09-174-1/+219
| | | | | | | | | | This must be done in winbindd as it already has the schannel connection and the credential chain. If we re-established that elsewhere, we would break the chain in winbindd. Andrew Bartlett Signed-Off-By: Andrew Tridgell <tridge@samba.org>
* s4-winbind: fixed two valgrind errorsAndrew Tridgell2010-09-162-2/+2
| | | | | | | | - allocate the dc info on the right structure - zero the number of group members when allocating the winbindd_gr return Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell2010-09-151-1/+1
| | | | | | | once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: change finddcs.h -> finddc.hAndrew Tridgell2010-09-151-1/+1
| | | | | | | this prevents conflicts with old generated files and we can only even return one DC with this interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-winbind: use finddcs_cldap() in winbindAndrew Tridgell2010-09-155-40/+52
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: converted finddcs call to tevent_reqAndrew Tridgell2010-09-151-10/+10
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-secrets: fetch secure channel type with domain SIDAndrew Tridgell2010-09-152-3/+10
| | | | | | The secure channel type is needed to work out what DC to connect to Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: remove REMOVE_MAPPING from wb_samba3_protocolMichael Adam2010-08-141-2/+0
| | | | Michael
* s4: remove SET_MAPPING from wb_samba3_protocolMichael Adam2010-08-141-2/+0
| | | | Michael
* s4: remove SET_HWM and SET_DUAL_HWM from wb_samba3_protocolMichael Adam2010-08-141-2/+0
| | | | Michael
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-1611-38/+38
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole bufferStefan Metzmacher2010-07-101-0/+1
| | | | | | | We should not send uninitialized bytes to the winbind pipe, this makes also makes valgrind very unhappy. metze
* s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher2010-07-101-1/+2
| | | | metze
* s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher2010-07-101-1/+2
| | | | metze
* s4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the ↵Matthias Dieter Wallnöfer2010-07-051-8/+10
| | | | | | "winbind struct test" Use a "talloc_strdup" for duplicating usernames.
* s4:wb_cmd_list_groups.c - don't crash when we don't get any group at allMatthias Dieter Wallnöfer2010-07-041-2/+4
|
* s4:wb_cmd_list_groups.c - indentation and comment fixesMatthias Dieter Wallnöfer2010-07-041-9/+11
|
* s4:winbind/wb_samba3_protocol.c - add cast to suppress warnings on Solaris 10 ccMatthias Dieter Wallnöfer2010-06-261-1/+1
|
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-161-1/+1
| | | | | | | | | This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s4:winbind Give more detail on the parameters when reporting idmap failureAndrew Bartlett2010-05-241-1/+2
|
* s4:winbind Change idmap API to match that used by the source3/ idmap subsystemAndrew Bartlett2010-05-243-28/+62
| | | | | | | | | This makes it much easier to write an idmap module that bridges the gap. We should finish the change to the new API, but for the moment this choke point works for the conversion. Andrew Bartlett
* s4:winbind Change include guard so as not to conflict with idmap.h in source3Andrew Bartlett2010-05-242-3/+3
|
* s4:winbind Fix up includes after seperation of idmap.idl from winbind.idlAndrew Bartlett2010-05-243-1/+3
|
* s4:idmap Adjust code to new idmap structure names and layout.Andrew Bartlett2010-05-245-58/+26
| | | | Andrew Bartlett
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-184-8/+3
|
* s4:winbindd Record the privilaged pipe dirAndrew Bartlett2010-05-182-2/+7
| | | | | | This may help us return an accurate priv pipe dir later on. Andrew Bartlett
* s4:winbindd Rework some winbind structures to make s3compat easierAndrew Bartlett2010-05-143-178/+185
| | | | | | | | By making the winbindd_request and winbindd_response structures pointers, we can more easily integrate with the winbindd from source3/winbindd Andrew Bartlett
* s4:wb_cmd_getdcname.c - fix s4 winbind up regarding the new correct ↵Matthias Dieter Wallnöfer2010-04-271-0/+5
| | | | | | | "GetAnyDCName" behaviour We get back "NO_SUCH_DOMAIN" when we query the PDC. This is fine and therefore we use the "logon_server" variable as "dcname".
* s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERSStefan Metzmacher2010-04-192-2/+8
| | | | metze