summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/passchange.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: Use cli_connect_nb in remote_password_changeVolker Lendecke2011-05-281-31/+2
|
* s3: Fix some nonemtpy blank linesVolker Lendecke2011-05-281-3/+3
|
* s3-libsmb/passchange.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-8/+9
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-301-0/+1
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-151-0/+1
| | | | Guenther
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3-passdb: include samr.h where needed.Günther Deschner2010-08-061-1/+1
| | | | Guenther
* s3-build: only use ndr_samr.h where needed.Günther Deschner2010-05-281-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-libsmb: fix typo in remote_password_change().Günther Deschner2010-05-141-1/+1
| | | | Guenther
* Ensure all callers to the rpc_client/cli_pipe functions correctlyJeremy Allison2009-11-121-2/+2
| | | | | initialize return variables. Jeremy.
* s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner2009-09-151-1/+1
| | | | Guenther
* s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner2009-09-111-0/+1
| | | | | | and cli_rpc_pipe_open_ntlmssp. Guenther
* s3-smbpasswd: Fix Bug #6584: allow DOM\user when changing passwords remotely.Simo Sorce2009-09-021-3/+16
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison2009-07-281-1/+1
| | | | | | | | | | W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy.
* s3/libsmb: Fix typo in error message.Karolin Seeger2009-06-171-1/+1
| | | | | | Thanks to Herb Lewis <hlewis [at] panasas.com> for noticing! Karolin
* s3/libsmb: Fix debug message.Karolin Seeger2009-06-151-1/+1
| | | | | | | | This fixes bug #6472. Karolin Signed-off-by: Volker Lendecke <vl@samba.org>
* Remove pwd_cache.c, it was doing nothing. Make user_name, domain, andJeremy Allison2009-03-131-3/+15
| | | | | password talloc'ed strings within the cli_struct. Jeremy.
* Make cli_tcon_andx asyncVolker Lendecke2009-01-301-5/+5
|
* Fix more asprintf and "ignoring return code" warnings from gcc 4.3.Jeremy Allison2008-12-311-26/+52
| | | | Jeremy.
* Make cli_negprot return NTSTATUS instead of boolVolker Lendecke2008-12-191-2/+4
|
* Fix some nonempty blank linesVolker Lendecke2008-09-011-11/+11
| | | | (This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)
* 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 (This used to be commit a13f0599551609394904b99e4014d580ec65c506)
* 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 (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
* rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner2008-06-251-3/+3
| | | | | Guenther (This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
* Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke2008-04-201-1/+1
| | | | (This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
* Refactoring: Make struct rpc_pipe_client its own talloc parentVolker Lendecke2008-04-201-7/+6
| | | | (This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a)
* 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. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
* Make remote_password_change return malloced error stringsVolker Lendecke2007-11-231-31/+38
| | | | | This fixes a segfault in smbpasswd -r (This used to be commit 49949f0b85007c7c2b3c340c12f3d18909862135)
* 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. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
* 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)
* r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison2007-10-101-5/+5
| | | | | | Long overdue fix.... Jeremy. (This used to be commit 073fdc5a58139796dbaa7ea9833dca5308f11282)
* r19577: Fix from Nils Nordman for bug #4085. Thanks !Jeremy Allison2007-10-101-5/+6
| | | | | Jeremy. (This used to be commit 3b5ab8ab8296339ad0e62d8564d706b5a446dcf3)
* r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke2007-10-101-20/+19
| | | | | Volker (This used to be commit 94817a8ef53589011bc4ead4e17807a101acf5c9)
* 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. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-17/+23
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* 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 (This used to be commit 0e24c701ce3755d71de7fdccb9f4564b381bf996)
* 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) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* 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 (This used to be commit 554a9132872187077a9c00abb18b9d809c59b7f1)
* 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 used to be commit 565305f7bb30c08120c3def5367adfd6f5dd84df)
* 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 (This used to be commit 2a2b1f0c872d154fbcce71a250e23dfad085ba1e)
* 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. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* 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. (This used to be commit b563be824b8c3141c49558eced7829b48d4ab26f)
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-1/+3
| | | | (This used to be commit 453a822a76780063dff23526c35408866d0c0154)
* 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. (This used to be commit fcc39b3f4f2f8d04d3fab09db048b4f3dc1e97d5)
* Removed code that used printf/fprintf in password changin libraries.Herb Lewis1998-11-121-8/+9
| | | | | Now passes strings instead. (This used to be commit 48af29bcc9e8094de6ba057a52dbae3c80ea7a05)