1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

11032 Commits

Author SHA1 Message Date
Jeremy Allison
99e69fd74d Ensure we don't get an invalid number for total smbd's if the tdb update
fails.
Jeremy.
-
Herb Lewis
947042007d reran autoconf -
Richard Sharpe
490ff93bbf Some fixes to editreg. Clientgen should not be touched, and an update to configure that Herb needs. -
Jeremy Allison
48774e77ac Fix erroneous free of SAM_ACCOUNT (make clearer when allocated
memory is being returned).
Jeremy.
-
Jeremy Allison
b0d547b739 Fix erroneous free of SAM_ACCOUNT (make clearer when allocated
memory is being returned).
Jeremy
-
Tim Potter
db24489eb4 Removed pointless null statement in signal handler. -
Tim Potter
451286febd Display an error message when the server cannot be resolved when running at
debug level 0.
-
Herb Lewis
01757e8b51 cannot assign to const -
Jeremy Allison
1cff725e37 Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
-
Jeremy Allison
465d86d95f Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
-
Volker Lendecke
434e496289 Fix memory leak. Thanks, Herb!
Volker
-
Volker Lendecke
8915d59a59 Fix memory leak. Thanks, Herb!
Volker
-
Herb Lewis
15b2b91f4b this makes it compile, but I'm not sure if it is correct. Are we really
testing a pointer value to be equal to 0x19 ???
-
Herb Lewis
e3b1e64d9f cannot make assignments to const values. -
Herb Lewis
cfe2d01b7d add and escape before $( in regex string so it is not interpreted as the
perl variable for "real gid of this process"
-
Volker Lendecke
7977a025ae Merge from HEAD.
Volker
-
Volker Lendecke
c9d0c5254c Create a machine account correctly if the unix account exists.
With this, my test for W2kSP3 join after pdbedit -a -m works fine.

Volker
-
Christopher R. Hertel
02986f3e3a Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
-
Christopher R. Hertel
a10195b711 Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
-
Tim Potter
232116d2db Rename a local variable to avoid a warning. -
Tim Potter
431ac28b5b 'index' is the name of a libc function. Rename to 'ndx' to avoid compiler
warnings.
-
Tim Potter
4bc82624f6 Remove unused variable. -
Jeremy Allison
44ab8dc55e Fix memory leaks in pdb_ code.
Jeremy.
-
Jeremy Allison
ddf741c717 Fix memory leaks in pdb_ code.
Jeremy.
-
Gerald Carter
0f8ba688d4 add $(LDFLAGS) to libsmbclient -
Gerald Carter
cd16064784 removed idpool from schema file (experimental) to remove the dependency
on nis.schema.

add $(LDFLAGS) to libsmbclient build
-
Andrew Bartlett
7b95151ddc Merge from HEAD - handle VFS module load failures, change some error returns to
avoid sending NT_STATUS_UNSUCCESSFUL.

Andrew Bartlett
-
Jeremy Allison
c3a779fc0d Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
-
Jeremy Allison
cde517cedf Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
-
Andrew Bartlett
41178afdbd Fix a segfault when we don't correctly load a VFS module (don't keep it in
the loaded list on error).  Also change some of the error returns, becouse
NT_STATUS_UNSUCCESSFUL gives a most useless error message on the client.

As for which error, my logic is that a share without a valid VFS module is
not a valid share, and therefore should return the same error as a non-existant
share.

Andrew Bartlett
-
Tim Potter
71b09408ef Some more profiles merges from HEAD (cvsignore and a stray const). -
Richard Sharpe
2636b2231c Add profiles utility support to Samba 3.0.x -
Andrew Bartlett
32a1802a99 Merge from HEAD - updates to correctly recognise LMv2, and NT# in LM feild.
Andrew Bartlett
-
Andrew Bartlett
5c2e34b5b6 Clear up the auth_sam password checking code (the core of our password checking
routines).  In particular, we now better support the NT# in LM feild, and the
LMv2 password scheme.  (LMv2 is basicly NTLMv2 capped at 24 bytes, slightly
more secure, and in the LM feild for compatiblity).

Thanks to the Samba-TNG team and Luke Leighton for various descriptions of this
algorithm, and to MS for a solution that seems to actually make sense for once
:-).

Andrew Bartlett
-
Andrew Bartlett
4b1a316e79 Merge from HEAD - get the test the right way around, so that we can change
passwords over RAP again.

(found by the build farm)

Andrew Bartlett
-
Andrew Bartlett
066e4f9a4b Even when I can't manage to do QA, at least the build farm will catch some of
the silly stuff.

(fixes password changes from RAP based clients like smbpasswd)

Andrew Bartlett
-
Andrew Bartlett
3b24da8f99 The last of the merge of idra's shutdown changes from head...
Andrew Bartlett
-
Andrew Bartlett
5fc90b6cf4 Merge from HEAD - whitespace :-) -
Andrew Bartlett
8129529c4f Merge from HEAD - vl's fix to my const patch. Also update the 'not have_krb5'
case.

Andrew Bartlett
-
Andrew Bartlett
0d2da98590 The winbind in Samba 3.0 doesn't use the 'proof' for ntlm_auth_crap, so don't
include it in the struct.  (Important becouse it currently has the same version
number as the one in HEAD, which also doesn't have this).

Andrew Bartlett
-
Andrew Bartlett
123ae99c7d Merge from HEAD - do an nt_errstr(nt_status) *after* assiging nt_status with
the actual error value :-)

Andrew Bartlett
-
Andrew Bartlett
610be8d483 Make it clear that the credentials are being setup on the NETLOGON channel, and
may not be to our PDC (might be BDC, or trusted DC).

Andrew Bartlett
-
Andrew Bartlett
91ca4771c6 Merge from HEAD - we already have one function for converting a unistr2 to a
static 'unix' string, so we don't need a second pdb specific version.

Andrew Bartlett
-
Andrew Bartlett
f5850928a0 Merge from HEAD - extract user's list of SIDs from their NT_TOKEN and return
this as thier list of groups, rather than do a seperate lookup.  This NT_TOKEN
is originally initgroups() (or equiv) based.

We currently send all sids in our domain, perhaps this should be further
restricted, but this works for now.

Andrew Bartlett
-
Andrew Bartlett
f3432869b9 Merge from HEAD - don't base RID on a name being the lp_guest_account(), let
the actual passdb modules decide that.

Andrew Bartlett
-
Andrew Bartlett
c8a809a2a8 Merge from HEAD - baseless parinoia about never having a closed dbf (the debug
file pointer).

Andrew Bartlett
-
Andrew Bartlett
f79324f730 Merge from HEAD - mimir's new gencache based namecache code.
Andrew Bartlett
-
Andrew Bartlett
d9417b08d1 Merge from HEAD - move user password changes into the NTSTATUS era, and add
suppport for the 'min password age' and 'min passwd len' concepts.
-
Andrew Bartlett
b596283352 Missed from previous commit - merge from HEAD the changes to the remote
shutdown struct - it's 2 byte-boolean flags, not 16 bits.
-
Andrew Bartlett
a4f7777ca0 Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1
byte boolean flags, not a 16 bit bitmask.

Andrew Bartlett
-