1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

1125 Commits

Author SHA1 Message Date
Jeremy Allison
9203386063 INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to not
depend on it...
Jeremy.
(This used to be commit 0fe11c329f7b379299be65795031e4f1b14e0bec)
2001-06-19 19:56:06 +00:00
Jeremy Allison
809c025878 Added patches to remove Linux specific XFS ACLs. These are now handled by the
generic Linux ACL code.
rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created.
Jeremy.
(This used to be commit db5b82e53a7061c4764d39ceb3df82e706aad42f)
2001-06-18 20:27:35 +00:00
Andrew Tridgell
e324e21457 added a oplock break handler hook to the client code, this allows for more complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly
(This used to be commit 3d4a3bfacd9ef225aeaab801e5a216d12814b60a)
2001-06-18 08:26:15 +00:00
Tim Potter
7b01c627c6 Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitive
and the use of this function only increased timeouts when Samba queries
a broken DNS server.
(This used to be commit 720fea53603b2f99153709e6717ca930ab60ca9f)
2001-06-18 05:42:18 +00:00
Jeremy Allison
af604fe769 Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.
Jeremy.
(This used to be commit 5690ec77c87475f1fd2e854cda594eb996d6fd04)
2001-06-16 00:32:13 +00:00
Jeremy Allison
438e89b187 Jim McDonough's parse patches for Win9x get SD calls.
Jeremy.
(This used to be commit bc366f31537408380860906cc041de232b27b714)
2001-06-15 20:08:12 +00:00
Tim Potter
2b49ec356a Prototype update.
(This used to be commit 402639926f5d207ebefec296427dc3be0e979fe6)
2001-06-15 07:22:27 +00:00
Tim Potter
f81489d02d Oops - proto.h contained junk from another workarea.
(This used to be commit 2ad921d1269cb1d098e7162f2d55f1a1536f325d)
2001-06-13 06:54:45 +00:00
Tim Potter
5eee0f1968 Added some msdfs client routines.
(This used to be commit 13df2304b309a2bd14d4441db0e72e75b8742262)
2001-06-13 06:37:02 +00:00
Jeremy Allison
8209eda774 Make message receive fn static.
Jeremy.
(This used to be commit d8807b19228b12ddd6d93c02d1646a470a8e71ef)
2001-06-13 01:08:27 +00:00
Jeremy Allison
a80a96b745 Added sys_acl_delete_def_file() - needed as part of NT ACL editing fix.
Will add changes for other supported ACL systems shortly (Herb, I may
need help with the IRIX one).
Jeremy.
(This used to be commit a8532b193d1fe123155a69dd70e433f8fc312bfc)
2001-06-08 19:29:57 +00:00
Jeremy Allison
3414c71f6d Extra stuff for large readwrite support.
Jeremy.
(This used to be commit 4338ee78c3d7bcf4b9fac383ff2f572d882ab97c)
2001-06-08 03:02:34 +00:00
Tim Potter
1dfbc939d3 Prototypes update.
(This used to be commit 6dfe98f6020bf85263a39443ff7b07c5c795c27a)
2001-06-06 07:29:12 +00:00
Tim Potter
9ebe63bf79 Update prototype file.
(This used to be commit bdb76938e2936df287e638120894ae1adda5cb86)
2001-06-02 23:03:18 +00:00
Tim Potter
26bc8adcaa Oops.
(This used to be commit 9e1d9a3a44ceaba2b0bfa327409f6b8dd0c36b26)
2001-06-01 12:11:33 +00:00
Andrew Tridgell
ff1dd1721d new proto.h
(This used to be commit 823ba34342046a4b736640dff1471fde08e1087f)
2001-05-30 06:16:24 +00:00
Simo Sorce
bbf5ea221a 4 new functions to retrieve single linked list of group and passwd entries
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of
setgrent/getgrent/endgrent solved by these new functions
(This used to be commit 97dbb54a13e2285f1905ee1ec9aafeebdaee8917)
2001-05-29 07:34:01 +00:00
Jeremy Allison
15e66ba37a Added tdb_change_int_atomic() to allow atomic updates of a tdb int value.
Jeremy.
(This used to be commit cf5015f15935605cf69078bc15251db61ddc48c7)
2001-05-25 00:48:28 +00:00
Tim Potter
3dfb0d3bd9 Added structures for LOGON_CTRL rpc.
Make proto.
(This used to be commit 0650f87000dcf5572f3a8d61ab93760d94eee770)
2001-05-24 08:21:53 +00:00
Jeremy Allison
faa0bef196 Defensive brlock and locking database cleaning code.
Jeremy.
(This used to be commit d7aa42e4593b02ee6e487f7a4633bd7e7620ef2f)
2001-05-22 20:35:48 +00:00
Gerald Carter
a8f8d81d54 make proto
(This used to be commit 97a88ca86b1c39066ffcdad6e81d6422fad8341b)
2001-05-18 04:12:19 +00:00
Jeremy Allison
c912d04389 Fix the W2KSP2 joining a Samba domain problem.
Jeremy.
(This used to be commit 6bbcab5e48f91a80d4ebcbd2bee38f2e0a8bff78)
2001-05-18 01:30:21 +00:00
Andrew Tridgell
8d9aadc2bc ran make proto
(This used to be commit 2e605e1275b4cd59ba776101962218efaa87fe37)
2001-05-17 11:29:54 +00:00
Richard Sharpe
43680ebeae Ran a make proto to fix the problems ...
(This used to be commit 7b275b458835a1e34c9014eb3eee6cdae240bd97)
2001-05-17 11:20:45 +00:00
Tim Potter
e522cebeb9 make proto
(This used to be commit 607db8d57db0e7bf9e99570bc87e7a1401a18eaa)
2001-05-14 04:11:31 +00:00
Jeremy Allison
495aa4c28a string_hash() should be static. hash_clear() should be void.
Jeremy.
(This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)
2001-05-12 20:15:39 +00:00
Tim Potter
7a906cd02b make proto
(This used to be commit dd0c7a8a024f9ba8b593757b3aed5b126a8dab61)
2001-05-10 05:20:12 +00:00
Jeremy Allison
f5243954fa Made "security XXX" masks apply to ACL set. By default they have no effect.
Removed "restrict acl with mask" - redundent.
Jeremy.
(This used to be commit 0db8a61d71f25ffa0e5c585e02e2fce973867156)
2001-05-10 01:03:44 +00:00
Tim Potter
b4944528d8 make proto
(This used to be commit 6d218c3e942a9be3af57f2500374b49d8ad25763)
2001-05-08 04:02:59 +00:00
Gerald Carter
495f6e6787 merge from 2.2 removing the 'domain XXX' parameters.
(This used to be commit 9aefc86e355bf160300580acb85a58a18207ccdf)
2001-05-07 22:10:38 +00:00
Gerald Carter
30c4c04c2f Patch from Simo:
o sed 's/pdb_clear_sam/pdb_free_sam/g'
  o add pdb_reset_sam()
  o password changing should be ok now as well.
