| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
just like any other logon. Matching code removal in reply.c to follow.
Andrew Bartlett
|
|
|
|
|
|
|
| |
first.
Add password expiry and 'must change before first logon' support.
- This requires that the passdb be up to the job to supply the info.
|
|
|
|
|
| |
Add the ability for swat to run in non-root-mode (ie non-root from inetd).
- we still need some of the am_root() calls fixed however.
|
|
|
|
| |
than Get_Pwnam(user, True).
|
| |
|
|
|
|
| |
on the wire.
|
|
|
|
| |
- Fix initial lookup to use the mapped username.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
simply not doing Get_Pwnam() calls in pass_check.c
We now make *one* sys_getpnam() call in cgi.c and we always call PAM no matter
what it returns. We also no longer run the password cracker for these logins.
The truly parinod will note the slight difference in call paths, in that we only
call crypt for valid password structs (if not --with-pam). The truly parinoid
don't run SWAT either, so I don't think this is an issue.
Andrew Bartlett
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
they can have general effect.
Fixed up workstaion support in the rest of samba, so that we can do these
checks.
Pass through the workstation for cli_net_logon(), if supplied.
|
|
|
|
|
|
| |
auth subsytem. Also kill off the (unneeded) wrapper fuction.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
| |
- the usersupplied_info now contains a smb_username (as it comes across on
the wire) and a unix_username (after being passed through mapping
functions)
- when doing security={server,domain} use the smb_username, otherwise use
the unix_username
|
| |
|
| |
|
|
|
|
| |
the client code still needs some work
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
| |
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs
|
| |
|
| |
|
| |
|
|
|
|
| |
Defaults to ON, ie checking
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
smbd/password.c: We don't use globals here anymore
smbd/reply.c: Tidyness, global_myworkgroup must die!
smbd/service.c: Move some of the make_connection code into a helper
function.
|
|
|
|
|
|
|
| |
Style, doco and DEBUG() fixes for auth_smbpasswd.c
(In particular for the account control call).
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particuar, it moves the domain_client_validate stuff out of
auth_domain.c to somwhere where they (I hope) they can be shared
with winbind better. (This may need some work)
The main purpose of this patch was however to improve some of the
internal documentation and to correctly place become_root()/unbecome_root()
calls within the code.
Finally this patch moves some more of auth.c into other files, auth_unix.c
in this case.
Andrew Bartlett
|
| |
|
| |
|
|
|
|
| |
Fix typo in lmhosts manpage
|
|
|
|
|
|
|
|
| |
which I will confirm once I can find a box it would break on in the first place.
(this is the pam accounts as nobody thing we had with 2.2.0)
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
samba-technical a few weeks ago.
The idea here is to standardize the checking of user names and passwords,
thereby ensuring that all authtentications pass the same standards. The
interface currently implemented in as
nt_status = check_password(user_info, server_info)
where user_info contains (mostly) the authentication data, and server_info
contains things like the user-id they got, and their resolved user name.
The current ugliness with the way the structures are created will be killed
the next revision, when they will be created and malloced by creator functions.
This patch also includes the first implementation of NTLMv2 in HEAD, but which
needs some more testing. We also add a hack to allow plaintext passwords to be
compared with smbpasswd, not the system password database.
Finally, this patch probably reintroduces the PAM accounts bug we had in
2.2.0, I'll fix that once this hits the tree. (I've just finished testing
it on a wide variety of platforms, so I want to get this patch in).
|
|
|
|
|
| |
Fixed crash bug with un-zeroed talloced memory.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
not change behaviour.
This should make my later diffs smaller, where I actualy start cleaning up this
mess...
Andrew Bartlett
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
the pam password change code to ensure that existing and working password
chat scripts don't break with 2.2.1. PAM password changing has to be explicitly
requested.
Allowed wildcards in pam password change matching (matches password chat
script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to
stop warnings. Don't worry - the const changes are isolated and don't
cause any other warnings :-).
Jeremy.
|
|
|
|
|
| |
should eventually be an autoconf test with a #ifdef workaround. I *HATE* pam :-).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
court of king caractacus, was just passing by... :-).
Jeremy.
|
|
|
|
|
|
| |
PAM_AUTHTOK_RECOVER_ERR).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
remove global static PAM variables, and to tidy up the PAM internals code.
Now looks like the rest of Samba.
Still needs testing.
Jeremy.
|
|
|
|
|
|
|
| |
Only set this to "on" if you know you have your PAM set up correctly.....
NB. Doesn't apply to plaintext password authentication, which must use
pam when compiled in.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
Fixed off by one bug using StrnCpy instead of strdup().
Jeremy.
|