Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | winbind: use a struct element for WBFLAG_PAM_UNIX_NAME | Stefan Metzmacher | 2008-02-28 | 2 | -2/+4 |
| | | | | | | | | To not conflict with WBFLAG_PAM_INFO3_TEXT. This should fix pam_winbind. metze | ||||
* | Fix caller of node_status_query() to use sockaddr_storage(). | Michael Adam | 2008-02-27 | 1 | -3/+5 |
| | | | | | | Caller is hidden inside an #ifdef . Michael | ||||
* | Fix a C++ warning | Volker Lendecke | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵ | Jeremy Allison | 2008-02-15 | 2 | -38/+95 |
|\ | | | | | | | v3-2-test | ||||
| * | wbinfo: ask wbcAuthenticateUserEx() for user info to test the more complex ↵ | Stefan Metzmacher | 2008-02-15 | 1 | -1/+4 |
| | | | | | | | | | | | | code path metze | ||||
| * | libwbclient: let wbcAuthenticateUser() use wbcAuthenticateUserEx() | Stefan Metzmacher | 2008-02-15 | 1 | -21/+7 |
| | | | | | | | | metze | ||||
| * | libwbclient: implement WBC_AUTH_USER_LEVEL_PLAIN in wbcAuthenticateUserEx() | Stefan Metzmacher | 2008-02-15 | 1 | -4/+36 |
| | | | | | | | | metze | ||||
| * | libwbclient: wbcAuthenticateUserEx() be more strict regarding invalid parameters | Stefan Metzmacher | 2008-02-15 | 1 | -12/+48 |
| | | | | | | | | metze | ||||
* | | Fix "warning: 'cmd' may be used uninitialized in this function" | Jeremy Allison | 2008-02-14 | 1 | -0/+3 |
|/ | | | | Jeremy. | ||||
* | wbinfo: use wbcAuthenticateUserEx() | Stefan Metzmacher | 2008-02-13 | 1 | -47/+43 |
| | | | | metze | ||||
* | libwbclient: add wbcAuthenticateUserEx() function | Stefan Metzmacher | 2008-02-13 | 3 | -1/+460 |
| | | | | | | This function will be used by auth_winbind.c. metze | ||||
* | nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros | Stefan Metzmacher | 2008-02-13 | 2 | -30/+8 |
| | | | | metze | ||||
* | libwbclient: implement wbcErrorString() | Stefan Metzmacher | 2008-02-11 | 2 | -1/+35 |
| | | | | metze | ||||
* | The krb5 locator should now be correctly able to handle | Jeremy Allison | 2008-02-05 | 1 | -4/+4 |
| | | | | | | | IPV6, so (a) use the correct #ifdef (it's HAVE_IPV6, not HAVE_IPv6) and (b) don't deliberately terminate on an IPv6 address family. Jeremy. | ||||
* | Remove unused marshalling for SAMR_CONNECT. | Günther Deschner | 2008-02-05 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | Use the proper boolean constants in wbinfo.c . | Michael Adam | 2008-02-04 | 1 | -73/+73 |
| | | | | Michael | ||||
* | Reformatting: Fix spacing in wbinfo.c . | Michael Adam | 2008-02-04 | 1 | -86/+85 |
| | | | | | | | This fixes mixed tabs/spaces and trailing whitespaces I just ran across. Michael | ||||
* | Prevent a segfault when "wbinfo -a" is called without password. | Michael Adam | 2008-02-04 | 1 | -1/+3 |
| | | | | | | | | wbcAuthenticateUser segfaults when passed NULL as password. This only changes the caller in wbinfo.c to pass an empty password string to wbcAuthenticateUser(). Michael | ||||
* | NetBSD needs PAM_SM_SESSION | Volker Lendecke | 2008-02-01 | 1 | -0/+1 |
| | | | | Otherwise no prototype for pam_sm_close_session is defined | ||||
* | Fix build warning. | Günther Deschner | 2008-01-30 | 1 | -1/+0 |
| | | | | Guenther | ||||
* | Fix uninitialized variables | Volker Lendecke | 2008-01-29 | 2 | -15/+15 |
| | | | | | | response.extra_data.data is not initialized on the first error path Found by the IBM checker | ||||
* | Allow NULL request and/or response pointers to be passed to ↵ | Gerald W. Carter | 2008-01-29 | 1 | -5/+1 |
| | | | | | | wbcRequestResponse(). This is a valid parameter set for things like setpwent() and ping(). | ||||
* | Fix missing error check that caused crash when winbindd not running. | Jeremy Allison | 2008-01-24 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | libwbclient: use the same style in each switch case for the error mapping | Stefan Metzmacher | 2008-01-21 | 1 | -2/+2 |
| | | | | metze | ||||
* | Finally enable pidl generated SAMR & NETLOGON headers and clients. | Günther Deschner | 2008-01-17 | 3 | -17/+18 |
| | | | | Guenther | ||||
* | nsswitch/: we don't need socket or nss wrapper in the winbind client code | Stefan Metzmacher | 2008-01-15 | 1 | -0/+8 |
| | | | | | | | | As we don't need socket wrapper of nss wrapper in the winbind client code we disable the function macros so that we don't endup with swrap_close() or similar functions. metze | ||||
* | libwbclient: move wbc_err.h into wbclient.h as we only install one header | Stefan Metzmacher | 2008-01-15 | 2 | -52/+26 |
| | | | | | | This makes the installed wbclient.h header usable. metze | ||||
* | Some coding convention pedantism. | Günther Deschner | 2008-01-03 | 5 | -17/+17 |
| | | | | Guenther | ||||
* | Fix some C++ warnings (patch was Volker's) - implicit case from void* to char* | Gerald (Jerry) Carter | 2008-01-02 | 1 | -2/+4 |
| | |||||
* | Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory. | Gerald (Jerry) Carter | 2008-01-02 | 2 | -22/+19 |
| | | | | | Follows existing convention that all returned memory should be freed with wbcFreeMemory() and not directly with free(). Noticed by Volker. Txs. | ||||
* | Fix wbcAllocate[GU]id | Volker Lendecke | 2007-12-23 | 1 | -12/+14 |
| | | | | wbcRequestResponse() returns a wbcErr, not NSS_STATUS | ||||
* | Fix wbcPing() | Volker Lendecke | 2007-12-23 | 1 | -1/+9 |
| | | | | | Without request and response, wbcRequestResponse() will always return WBC_ERR_INVALID_PARAM, so the ping will never reach winbind. | ||||
* | Fix const warning. | Jeremy Allison | 2007-12-21 | 1 | -5/+8 |
| | | | | Jeremy. | ||||
* | Compile fix: Correct use of wbcDomainInfo() after function signature change. | Gerald (Jerry) Carter | 2007-12-21 | 1 | -1/+1 |
| | | | | | Also fixes a doxygen warngin about an undocumented parameter in the same function. | ||||
* | De-couple smbd from staticly linking against winbindd client files. | Gerald (Jerry) Carter | 2007-12-21 | 2 | -546/+64 |
| | | | | | | | | Implements a wrapper layer in winbind_util.c which are just stubs if compiled --without-winbind. When building with winbindd, it is now required to build the libwbclient DSO first (in the Makefile) and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the library PATH. | ||||
* | Add files for new LGPL libwbclient DSO implementing the Winbind client API | Gerald (Jerry) Carter | 2007-12-21 | 12 | -0/+3000 |
| | | | | | | | (based on the winbind_struct_protocol.h). The API in incomplete, but sufficient to merge. See wbclienbt.h for the i interface functions. | ||||
* | Only retrieve password policies in pam_auth when WBFLAG_PAM_GET_PWD_POLICY ↵ | Michael Adam | 2007-12-20 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | | | is set. This essentially re-establishes r14496 (2155bb0535656f294bd054d6a0a7d16a9a71c31b) which was undone in r17723 (43bd8c00abb38eb23a1497a255d194fb1bbffffb) for reasons that are unclear to me. Maybe I am being too naive. Now we do again only retrieve the password policy when called from the pam_winbind module. This fixes logons delegated to AD trusted domain controllers: We need to connect to the sam to retrieve the password policy. But auhtenticated session setup is not possible when contacting the trusted domain dc and afterwards, SamrConnect also fails with whatever credentials and method used. Michael | ||||
* | s/sid_to_string/sid_to_fstring/ | Volker Lendecke | 2007-12-15 | 1 | -5/+5 |
| | | | | least surprise for callers | ||||
* | Use sid_to_string directly | Volker Lendecke | 2007-12-15 | 1 | -2/+2 |
| | | | | It seems a bit pointless to do a fstrcpy(dst, sid_string_static(src)) | ||||
* | Replace sid_string_static by sid_string_dbg in DEBUGs | Volker Lendecke | 2007-12-15 | 1 | -1/+1 |
| | |||||
* | wbinfo: use POPT_COMMON_CONFIGFILE | Stefan Metzmacher | 2007-12-14 | 1 | -10/+12 |
| | | | | | | | | | We can't use POPT_COMMON_SAMBA as the -s option is already used by -s, --sid-to-name=SID. Also load the config file after processing the cmdline options metze | ||||
* | winbindd: remove unused WINBINDD_DUMP_MAPS support | Stefan Metzmacher | 2007-12-12 | 2 | -21/+0 |
| | | | | | | | | Also the design of this function was really bad, instead do the dump into a file, the client should get back the list of mappings. metze | ||||
* | winbindd: remove unused WINBINDD_DUAL_NAME2*ID and WINBINDD_DUAL_*ID2NAME calls | Stefan Metzmacher | 2007-12-12 | 1 | -5/+0 |
| | | | | | | | | | WINBINDD_DUAL_UID2NAME WINBINDD_DUAL_NAME2UID WINBINDD_DUAL_GID2NAME WINBINDD_DUAL_NAME2GID metze | ||||
* | Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech ↵ | Jeremy Allison | 2007-12-11 | 1 | -1/+1 |
| | | | | | | | Republic <Jiri.Sasek@Sun.COM> - slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars. Jeremy. | ||||
* | Remove the char[1024] strings from dynconfig. Replace | Jeremy Allison | 2007-12-10 | 2 | -3/+3 |
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. | ||||
* | Remove next_token - all uses must now be next_token_talloc. | Jeremy Allison | 2007-12-07 | 2 | -42/+80 |
| | | | | | No more temptations to use static length strings. Jeremy. | ||||
* | Don't double define fstring. | Jeremy Allison | 2007-12-07 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | Remove pstrings completely except for smbctool (what does this do ?). | Jeremy Allison | 2007-12-07 | 1 | -5/+0 |
| | | | | | Don't build this for now. Jeremy. | ||||
* | Remove more pstrings, from the winbindd protocol def and | Jeremy Allison | 2007-12-03 | 1 | -3/+3 |
| | | | | | inside winbindd. Remove unused pstring types. Jeremy. | ||||
* | Remove pstrings from nsswitch/ and registry/ | Jeremy Allison | 2007-11-26 | 1 | -22/+19 |
| | | | | Jeremy. |