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

10881 Commits

Author SHA1 Message Date
Andrew Bartlett
2d727ea503 Merge from HEAD - updates to correctly recognise LMv2, and NT# in LM feild.
Andrew Bartlett
(This used to be commit 32a1802a99a51b033eee034d3d2ce5cf409441dc)
2003-01-05 08:09:16 +00:00
Andrew Bartlett
6233651ca1 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
(This used to be commit 4b1a316e79ba87cb35a019a2089e6469ad9a3c3e)
2003-01-05 05:11:02 +00:00
Andrew Bartlett
4eb59f56f1 The last of the merge of idra's shutdown changes from head...
Andrew Bartlett
(This used to be commit 3b24da8f9971e73b9cb4396e6a18c0694d279aa3)
2003-01-04 14:00:17 +00:00
Andrew Bartlett
aff13f53af Merge from HEAD - whitespace :-)
(This used to be commit 5fc90b6cf438480c9fcf8d01f0a319a52c5914cc)
2003-01-04 09:08:47 +00:00
Andrew Bartlett
48dc324cd1 Merge from HEAD - vl's fix to my const patch. Also update the 'not have_krb5'
case.

Andrew Bartlett
(This used to be commit 8129529c4faec5ea630acf70b7514a3efc0fbdcf)
2003-01-04 09:06:46 +00:00
Andrew Bartlett
1f67168a54 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
(This used to be commit 0d2da985906219d68e2558a840905a272803bfcc)
2003-01-04 09:04:06 +00:00
Andrew Bartlett
9de96c6f24 Merge from HEAD - do an nt_errstr(nt_status) *after* assiging nt_status with
the actual error value :-)

Andrew Bartlett
(This used to be commit 123ae99c7d51c62e9f765cd41018dcc1a70cdd22)
2003-01-04 09:01:19 +00:00
Andrew Bartlett
db972ebb93 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
(This used to be commit 610be8d483f335226386f92b5e85ddeb07846d41)
2003-01-04 08:59:34 +00:00
Andrew Bartlett
302bffc08f 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
(This used to be commit 91ca4771c6b834747b06fff21822a14e929de2c1)
2003-01-04 08:57:51 +00:00
Andrew Bartlett
3bc3fabee2 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
(This used to be commit f5850928a011211f03e5b9ece37682fd9243e2ba)
2003-01-04 08:54:43 +00:00
Andrew Bartlett
c1a357ecb5 Merge from HEAD - don't base RID on a name being the lp_guest_account(), let
the actual passdb modules decide that.

Andrew Bartlett
(This used to be commit f3432869b9c761a029fd804d244d0ea26b26173d)
2003-01-04 08:50:57 +00:00
Andrew Bartlett
2a9c68cdc8 Merge from HEAD - baseless parinoia about never having a closed dbf (the debug
file pointer).

