summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Replace idmap_ad_close by a destructorVolker Lendecke2011-03-061-11/+12
|
* s3-idmap-ad: Make ad_schema properly tallocedVolker Lendecke2011-03-061-4/+2
|
* s3-idmap-tdb: private_data is a talloc child of domVolker Lendecke2011-03-061-7/+0
|
* s3-idmap-ldap: private_data is a talloc child of domVolker Lendecke2011-03-061-10/+0
|
* s3-idmap-rid: private_data is a talloc child of domVolker Lendecke2011-03-061-1/+0
|
* s3: Remove an unnecessary if-statementVolker Lendecke2011-03-061-3/+1
|
* s3: Remove an obsolete commentVolker Lendecke2011-03-061-5/+0
|
* s3: Remove some unused codeVolker Lendecke2011-03-061-21/+0
|
* s3: Remove unused args from nss_get_info_cachedVolker Lendecke2011-03-063-7/+4
|
* s3: Remove unused args from nss_get_infoVolker Lendecke2011-03-062-2/+1
|
* s3: Remove unused args from get_nss_infoVolker Lendecke2011-03-065-9/+1
|
* s3: Fix uninitialized variablesVolker Lendecke2011-03-051-1/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 5 17:25:43 CET 2011 on sn-devel-104
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3-server_id: only include server_id where needed.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-284-0/+4
|
* s3: Use poll in winbindVolker Lendecke2011-02-281-22/+29
|
* s3: Fix a typoVolker Lendecke2011-02-271-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 20:14:20 CET 2011 on sn-devel-104
* s3: Fix a commentVolker Lendecke2011-02-271-1/+1
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-275-30/+30
|
* s3: Use strndup in parse_nss_paramVolker Lendecke2011-02-271-13/+2
|
* s3: properly find our standard nss_info backendsVolker Lendecke2011-02-271-0/+13
| | | | | | Right now, the nss_info backends are tied to the idmap backends (which is wrong IMHO). In the domain child we don't load the idmap backend anymore, so we don't have the nss info modules. This needs fixing properly.
* s3: Fix a debug messageVolker Lendecke2011-02-271-2/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 16:59:19 CET 2011 on sn-devel-104
* s3: Fix 64-bit errorsVolker Lendecke2011-02-231-4/+8
| | | | | | | | | Casting those variables will lead to sscanf believing that it sees pointers to unsigned longs. These might be 64 bit long, thus sscanf will overwrite memory it should not overwrite. Assigning the vars later is okay, there we get automatic type conversion. C can be nasty ... Christian, please check!
* s3: Fix an uninitialized variable useVolker Lendecke2011-02-231-1/+2
| | | | | | The "goto error;" lead to the invalid talloc_free. Christian, please check!
* s3:idmap:autorid prevent fatal configuration changesChristian Ambach2011-02-231-2/+112
| | | | | | | | | | | | as the autorid module relies on a stable minimum uid/gid value and rangesize, it now saves the values used at first successful start and refuses to work if these values get changed in smb.conf later. Changing the values after the first mapping was done will result in unpredictable behaviour. Another check covers the maximum uid value. If this gets decreased later and domain range mappings already exist that would result in uid values higher than the new uid value, initialization will be aborted
* s3-proto: remove some prototypes of non-existing functions.Günther Deschner2011-02-233-6/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104
* s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett2011-02-221-8/+8
| | | | | | | | | | | | | | | | | | | | | These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Convert init_system_info to NTSTATUSVolker Lendecke2011-02-201-2/+4
|
* s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell2011-02-181-21/+21
| | | | | | | | | | this brings the s3 waf build much closer to the proposed s3build top level build, using the same bld.SAMBA3_*() rules There are a few renames of subsystems in here, with a 3 suffix where it would create a conflict. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* nsswitch: make wb_reqtrans a common subsystem.Günther Deschner2011-02-172-2/+2
| | | | Guenther
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-131-4/+4
|
* s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the ↵Günther Deschner2011-02-111-9/+11
| | | | | | | | | builds w/o ldap. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104
* s3: give ../librpc/ndr/util.c its own header.Günther Deschner2011-02-101-0/+1
| | | | Guenther
* s3: Fix some nonempty blank lines and some typosVolker Lendecke2011-02-091-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
* pam: share pam errors in a common location.Günther Deschner2011-02-081-0/+1
| | | | Guenther
* s3-winbindd: let winbind try to use samlogon validation level 6. (bug #7945)Günther Deschner2011-02-043-2/+59
| | | | | | | | | | | | | The benefit of this that it makes us more robust to secure channel resets triggered from tools outside the winbind process. Long term we need to have a shared tdb secure channel store though as well. Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 4 18:11:04 CET 2011 on sn-devel-104
* s3:winbindd: fix segfaults on addrchange errors and make DEBUG() statements ↵Stefan Metzmacher2011-02-041-3/+6
| | | | | | more usefull metze
* Fix value overflow (one too many 'f's ).Jeremy Allison2011-02-031-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 3 03:35:32 CET 2011 on sn-devel-104
* s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_rpc.c.Günther Deschner2011-02-021-7/+12
| | | | Guenther
* s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_samr.c.Günther Deschner2011-02-021-13/+25
| | | | Guenther
* s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbind_cm.cGünther Deschner2011-02-021-29/+35
| | | | Guenther
* s3: Fix a typoVolker Lendecke2011-02-021-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 2 18:10:45 CET 2011 on sn-devel-104
* s3:winbindd: catch lookup_names/sids schannel errors over ncacn_ip_tcp (bug ↵Stefan Metzmacher2011-02-021-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | #7944) If winbindd connects to a domain controller it doesn't establish the lsa connection over ncacn_ip_tcp direct. This happens only on demand. If someone does a 'net rpc testjoin' and then a wbinfo -n DOMAIN\\administrator, we'll get DCERPC faults with ACCESS_DENIED/SEC_PKG_ERROR, because winbindd's in memory copy of the schannel session key is invalidated. This problem can also happen on other calls, but the lookup_names/sids calls on thet lsa ncacn_ip_tcp connection are the most important ones. The long term fix is to store the schannel client state in a tdb, but for now it's enough to catch the error and invalidate the all connections to the dc and reestablish the schannel session key. The fix for bug 7568 (commit be396411a4e1f3a174f8a44b6c062d834135e70a) made this worse, as it assumes winbindd's in memory session key is always the current one. metze
* s3: Remove superfluous ;Günther Deschner2011-02-021-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104
* s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_msrpc.c.Günther Deschner2011-02-021-24/+59
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 14:14:43 CET 2011 on sn-devel-104
* s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_pam.c.Günther Deschner2011-02-021-13/+37
| | | | Guenther
* s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_rpc.c.Günther Deschner2011-02-021-58/+134
| | | | Guenther
* s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_samr.c.Günther Deschner2011-02-021-43/+92
| | | | Guenther
* s3-winbind: prefer dcerpc_samr_X functions in invalidate_cm_connection.Günther Deschner2011-02-021-3/+6
| | | | Guenther
* s3-winbind: prefer dcerpc_samr_X functions in cm_connect_sam.Günther Deschner2011-02-021-13/+35
| | | | Guenther