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

9827 Commits

Author SHA1 Message Date
Stefan Metzmacher
3455998edc r17414: add new error code
metze
(This used to be commit e15a015a1d)
2007-10-10 14:15:23 -05:00
Stefan Metzmacher
14d3223321 r17413: add a new case for the this:
top->level1->level2->level3

level3 has a deny destructor
talloc_free(level1)

result: top->level3

metze
(This used to be commit 3be930b81d)
2007-10-10 14:15:22 -05:00
Simo Sorce
1ea8c378e2 r17412: fix missing colon
(This used to be commit 300d6e724d)
2007-10-10 14:15:22 -05:00
Andrew Bartlett
976b01b01a r17411: Try and compile on older versions of GnuTLS.
Andrew Bartlett
(This used to be commit 798c0791d8)
2007-10-10 14:15:22 -05:00
Simo Sorce
9481764b19 r17398: avoid a memleak when we are returned 0 results and make a more creative use of memory contexts
(This used to be commit fc97b5dc8c)
2007-10-10 14:15:22 -05:00
Andrew Bartlett
bf5e85ba25 r17397: Add const, and use a more local memory context.
Andrew Bartlett
(This used to be commit 59fc8031ec)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
5d05a1a726 r17396: Bump the time up again. RPC-SAMR can slow, I probably need to break
it up again...

Andrew Bartlett
(This used to be commit 110de3a3a2)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
303c106155 r17395: Add some more time to the default runtime. Now 7.5 mins.
Andrew Bartlett
(This used to be commit 5cb916b57a)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
416625319b r17394: Pregenerate all the files for TLS. Make the 'make test' startup *much* faster.
Andrew Bartlett
(This used to be commit c366c90662)
2007-10-10 14:15:21 -05:00
Stefan Metzmacher
358b1b2ea6 r17381: - we don't need debug messages twice
- also user_info->mapped is maybe uninitialized
  in auth_password_check() as it we do the mapping in
  auth_password_check_send()

that to Kai Blin <kai.blin@gmail.com> and valgrind to find
this bug

metze
(This used to be commit d88aabef64)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
1057b4bea2 r17380: An expanded test, cross-referencing the global catalog to the main port.
Andrew Bartlett
(This used to be commit eadc24ed29)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
adefa4404c r17379: Pre-generate DH parameters, to avoid doing this at runtime in our testsuite.
Andrew Bartlett
(This used to be commit 23314c3953)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
05aa6b85ce r17377: This attribute is maintained by the modules, don't override it.
Andrew Bartlett
(This used to be commit d942a8b2b6)
2007-10-10 14:15:20 -05:00
Simo Sorce
eb16bc612a r17370: Fix tdb searches, we need to return an LDAP_REPLY_DONE packet when done.
Awesome how this didn't break everything around...
(This used to be commit 1b3b617659)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
f685635e87 r17368: Add 'const' to ldb_match_msg().
Andrew Bartlett
(This used to be commit 54eda4b859)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
529c5dae51 r17362: session_info and smbpid are available from the ntvfs_handle
so we don't need them on the pvfs_file struct.

also we don't need to check is the handle has the correct session
as this is job of the frontend server

metze
(This used to be commit c83501335f)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
2c4eece604 r17361: check that file handles are only accessable
by the correct session in the SMB frontend server

metze
(This used to be commit 8a5bc18c5a)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
c5148cd9cd r17360: add some comments
metze
(This used to be commit 3d849f9d25)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
7b52d77eb5 r17359: http://www.cs.wisc.edu/~cao/cs739/draft-leach-cifs-v1-spec-01.txt
says that with the 0xffff fid all files only for the given pid
should be flushed

Does samba3 handle this correct?

metze
(This used to be commit 7cf6eae23b)
2007-10-10 14:15:18 -05:00
Stefan Metzmacher
326e963a89 r17357: - fix the build
- generate the IDL_NDR_* variables before using them
  (this was the reason I didn't noticed this error)

metze
(This used to be commit c493bc83ee)
2007-10-10 14:15:18 -05:00
Andrew Bartlett
cf7ccba67e r17352: Don't do a modify on the objectClasses, as OpenLDAP doesn't like
this.  Instead, handle this one in the add.

Andrew Bartlett
(This used to be commit ab355e1f5f)
2007-10-10 14:15:18 -05:00
Andrew Bartlett
bd8fd50982 r17351: Remove extra LDB partition we don't actually use (these are in the
main database, under cn=templates).

Andrew Bartlett
(This used to be commit b1d061d36a)
2007-10-10 14:15:18 -05:00
Simo Sorce
b1b9617d1c r17350: Avoid a couple of memleaks, unnecessary code and use a more linear style
(This used to be commit 97c4d41a30)
2007-10-10 14:15:18 -05:00
Andrew Bartlett
b94b9d8c3d r17349: We can't just return sucess here, modules below us expect the async
reply rules to be followed.

Add code to do a fake async callback on the skipped records.

Andrew Bartlett
(This used to be commit 26bc7dbed9)
2007-10-10 14:15:17 -05:00
Stefan Metzmacher
bdbc9b3908 r17344: move the gensec_update_request structure into the header file
and add a private_data for the backends.