Andrew Bartlett
(This used to be commit c8a809a2a83974330bc1015d07d69f40a4a09610)
2003-01-04 08:49:20 +00:00
Andrew Bartlett
863e9ca2c6 Merge from HEAD - mimir's new gencache based namecache code.
Andrew Bartlett
(This used to be commit f79324f730c400342f445c931b0d75ff756d7cc7)
2003-01-04 08:48:15 +00:00
Andrew Bartlett
e3ed8eaa2f Merge from HEAD - move user password changes into the NTSTATUS era, and add
suppport for the 'min password age' and 'min passwd len' concepts.
(This used to be commit d9417b08d1b649e598b44135bc57008f4e4f7769)
2003-01-04 08:45:17 +00:00
Andrew Bartlett
1bb9695203 Missed from previous commit - merge from HEAD the changes to the remote
shutdown struct - it's 2 byte-boolean flags, not 16 bits.
(This used to be commit b5962833527787b0cb3f3904422f252e8d74f40d)
2003-01-04 08:44:05 +00:00
Andrew Bartlett
b327f5ba53 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
(This used to be commit a4f7777ca08c732ace2ba60bc0ecffbea1239fc3)
2003-01-04 07:50:04 +00:00
Andrew Bartlett
5714c1e0b0 Fix another pstring/fstring typo
(This used to be commit 42e1af2008a86005beb4e93a8b208ca6685c3edd)
2003-01-04 06:15:24 +00:00
Jeremy Allison
20f1cf6cdc Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
(This used to be commit 62038a0abf193d4dc4f37c31ac77216a10f6f326)
2003-01-03 18:50:13 +00:00
Gerald Carter
f5d5df9644 patch to include support for daemontools from Michael Handler
(This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
2003-01-03 17:39:30 +00:00
Gerald Carter
6985578f5b make sure we create the PIDDIR and LOCKDIR from installdirs
(This used to be commit 1564ebfc9933ba892f6866ad8f3a1b4470a8fde9)
2003-01-03 15:31:15 +00:00
Gerald Carter
057f67f891 patch from Andrew Bird to correct a few file/directory checks when building
(This used to be commit 4fb4e4bc5e1281afc69e61a642261562ac662312)
2003-01-03 15:20:39 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00
Christopher R. Hertel
47a7f0cfb5 Fixed some simple typos, including one that would cause the wrong value
to be printed in a DEBUG() message.
(This used to be commit 96e9fa5f224966531fa8f9cf18cbc4bbb2fe60ed)
2003-01-03 04:35:09 +00:00
Andrew Bartlett
43059acb95 Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
(This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
2003-01-03 03:24:23 +00:00
Andrew Bartlett
a63aa62bdd Merge from HEAD - tridge's new timegm() that actually works on solaris.
Andrew Bartlett
(This used to be commit 353c6b24234444c5430de183c3a4b1318bfce02c)
2003-01-03 01:41:44 +00:00
Andrew Bartlett
1e531eb604 Merge from HEAD - remove silly 'NT or LM# as password' stuff from pam_smbpass.
Andrew Bartlett
(This used to be commit c9994ab7bb0ea96e1a2ddf78935306a7b8507f25)
2003-01-03 01:40:13 +00:00
Jeremy Allison
95ce704fe6 pstring/fstring missmatches found by Andrew Bartlett.
Jeremy.
(This used to be commit 666861b1e263370f6ba8fa4108842f52a81d8b83)
2003-01-02 20:43:17 +00:00
Jeremy Allison
f1bebee955 Typo..
Jeremy
(This used to be commit 899d353a56f52a28f53386fabdb4bf8e0af637ca)
2003-01-02 20:25:59 +00:00
Jeremy Allison
da41ac6e6b Merge Andrew Bartletts (size_t)-1 checks.
Jeremy.
(This used to be commit 339f4fe15efbf67157c8e61b98c6ea983e6b4674)
2003-01-02 19:25:28 +00:00
Gerald Carter
37742eb13f WITH_SENDFILE #ifdef merged from SAMBA_2_2
(This used to be commit aef9af7874aab8289a8cb577a2513038c00dd6f5)
2003-01-02 18:20:01 +00:00
Volker Lendecke
0ef57b2aad We still have 'ldap server' and 'ldap port'. Could somebody please
regen the docs?

Thanks,

Volker
(This used to be commit 69dbad2d5de1795860cfffc5243a4e22fd8f3fcb)
2003-01-02 16:12:23 +00:00
cvs2svn Import User
1bb9238345 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 73d32b336aae33f8ca27879a5d4b5222847509e5) 2003-01-02 09:07:18 +00:00
Andrew Bartlett
6d66fb308a 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
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2003-01-02 09:07:17 +00:00
Richard Sharpe
c105c12d12 Document the size constraints on a write request.
(This used to be commit 5d6c1810330b38e48355078b7a5d53e7b5076f74)
2003-01-01 21:54:00 +00:00
Andrew Bartlett
60f9614400 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
(This used to be commit 028f808c032becfa4618924cb301a4af2708fa96)
2003-01-01 04:19:34 +00:00
Simo Sorce
0747016dfc from HEAD:
fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit bcc633c4097661447731bda24a38be62c69bbed5)
2002-12-31 10:25:11 +00:00
Simo Sorce
2eb7a80a46 fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>
(This used to be commit 63a669475b0ea319da12a87ee4635b1d071ff29f)
2002-12-31 10:23:37 +00:00
Jeremy Allison
bb9c3a01e7 Merge tridge's fix :
the 'padding' field in the query domain info reply is not a padding
field at all. It seems to be an optional 12 byte structure of some
kind. mkaplan found a situation where the structure was not present at
all (depending on ptr_0)
Jeremy.
(This used to be commit 3b453a596323867d4954b688dc3d83201096a447)
2002-12-31 02:26:15 +00:00
Simo Sorce
ed961ddf44 ignore tdbsam2_parse_info.h
(This used to be commit 1a1c746c9fde965d2ad3f8fb9c1b0263754745e8)
2002-12-31 00:45:35 +00:00
Jeremy Allison
944fb243eb Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit e789edbb287319f52f49f2999917a610565144d9)
2002-12-30 23:55:58 +00:00
Jeremy Allison
64501e44ee Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit 66eff26fc930e37035bba8672f5fd3aeae71078d)
2002-12-30 23:55:53 +00:00
Simo Sorce
a2244a4eca fix also net rpc shutdown
sorry
(This used to be commit 1eff36ff2fd20ff1844800acefb31972ad865527)
2002-12-30 23:38:17 +00:00
Jeremy Allison
266c1ece12 Merge Richard's write > 4Gb fix.
Jeremy.
(This used to be commit 5431bae8944496f44d8cc6d2c4de86e9feb60f32)
2002-12-30 06:12:13 +00:00
Simo Sorce
60667264b7 the shutdown call does not have a 16 bit flags, but 2 byte representing booleans
this commit change the structure and code to reflect this

