summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-build: fix another build warning with the new ASN1 code.Günther Deschner2008-10-231-2/+5
| | | | Guenther
* netapi: fix add_GROUP_USERS_INFO_X_buffer.Günther Deschner2008-10-231-4/+12
| | | | Guenther
* netapi: fix NetUserGetGroups_r returning partial results.Günther Deschner2008-10-231-2/+3
| | | | Guenther
* s3-samr-server: unify callback convention: _samr_UserSetInfo.Günther Deschner2008-10-231-34/+19
| | | | Guenther
* s3-samr-server: unify callback convention: _samr_QueryDomainInfo.Günther Deschner2008-10-231-32/+18
| | | | Guenther
* s3-samr-server: fix return code in _samr_QueryDisplayInformation.Günther Deschner2008-10-231-1/+1
| | | | Guenther
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-10-233-3/+5
|\
| * s3-build: fix some const build warnings.Günther Deschner2008-10-231-2/+2
| | | | | | | | Guenther
| * netapi: NetGroupEnum_r needs to handle servers with no groups.Günther Deschner2008-10-231-1/+1
| | | | | | | | Guenther
| * s3-samr-server: _samr_DeleteUser needs to wipe out the user_handle on success.Günther Deschner2008-10-231-0/+2
| | | | | | | | Guenther
* | Remove unused copy of tables.plJelmer Vernooij2008-10-231-89/+0
| |
* | Remove unused copy of ndrdump.c.Jelmer Vernooij2008-10-231-445/+0
|/
* s3-samr-server: fix access check in _samr_QuerySecurity().Günther Deschner2008-10-221-1/+1
| | | | Guenther
* s3-build: fix the build.Günther Deschner2008-10-221-2/+2
| | | | Guenther
* Fix net rpc vampire, based on an *amazing* piece of debugging work by ↵Jeremy Allison2008-10-225-45/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Cooper S. Blake" <the_analogkid@yahoo.com>. "I believe I have found two bugs in the 3.2 code and one bug that carried on to the 3.3 branch. In the 3.2 code, everything is located in the utils/net_rpc_samsync.c file. What I believe is the first problem is that fetch_database() is calling samsync_fix_delta_array() with rid_crypt set to true, which means the password hashes are unencrypted from the RID encryption. However, I believe this call is redundant, and the corresponding call for samdump has rid_crypt set to false. So I think the rid_crypt param should be false in fetch_database(). If you follow the code, it makes its way to sam_account_from_delta() where the password hashes are decrypted a second time by calling sam_pwd_hash(). I believe this is what is scrambling my passwords. These methods were refactored somewhere in the 3.3 branch. Now the net_rpc_samsync.c class calls rpc_vampire_internals, which calls libnet/libnet_samsync.c, which calls samsync_fix_delta_array() with rid_crypt always set to false. I think that's correct. But the second bug has carried through in the sam_account_from_delta() function: 208 if (memcmp(r->ntpassword.hash, zero_buf, 16) != 0) { 209 sam_pwd_hash(r->rid, r->ntpassword.hash, lm_passwd, 0); 210 pdb_set_lanman_passwd(account, lm_passwd, PDB_CHANGED); 211 } 212 213 if (memcmp(r->lmpassword.hash, zero_buf, 16) != 0) { 214 sam_pwd_hash(r->rid, r->lmpassword.hash, nt_passwd, 0); 215 pdb_set_nt_passwd(account, nt_passwd, PDB_CHANGED); If you look closely you'll see that the nt hash is going into the lm_passwd variable and the decrypted value is being set in the lanman hash, and the lanman hash is being decrypted and put into the nt hash field. So the LanMan and NT hashes look like they're being put in the opposite fields." Fix this by removing the rid_crypt parameter. Jeremy.
* s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner2008-10-227-408/+494
| | | | Guenther
* s3-asn1/spnego: use OIDs including dots.Günther Deschner2008-10-221-4/+4
| | | | Guenther
* s3: use shared asn1 code.Günther Deschner2008-10-2213-743/+57
| | | | Guenther
* s3-spnego: move spnego defines to spnego.hGünther Deschner2008-10-222-17/+17
| | | | Guenther
* Slightly simplify reply_sesssetup_blob(): Remove an else branchVolker Lendecke2008-10-221-10/+11
|
* Don't push the data out to the client in reply_sesssetup_blob()Volker Lendecke2008-10-221-4/+0
| | | | | | Sending the data at this level breaks the assumption at higher levels that req->outbuf == NULL means this request is deferred. It also breaks potential chaining (Kerberos session setup and tcon X in one request)
* Remove unused header file.Jelmer Vernooij2008-10-221-3/+0
|
* Fix a debug message in send_nt_replies()Volker Lendecke2008-10-221-3/+6
|
* Fix bug 5840: Segfault in "rpcclient lsaaddacctrights"Volker Lendecke2008-10-221-1/+1
|
* Use standard types.Jelmer Vernooij2008-10-222-24/+24
|
* Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.Jeremy Allison2008-10-214-16/+71
| | | | Jeremy.
* Don't include a (relative path) srcdir in samba4-data.mk.Jelmer Vernooij2008-10-213-6/+8
|
* Allow running individual tests in the testsuite, normalize test names, fix ↵Jelmer Vernooij2008-10-212-6/+13
| | | | some tests.
* Use socket wrapper for selftest.pl, find binaries correctly.Jelmer Vernooij2008-10-213-2/+34
|
* Specify skip list to selftest.pl, make make target depend on testJelmer Vernooij2008-10-214-3/+6
| | | | binaries.
* Correctly report when merged-build is used in developer mode.Jelmer Vernooij2008-10-211-0/+1
|
* Merge branch 'selftest' of git://git.samba.org/jelmer/sambaJelmer Vernooij2008-10-216-0/+55
|\
| * Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftestJelmer Vernooij2008-10-205-144/+140
| |\
| * \ Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftestJelmer Vernooij2008-10-208-896/+575
| |\ \
| * | | Add 'selftest' target to Samba 3 that uses the perl selftest code.Jelmer Vernooij2008-10-196-0/+55
| | | |
* | | | Silence undefined variable warnings.Jelmer Vernooij2008-10-211-0/+4
| | | |
* | | | Automatically enable merged build (for more complete 'make test') when ↵Jelmer Vernooij2008-10-211-1/+4
| | | | | | | | | | | | | | | | possible during developer builds.
* | | | Remove duplicate searching of Samba 4 directory for tags.Jelmer Vernooij2008-10-211-8/+0
| | | |
* | | | Fix two trivial typosVolker Lendecke2008-10-211-2/+2
| | | |
* | | | Create a function out of pam_sm_close_session to delete the credentials.Andreas Schneider2008-10-211-120/+135
| | | | | | | | | | | | | | | | | | | | This is the way the creds should be deleted. Now we have back a close_session function which can be used for other things.
* | | | Delete the krb5 ccname variable from the PAM environment if set.Andreas Schneider2008-10-211-0/+8
| | | | | | | | | | | | | | | | | | | | If winbind sets the KRB5CCNAME variable it should unset it when the cache gets destroyed.
* | | | Set the right return value if wbc_status is set to an error.Andreas Schneider2008-10-211-0/+5
| | | |
* | | | s3-build: fix the build.Günther Deschner2008-10-211-2/+2
| | | | | | | | | | | | | | | | Guenther
* | | | s3-lsa-server: fix _lsa_GetUserName.Günther Deschner2008-10-212-9/+23
| | | | | | | | | | | | | | | | Guenther
* | | | Remove the requirement for ldap call made as root. Add in securityJeremy Allison2008-10-202-11/+63
| | | | | | | | | | | | | | | | | | | | checks for all SAMR calls. Jeremy.
* | | | Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2008-10-2018-1674/+224
|\ \ \ \
| * | | | s3-rpcclient: fix cmd_lsa build.Günther Deschner2008-10-201-3/+1
| | | | | | | | | | | | | | | | | | | | Guenther
| * | | | s3-build: re-run make samba3-idl.Günther Deschner2008-10-205-63/+131
| | | | | | | | | | | | | | | | | | | | Guenther
| * | | | idl: merge from s4 lsa.idl to s3.Günther Deschner2008-10-201-20/+40
| | | | | | | | | | | | | | | | | | | | Guenther
| * | | | Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij2008-10-209-8/+12
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source3/include/proto.h