1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-06 08:23:50 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
Jelmer Vernooij
a16c9a2129 Remove uses of global_loadparm. 2008-02-25 12:51:55 +01:00
Jelmer Vernooij
a1715b1f48 Remove more uses of global_loadparm. 2008-02-21 15:45:32 +01:00
Jelmer Vernooij
61ad78ac98 r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob(). 2008-01-01 16:12:11 -06:00
Jelmer Vernooij
47696b4298 r26295: Remove use of global_loadparm for net and wb_pam_auth. 2007-12-21 05:48:12 +01:00
Jelmer Vernooij
7c00866423 r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection. 2007-12-21 05:47:47 +01:00
Stefan Metzmacher
6223c7fddc r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Andrew Bartlett
365778a993 r23890: Allow wbinfo -a to work against Samba4's winbind.
Add a test for wbinfo -a to test_member.sh

Reimplement the server-side 'pam_auth' and 'pam_auth_crap' calls to
use the same SamLogon code as auth_winbind uses.

In my previous code, we did not bind to the LSA and SAMR pipes, before
attempting operations.  We now do this (how we passed any tests before
is beyond me).

This required some rework, particularly to make it easier to setup
secondary connections.  The new rpc_secondary_auth_connection()
function also performs the bind.

The dcerpc_connect.c file was getting to big, so things have been
merged into dcerpc_secondary.c.

Andrew Bartlett
2007-10-10 15:01:08 -05:00
Andrew Bartlett
a1b6c9ecb9 r23880: Don't crash when we run wbinfo -a against our own winbind when we are a DC.
Next step is to make it work...

Andrew Bartlett
2007-10-10 15:01:07 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
58551f2f28 r22944: fix bug #4618:
rename private -> private_data

metze
2007-10-10 14:52:30 -05:00
Andrew Bartlett
e37064e356 r22612: Fix more cases where we have uninitialised values in the
composite_context, because we don't use the creation function.

Andrew Bartlett
2007-10-10 14:51:52 -05:00
Andrew Bartlett
bd26e4ffaf r22582: Cleanups towards making winbind work again. We still have a long way to go, as this has bitrotted over the past months.
This change in particular catches winbind up with the next
composite_create() function.

We also needed to remove an unused flags field, and fill in the lm
response.

Andrew Bartlett
2007-10-10 14:51:47 -05:00
Andrew Bartlett
2b569c42e0 r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
cee012c570 r17306: fix compiler warning
metze
2007-10-10 14:15:10 -05:00
Stefan Metzmacher
88bcb57e82 r17290: don't do any stuff that can fail in the _recv function
metze
2007-10-10 14:15:07 -05:00
Jelmer Vernooij
3dd477ca51 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
7054ebf024 r14402: Generate seperate headers for RPC client functions. 2007-10-10 13:57:19 -05:00
Jelmer Vernooij
1a16a6f1df r14380: Reduce the size of structs.h 2007-10-10 13:57:16 -05:00
Jelmer Vernooij
98c4c30513 r14363: Remove credentials.h from the global includes. 2007-10-10 13:57:14 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Andrew Bartlett
341a0abeb4 r13583: Realise that the member server name appears in all calls that use the
credentials.

Consistantly rename these elements in the IDL to computer_name.

Fix the server-side code to always lookup by this name.

Add new, even nastier tests to RPC-SCHANNEL to prove this.

Andrew Bartlett
2007-10-10 13:51:58 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00
Volker Lendecke
fc6458d0d4 r11825: Fix a debug msg 2007-10-10 13:46:35 -05:00
Volker Lendecke
848522d1b6 r11517: Cleanup time, this looks larger than it is. This mainly gets rid of
wb_domain_request, now that we have queued rpc requests.

Volker
2007-10-10 13:45:47 -05:00
Andrew Bartlett
2ee7ed000e r11413: More comments, plus always check (and update) the credentials chain,
regardless the authentication result on a particular user.

Andrew Bartlett
2007-10-10 13:45:34 -05:00
Andrew Bartlett
8ed975df52 r11411: Add to Samba4 the Samba3 patch I just posted for machine account
logins (changing the winbindd interface).

Clean up the wbsrv_samba3_async_epilogue() handling, as it was mixing
auth and other replies, such that all replies were having the auth
error strings set.  We now do a better job of filling in the right
errors in the right places.

Andrew Bartlett
2007-10-10 13:45:33 -05:00
Andrew Bartlett
3353e906ad r11374: On request from VL, put the plaintext auth patch in.
I still have some gremlins that get in the my way in testing this.

Andrew Bartlett
2007-10-10 13:45:28 -05:00
Volker Lendecke
3a9f2291ae r11267: Fix a memleak and an uninitialized variable. Andrew Bartlett, this was the one
I sent to you. Sorry for bothering you.

Volker
2007-10-10 13:45:10 -05:00
Volker Lendecke
3821a17bdb r11181: Implement wbinfo -s and wbinfo --user-sids. The patch is so large because
--user-sids required the extension to trusted domains.

Implement "winbind sealed pipes" parameter for debugging purposes.

Volker
2007-10-10 13:44:57 -05:00
Volker Lendecke
66c1b674f9 r11093: Implement wb_queue_domain_send: If the domain is not yet initialized, do that
first. And if a request is being processed, queue it. This correctly survived
3 endless loops with wbinfo's doing different things while starting up smbd.

The number of indirections starts to become a bit scary, but what can you do
without a decent programming language that provides closures :-)

One thing that we might consider is to auto-generate async rpc requests that
return composite_context structs instead of rpc_requests. Otherwise I'd have
to write a lot of wrappers like composite_netr_LogonSamLogon_send.

The alternative would be to write two versions of wb_queue_domain_send which I
would like to avoid. This is cluttered enough already.

Volker
2007-10-10 13:44:48 -05:00
Volker Lendecke
0c6c71ae3c r11068: Fix pam_auth_crap, remove the sync code. I don't know what it was when I
tested it, but I can not reproduce the problem I had with abartlett's initial
implementation anymore.

Fix a bug found using valgrind.

Volker
2007-10-10 13:44:44 -05:00
Volker Lendecke
eaf347bdea r10941: Hmmm. Making that fn static is more correct. 2007-10-10 13:39:44 -05:00
Volker Lendecke
35bcfb185b r10936: Commit work in progress: wb_pam_auth_crap made async. This does not work yet,
but the version before did not either, so we're not worse than before.

One thing this does better is to call the domain init code if it's not there
yet.

Volker
2007-10-10 13:39:44 -05:00