1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

5595 Commits

Author SHA1 Message Date
Andrew Tridgell
e9c925f872 r8629: - moved the getDomainList() call out of smbcalls_auth.c and into libjs/auth.js
- tried to make the ejs_userAuth() call work for the sam, not just for
  unix auth. I didn't get this working. Andrew, when you get a chance
  can you see what I'm doing wrong? I suspect its because we aren't
  supplying a challenge, but a challenge doesn't really make sense in a
  'is this username/password' correct call.
(This used to be commit 9e07c08a71)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
d9cfd55dbb r8628: add retries to the normal paths of nbt name resolution. UDP broadcasts are not 100% reliable :)
(This used to be commit 0f8f1cd18e)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
174da76293 r8627: fixed a big memory leak in the spnego gensec code in session
setup. Andrew, please check over this.

What happens is this:

 - run the BASE-SECLEAK test
 - with each failed session setup using spnego a gensec ctx is leaked into the smb_conn structure
 - after the client disconnects these are finally cleaned up as they
   are all children of the connection structure
 - the cleanup of the millions of memory objects takes long enough
   that the next operation in test_posix.sh sometimes fails with a timeout

Andrew, can you also look at the talloc_reference() on line 332 of
sesssetup.c ? I suspect it isn't needed (I don't think it does any
actual harm though)
(This used to be commit b40fb6a456)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
594b76264f r8626: fixed a typo
(This used to be commit 3083d494e2)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
338c3f8523 r8625: move the ldb_wrap logic into the ldb code. This logic is meant to
avoid the horrors of posix locking, but it was preventing us having an
ldb open twice with different options. Now each ldb open of the same
file shares the same underlying tdb, but uses a different ldb
structure
(This used to be commit 4e090c66df)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
f650ea1012 r8624: removed valgrind comment on tdb that no longer applies
(This used to be commit 8f222c8c7a)
2007-10-10 13:29:45 -05:00
Jelmer Vernooij
ddd64e7ef4 r8623: Fix warnings in ODL-generated code.
(This used to be commit 78ef2349c7)
2007-10-10 13:29:45 -05:00
Jelmer Vernooij
d5b7249ddd r8622: Support parsing new structs/unions/enums/bitmaps without typedef in
(This used to be commit cd33b5efc5)
2007-10-10 13:29:45 -05:00
Jelmer Vernooij
f3a10494db r8621: Simplify code. Add support for nested structures back into the header generator.
(This used to be commit 5610838385)
2007-10-10 13:29:44 -05:00
Jelmer Vernooij
4f3d66b0df r8614: Add COMRESULT/HRESULT scalar type
(This used to be commit 8637a85e6a)
2007-10-10 13:29:44 -05:00
Jelmer Vernooij
728033178b r8613: Remove a couple of empty loops.
(This used to be commit 94e338805d)
2007-10-10 13:29:44 -05:00
Jelmer Vernooij
d99d06d954 r8612: Parse::Pidl::NDR:
Values that are deferred but don't contain deferred data don't
	need NDR_BUFFERS

Parse::Pidl::Samba::NDR::Parser:
	Only use manually written array access functions when the array
	functions are faster then the autogenerated ones. Makes ndr_basic.c
	a bit shorter.
(This used to be commit cad40815dc)
2007-10-10 13:29:44 -05:00
Andrew Tridgell
8f16aa6c17 r8603: we have to use the same db name as the rest of smbd uses so the ldb connect
works when already open
(This used to be commit 1183f54c8d)
2007-10-10 13:29:44 -05:00
Andrew Tridgell
da88ef65e0 r8602: allow options in ldb connect calls
(This used to be commit 4c1d6a97c0)
2007-10-10 13:29:44 -05:00
Andrew Tridgell
c1a4f0c769 r8601: fixed null termination in ltdb connect error
(This used to be commit 64b6586b57)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
3c5675af93 r8600: fixed null termination on some error messages in ldb
(This used to be commit 326f0ad6fb)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
cd65f29fc6 r8599: null terminate the argv list in string C functions
(This used to be commit cabf638a31)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
325edaa66a r8598: move provisioning to /install/ directory from /esptest/
(This used to be commit 318402ee4e)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
6c38e3324a r8594: more placeholder pages for server status
(This used to be commit 1ad6b58783)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
01dd0f8c6c r8593: register the rpc server with irpc
(This used to be commit bc9d9531f5)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
342d11e354 r8591: - added a simple 2 level menu structure to swat. Deryck, I know this
isn't very pretty, and please feel free to do this much more nicely
  :-)