metze
(This used to be commit 015a65e001)
2007-10-10 14:15:17 -05:00
Stefan Metzmacher
d6301c8472 r17343: let auth_winbind use IRPC against the winbind task.
(currently this uses the sync IRPC_CALL(), but when
auth_check_password will be async for the backend this will
change to IRPC_CALL_SEND()

the old module which uses the samba3 protocol against winbind
is still available as 'winbind_samba3'

metze
(This used to be commit 26efc732ab)
2007-10-10 14:15:17 -05:00
Stefan Metzmacher
e48ed74f4a r17342: implement a SamLogon via IRPC in samba4's winbind
metze
(This used to be commit c3ce7a0c37)
2007-10-10 14:15:17 -05:00
Stefan Metzmacher
7a845bcb01 r17341: pass a messaging context to auth_context_create()
and gensec_server_start().

calling them with NULL for event context or messaging context
is no longer allowed!

metze
(This used to be commit 679ac74e71)
2007-10-10 14:15:17 -05:00
Stefan Metzmacher
63aaa6b782 r17340: initialize elements od dcesrc_call_state in one central place
and pass the messaging context to the call

metze
(This used to be commit 0d7f16d7be)
2007-10-10 14:15:16 -05:00
Stefan Metzmacher
9b6f35edbf r17339: pass the event context and messaging context together to the
smb ejs functions

metze
(This used to be commit 0397911b41)
2007-10-10 14:15:16 -05:00
Stefan Metzmacher
9e0993a647 r17337: make better usage of the composite api
and create an event context explicit

metze
(This used to be commit 02ec14e553)
2007-10-10 14:15:16 -05:00
Stefan Metzmacher
3ecdc5c24f r17336: make the logic a bit more easier to understand...
metze
(This used to be commit 60afb46683)
2007-10-10 14:15:16 -05:00
Andrew Bartlett
582cf8c1c0 r17332: May as well make this a round number
(This used to be commit a2d6141476)
2007-10-10 14:15:16 -05:00
Andrew Bartlett
c45ac4343c r17331: Oops, how did I commit this empty file...
Andrew Bartlett
(This used to be commit 3b81f21d41)
2007-10-10 14:15:15 -05:00
Andrew Bartlett
7b99b2048e r17330: Enable the partitions module.
This module redirects various samdb requests into different modules,
depending on the prefix.  It also makes moving to an LDAP backend
easier, as it is just a different partition backend.

This adds yet another stage to the provision process, as we must setup
the partitions before we setup the magic attributes.

Andrew Bartlett
(This used to be commit 31225b9cb6)
2007-10-10 14:15:15 -05:00
Stefan Metzmacher
331ad9e7b8 r17329: - after a composite_continue() we need to call return;
- add some comments

metze
(This used to be commit adb4ba9db2)
2007-10-10 14:15:15 -05:00
Stefan Metzmacher
fd86007351 r17328: make better usage of the composite api
metze
(This used to be commit ae0834c8ca)
2007-10-10 14:15:15 -05:00
Stefan Metzmacher
509a70e7da r17327: when the connect with the ipv6 socket was ok,
we need to inform the caller...

metze
(This used to be commit 40f10dfd60)
2007-10-10 14:15:15 -05:00
Stefan Metzmacher
5c1d881091 r17326: make better usage of the composite api
metze
(This used to be commit 097c9f09f3)
2007-10-10 14:15:14 -05:00
Stefan Metzmacher
2ac4cdf85e r17325: make better usage of the composite api
metze
(This used to be commit 26a62458cd)
2007-10-10 14:15:14 -05:00
Stefan Metzmacher
daff55d64e r17324: make better usage of the composite api
metze
(This used to be commit 0fa9777710)
2007-10-10 14:15:14 -05:00
Stefan Metzmacher
46b2b8c890 r17323: make better use of the composite api and fix the memory
hierachy

metze
(This used to be commit a0aa61a8d5)
2007-10-10 14:15:14 -05:00
Stefan Metzmacher
67fb28d9a8 r17322: make better use of the composite api
metze
(This used to be commit 5e66bf463b)
2007-10-10 14:15:13 -05:00
Stefan Metzmacher
08282aec60 r17321: give better error codes
metze
(This used to be commit 8e87b79ce7)
2007-10-10 14:15:11 -05:00
Stefan Metzmacher
7847e7b644 r17320: - print the debug message before the composite context get received by the caller
- steal pipe2 to the state structure so we don't need to take about freeing is later

metze
(This used to be commit 4ba50fc29e)
2007-10-10 14:15:11 -05:00
Stefan Metzmacher
3437c2d92c r17319: make better usage of the composite api
metze
(This used to be commit 8f9e201b9a)
2007-10-10 14:15:11 -05:00
Stefan Metzmacher
7c50eec25e r17318: make better usage of the composite api
metze
(This used to be commit 683fc25f65)
2007-10-10 14:15:11 -05:00
Stefan Metzmacher
7e949c9fb1 r17317: - add a composite_create() function that allocates and initialize
the composite_context structue, we should try to convert all code
  to use this because there're a lot of places where the we have
  bugs with this task...
- add a composite_continue_smb2() helper

We should try to hide the internals of the composite code from the users
to avoid errors (and I found a lot of them... and will fix then step by step)

metze
(This used to be commit a16180f202)
2007-10-10 14:15:10 -05:00
Stefan Metzmacher
edcbd24b6a r17306: fix compiler warning
metze
(This used to be commit cee012c570)
2007-10-10 14:15:10 -05:00
Stefan Metzmacher
3d3bd93403 r17305: allow 'declare [...] union foo;'
metze
(This used to be commit 15d37004b7)
2007-10-10 14:15:10 -05:00