1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-16 11:33:16 +03:00
Commit Graph

923 Commits

Author SHA1 Message Date
Kai Blin
25cbb1b767 rpc_server: Remove references to sidmap from the lsa pipe code. 2008-04-02 23:07:00 +02:00
Kai Blin
033db9730f rpc_server: Use wbclient instead of sidmap in unixinfo pipe 2008-04-02 23:06:44 +02:00
Kai Blin
3e3563f284 wbclient: Add an async winbind client library. 2008-04-02 23:06:27 +02:00
Jelmer Vernooij
92e71c19f4 Move handle utility functions to public header, remove more public headers. 2008-04-02 14:18:31 +02:00
Jelmer Vernooij
71aa38842c Trim down installed headers some more. 2008-04-02 14:10:16 +02:00
Jelmer Vernooij
47ffbbf674 Install public header files again and include required prototypes. 2008-04-02 04:53:27 +02:00
Andrew Bartlett
2f2b110fb8 More kludge ACLs!
Rather than killing off the nasty 'kludge ACLs' stuff, this patch
extends it, to ensure that LSA secrets and the registry are also
protected.

Andrew Bartlett
2008-03-20 12:12:10 +11:00
Andrew Bartlett
353bb79f56 Rework our SAMR test and SAMR server.
Now that we don't create users/domain groups/aliases in the builtin
domain, we hit some bugs in the server-side implementation of the
enumeration functions.

In essence, it turns out to be: don't treat 0 as a special case.

Also, fix up the PDC name to always be returned.  I'm sure nothing
actually uses it, particularly for BUILTIN...

Andrew Bartlett
2008-03-14 12:26:03 +11:00
Andrew Bartlett
facbc8dfa5 Rework SAMR functions to avoid gendb_search()
The gendb_*() API does not return error codes, and mixes error returns
with the count of returned entries.

Andrew Bartlett
2008-03-13 17:26:01 +11:00
Andrew Bartlett
9bfc475788 Show why a LookupName fails (help debugging)
Andrew Bartlett
2008-03-13 16:35:11 +11:00
Andrew Bartlett
bda6a38b05 Rework to have member server 'domains' be CN=NETBIOSNAME
This reworks quite a few parts of our provision system to use
CN=NETBIOSNAME as the domain for member servers.

This makes it clear that these domains are not in the DNS structure,
while complying with our own schema (found by OpenLDAP's schema
validation).

Andrew Bartlett
2008-03-13 11:36:58 +11:00
Stefan Metzmacher
cc42cd5f67 ntvfs: pass down the client capabilities into the ntvfs layer
Note that we don't use any protocol specific values here.

For now only NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS is defined
others should be defined, when we find out that the ntvfs
layer needs to know about it.

metze
2008-03-06 16:31:25 +01:00
Jelmer Vernooij
6c659689ed Move public header accumulation out of the perl code.
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.

Conflicts:

	source/auth/config.mk
	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/config_mk.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/lib/charset/config.mk
	source/lib/tdr/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/torture/config.mk
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
6cbb241c05 Merge branch 'v4-0-trivial' into v4-0-test 2008-02-28 18:27:29 +01:00
Andrew Bartlett
7a46e72f8d Check for and reject invalid account flags.
(lest we have an account set with 0 flags)

Andrew Bartlett
2008-02-28 10:05:32 +11:00
Andrew Bartlett
acda1f69bc Generate ACB_PW_EXPIRED correctly
More correctly handle expired passwords, and do not expire machine accounts.

Test that the behaviour is consistant with windows, using the RPC-SAMR test.

Change NETLOGON to directly query the userAccountControl, just because
we don't want to do the extra expiry processing here.

Andrew Bartlett
2008-02-28 08:50:00 +11:00
Jelmer Vernooij
a1280252ce Remove more global_loadparm instance.s 2008-02-21 17:54:24 +01:00
Jelmer Vernooij
269cbf84d8 Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ' 2008-02-18 19:06:17 +01:00
Andrew Bartlett
9c9a4731ca Remove useless layer of indirection, where every service called
task_service_init() manually.  Now this is called from service.c for
all services.

Andrew Bartlett
2008-02-04 21:58:29 +11:00
Andrew Bartlett
0d830580e3 Rework service init functions to pass down service name. This is
needed to change prefork behaviour based on what service is being
started.