- added a top level menu listing our main servers

- added placeholder pages for the main servers

- added NBT server statistics
(This used to be commit 1aa658b756)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
82f1a9474d r8590: added server status utility functions for checking on the status of a task via irpc
- for stream tasks, returns the number of connections

- for non-stream tasks, returns "RUNNING"

For both, return "DISABLED" or "NOT RESPONDING" appropriately
(This used to be commit 78d6303814)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
0e7b9f84ce r8589: - support --version option to smbstatus
- print samba version at startup
(This used to be commit eb3e4bbe7f)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
ab9cef60a0 r8588: register wins server with irpc
(This used to be commit dc0ea36344)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
7ee2babcfe r8587: - fixed ref allocation in irpc replies
- make every irpc server support the irpc_uptime() call
(This used to be commit eee9044826)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
ea39a55dea r8586: register the kdc with irpc so we can tell that it is up
(This used to be commit 093bbae1c3)
2007-10-10 13:29:41 -05:00
Simo Sorce
bfb1186269 r8585: add to ldb and ldap comparison functionality
better pares filters
Approx is currently only a stub need to dig more info to
understand what it really means and how it works exactly
(This used to be commit a9e8cd0bad)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
cb060f8bac r8584: added --nbt option to smbstatus for nbt server statistics
(This used to be commit 26a676a4e3)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
ef948e53b7 r8583: nicer smbstatus output
(This used to be commit 0578bcdf7f)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
afe0fffc44 r8582: added sys.httptime() call, to display a NTTIME as a http time string
(This used to be commit 632f7bbe3e)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
6615b40601 r8581: fixed handling of 64 bit integers in rpc calls from ejs
(This used to be commit 2ae6a33846)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
b484221730 r8580: try to fix the build on stratus
(This used to be commit 58d7a1e6a3)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
9a4bc49fee r8579: recognise the name 'localhost' as 127.0.0.1. This solves a problem
with some hosts that are missing localhost from /etc/hosts
(This used to be commit f9866258e0)
2007-10-10 13:29:40 -05:00
Deryck Hodge
8638d01a28 r8578: Fix overlapping sections in SWAT.
deryck
(This used to be commit 28cc020a1a)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
a32fe0f293 r8577: added management calls to list current tree connects
(This used to be commit 658befc1e4)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
f3d61cc615 r8576: install scripts from scripting/bin/
(This used to be commit a64490d1e5)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
340b3d7301 r8575: the beginnings of a smbstatus command
(This used to be commit 4ecaf72a31)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
25428433e3 r8574: added server side irpc calls for listing the current sessions
(This used to be commit 391cfe3c96)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
1bc4bd4c14 r8570: delete all records in the old db when provisioning, rather than using
sys.unlink(). This allows smbd to see the new db without restarting.
(This used to be commit 71004aa165)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
09708a2012 r8569: delete is a js reserved word, so use del instead
(This used to be commit 9af48b8fc2)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
139e43bf9c r8568: change missing templates to warnings, so that provisioning with an existing db
doesn't print lots of fatal errors
(This used to be commit d8d47bb18f)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
d2d5d71f34 r8567: fixed the build after the com idl changes
Jelmer, can you please check that I got this right?
(This used to be commit bec135446a)
2007-10-10 13:29:39 -05:00
Jelmer Vernooij
494e396bfb r8566: Couple of code cleanups
(This used to be commit e43ac10e36)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
18d64b6b7c r8565: put the docs menu on the right
(This used to be commit ed02d9989f)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
2d92eca393 r8562: small merge with upstream
(This used to be commit 6c9bf162af)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
f1245d4ac1 r8561: as with the other ejs subsystems, make nss into a object
(This used to be commit a3f3292e66)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
948183cb38 r8560: added a newuser page in swat
(This used to be commit da366042f4)
2007-10-10 13:29:38 -05:00
Jelmer Vernooij
762a6a14e8 r8559: Couple of (D)COM updates:
- Fixes annoying array-of-pointers bug in pidl.
 - No longer "inherit" alignment thru subcontexts
 - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see
(This used to be commit bd706d4964)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
09fb6d2280 r8558: move newuser logic into the provision.js lib
(This used to be commit b6ef32ddd1)
2007-10-10 13:29:37 -05:00
Andrew Tridgell
0752efe055 r8557: expose ldb_errstring() in ldb ejs code
(This used to be commit 21ca972d06)
2007-10-10 13:29:37 -05:00