summaryrefslogtreecommitdiffstats
path: root/source/passdb/pdb_get_set.c
Commit message (Collapse)AuthorAgeFilesLines
* r21585: Start syncing the monster that will become 3.0.25pre1Gerald Carter2007-02-281-48/+65
| | | | | | | | Still todo: * release notes * few minor outstanding patches * additional idmap man pages
* r19499: sync up changes for 3.0.23dGerald Carter2006-10-261-22/+2
|
* r19018: staging for a 3.0.23d on Tuesday (I think we have sufficient changes ↵Gerald Carter2006-10-011-3/+23
| | | | to warrant one)
* r16418: Pull in more Klocwork fixes (up to r16415)Gerald Carter2006-06-201-131/+6
|
* r16254: pulling klocwork fixes for 3.0.23rc3 (current up to r16251)Gerald Carter2006-06-151-215/+112
|
* r15837: starting sync up for 3.0.23rc1 (in sync with SAMBA_3_0 r15822)Gerald Carter2006-05-231-7/+8
|
* r14780: Fix coverity bug #272, null deref.Jeremy Allison2006-03-291-0/+8
| | | | Jeremy.
* r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16. Günther Deschner2006-02-271-2/+2
| | | | | | | | * Fix a couple of related parsing issues. * in the info3 reply in a samlogon, return the ACB-flags (instead of returning zero) Guenther
* r13679: Commiting the rm_primary_group.patch posted on samba-technicalGerald Carter2006-02-241-32/+84
| | | | | | | | | | * ignore the primary group SID attribute from struct samu* * generate the primary group SID strictlky from the Unix primary group when dealing with passdb users * Fix memory leak in original patch caused by failing to free a talloc * * add wrapper around samu_set_unix() to prevent exposing the create BOOL to callers. Wrappers are samu_set_unix() and samu-allic_rid_unix()
* r13601: * Remove unused code from pdb_ldap.cGerald Carter2006-02-211-32/+4
| | | | | | | | | * Add a 'struct passwd *' to the struct samu for later reference (I know this may be controversial but its easily reverted which is is why I'm checking this is as a seaparate patch before I get too deep). * Remove unix_homedir from struct samu {} and update the pdb wrapper functions associated with it.
* r13576: This is the beginnings of moving the SAM_ACCOUNT data structure Gerald Carter2006-02-201-238/+238
| | | | | | | | | | | | | | | | | | | | | | | to make full use of the new talloc() interface. Discussed with Volker and Jeremy. * remove the internal mem_ctx and simply use the talloc() structure as the context. * replace the internal free_fn() with a talloc_destructor() function * remove the unnecessary private nested structure * rename SAM_ACCOUNT to 'struct samu' to indicate the current an upcoming changes. Groups will most likely be replaced with a 'struct samg' in the future. Note that there are now passbd API changes. And for the most part, the wrapper functions remain the same. While this code has been tested on tdb and ldap based Samba PDC's as well as Samba member servers, there are probably still some bugs. The code also needs more testing under valgrind to ensure it's not leaking memory. But it's a start......
* r13545: A patch which I think it's time has come. VOlker, we can talk aboutGerald Carter2006-02-171-1/+11
| | | | | | | | | | | | | | | | this more but it gets around the primary group issue. * don't map a SID to a name from the group mapping code if the map doesn't have a valid gid. This is only an issue in a tdb setup * Always allow S-1-$DOMAIN-513 to resolve (just like Windows) * if we cannot resolve a users primary GID to a SID, then set it to S-1-$DOMAIN-513 * Ignore the primary group SID inside pdb_enum_group_memberships(). Only look at the Unix group membersip. Jeremy, this fixes a fresh install startup for smbd as far as my tests are concerned.
* r13316: Let the carnage begin....Gerald Carter2006-02-031-4/+8
| | | | Sync with trunk as off r13315
* r10656: BIG merge from trunk. Features not copied overGerald Carter2005-09-301-4/+4
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2005-06-241-142/+142
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2005-03-311-1/+1
| | | | | | | | | | | | | | | | | | 1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task.
* r5349: After talking with Jerry, reverted the addition of account policies toGünther Deschner2005-02-121-3/+3
| | | | | | passdb in 3_0 (they are still in trunk). Guenther
* r5015: (based on abartlet's original patch to restrict password changes)Gerald Carter2005-01-261-1/+1
| | | | | | | | | * added SE_PRIV checks to access_check_samr_object() in order to deal with the run-time security descriptor and their interaction with user rights * Reordered original patch in _samr_set_userinfo[2] to still allow root/administrative password changes for users and machines.
* r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).Günther Deschner2005-01-221-3/+3
| | | | | | | | Does automated migration from account_policy.tdb v1 and v2 and offers a pdbedit-Migration interface. Jerry, please feel free to revert that if you have other plans. Guenther
* r4736: small set of merges from rtunk to minimize the diffsGerald Carter2005-01-141-18/+0
|
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2004-12-071-1/+1
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r1661: Changed the password history format so that each history entryJeremy Allison2004-08-051-9/+28
| | | | | | | consists of a 16 byte salt, followed by the 16 byte MD5 hash of the concatination of the salt plus the NThash of the historical password. Allows these to be exposed in LDAP without security issues. Jeremy.
* r1610: Patch from Richard Renard <rrenard@idealx.com>. Ensure weJeremy Allison2004-07-301-10/+4
| | | | | | save the password as it is being changed into the password history list. Jeremy.
* r1394: Const fix.Jeremy Allison2004-07-081-2/+2
| | | | Jeremy.
* r1388: Adding password history code for ldap backend, based on a patch fromJeremy Allison2004-07-071-3/+87
| | | | | | | | | "Jianliang Lu" <j.lu@tiesse.com>. Multi-string attribute changed to linearised pstring due to ordering issues. A few other changes to fix race conditions. I will add the tdb backend code next. This code compiles but has not yet been tested with password history policy set to greater than zero. Targeted for 3.0.6. Jeremy.
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-041-1/+18
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+1158
metze