1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

13565 Commits

Author SHA1 Message Date
Gerald Carter
9e590d6035 more initialization fixes -
Gerald Carter
02899224a1 disable template accounts by default -
Gerald Carter
54fd3992c3 initialization fixes -
Gerald Carter
8135ea08b3 removing more unused parameters -
Gerald Carter
d39b1b3fd6 BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux.com> -
Andrew Tridgell
d62cb9454e completely rewrote the AIX UESS backend (UESS is the AIX equivalent of
NSS). This time I think I've actually got it right. I wrote a fairly
good test suite for UESS modules (similar to nsstest.c) that allowed
me to explore how the modules supplied with AIX actually work.

This new module also incorporates authentication features, so you
don't need a PAM module at all. Just install this UESS module and
authentication will "just work". It also handles password change, so
/usr/bin/passwd can be used to change windows password.
-
Richard Sharpe
0032c3f46a Remove an unused parameter from reload_services_file. -
Jeremy Allison
1a7714ea32 Merge of Chris's fix.
Jeremy.
-
Gerald Carter
043a81b94d forgotten commit -- version == 3.0.3pre1 -
Gerald Carter
50f278ddcc prepping the SAMBA_3_0 branch for 3.0.3 work -
Gerald Carter
6b89a76aa7 bug 977 - don't create a homes share for a user if a static share already exists by the same name -
Andrew Bartlett
ca24ae50ea Clarify comment on set_effective_uid()
Andrew Bartlett
-
Andrew Bartlett
934e9f3bd0 Revise our server-side password change code to cope with the various
different feilds that different clients send.  (For example, not all clients
send both password types).

This also cleans up the code to make it clearer what is really going on,
and to make better use of common functions.

Andrew Bartlett
-
Andrew Bartlett
2a2b1f0c87 This adds client-side support for the unicode/SAMR password change scheme.
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
-
Andrew Bartlett
7495cafd42 Add a few more NTSTATUS <=> PAM error mappings.
Andrew Bartlett
-
Andrew Bartlett
493ac5ce98 Patch by Luca Bolcioni <Luca.Bolcioni@yacme.com>. Ensure we always
initialise the session key.  Fixes segfaults with security=server, and
encrypt passwords = no.

Andrew Bartlett
-
Volker Lendecke
be485eea81 Fix memleak just introduced. Thanks to abartlet :-)
Volker
-
Volker Lendecke
1797b16fad On my SuSE 8.2 (glibc 2.3.2) the getpwnam inside pdb_getsampwnam reset
the surrounding getpwent loop to the first entry. So smbd went into an
endless loop.

Volker
-
Andrew Bartlett
636b98dab9 Fix the initialisation vectors for NTLM2, so that they at least make sense,
even if they don't work yet.

Andrew Bartlett
-
Andrew Bartlett
1096271454 If we are providing strndup(), ensure we provide a prototype too.
Andrew Bartlett
-
Andrew Bartlett
c97d3eb162 Fix removal of attributes in LDAP - we would not actually remove the old
value in the previous code.

Andrew Bartlett
-
Andrew Bartlett
4ca0ab7506 A Samba DC is nothing special these days - so every domain controller
location packet from the client is not a DEBUG(1) event anymore...

(Yes, we printed this for each of these UDP packets...)

Andrew Bartlett
-
Volker Lendecke
09a3001423 Fix typo -
Volker Lendecke
6d22f0d8c3 Fix decoding of base64. We got the length wrong when the result was not
an exact multiple of 3.

I also wrote a torture test and it survived some minutes of random stuff
coded/decoded up to 16 MB data. But that would be a bit too embarassing to
commit... :-)

Volker
-
Andrew Bartlett
aca07f33a2 Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where
the failure of our LFS test caused the _GNU_SOURCE define not to be
added, causeing strndup() not to be defined...

I'll into when we really should define _GNU_SOURCE shortly, but the
fix is correct anyway.

Andrew Bartlett
-
Stefan Metzmacher
b5e814294e * Add SIGABRT to fault handling
so we now got a backtrace, if we crash
  in libldap with SIGABRT

metze
-
Volker Lendecke
413ed77142 Fix compiler warning -
Volker Lendecke
ea1a5fb303 Display some nicer error messages for login via 'net'. I don't
see a reason why we have so many special cases and not simply use
nt_errstr(nt_status).

