summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Simplify pdb_set_plaintext_passwd: pwhistory==NULL can not happen anymoreVolker Lendecke2010-01-071-24/+19
|
* s3: Simplify pdb_set_plaintext_passwd: pwHistLen==0 was checked aboveVolker Lendecke2010-01-071-2/+4
|
* s3: Add a paranoia check to pdb_set_plaintext_passwd()Volker Lendecke2010-01-071-0/+5
|
* s3: Simplify pdb_set_plaintext_passwd() by removing a redundant conditionVolker Lendecke2010-01-071-22/+11
| | | | | | | | | if (current_history_len != pwHistLen) { if (current_history_len < pwHistLen) { } } The second "if" is a bit pointless here
* s3: Simplify pdb_set_plaintext_passwd: memcpy deals fine with 0 bytesVolker Lendecke2010-01-071-5/+2
|
* s3: Simplify pdb_set_plaintext_passwd by using talloc_zero_arrayVolker Lendecke2010-01-071-5/+2
|
* s3: Make use of talloc_array in pdb_set_plaintext_passwd()Volker Lendecke2010-01-071-2/+3
|
* s3: Simplify pdb_set_plaintext_passwd() a bitVolker Lendecke2010-01-071-66/+63
| | | | | | | | | | Remove an indentation by the early return in + if (pwHistLen == 0) { + /* Set the history length to zero. */ + pdb_set_pw_history(sampass, NULL, 0, PDB_CHANGED); + return true; + }
* s3: Simplify pdb_set_plaintext_passwd() slightlyVolker Lendecke2010-01-071-56/+83
| | | | | | | | | | | | | | No functional change, this just removes an indentation level by the early "return True;" in + if ((pdb_get_acct_ctrl(sampass) & ACB_NORMAL) == 0) { + /* + * No password history for non-user accounts + */ + return true; + } Volker
* s3: Fix a typoVolker Lendecke2010-01-071-1/+1
|
* s3: Avoid a memset(, 0, ) callVolker Lendecke2010-01-071-2/+1
|
* s3:pdb_set_pw_history: free the old history before setting the new.Michael Adam2010-01-071-0/+1
| | | | | | | | This is not strictly necessary, since this only leaks into the struct samu, and this is not so long-lived in the code path that changes the password, but it definitely correct and does not harm. Michael
* s3:pdb_ldap:init_sam_from_ldap: untangle an assignment from the checkMichael Adam2010-01-071-3/+3
| | | | | | to enhance readability and denbuggability. Michael
* s3:lib/time: remove TIME_T_MIN/MAX definesBjörn Jacke2010-01-071-8/+0
| | | | we already get them from lib/util/time.h
* ѕ3:lib/time: replace make_dos_ and put_dos_ functions with those from lib/util/Björn Jacke2010-01-071-89/+6
|
* s3:lib/time: remoce null_mtime() - use null_time()Björn Jacke2010-01-072-14/+2
|
* s3:lib/time: remove unused nt_time_equalsBjörn Jacke2010-01-072-9/+0
| | | | we have nt_time_equal doing the same in lib/util/
* Second part of the fix for bug #7020 - smbd using 2G memory.Jeremy Allison2010-01-061-0/+7
| | | | | | | | There was a second leak in the processing of the out_data.frag prs_struct. It needs freeing once the current pdu has been returned asynchronously. Jeremy.
* ѕ3:configure: use gettimeofday check from lib/util/Björn Jacke2010-01-061-9/+1
|
* vfs_commit: print warning when no fsync support is thereBjörn Jacke2010-01-061-0/+2
| | | | this one was part of an old patch from jpeach.
* Fix bug #7020 - smbd using 2G memory.Jeremy Allison2010-01-051-0/+10
| | | | | | | | When deferring an async pipe writeX and readX transfer the outstanding request struct onto the conn struct. This needs freeing after the packet is finally processed. Jeremy.
* s3: List trusted domains from wcache when domain is offline.Bo Yang2010-01-061-24/+139
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary ↵Bo Yang2010-01-062-4/+265
| | | | | | backend query. Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume ↵Bo Yang2010-01-068-13/+121
| | | | | | lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response. Signed-off-by: Bo Yang <boyang@samba.org>
* s3 net: Fix up a share type translation and translate some more stringsKai Blin2010-01-051-5/+5
|
* s3 net: Add a few missing gettext calls.Kai Blin2010-01-053-1311/+1089
| | | | | Many many thanks to Adi Roiban from #ubuntu-translators for helping me find and fix my problems with the translations.
* s3: Happy New Year 2010Stefan Metzmacher2010-01-041-1/+1
| | | | metze
* s3: Trim down smbcontrol a bitVolker Lendecke2010-01-031-4/+2
|
* s3: Fix a shadowed variable warningVolker Lendecke2010-01-031-3/+3
|
* s3: Fix an uninitialized variable warningVolker Lendecke2010-01-031-1/+2
|
* s3: Convert cli_ulogoff to the async APIVolker Lendecke2010-01-033-19/+89
|
* s3: Convert cli_tdis to the async APIVolker Lendecke2010-01-036-26/+106
|
* s3: Slightly simplify winbindd_dual_ccache_ntlm_authVolker Lendecke2010-01-031-15/+9
| | | | data_blob_const can't fail
* s3: Fix some nonempty blank linesVolker Lendecke2010-01-031-14/+14
|
* s3: Remove some unused codeVolker Lendecke2010-01-031-95/+0
|
* s3: Convert cli_sesssetup_ntlmssp to the async APIVolker Lendecke2010-01-031-92/+196
|
* s3: NT_STATUS_MORE_PROCESSING_REQUIRED is a valid sesssetup return valueVolker Lendecke2010-01-031-9/+23
|
* s3: Convert cli_session_setup_kerberos to the async APIVolker Lendecke2010-01-031-83/+285
| | | | | This is still cheated, acquiring the ticket is not async yet, but the SMB part is
* s3: Fix a typoVolker Lendecke2010-01-021-1/+1
|
* s3: simplify find_root_domain, find_our_domain() never failsVolker Lendecke2010-01-021-4/+2
|
* s3: Use global_sid_Builtin in find_builtin_domainVolker Lendecke2010-01-021-4/+1
|
* s3: Avoid adding a domain twiceVolker Lendecke2010-01-021-6/+7
| | | | If we found a match with sid==NULL, we ended up adding the domain twice
* s3: Make free_domain_list() staticVolker Lendecke2010-01-022-2/+1
|
* s3: Adapt sid_dup_talloc to README.CodingVolker Lendecke2010-01-021-8/+9
|
* s3: Introduce domain_is_forest_root() helper functionVolker Lendecke2010-01-023-8/+12
| | | | Hopefully this makes the flag tests a bit more understandable
* Prevent NULL dereference if group has no membersJim McDonough2009-12-301-4/+4
|
* net: Add some German translationAndré Hentschel2009-12-301-198/+522
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s3:ntlmssp: change get_challange() to return NTSTATUSStefan Metzmacher2009-12-293-7/+13
| | | | metze
* s3:ntlmssp: remove unused p24 variable from ntlmssp_sign_init()Stefan Metzmacher2009-12-291-2/+0
| | | | metze
* s3:ntlmssp: move some indentation in ntlmssp_sign.cStefan Metzmacher2009-12-291-19/+19
| | | | metze