1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

11273 Commits

Author SHA1 Message Date
Tim Potter
cdc7c599c7 Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function.
0001-01-01 00:00:00 +00:00
Tim Potter
b9c4cc1195 Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull()
0001-01-01 00:00:00 +00:00
Tim Potter
1e7236371d Quieten debug about gencache.tdb not being able to be opened.
Perhaps we should try to open O_RDONLY if O_RDWR fails?
0001-01-01 00:00:00 +00:00
Jeremy Allison
49739be1e2 Merge tridge's client priv code from HEAD.
Jeremy
0001-01-01 00:00:00 +00:00
Andrew Tridgell
bf99440398 added LsaRemoveAccountRights
this now gives us complete remove privileges control in the client
libs, so we are in good shape for starting on the server side.
0001-01-01 00:00:00 +00:00
Jeremy Allison
30a33920b4 Merging tridge's privillage client changes from HEAD.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
f739a7263d patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries 0001-01-01 00:00:00 +00:00
Gerald Carter
8ef302f6bf patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries 0001-01-01 00:00:00 +00:00
Gerald Carter
1a0c9155f1 added missing file for abartlet 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
06f641bcb5 First step towards XML: Use correct syntax 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
89f9a0a0c4 First step in converting to XML: use strict syntax 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
d9cf973a46 Put in ab's conversion to XML. First step: Make all the SGML docs
conform to the (more strict) XML syntax.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
0930628bd5 Merge in ab's conversion to XML. First step: make SGML documents compatible
with the (more strict) XML format.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2e5e659e09 cleaned up the lsa_enum_acct_rights function and added a
lsa_add_acct_rights function.

This allows us to add privileges remotely to accounts using rpcclient.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
fbb46da79c Merge from HEAD:
- NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor.
  - also consequential changes to the NTLMSSP and SPNEGO parsing functions
  - and the client code that uses the same functions
 - Add ntlm_auth, a NTLMSSP authentication interface for use by applications
   like Squid and Apache.
  - also consquential changes to use common code for base64 encode/decode.
 - Winbind changes to support ntlm_auth (I don't want this program to need
   to read smb.conf, instead getting all it's details over the pipe).
 - nmbd changes for fstrcat() instead of fstrcpy().

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
7cbb194b58 As per a comment by herb a little while back, this should be >=, not == to keep
identical behaviour with previous versions
0001-01-01 00:00:00 +00:00
Andrew Bartlett
a058960c15 Make this an fstrcat(), as this seems to fix some weird issue with the server
name being truncated...  (either way, it's the correct thing to do).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
e5c67a0124 The previous patch (NTLMSSP common code factoring) was missing a minor detail -
testing :-).  This gets the 'signiture' after the extended security blob,
rather than over the top of it.

Also move that code to the top of the file, with some of the other util functions.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
cvs2svn Import User
b741abd496 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
a8773c9f82 Factor out common code in the NTLMSSP/SPNEGO code.
The idea here is to seperate, as much as possible, the SPNEGO layer from the
NTLMSSP layer.  This not only helps us with protocol correctness, but also
should allow further mechinisms to be added with relitive ease.  I indend to
make the kerberos code use this shortly.

I've never seen the 'zero length blob' form of the anonymous login, so I've
removed that case.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
1b71786c16 Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
d6c22e693e performance patch from HP-UX folks (cant remember who) 0001-01-01 00:00:00 +00:00
Gerald Carter
9180e2d062 performance patch from HP-UX folks (cant remember who) 0001-01-01 00:00:00 +00:00
Gerald Carter
d74d4fe0b0 CUPS-PRINTER_CLASS patch from Michael Sweet 0001-01-01 00:00:00 +00:00
Gerald Carter
8d0bde4315 CUPS-PRINTER_CLASS patch from Michael Sweet 0001-01-01 00:00:00 +00:00
Jeremy Allison
85dda43476 Get smbd to link with Heimdal. Still missing some client progs...
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
f89a99bf88 reran autoconf 0001-01-01 00:00:00 +00:00
Richard Sharpe
84b6f32cff One more try to fix the GNU Make dependency 0001-01-01 00:00:00 +00:00
Richard Sharpe
58a7744f4a One more fix ... Things link now if you don't use dynamic RPC stuff 0001-01-01 00:00:00 +00:00
Richard Sharpe
a96592fb69 One more try to get rid of the dependency on GNU MAKE 0001-01-01 00:00:00 +00:00
Richard Sharpe
5e99472d5b Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.
I have not tested this in a GNU MAKE environment yet.
0001-01-01 00:00:00 +00:00
Gerald Carter
305f167db2 sync with tpot's change to gencache_get() in HEAD 0001-01-01 00:00:00 +00:00
Gerald Carter
607bc0b4fc masking an assert error in Tim's wins server checking code; needs a proper fix after I talk to tpot 0001-01-01 00:00:00 +00:00
Jeremy Allison
af6e4ea640 Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
efd52f6ca7 Memory leak fix from Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7e2bc1fe58 Fixed typo found by tpot.
Jeremy.
0001-01-01 00:00:00 +00:00
Richard Sharpe
fdd449fe7b Commit just a little more infrastructure for HAVE_GETDIRENTRIES 0001-01-01 00:00:00 +00:00
Richard Sharpe
916c8784d2 At the prompting, start to add infrastructure to detect the presence of
getdirentries. We would also detect getdents if present. This has some
rudimentary support already.
0001-01-01 00:00:00 +00:00
Gerald Carter
15be89e72f merging [un]signed declaration 0001-01-01 00:00:00 +00:00
Tim Potter
c39c54e6b6 Merge of increment_smbd_process_count() fix from appliance. 0001-01-01 00:00:00 +00:00
Jeremy Allison
04cc149c75 Thanks Meeester Potter, for reverting *all* my Heimdal changes because
I mistyped a comma :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
303710c206 Merge of max log file fixes from appliance:
- smbd/process.c: check log file sizes more often than in
       timeout_processing()

 - lib/debug.c: increment debug_count inside Debug1() instead of
       when log file sizes are checked.
0001-01-01 00:00:00 +00:00
Tim Potter
09d8a8e87f Fixed typo. 0001-01-01 00:00:00 +00:00
Tim Potter
9b11ede901 Fixed typo. 0001-01-01 00:00:00 +00:00
Tim Potter
81bfd9a4d9 Sync with HEAD. The -L/usr/local/lib bit looks a bit dodgy though. 0001-01-01 00:00:00 +00:00
Tim Potter
db3901827f Sync with HEAD. 0001-01-01 00:00:00 +00:00
Tim Potter
902a1dc1d5 Minor merges from HEAD. 0001-01-01 00:00:00 +00:00
Tim Potter
648307ab3d Merge: remove dead function. 0001-01-01 00:00:00 +00:00
Tim Potter
51b319f57f Merge of kerberos changes to make this branch build again! 0001-01-01 00:00:00 +00:00
Tim Potter
d1107efa1c Merge of wins server dead list into gencache.tdb 0001-01-01 00:00:00 +00:00