Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use netr_SamInfo3 in remaining places. | Günther Deschner | 2008-02-17 | 1 | -5/+5 |
| | | | | Guenther | ||||
* | Use netr_SamInfo3 in make_server_info_info3(). | Günther Deschner | 2008-02-17 | 1 | -25/+27 |
| | | | | Guenther | ||||
* | Allow auth_ntlmssp_end() to ignore null pointers passed in. | Jeremy Allison | 2008-02-14 | 1 | -1/+6 |
| | | | | Jeremy. | ||||
* | auth_winbind: use wbcAuthenticateUserEx() | Stefan Metzmacher | 2008-02-13 | 2 | -69/+277 |
| | | | | | | | | smbd doesn't need $(WBCOMMON_OBJ) anymore, it works with any libwbclient.so now and may talk to an older winbindd. metze | ||||
* | Fix typo. | Karolin Seeger | 2008-02-05 | 1 | -1/+1 |
| | | | | Karolin | ||||
* | Always pass a TALLOC_CTX to str_list_make and str_list_copy | Volker Lendecke | 2008-02-04 | 1 | -10/+26 |
| | |||||
* | tiny simplification | Volker Lendecke | 2008-02-04 | 1 | -5/+3 |
| | |||||
* | Windows 2008 (Longhorn) auth2 flag fixes. | Andreas Schneider | 2008-01-23 | 1 | -1/+1 |
| | | | | Interop fixes for AD specific flags. Original patch from Todd Stetcher. | ||||
* | Fix CID 460 - resource leak on error. | Jeremy Allison | 2008-01-08 | 1 | -0/+1 |
| | | | | Jeremy. | ||||
* | Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS. | Michael Adam | 2008-01-09 | 2 | -34/+52 |
| | | | | Michael | ||||
* | More logical operations on booleans. IBM checker. | Jeremy Allison | 2008-01-04 | 2 | -2/+6 |
| | | | | Jeremy. | ||||
* | Fix a panic | Volker Lendecke | 2007-12-29 | 1 | -1/+1 |
| | | | | | get_root_nt_token asks for "struct nt_user_token". talloc_get_type is not smart enough to see that this is the same as NT_USER_TOKEN... :-) | ||||
* | Convert get_root_nt_token to memcache | Volker Lendecke | 2007-12-28 | 1 | -3/+15 |
| | |||||
* | Remove static zeros | Volker Lendecke | 2007-12-28 | 1 | -3/+6 |
| | |||||
* | Fix "may be used uninitialized" compiler warnings. | James Peach | 2007-12-22 | 1 | -3/+3 |
| | |||||
* | De-couple smbd from staticly linking against winbindd client files. | Gerald (Jerry) Carter | 2007-12-21 | 1 | -3/+3 |
| | | | | | | | | 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. | ||||
* | Remove Get_Pwnam and its associated static variable | Volker Lendecke | 2007-12-19 | 1 | -1/+2 |
| | | | | All callers are replaced by Get_Pwnam_alloc | ||||
* | Correctly define prototypes for accessor functions. | Jeremy Allison | 2007-12-17 | 1 | -3/+3 |
| | | | | Jeremy. | ||||
* | More static fstring removal. | Jeremy Allison | 2007-12-17 | 1 | -33/+116 |
| | | | | Jeremy. | ||||
* | Reformat: Remove trailing spaces. | Michael Adam | 2007-12-17 | 1 | -47/+47 |
| | | | | Michael | ||||
* | Fix flags in caller of lookup_name() in create_builtin_administrators(). | Michael Adam | 2007-12-17 | 1 | -1/+2 |
| | | | | Michael | ||||
* | Remove another static string and static passwd. | Jeremy Allison | 2007-12-16 | 1 | -19/+22 |
| | | | | Jeremy. | ||||
* | Replace sid_string_static by sid_string_dbg in DEBUGs | Volker Lendecke | 2007-12-15 | 2 | -7/+8 |
| | |||||
* | Use sid_string_talloc where we have a tmp talloc ctx | Volker Lendecke | 2007-12-15 | 1 | -2/+2 |
| | |||||
* | Fix typo in debug statement. | Michael Adam | 2007-12-13 | 1 | -1/+1 |
| | | | | Michael | ||||
* | Rename get_trust_pw() to get_trust_pw_hash(). | Michael Adam | 2007-12-13 | 1 | -2/+2 |
| | | | | Michael | ||||
* | Let get_trust_pw() determine the machine_account_name to use. | Michael Adam | 2007-12-13 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | Up to now each caller used its own logic. This eliminates code paths where there was a special treatment of the following situation: the domain given is not our workgroup (i.e. our own domain) and we are not a DC (i.e. it is not a typical trusted domain situation). In situation the given domain name was previously used as the machine account name, resulting in an account name of DOMAIN\\DOMAIN$, which does not seem very reasonable to me. get_trust_pw would not have obtained a password in this situation anyways. I hope I have not missed an important point here! Michael | ||||
* | Correctly unbecome_root() on error | Volker Lendecke | 2007-12-10 | 1 | -0/+2 |
| | |||||
* | Fix two incompatible pointer warnings | Volker Lendecke | 2007-12-08 | 1 | -1/+1 |
| | | | | Jeremy, please check | ||||
* | Remove next_token - all uses must now be next_token_talloc. | Jeremy Allison | 2007-12-07 | 3 | -31/+44 |
| | | | | | No more temptations to use static length strings. Jeremy. | ||||
* | Remove pstrings from everything except srv_spoolss_nt.c. | Jeremy Allison | 2007-11-27 | 1 | -3/+3 |
| | | | | Jeremy. | ||||
* | Remove pstring from auth/* | Jeremy Allison | 2007-11-14 | 2 | -16/+43 |
| | | | | Jeremy. | ||||
* | Remove last pstring from smbd/*.c | Jeremy Allison | 2007-11-13 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Remove most of the remaining globals out of lib/util_sock.c. | Jeremy Allison | 2007-11-03 | 1 | -2/+2 |
| | | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy. | ||||
* | I can't get away without a 'length' arg. :-). | Jeremy Allison | 2007-11-03 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Stop get_peer_addr() and client_addr() from using global | Jeremy Allison | 2007-11-03 | 1 | -1/+2 |
| | | | | | statics. Part of my library cleanups. Jeremy. | ||||
* | This is a large patch (sorry). Migrate from struct in_addr | Jeremy Allison | 2007-10-24 | 2 | -15/+15 |
| | | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 11 | -70/+70 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | Add become_root/unbecome_root around one call of getsampwsid() | Michael Adam | 2007-10-12 | 1 | -1/+6 |
| | | | | | | | | | in create_token_from_username(). This caused set_nt_acl to partially fail in certain circumstances. This is expected to bring an improvement to bug #4308. Michael | ||||
* | Add start of IPv6 implementation. Currently most of this is avoiding | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | | | | IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. | ||||
* | [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-test | Gerald (Jerry) Carter | 2007-10-10 | 1 | -9/+4 |
| | |||||
* | r25598: Add missing become_root/unbecome_root around calls of add_aliases.samba-misc-tags/initial-v3-2-unstable | Michael Adam | 2007-10-10 | 1 | -0/+4 |
| | | | | | | | | | | This triggered a "cannot access LDAP when not root"-bug with "passdb backend = ldap" and "winbind nested groups = yes". This *might* be a step towards fixing bug #4308, since the failure was observerd when triggered by acl code. Michael | ||||
* | r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree. | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | | | | | | The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). | ||||
* | r25401: BUG 4982: Don't delete lanman hashes on invalid logins when | Gerald Carter | 2007-10-10 | 1 | -4/+6 |
| | | | | using the "lanman auth = no". Tested by Guenter Kukkukk. | ||||
* | r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags, | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| | | | | and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. | ||||
* | r23928: Merge all "copy-info3-groups-to-sid-array" blocks to a ↵ | Günther Deschner | 2007-10-10 | 1 | -32/+6 |
| | | | | | | | | sid_array_from_info3() function. Guenther | ||||
* | r23801: The FSF has moved around a lot. This fixes their Mass Ave address. | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-10-10 | 13 | -26/+13 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 14 | -14/+14 |
| | | | | Jeremy. | ||||
* | r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS. | Jeremy Allison | 2007-10-10 | 1 | -1/+6 |
| | | | | | Long overdue fix.... Jeremy. |