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

684 Commits

Author SHA1 Message Date
Stefan Metzmacher
d907dcf383 r127: NetWkstaGetInfo level 101
and return WERR_ACCESS_DENIED for level 102, 502 so does my winXP box
for a non-admin user

metze
(This used to be commit 975bf13f17e0bd95ec37af3534e5209c1de99252)
2007-10-10 12:51:09 -05:00
Stefan Metzmacher
8709182fd3 r126: - add first srvsvc and wkssvc server side stuff
- we know can browse the server via the Windows Explorer

- some little fixes to the winreg server pipe

metze
(This used to be commit 6f213a3494d3b5ab629944394b20a84075a04438)
2007-10-10 12:51:09 -05:00
Stefan Metzmacher
509bbf4383 r125: use AC_CONFIG_FILES() instead of AC_OUTPUT()
we should have only one AC_OUTPUT() at the end of configure.in

metze
(This used to be commit 60aa14d463fcd7aa12529f1fad0db64f17e37aaf)
2007-10-10 12:51:09 -05:00
Andrew Tridgell
2f4bb85be5 r114: - remember to initialise open_files
- use talloc_p when possible
(This used to be commit db7f7ac165ded15f0b8157eb899ea6828a033da9)
2007-10-10 12:51:09 -05:00
Andrew Tridgell
a8dfb92795 r113: added support for "read only = yes" in simple backend
(This used to be commit d268e455f15ec0d2b9e9e7abd8c7135ff4c19fcd)
2007-10-10 12:51:09 -05:00
Andrew Tridgell
2aee840667 r112: the simple backend now registers as both "simple" and "default"
so older smb.conf settings will work
(This used to be commit 6f6285ce603b55b1c68cf54621e22aa777b6c5c5)
2007-10-10 12:51:08 -05:00
Andrew Tridgell
7304bb8d7d r109: a test commit 2
(This used to be commit 7bc10b350f3245d05967de581fec78152c686e71)
2007-10-10 12:51:08 -05:00
Andrew Tridgell
eb90531ca9 r108: a test commit
(This used to be commit a374d6012d62497ad42b3d1957df1093f4b088b4)
2007-10-10 12:51:08 -05:00
Andrew Tridgell
1b6b6f716c r107: a test commit
(This used to be commit c6546442a4ff4a65e7e88a1aa79698a32bee8fcc)
2007-10-10 12:51:08 -05:00
Andrew Tridgell
c58c7ea179 r106: add an idea about SMB UNC names
(This used to be commit 1497f8c113ac6294968ec681aa536180e5d9eb6b)
2007-10-10 12:51:08 -05:00
Andrew Tridgell
984bfce2d9 r101: added lsa_SetSecret() and lsa_QuerySecret()
this required some crypto infrastructure and some sid utilities
(This used to be commit 37d0efa9c2af8532536bea88412f0dd3ed39ecfc)
2007-10-10 12:51:06 -05:00
Andrew Tridgell
a8a42e7f53 r100: remember the user session key during session setup so it can be used in various crypto
routines
(This used to be commit f6cf9020c8899e784385ea0e14fa465685441ee6)
2007-10-10 12:51:06 -05:00
Andrew Tridgell
43caaa54e7 r99: make sure we reap child processes in the standard process model
(This used to be commit ad8b3cc1e3bd2f86397038010d77cd875b1c94da)
2007-10-10 12:51:06 -05:00
Andrew Tridgell
1c5de896bc r67: added a destroy hook in the policy handle -> wire handle code to allow backends
to cleanup handle data
(This used to be commit af0c21c1e175ca2ebb687dc6dff83da919280271)
2007-10-10 12:50:41 -05:00
Andrew Tridgell
7d9763325c r66: fixed a segv when printing an error from a session setup failure. This
was caused by the cli to cli->tree conversion a while ago
(This used to be commit f88f1d33618562f8b8273ec45a79b819c9e48686)
2007-10-10 12:50:41 -05:00
Andrew Tridgell
19680ba4df r65: added support for file streams in the simple NTVFS backend
(This used to be commit 9a9cc44a05510a69ad902db4d01dc12b6ac4f8ba)
2007-10-10 12:50:41 -05:00
Jelmer Vernooij
f9235e0964 r62: Fix the build
(This used to be commit 1396db85372af1824592ef66f963603e3f35803c)
2007-10-10 12:50:41 -05:00
Jelmer Vernooij
b96025eb15 r61: - Implement first call in the winreg rpc server
- Add some initial implementation of the ldb backend
- More checks in the winreg torture test
(This used to be commit ae2b63b6f1821bc4f693cb8e2a5f78718c483c24)
2007-10-10 12:50:41 -05:00
Stefan Metzmacher
220ea5b6e6 r55: if you try to use a custom bind or unbind hook in
a dcesrv module and also use the autogenerated boilerplate
you can just use:

