summaryrefslogtreecommitdiff
path: root/source4/winbind
AgeCommit message (Collapse)AuthorFilesLines
2011-03-19source4/winbind: Fix prototypes for all functions.Jelmer Vernooij3-0/+7
2011-02-17s4-waf: move wbinfo buildrule to winbind.Günther Deschner1-0/+4
Will be moved back later, once we have a more common samba-util.so Guenther
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell1-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>
2011-02-08pam: share pam errors in a common location.Günther Deschner1-1/+1
Guenther
2011-01-12s4:winbind/idmap.c - we cannot use "failed" until we are in a transactionMatthias Dieter Wallnöfer1-8/+14
We've to wait until "trans" is initialised.
2011-01-12Add some debug in s4's winbind serverMatthieu Patou3-2/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Jan 12 01:43:11 CET 2011 on sn-devel-104
2010-12-12s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer1-2/+0
And optimise includes
2010-11-15s4-server: make server sockets a child of the task contextAndrew Tridgell1-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>
2010-11-14winbind: Build as shared module.Jelmer Vernooij1-2/+3
2010-11-07ldbsamba: Lowercase library name.Jelmer Vernooij1-1/+1
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-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
2010-10-30s4-smbd: don't initialise process models more than onceAndrew Tridgell1-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>
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij1-3/+3
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-1/+1
2010-10-24s4: Rename LIBCLI_LDAP to libcli_ldap.Jelmer Vernooij1-1/+1
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-1/+1
2010-10-24s4: Rename SAMDB_COMMON to samdb_common.Jelmer Vernooij1-1/+1
2010-10-12libcli/security Use common security.hAndrew Bartlett1-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
2010-10-11s4-param Refactor secrets code to not require an event context.Andrew Bartlett1-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
2010-10-10idmap: Add missing dependency on ldbsamba.Jelmer Vernooij1-1/+1
2010-09-17s4-winbind Add a proxy method to update DNS records with a read-write DCAndrew Bartlett4-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>
2010-09-16s4-winbind: fixed two valgrind errorsAndrew Tridgell2-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>
2010-09-15s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell1-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>
2010-09-15s4-libcli: change finddcs.h -> finddc.hAndrew Tridgell1-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>
2010-09-15s4-winbind: use finddcs_cldap() in winbindAndrew Tridgell5-40/+52
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-libnet: converted finddcs call to tevent_reqAndrew Tridgell1-10/+10
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-secrets: fetch secure channel type with domain SIDAndrew Tridgell2-3/+10
The secure channel type is needed to work out what DC to connect to Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-14s4: remove REMOVE_MAPPING from wb_samba3_protocolMichael Adam1-2/+0
Michael
2010-08-14s4: remove SET_MAPPING from wb_samba3_protocolMichael Adam1-2/+0
Michael
2010-08-14s4: remove SET_HWM and SET_DUAL_HWM from wb_samba3_protocolMichael Adam1-2/+0
Michael
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell11-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>
2010-07-10s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole bufferStefan Metzmacher1-0/+1
We should not send uninitialized bytes to the winbind pipe, this makes also makes valgrind very unhappy. metze
2010-07-10s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher1-1/+2
metze
2010-07-10s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher1-1/+2
metze
2010-07-05s4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the ↵Matthias Dieter Wallnöfer1-8/+10
"winbind struct test" Use a "talloc_strdup" for duplicating usernames.
2010-07-04s4:wb_cmd_list_groups.c - don't crash when we don't get any group at allMatthias Dieter Wallnöfer1-2/+4
2010-07-04s4:wb_cmd_list_groups.c - indentation and comment fixesMatthias Dieter Wallnöfer1-9/+11
2010-06-26s4:winbind/wb_samba3_protocol.c - add cast to suppress warnings on Solaris 10 ccMatthias Dieter Wallnöfer1-1/+1
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-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>
2010-05-24s4:winbind Give more detail on the parameters when reporting idmap failureAndrew Bartlett1-1/+2
2010-05-24s4:winbind Change idmap API to match that used by the source3/ idmap subsystemAndrew Bartlett3-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
2010-05-24s4:winbind Change include guard so as not to conflict with idmap.h in source3Andrew Bartlett2-3/+3
2010-05-24s4:winbind Fix up includes after seperation of idmap.idl from winbind.idlAndrew Bartlett3-1/+3
2010-05-24s4:idmap Adjust code to new idmap structure names and layout.Andrew Bartlett5-58/+26
Andrew Bartlett
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij4-8/+3
2010-05-18s4:winbindd Record the privilaged pipe dirAndrew Bartlett2-2/+7
This may help us return an accurate priv pipe dir later on. Andrew Bartlett
2010-05-14s4:winbindd Rework some winbind structures to make s3compat easierAndrew Bartlett3-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
2010-04-27s4:wb_cmd_getdcname.c - fix s4 winbind up regarding the new correct ↵Matthias Dieter Wallnöfer1-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".
2010-04-19s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERSStefan Metzmacher2-2/+8
metze
2010-04-19s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPSStefan Metzmacher2-2/+8
metze