(This used to be commit 96d0e7c3301ad990f6c83b9c216720cb32661fb5)
2001-05-07 14:04:46 +00:00
Andrew Tridgell
c2887d57b5 rebuild proto.h
(This used to be commit 2e2073447490e192ccb838dd488feb335dfba265)
2001-05-07 04:10:40 +00:00
Jean-François Micouleau
f35157f392 Big cleanup of passdb and backends.
I did some basic tests but I have probably broken something. Notably the
password changing. So don't cry ;-)

	J.F.
(This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-05-04 15:44:27 +00:00
Gerald Carter
e62b35ac69 make proto
(This used to be commit 09b287e1782938bc4472b88921ed1604eb91ac27)
2001-05-04 14:01:54 +00:00
Tim Potter
6fb863c3f8 make proto
(This used to be commit a56badc206abb88ae1e648004c168db71c862340)
2001-05-04 07:36:51 +00:00
Jeremy Allison
aac630b382 Had to add a "pam password change" parameter (defaults to "off") and inlined
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.
(This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8)
2001-05-02 23:32:09 +00:00
Jeremy Allison
dea501bc5f Fix noticed by John Trostel - we need to return our account SID for level 5.
Jeremy.
(This used to be commit acf32f277d1a45f49fa3bf6af82850e35df9ae5a)
2001-05-02 20:32:17 +00:00
Jeremy Allison
f5eab4421c Fixup smbcacls. Don't return memory already freed, don't free memory allocated
with talloc.
Jeremy.
(This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
2001-05-01 23:07:30 +00:00
Jeremy Allison
8bd2a11c86 Added code from "Nigel Williams" <nigel@veritas.com> (yes, the same famous
Nigel Williams who did NIS/GINA !) to implement add/modify/delete shares
for Win2k. Needs testing as I made a few mods to the original code.
Jeremy.
(This used to be commit 9b3dd801765fad28c0f9d58e5af2537cfccdd4ee)
2001-05-01 01:01:19 +00:00
Jeremy Allison
c3a999409d Based on an original PAM patch by Andrew Bartlett, re-written by me to
remove global static PAM variables, and to tidy up the PAM internals code.
Now looks like the rest of Samba.
Still needs testing.
Jeremy.
(This used to be commit 1648ac64a75de74d1a1575eb49cccc4f75488bfa)
2001-04-30 21:05:58 +00:00
Andrew Tridgell
63602d15af - fixed some compiler warnings
- fixed slprintf and vsprintf macros
(This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
2001-04-28 14:01:02 +00:00
Andrew Tridgell
d095b5249c - added test for vasprintf
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
(This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28 13:49:34 +00:00
Gerald Carter
e40449fa72 rpcclient merge from 2.2 (including Jeremy's non-void return fix)
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-28 00:32:56 +00:00
Gerald Carter
c3bf153c0c converted the passdb smbpasswd implementation to using talloc
for memory allocation.  This fixes a long standing seg fault
(i knew i would get around to it one day :) )

Tested with NT4 and Win2k.  Needs a little more testing with the
"create the machine account on the fly" code for NT4.

Simo, this is probably going to break the tdb passdb code.
Can you look at that when you get a chance and see what you think?
(This used to be commit 1c13110873e456748dc09fd51749f664643fe888)
2001-04-25 22:12:13 +00:00
Jeremy Allison
3e4c6d130c Fix "proc num out of range" error. Missing rpc call.
Jeremy.
(This used to be commit 6248fb22926d72fddaecad5af117af1bdd08fda3)
2001-04-23 23:31:09 +00:00
Jeremy Allison
70b55a9abc Added "obey pam restrictions" parameter - default to "off".
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.
(This used to be commit 59aa99f3901d098b7afbe675021bda53b62ee496)
2001-04-23 20:43:20 +00:00
Jeremy Allison
ae8418d0c4 Added smb_ prefix to all Samba wrapper pam functions.
Fixed off by one bug using StrnCpy instead of strdup().
Jeremy.
(This used to be commit d4b1c0be2e700c86a4338bb497777f97e3c960a7)
2001-04-23 04:15:35 +00:00
Jeremy Allison
e277c08631 Commit of a modified version of Andrew Bartlett's patch that removes the
horrid utmp hostname parameter - now uses the client name instead.
Also tidies up some of the unencrypted password checking when PAM
is compiled in.
FIXME ! An pam_accountcheck() is being called even when smb encrypted
passwords are negotiated. Is this the correct thing to do when winbindd
is running ! This needs *SEVERE* testing....
Jeremy.
(This used to be commit 071c799f479dd25efdb9c41745fc8f2beea7b568)
2001-04-22 07:20:24 +00:00
Andrew Tridgell
ac9e221c3e merging from 2.2 to head
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
2001-04-22 02:54:04 +00:00
Andrew Tridgell
9ce5a03ccb merge from 2.2
(This used to be commit f52a5014ee325f9d91f266f88eac51b6136a75b9)
2001-04-18 16:41:04 +00:00