#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_BIND <interface_name>_bind
#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_UNBIND <interface_name>_unbind

the prototype for the functions are the same as in
struct dcesrv_interface {
...
	/* this function is called when the client binds to this interface  */
	NTSTATUS (*bind)(struct dcesrv_call_state *, const struct dcesrv_interface *);

	/* this function is called when the client disconnects the endpoint */
	void (*unbind)(struct dcesrv_connection *, const struct dcesrv_interface *);
...
};

e.g.

#define DCESRV_INTERFACE_WINREG_BIND winreg_bind
#define DCESRV_INTERFACE_WINREG_UNBIND winreg_unbind

metze
(This used to be commit ae97f5f50b0d00889f29e1903513cee88891545d)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
2542ed0ac7 r46: Add CreateKey function (still working on it)
(This used to be commit 9f13b7c60cc7e6edd095eee96625ee02cd0dd73b)
2007-10-10 12:50:40 -05:00
Gerald Carter
381a903d00 r42: importing .cvsignore files
(This used to be commit 11717ae912449bde596ff6cf7d8fddcc86548f15)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
5c49a23a29 r36: - Start using memory pools in the registry library
- Remove obsolete file
(This used to be commit d85b8fb3b74b236fb03cf0931a0f585eec74536a)
2007-10-10 12:50:40 -05:00
Andrew Tridgell
2e022b2c85 r35: a test commit - 2
(This used to be commit b87af5a37b40687fbfc4b8d232e73b4459e58143)
2007-10-10 12:50:40 -05:00
Andrew Tridgell
66abe7bb8b r34: a test commit
(This used to be commit 87429a0c99456118e6de841aa4f8948f136aa37f)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
2db2697aa4 r33: Fix torture test after IDL changes.
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
69c19afb62 r31: More registry updates. regdiff/regpatch work now.
(This used to be commit 98224f5436695eb265f5d997cf4bc9cf735a4fb9)
2007-10-10 12:50:40 -05:00
Andrew Tridgell
b087ed4821 r23: get rid of def_finfo
(This used to be commit 25b7ec390aec3e324c4c7ad8edbc90fc8896b230)
2007-10-10 12:50:33 -05:00
Jelmer Vernooij
c424c2b857 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)
2007-10-10 12:50:33 -05:00
Gerald (Jerry) Carter
3855ee0164 [GLUE] Sync tree with SVN r17.
(This used to be commit 6e50109b664ff5fcc3d27f676d101c2b36574a63)
2007-10-10 12:39:20 -05:00
Andrew Tridgell
c582f5cf1d added IDL and test for lsa_OpenSecret()
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)
2004-04-03 17:21:26 +00:00
Andrew Tridgell
84d009d52e added IDL and test suite for lsa_CreateSecret()
(This used to be commit 4de08b64ddb3851e90a8dadd7d0d0991e933abf5)
2004-04-03 17:15:32 +00:00
Andrew Tridgell
9bc3b91cca added idl and test suite for lsa_CreateTrustedDomain()
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)
2004-04-03 16:44:39 +00:00
Andrew Tridgell
ee44733f94 added the rest of the ldb_modify() code, which required a fairly large
change in the ldb API. The API is now much closer to LDAP.
(This used to be commit e9e85c464411c561c5073d262a2e3533fec175ca)
2004-04-03 12:29:21 +00:00
Tim Potter
f1c3fa060e This is the start of a C API to the DCERPC client routines. Currently
the only way to access this is to cut&paste from torture/rpc/*.c
(This used to be commit 3355fec421f82034f433a4b59aa5ad589b070577)
2004-04-03 01:25:40 +00:00
Jeremy Allison
4c12490730 Added one more test for "dirname\."
Jeremy.
(This used to be commit a7ca9620d50aa33e7125d280bc096f1a42438141)
2004-04-02 18:59:38 +00:00
Andrew Tridgell
05d10eba1f allow "struct TDB_DATA" as well as just "TDB_DATA"
in general I prefer the struct form for Samba4 structures. I think its
clearer.
(This used to be commit 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)
2004-04-01 07:39:04 +00:00
Andrew Tridgell
e5b5c1be45 added lsaCreateAccount() and a test in the RPC-LSA test suite
also tested lsa_Delete() to delete the newly created account
(This used to be commit c4d5d0e9eba6b564e2ce6885d66d644b6612d721)
2004-03-31 12:52:21 +00:00
Andrew Tridgell
4258c7f27f building with Makefile.ldb now works
(This used to be commit 12538cd2c650bacabd37f4d2ecd3ff3ffce87a00)
2004-03-31 06:51:44 +00:00
Andrew Tridgell
58d50a614f make a more recent snapshot of ldb available to interested
people. Note that I decided to make it LGPL.

ldb is not finished yet, but enough of it is there for people to get
an idea of what it does, and quite a few simple tests work
(This used to be commit dc6f41f9e777d37f883303ddef0d96840d80f78e)
2004-03-31 06:45:39 +00:00
Andrew Tridgell
4aa785b1b2 merge some recent tdb changed from samba3
(This used to be commit 0e845ecd49841c620f7f9c5ba6c5bfbb0c572032)
2004-03-28 02:18:38 +00:00
Andrew Tridgell
9403f3dc7e switch from SIG_ATOMIC_T to sig_atomic_t
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)
2004-03-28 01:57:28 +00:00
Andrew Tridgell
3744324dbd after discussion with the copyright holders tdb is now under the LGPL
(This used to be commit 51409e2a417fb0673f59e5c823d7fe54b21e6f76)
2004-03-28 01:43:06 +00:00
Andrew Tridgell
ad15f42b6d added a TDB_MODIFY flag to tdb_store() that says "if the record
doesn't exist then fail the store"
(This used to be commit 6aec1457f8772cf81b88a0a00cc2ad7c16cd0d87)
2004-03-28 01:38:42 +00:00
Andrew Tridgell
2fe43ec90f added a private pointer to tdb_traverse() to allow callers to supply
data to their traverse function
(This used to be commit 76bf816485bf869c293791659da5dff2425d2d32)
2004-03-28 01:33:32 +00:00
Andrew Tridgell
4217c609a8 removed the state parameter to tdb_traverse and the TDB_MODIFY flag
(This used to be commit 6505efc7e9bfcdae3e370d8557328470608b87ca)
2004-03-28 01:30:54 +00:00
Andrew Tridgell
83b9f88e26 copy with a null volume name in a trans2 QFSINFO call
(This used to be commit 96c54df6facc8d1d5ef559ebc3e7e0953d89b2ab)
2004-03-26 02:41:20 +00:00
Andrew Tridgell
47dfe299c8 - moved some of the base tests into torture/basic/
- added a CHARSET set of tests, which determines how the server deals
with some specific charset issues related to UTF-16
support. Interestingly, Samba3 already passes all but one of these
tests, because our incorrect UCS-2 and UTF-8 implementations where we
don't check the validity of characters actually matches what Windows
does! This means that adding UTF-16 support to Samba is going to be
_much_ easier than we expected.
(This used to be commit c8497a42364d186f08102224d5062d176ee81f5b)
2004-03-26 02:39:48 +00:00
Andrew Tridgell
9a29b39377 - use a linked list for the ftable in the nbench load generator. This
allows us to cope a little better with the async nature of open/close
requests which implies a ordering on which handle to close.

- request oplocks in NBENCH and add a oplock handler
(This used to be commit 3bcd27e0f0a20f2d9923815a123044bda710693c)
2004-03-26 02:11:31 +00:00
Andrew Tridgell
516e90bea9 use client1, client2 not client0, client1 to better match netbench
(This used to be commit 4bbc77fa0c3a91fd34e1966892782f5b2a441359)
2004-03-26 02:09:51 +00:00
Andrew Tridgell
f169d83a8b fixed the handling of level II oplocks in samba4, especially when
acting as a cifs redirectory (using the cifs backend)
(This used to be commit 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)
2004-03-25 02:41:19 +00:00