summaryrefslogtreecommitdiffstats
path: root/source/libsmb/passchange.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some nonempty blank linesVolker Lendecke2008-09-011-11/+11
|
* Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke2008-07-201-7/+7
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-201-4/+6
| | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
* rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner2008-06-251-3/+3
| | | | Guenther
* Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke2008-04-201-1/+1
|
* Refactoring: Make struct rpc_pipe_client its own talloc parentVolker Lendecke2008-04-201-7/+6
|
* Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison2007-11-291-2/+2
| | | | | | Make us very explicit about how long a talloc ctx should last. Jeremy.
* Make remote_password_change return malloced error stringsVolker Lendecke2007-11-231-31/+38
| | | | This fixes a segfault in smbpasswd -r
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-241-3/+3
| | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy.
* 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.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison2007-10-101-5/+5
| | | | | Long overdue fix.... Jeremy.
* r19577: Fix from Nils Nordman for bug #4085. Thanks !Jeremy Allison2007-10-101-5/+6
| | | | Jeremy.
* r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke2007-10-101-20/+19
| | | | Volker
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-51/+57
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r13316: Let the carnage begin....Gerald Carter2007-10-101-17/+23
| | | | Sync with trunk as off r13315
* r13211: Fix remote password changing if password must change is setVolker Lendecke2007-10-101-1/+36
| | | | | | | | | The problem was that the ntlmssp bind silently failed in that case, we have to do it anonymously. Or does anybody have a better idea? Give a better error message if something else is wrong with the account. Volker
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-29/+37
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r1581: 'NULL' NTLMSSP is both a pain to get right, and compleatly and utterlyAndrew Bartlett2007-10-101-0/+2
| | | | | | | | | | | pointless. With a well-known session key, we may as well put the password change directly on the wire, with it's own 'crypted with old password' as the protection. This should fix some 'long password change' issues, against Samba in particular. Andrew Bartlett
* r176: Improve our fallback code for password changes - this would be betterAndrew Bartlett2007-10-101-21/+62
| | | | | | | | | | | | | | with more correct NTLMSSP support in client and server, but it will do for now. Also implement LANMAN password only in the classical session setup code, but #ifdef'ed out. In Samba4, I'll make this run-time so we can torture it. Lanman passwords over 14 dos characters long could be considered 'invalid' (they are truncated) - so SMBencrypt now returns 'False' if it generates such a password. Andrew Bartlett
* This adds client-side support for the unicode/SAMR password change scheme.Andrew Bartlett2004-01-261-17/+71
| | | | | | | | | | As well as avoiding DOS charset issues, this scheme returns useful error codes, that we can map back via the pam interface. This patch also cleans up the interfaces used for password buffers, to avoid duplication of code. Andrew Bartlett
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-4/+1
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* this looks like a big commit, but it isn't really :)Andrew Tridgell2000-01-071-3/+2
| | | | | | | | This fixes our netbios scope handling. We now have a 'netbios scope' option in smb.conf and the scope option is removed from make_nmb_name() this was prompted by a bug in our PDC finding code where it didn't append the scope to the query of the '*' name.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-1/+3
|
* more cli_session_setup() calls. what the heck are these doing???Luke Leighton1999-12-011-1/+1
| | | | | | | they should all be replaced with cli_establish_connection(). created cli_use_wait_keyboard() which waits on multiple cli_states and swallows session keepalives.
* Removed code that used printf/fprintf in password changin libraries.Herb Lewis1998-11-121-8/+9
| | | | Now passes strings instead.
* extracted the password change code from smbpasswd and used it in swatAndrew Tridgell1998-11-121-0/+100
instead of opening pipes and other horrible stuff.