summaryrefslogtreecommitdiffstats
path: root/source/auth
Commit message (Collapse)AuthorAgeFilesLines
* Use netr_SamInfo3 in remaining places.Günther Deschner2008-02-171-5/+5
| | | | Guenther
* Use netr_SamInfo3 in make_server_info_info3().Günther Deschner2008-02-171-25/+27
| | | | Guenther
* Allow auth_ntlmssp_end() to ignore null pointers passed in.Jeremy Allison2008-02-141-1/+6
| | | | Jeremy.
* auth_winbind: use wbcAuthenticateUserEx()Stefan Metzmacher2008-02-132-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 Seeger2008-02-051-1/+1
| | | | Karolin
* Always pass a TALLOC_CTX to str_list_make and str_list_copyVolker Lendecke2008-02-041-10/+26
|
* tiny simplificationVolker Lendecke2008-02-041-5/+3
|
* Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider2008-01-231-1/+1
| | | | Interop fixes for AD specific flags. Original patch from Todd Stetcher.
* Fix CID 460 - resource leak on error.Jeremy Allison2008-01-081-0/+1
| | | | Jeremy.
* Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.Michael Adam2008-01-092-34/+52
| | | | Michael
* More logical operations on booleans. IBM checker.Jeremy Allison2008-01-042-2/+6
| | | | Jeremy.
* Fix a panicVolker Lendecke2007-12-291-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 memcacheVolker Lendecke2007-12-281-3/+15
|
* Remove static zerosVolker Lendecke2007-12-281-3/+6
|
* Fix "may be used uninitialized" compiler warnings.James Peach2007-12-221-3/+3
|
* De-couple smbd from staticly linking against winbindd client files.Gerald (Jerry) Carter2007-12-211-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 variableVolker Lendecke2007-12-191-1/+2
| | | | All callers are replaced by Get_Pwnam_alloc
* Correctly define prototypes for accessor functions.Jeremy Allison2007-12-171-3/+3
| | | | Jeremy.
* More static fstring removal.Jeremy Allison2007-12-171-33/+116
| | | | Jeremy.
* Reformat: Remove trailing spaces.Michael Adam2007-12-171-47/+47
| | | | Michael
* Fix flags in caller of lookup_name() in create_builtin_administrators().Michael Adam2007-12-171-1/+2
| | | | Michael
* Remove another static string and static passwd.Jeremy Allison2007-12-161-19/+22
| | | | Jeremy.
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-152-7/+8
|
* Use sid_string_talloc where we have a tmp talloc ctxVolker Lendecke2007-12-151-2/+2
|
* Fix typo in debug statement.Michael Adam2007-12-131-1/+1
| | | | Michael
* Rename get_trust_pw() to get_trust_pw_hash().Michael Adam2007-12-131-2/+2
| | | | Michael
* Let get_trust_pw() determine the machine_account_name to use.Michael Adam2007-12-131-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 errorVolker Lendecke2007-12-101-0/+2
|
* Fix two incompatible pointer warningsVolker Lendecke2007-12-081-1/+1
| | | | Jeremy, please check
* Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2007-12-073-31/+44
| | | | | No more temptations to use static length strings. Jeremy.
* Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison2007-11-271-3/+3
| | | | Jeremy.
* Remove pstring from auth/*Jeremy Allison2007-11-142-16/+43
| | | | Jeremy.
* Remove last pstring from smbd/*.cJeremy Allison2007-11-131-1/+1
| | | | Jeremy.
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-031-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 Allison2007-11-031-1/+1
| | | | Jeremy.
* Stop get_peer_addr() and client_addr() from using globalJeremy Allison2007-11-031-1/+2
| | | | | statics. Part of my library cleanups. Jeremy.
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-242-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 interestingJeremy Allison2007-10-1811-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 Adam2007-10-121-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 avoidingJeremy Allison2007-10-101-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-testGerald (Jerry) Carter2007-10-101-9/+4
|
* r25598: Add missing become_root/unbecome_root around calls of add_aliases.samba-misc-tags/initial-v3-2-unstableMichael Adam2007-10-101-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 Carter2007-10-101-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 whenGerald Carter2007-10-101-4/+6
| | | | using the "lanman auth = no". Tested by Guenter Kukkukk.
* r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter2007-10-101-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 Deschner2007-10-101-32/+6
| | | | | | | | sid_array_from_info3() function. Guenther
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-1013-26/+13
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-1014-14/+14
| | | | Jeremy.
* r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison2007-10-101-1/+6
| | | | | Long overdue fix.... Jeremy.