Comments?

Volker
-
Jeremy Allison
25d739978f Fix for a signing bug when the mid wraps.
Found by Fran Fabrizio <fran@cis.uab.edu>.
Add to the *start* of the list not the end of the list.
This ensures that the *last* send sequence with this mid
is returned by preference.
This can happen if the mid wraps and one of the early
mid numbers didn't get a reply and is still lurking on
the list.
Jeremy.
-
Gerald Carter
faec928564 fix another bug caused by cli_lsa_query_info_policy() changes -
Jim McDonough
07d6ed4343 Fix another join problem. Don't use a TALLOC_CTX before it has been
initialized.

Also split out the oldstyle join into a new fn, allowing us to call it
with no failure message from net rpc join, but displaying a failure message
when used with net rpc oldjoin.
-
Volker Lendecke
4c90421070 Patch from "Stoian Ivanov" <sdr@bultra.com>: Add -g (greppable..) to
smbclient -L to make the output usable in pipes.

Volker
-
Volker Lendecke
da5944129f Commit sid<->[ug]id extensions to libnss_winbind.so on Linux, as well as a
factored-out nss_winbind.[ch]. I took tridge's public domain license comment
for the nss_winbind.[ch].

This is probably not the last word on that extension, but as it is quite
non-intrusive to the main samba code, I would like to give it a start.

Volker
-
Gerald Carter
2fd2c07df4 Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu <j.lu@tiesse.com> -
Gerald Carter
db1c6721bf setting version to 3.0.2rc2 -
Jim McDonough
a885df7635 Fix net rpc join (at least newstyle) after it was broken by changing
the parms to cli_lsa_query_info_policy without changing them here...
-
Gerald Carter
79fe75dcdf * BUG 446
- setup_logging() in smbclient to be interactive (remove the timestamps)
  - Fix bad return value in pull_ucs2( needs more testing to make sure this
    didn't break something else) that caused clistr_pull() to always read
    the same string from the buffer (pull_usc2() could return -1 if the original
    source length was given as -1)
  - increment some debugging messages to avoid printing them out so often
-
Gerald Carter
c51eaec4f0 BUG 958; don't use the -N option when invoking smbclient from the smbtar script -
Volker Lendecke
3d9931fe29 reply_spnego_kerberos did not set the domain of the user handed to
register_vuid correctly. We ended up with the local netbios name in
substitutions for %D later.

Volker

P.S: Tridge, I can *really* see why you want to get rid of global variables
:-)
-
Volker Lendecke
c4a6151f46 Don't substitute stuff in lp_afs_username_map, this is explicitly
done later.

Volker
-
Volker Lendecke
945c780764 And another memory corruption in winbind. Arg 3 of safe_strcpy does not
include the terminating 0.

Volker
-
Volker Lendecke
cd89288e21 Fix a segfault in winbindd. Calling getusersids with a SID that results in 0
groups winbind ended up freeing an uninitialised pointer.

Volker
-
Stefan Metzmacher
b0c0d73691 * Fix sys_chown() when no chown() is presend
metze
-
Stefan Metzmacher
e9e5e2036f * Fix XFS quotas: XFS_USER_QUOTA -> USRQUOTA
XFS_GROUP_QUOTA -> GRPQUOTA
* Fix disk_free calculation with group quotas.
* Add debug class 'quota' and a lot of DEBUG()'s
  to the quota code.

metze
-
Gerald Carter
5134c6bcbc BUG 936: fix bind credentials for schannel binds in smbd (and add a comment to winbindd_cm about this -
Tim Potter
67d25f3de8 Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicable
anymore.
-
Gerald Carter
1c15bfacb4 BUG 972; check pointer in cli_ds_getprimarydominfo() before trying to copy a structure -
Herb Lewis
a363e5d8c5 source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is done
in prs_init now

testsuite/printing/psec.c	cannot do a prs_mem_free() when tdb_prs_fetch fails
				as the prs structure has not been initialized
-
Gerald Carter
40b7d863dc Fix initgroups() call nss_winbind on solaris; patch from John Klinger <john.klinger@lmco.com> -
Gerald Carter
5145611188 bug 770; correct fix this time; Make sure that we send the SMBjobid for unix jobs back to the client. Allows windows client to remove print jobs submitted from lpr -