summaryrefslogtreecommitdiffstats
path: root/source3/passdb
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #8561 - Password change settings not fully observed.Jeremy Allison2011-11-162-4/+35
| | | | | Based on commit 3ede4ffe969f806ba2363b62c09673c32a4ec296 in master (with a change to set the header prototype in the correct file).
* First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systemsJeremy Allison2011-07-211-4/+4
| | | | | | | | | | Remove int toupper_ascii(int c); int tolower_ascii(int c); int isupper_ascii(int c); int islower_ascii(int c); and replace with their _m equivalents, as they are identical.
* s3:passdb: add GPL/copyright header to machine_sid.h (cherry picked from ↵Michael Adam2011-06-141-0/+21
| | | | commit c0fc7aa129c25664c76b3fdb4b9150c63fe3dd70)
* s3:passdb/proto.h: add _PASSDB_PROTO_H_ guard (cherry picked from commit ↵Michael Adam2011-06-141-0/+4
| | | | 7d40c88695173e93606546e895731f66b87381d2)
* s3:passdb/proto.h: add GPL/copyright comment header (cherry picked from ↵Michael Adam2011-06-141-0/+36
| | | | commit b3cbcd0eda4fdb993acc63c8cb6923feea067a7d)
* Revert "Fix bug 8196 - Many (newer) header files don't have copyright / GPL ↵Karolin Seeger2011-06-072-64/+0
| | | | | | header comments." This reverts commit 6df3ff20620b3262ff232a478312c61a207ed4ff.
* Fix bug 8196 - Many (newer) header files don't have copyright / GPL header ↵Jeremy Allison2011-06-072-0/+64
| | | | | | comments. Add missing GPL headers and (C) statements.
* Fix bug #7054 - X account flag does not work when pwdlastset is 0.Jeremy Allison2011-05-261-2/+1
| | | | | | | | | | | | | Don't allow pass_last_set_time to be set to zero (which means "user must change password on next logon") if user object doesn't allow password change. Don't automatically allow user object password change if "user must change password on next logon" is set. Jim please check. Jeremy.
* s3: only include tdb headers where needed.Günther Deschner2011-05-165-0/+5
| | | | | Guenther (cherry picked from commit d8cfca3a9bd2b6b6c562fd202377d95a98eb5472)
* s3: Fix Coverity ID 2471: UNINITVolker Lendecke2011-04-141-2/+1
| | | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104 (cherry picked from commit d9c1d1f709ba49e57762456e529e283825a4fd7a)
* s3: Use wbcSidsToUnixIds in create_local_tokenVolker Lendecke2011-04-132-0/+106
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix Coverity ID 2470: STRAY_SEMICOLONVolker Lendecke2011-04-131-1/+1
| | | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 12:57:43 CEST 2011 on sn-devel-104 (cherry picked from commit 6a77b52169a8289262f7ccd6356946439224051c)
* s3: Fix Coverity ID 2472, UNINITVolker Lendecke2011-04-111-2/+1
| | | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Apr 11 17:14:35 CEST 2011 on sn-devel-104 (cherry picked from commit 5cd6d93fa1f24b64b449455da40d5c83a18a8cff)
* s3: Fix Coverity ID 2473, UNINITVolker Lendecke2011-04-111-2/+1
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit d2d1d173237906f77b68b3d04add007e92fe2d34)
* s3:passdb:pdb_ipa: fix a C++ implicit void * cast warningsMichael Adam2011-04-071-1/+2
|
* s3-pdb_ipa: Create DN for new objectSumit Bose2011-04-061-0/+18
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 6681e451c98cd1716b5a68a02e0840a7ae768c36)
* s3-pdb_ipa: Add ipasam_create_dom_group()Sumit Bose2011-04-061-29/+214
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 1cbe59e174c3ea66dfb57ab7f4ea493168b4867e)
* s3-pdb_ipa: Add ipasam_create_user()Sumit Bose2011-04-061-44/+297
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 2ee1d09f33a1076549e1d331ba23a31384aae150)
* s3-pdb_ipa: Detect IPA serverSumit Bose2011-04-061-1/+7
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c47df017dda71f9eecea74575c7d7292e543e5ec)
* s3-pdb_ipa: Use new smbldap_make_mod_blob() without a return valueSumit Bose2011-04-061-38/+9
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit ca22befb9c2f4bf96944fc70650435dc11b4ea3a)
* s3-ipasam: rename of smbldap_make_mod_blob to _smbldap_make_mod_blob.Günther Deschner2011-04-061-4/+4
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 02c6940964f8db0c7e78b9e6d8e4a7a404331285)
* s3-pdb_ipa: Fix indentationSumit Bose2011-04-061-13/+12
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit db76adc308217e92ada425703cbdbfce289d009b)
* s3-libndr: add ../librpc/ndr/libndr.h include in some places.Günther Deschner2011-04-052-0/+2
| | | | | Guenther (cherry picked from commit a730dff78318a0bfe8c6b2b8a2cefed63cc586e8)
* s3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to.Günther Deschner2011-04-051-0/+48
| | | | | Guenther (cherry picked from commit 33082d016ee27537af0514d5eebcdaf0360fa4f7)
* s3: only include lib/privileges.h where needed.Günther Deschner2011-04-051-0/+2
| | | | | | | This finally removes the global lsa.h inclusion. Guenther (cherry picked from commit c2d6260f1042313ecb7540dd6ced1470db3001e9)
* s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.Günther Deschner2011-04-051-0/+16
| | | | | Guenther (cherry picked from commit 1d383daf399b08c3833e55d11135796e34cc2689)
* s3-passdb: move util_builtin.c out of passdb.Günther Deschner2011-04-051-125/+0
| | | | | Guenther (cherry picked from commit a22a53ea44c18378481d3a432fb0e667117da5bd)
* s3-passdb: move util_unixsids.c out of passdb.Günther Deschner2011-04-052-130/+0
| | | | | Guenther (cherry picked from commit 7d798ac485b47483c9f99c67f7be196d55587a09)
* s3-passdb: move util_wellknown.c out of passdb.Günther Deschner2011-04-052-183/+0
| | | | | Guenther (cherry picked from commit bcee6c1fe209b458e546b5788a9148eecc8715f1)
* s3-passdb: add machine_sid.h and lookup_sid.hGünther Deschner2011-04-053-40/+40
| | | | | Guenther (cherry picked from commit f378f9f144d2b8ccb9c8443f3e605171e60ce3c2)
* s3-passdb: add passdb.h where needed.Günther Deschner2011-04-0520-0/+20
| | | | | Guenther (cherry picked from commit 2f36ef72256cf3c2e36ed759427af07effda1069)
* s3-passdb: move passdb headers to passdb/proto.h.Günther Deschner2011-04-051-0/+364
| | | | | Guenther (cherry picked from commit 35c2d8ec1edd84714d9d6f8082d116d734b83161)
* s3: create_builtin_users/administrators belongs to passdb not auth.Günther Deschner2011-04-051-0/+158
| | | | | Guenther (cherry picked from commit 03e6082e3c8230f2ffc6b8a5d27109c41f7aca81)
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-04-055-0/+5
| | | | | Guenther (cherry picked from commit 0e771263eed0b9bc364ce523765ea17dd1192841)
* s3-includes: only include system/passwd.h when needed.Günther Deschner2011-04-054-0/+4
| | | | | Guenther (cherry picked from commit 49fcf653b11ef7308b849027d342a3182f270dd3)
* s3-winbind: remove global inclusion of libwbclient.Günther Deschner2011-04-053-0/+3
| | | | | Guenther (cherry picked from commit d85f140826374dd5ad3e7099b6bdb74967c6b9da)
* lib/util/util_pw: share more code between lib/util/util_pw.c and ↵Günther Deschner2011-04-052-0/+2
| | | | | | | source3/lib/username.c Guenther (cherry picked from commit 96487959e90b1aeec071d94e7f2c744af17fb5d0)
* lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner2011-04-052-0/+2
| | | | | Guenther (cherry picked from commit 64421129b672d0ce55c5aa235e5038dd2ea1b32b)
* s3: Fix Coverity ID 976: BAD_SIZEOFVolker Lendecke2011-03-271-1/+1
| | | | (cherry picked from commit c07be5f74769d5a3fe450e86ca7e56e9738a3bf6)
* s3: Fix Coverity ID 513: UNINITVolker Lendecke2011-03-271-1/+1
| | | | (cherry picked from commit 08e4e7fef7bda8f4e9e3b7da8d0596dfca289c59)
* s3: Fix Coverity ID 2328: FORWARD_NULLVolker Lendecke2011-03-271-0/+3
| | | | | Make startsmbfilepwent robust against an invalid open type (cherry picked from commit f762886687492e3b2dfeefb22fcd82bd6c662baf)
* s3-ldapsam: fix ldapsam_create_user() with existing posix accounts.Günther Deschner2011-03-251-1/+1
| | | | | | | | | | We were not taking into account the existing posix attributes and thus failed while trying to add a 2nd uid attribute. Found by Sumit. Guenther (cherry picked from commit ba510fae2369620875fac80eaba2c222f3ee234b)
* Fix compiler warning in debug message.Jeremy Allison2011-03-171-1/+1
| | | | (cherry picked from commit 3d6a92a37bead8df3c7704a2f33614cac0201748)
* s3: Fix Coverity ID 1034, CHECKED_RETURNVolker Lendecke2011-03-171-3/+1
| | | | | In all other places we check the result of secrets_init. (cherry picked from commit 4668ac8b16daddacbaa0fe0e7ecdfbe6309abd3a)
* s3: Fix a cut&paste error in pdb_ads_connectVolker Lendecke2011-03-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
* s3: Read uidNumber/gidNumber in pdb_ads_sid_to_idVolker Lendecke2011-03-151-29/+45
| | | | | | | Question: How shall we allocate those? Something like the rid allocator? Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Mar 15 09:59:55 CET 2011 on sn-devel-104
* Quite some callers of sid_split_rid do not care about the ridVolker Lendecke2011-03-105-14/+8
|
* s3: Move EXOP definitions to smbldap.hVolker Lendecke2011-03-061-25/+0
| | | | | | | This attempts to fix the build on Solaris Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 10:45:16 CET 2011 on sn-devel-104
* s3: Remove an obsolete commentVolker Lendecke2011-03-031-3/+1
|
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther