summaryrefslogtreecommitdiffstats
path: root/source3/utils/passwd_util.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: smbpasswd - fix crashes on invalid input.Jeremy Allison2013-12-161-5/+9
| | | | | | | | | | | | | | | | get_pass can return NULL on error. Ensure that this is always the case and fix all callers to cope (some already did). Reported by Joonas Kuorilehto <joneskoo@codenomicon.com> BUG: https://bugzilla.samba.org/show_bug.cgi?id=10320 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Dec 16 15:17:58 CET 2013 on sn-devel-104
* util: Use new samba_getpass() function for passwd util.Andreas Schneider2012-12-031-1/+8
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r13553: Fix all our warnings at -O6 on an x86_64 box.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit ea82958349a57ef4b7ce9638eec5f1388b0fba2a)
* r13528: Mention the tools and commandline option names used.Lars Müller2007-10-101-2/+2
| | | | (This used to be commit 5db7e9a42ab27871891be8a1314c32e13620da36)
* r13527: Adjust copyright header with information got from the 2.2 cvs tree.Lars Müller2007-10-101-3/+7
| | | | (This used to be commit e00505cc942dd5cf755aa6b5d2f565eeff95629e)
* r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.Lars Müller2007-10-101-0/+65
This fixes bug #1386. The initial changes had been made by Carsten Höger <choeger at open-xhange dot com> for Samba 2.2 while being at SuSE. *sigh* To not duplicate code from smbpasswd in pdbedit stdin_new_passwd() and get_pass() are moved from smbpasswd to utils/passwd_util.c. (This used to be commit dbdc5ba497c6010dbad47c9d77fc8bec5557a328)