1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

10894 Commits

Author SHA1 Message Date
Jeremy Allison
e048259472 Ensure we don't get an invalid number for total smbd's if the tdb update
fails.
Jeremy.
-
Jeremy Allison
48774e77ac Fix erroneous free of SAM_ACCOUNT (make clearer when allocated
memory is being returned).
Jeremy.
-
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.
-
Volker Lendecke
434e496289 Fix memory leak. Thanks, Herb!
Volker
-
Volker Lendecke
7977a025ae Merge from HEAD.
Volker
-
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.
-
Jeremy Allison
44ab8dc55e Fix memory leaks in pdb_ code.
Jeremy.
-
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.
-
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
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
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
-
Andrew Bartlett
42e1af2008 Fix another pstring/fstring typo -
Jeremy Allison
62038a0abf Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
-
Gerald Carter
a8db1b611d patch to include support for daemontools from Michael Handler -
Gerald Carter
1564ebfc99 make sure we create the PIDDIR and LOCKDIR from installdirs -
Gerald Carter
4fb4e4bc5e patch from Andrew Bird to correct a few file/directory checks when building -
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
Christopher R. Hertel
96e9fa5f22 Fixed some simple typos, including one that would cause the wrong value
to be printed in a DEBUG() message.
-
Andrew Bartlett
9e5297131c Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions. -
Andrew Bartlett
353c6b2423 Merge from HEAD - tridge's new timegm() that actually works on solaris.
Andrew Bartlett
-
Andrew Bartlett
c9994ab7bb Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.
Andrew Bartlett
-
Jeremy Allison
666861b1e2 pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
-
Jeremy Allison
899d353a56 Typo..
Jeremy
-
Jeremy Allison
339f4fe15e Merge Andrew Bartletts (size_t)-1 checks.
Jeremy.
-
Gerald Carter
aef9af7874 WITH_SENDFILE #ifdef merged from SAMBA_2_2 -
Volker Lendecke
69dbad2d5d We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?

Thanks,

Volker
-
cvs2svn Import User
73d32b336a This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Andrew Bartlett
92a777d0ea BIG patch...
This patch makes Samba compile cleanly with -Wwrite-strings.
 - That is, all string literals are marked as 'const'.  These strings are
always read only, this just marks them as such for passing to other functions.

What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables).  The rest
is just adding a lot of 'const'.

As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).

Andrew Bartlett
-
Richard Sharpe
5d6c181033 Document the size constraints on a write request. -
Andrew Bartlett
028f808c03 Move our password change code along a little - use NTSTATUS, and implmenet
minimum password age and min password length for all password changes.

Andrew Bartlett
-
Simo Sorce
bcc633c409 from HEAD:
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
-
Simo Sorce
63a669475b fix for bad check spotted by Ray Simard <ray@sylvan-glade.com> -