some test revelead I'm right.

some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation
(This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)
2002-12-30 04:41:27 +00:00
Richard Sharpe
b68e6c9910 Port the fix to cli_setup_write to handle offsets greater than 32-bits from
Samba 2.2.x ...
(This used to be commit 4201038588bab8674b73371a5eac70a412c5dd6c)
2002-12-30 04:25:30 +00:00
Andrew Bartlett
72caa1fc8d Add a new VFS module, that just fiddles the file permissions. Still need to
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).

The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.

If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.

The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile.  This should
avoid that mess.

I'll test this out properly next week, but it works in vfstest (thanks idra!).

Andrew Bartlett
(This used to be commit 1ad782282a3eb4f89c489a77ad8404099d41d0f9)
2002-12-30 04:19:57 +00:00
Shirish Kalele
ab42271cd6 Add msdfs proxy functionality to HEAD.
(This used to be commit 9df93b1ffc9ce98302540cc3d2cbd66787abc4fd)
2002-12-29 23:29:08 +00:00
Jeremy Allison
af9599e3c4 Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
(This used to be commit 388cf136488bf92d057d23223dfcda9986681aee)
2002-12-28 19:48:59 +00:00
Jeremy Allison
561a6634b2 Revert by Simo's request. HEAD and 3.0 should be in sync for
this except for the modules load.
Jeremy.
(This used to be commit c7c3afbd0de8bd8797f91d350368a2419fcede0e)
2002-12-28 19:48:56 +00:00
Simo Sorce
5bee95239b some more work on gums.
- Building a tdbsam2 backend to see what I got right and what not about the proposed API
- Corrections to API based on tdbsam2 work
(This used to be commit 54f11b7de84233209b7db2d01d876f9c6c6340d6)
2002-12-28 13:42:54 +00:00