Andrew Bartlett and David Disseldorp
2008-02-04 17:48:51 +11:00
Günther Deschner
7a10be2ac7 Fix netlogon rpc-server build.
Guenther
2008-01-25 22:42:14 +01:00
Günther Deschner
31980e03fa Fix netlogon rpc-server build.
Guenther
2008-01-25 00:04:24 +01:00
Andrew Bartlett
30fc3752c7 Print out the reason we can't delete the user in SAMR.
We need to be far more granular bout this - in particular, we need a
decide LDAP -> NTSTATUS conversion.

Andrew Bartlett
2008-01-16 15:48:28 +11:00
Andrew Bartlett
9cd3a76c25 Return 'not implemented' on more RPCs. (easy way to 'pass' the
torture test, as I see little reason to implement these RPCs).

Add information regarding the importance of the LogonGetDomainInfo calls

Andrew Bartlett
2008-01-11 09:24:38 +11:00
Jelmer Vernooij
b06896d237 r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo(). 2008-01-07 08:18:07 -06:00
Jelmer Vernooij
18cd08623e r26672: Janitorial: Remove uses of global_loadparm. 2008-01-05 13:06:03 -06:00
Jelmer Vernooij
2f29f80e07 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
Jelmer Vernooij
f1997dabed r26580: Include sentinel in build.h, in case the list is empty. 2007-12-24 01:51:07 -06:00
Jelmer Vernooij
ba8be2dfc0 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
2007-12-24 01:51:06 -06:00
Günther Deschner
7aa34b4879 r26558: Add IDL for netr_GetForestTrustInformation().
Guenther
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Jelmer Vernooij
8858cf3972 r26440: Remove more uses of global_loadparm. 2007-12-21 05:50:08 +01:00
Jelmer Vernooij
28b1d36551 r26432: Require ndr_pull users to specify iconv_convenience. 2007-12-21 05:50:02 +01:00
Jelmer Vernooij
7352206f44 r26431: Require ndr_push creators to specify a iconv_convenience context. 2007-12-21 05:50:00 +01:00
Jelmer Vernooij
1b947fe0e6 r26430: require explicit specification of loadparm context. 2007-12-21 05:49:58 +01:00
Jelmer Vernooij
a35e51871b r26402: Require a talloc context in libnetif. 2007-12-21 05:49:33 +01:00
Jelmer Vernooij
9f975417cc r26401: Don't cache interfaces context in libnetif. 2007-12-21 05:49:32 +01:00
Jelmer Vernooij
6d4c598534 r26382: Remove more uses of global_loadparm. 2007-12-21 05:49:17 +01:00
Jelmer Vernooij
2d61e7c96e r26357: Add separate subsystem for auth_sam_reply parsing. 2007-12-21 05:49:02 +01:00
Jelmer Vernooij
17637e4490 r26353: Remove use of global_loadparm. 2007-12-21 05:48:57 +01:00
Jelmer Vernooij
40ae12c086 r26328: remove more uses of global_loadparm. 2007-12-21 05:48:41 +01:00
Jelmer Vernooij
eeb2251d22 r26327: Explicit loadparm_context for RPC client functions. 2007-12-21 05:48:41 +01:00
Jelmer Vernooij
e452cb2859 r26325: Remove use of global_loadparm in netif. 2007-12-21 05:48:37 +01:00
Jelmer Vernooij
95a6ef7fc8 r26319: Split encoding functions out of libcli_ldap. 2007-12-21 05:48:33 +01:00
Jelmer Vernooij
6fd0d9d3b7 r26313: Fix more uses of static loadparm. 2007-12-21 05:48:25 +01:00
Jelmer Vernooij
9d806da113 r26310: Remove more uses of global_loadparm. 2007-12-21 05:48:22 +01:00
Andrew Bartlett
89279d730f r26300: Don't segfault when called from the ntptr libs.
Andrew Bartlett
2007-12-21 05:48:15 +01:00
Andrew Bartlett
b0de08916e r26298: Use metze's schema loading code to pre-initialise the schema into the
samdb before we start writing entries into it.

In doing so, I realised we still used 'dnsDomain', which is not part
of the standard schema (now removed).

We also set the 'wrong' side of the linked attributes for the
masteredBy on each partition - this is now set in provision_self_join
and backlinks via the linked attributes code.

When we have the schema loaded, we must also have a valid domain SID
loaded, so that the objectclass module works.  This required some ejs
glue.

Andrew Bartlett
2007-12-21 05:48:15 +01:00
Jelmer Vernooij
fc1f4d2d65 r26296: Store loadparm context in DCE/RPC server context. 2007-12-21 05:48:13 +01:00