1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

56117 Commits

Author SHA1 Message Date
Stefan Metzmacher
825484ee6d libcli/named_pipe_auth: pass gssapi delegated credentials through the named pipe
metze
2009-09-18 20:34:42 +02:00
Stefan Metzmacher
bb0644175a s4:service_named_pipe: accept delegated credentials
metze
2009-09-18 20:34:41 +02:00
Stefan Metzmacher
199072b95a librpc: rerun 'make idl'
metze
2009-09-18 20:34:40 +02:00
Stefan Metzmacher
c29364f4b0 named_pipe_auth.idl: add infrastructure to pass delegated credentials
metze
2009-09-18 20:34:40 +02:00
Stefan Metzmacher
3207188287 s4:torture: don't use 'pipe' as variable name it's a system call
metze
2009-09-18 20:34:39 +02:00
Stefan Metzmacher
16f1ba2558 s4:heimdal/gssapi/krb5: set cred_handle in _gsskrb5_import_cred
metze
2009-09-18 20:34:16 +02:00
Volker Lendecke
77afcad8f0 s3: Fix Coverity ID 581 -- NEGATIVE_RETURNS 2009-09-18 20:20:39 +02:00
Volker Lendecke
30a4695b27 s3:smbstatus: Fix bug 6703, allow smbstatus as non-root
We only require a ctdb connection when clustering is enabled. This limits the
restriction for only-root smbstatus to the clustering case.
2009-09-18 18:32:25 +02:00
Volker Lendecke
89e80bfe4f s3:smbstatus: Fix some nonempty blank lines 2009-09-18 18:32:23 +02:00
Matthias Dieter Wallnöfer
ac3b58b851 s4:domainlevel - fix indentations 2009-09-18 17:54:25 +02:00
Matthias Dieter Wallnöfer
752904f12c s4:domainlevel - Add a script which allows raising the domain/forest level
This simple script allows raising the domain and/or forest level for s4.
I integrated also the basic checks (since we don't perform them in LDB yet):
e.g. the forest level can't be higher than the domain level(s).
2009-09-18 17:46:16 +02:00
Matthias Dieter Wallnöfer
b15ef6d854 s4:pwsettings - Simplify the error handling a bit 2009-09-18 17:33:24 +02:00
Matthieu Patou
11a7842854 python: create a script for reorgnizing an LDB file.
This script helps to reclaim waisted place.
2009-09-18 16:30:20 +02:00
Matthias Dieter Wallnöfer
89f5df6fa7 s4:provision - Bump down the domain and forest level to Windows 2000
- The DC level we keep on Windows Server 2008 R2 (we should call ourself
  always the newest server type)
- The domain/forest level we set to the minimum (Windows 2000 native) to
  allow all AD DC types (from Windows 2000 on) in our domain - the NT4 "mixed"
  mode isn't supported by us (discussed on mailing list) -> "nTMixedDomain" is
  set always to 0
- I'll add a script which allows to bump the DC level (basically sets the
  "msDS-Behaviour-Version" attributes on the "Partitions/Configuration/DC" and
  on the "DC" object)
2009-09-18 16:21:29 +02:00
Matthias Dieter Wallnöfer
fa4023d6f7 s4:provision - Some rework (continuation)
- Fix up "servicePrincipalNames" attributes on the DC object
- Add some informative comments (most in "provision_self_join.ldif")
- Add also comments where objects are missing which we may add later when we
  support the feature (mainly for FRS)
- Add "domain updates" objects also under "CN=Configuration" (they exist twice)
- Add the default services under "Services" to allow interoperability with some
  MS client tools
- Smaller changes
2009-09-17 21:19:24 +02:00
Matthieu Patou
aadf5e3910 pyldb: Don't segfault when invalid type is specified to as_sddl and from_sddl.
Fix bug #6723
2009-09-17 19:36:32 +02:00
Andrew Tridgell
78338d431c talloc: don't crash if f is NULL in talloc_report_*
It's annoying when you use 
  p talloc_report_full(ctx, fopen("/tmp/xx","w"))
in gdb, and if you don't have write permission on the file then
you get a segv.
2009-09-17 21:52:28 -07:00
Andrew Tridgell
a3f33356bb s3-rpc: samba3 needs the DCERPC_NDR64 define 2009-09-17 21:52:28 -07:00
Andrew Tridgell
88cded0b61 s4-sam: add a note about the solaris client 2009-09-17 21:52:27 -07:00
Andrew Tridgell
f2f8bb7b57 ndrdump: fixed help 2009-09-17 21:52:27 -07:00
Andrew Tridgell
3ec638c770 ndr: num_auths is an array size, thus a uint3264 2009-09-17 21:52:27 -07:00
Andrew Tridgell
ae91cff259 ndr: split out ndr enum functions
This allows for easier implementation of the NDR32/NDR64 split
2009-09-17 21:52:26 -07:00
Andrew Tridgell
c2523d2e2b idl: recompile our IDL
The NDR64 change affects every IDL file
2009-09-17 21:52:26 -07:00
Andrew Tridgell
aeb22cae07 s4-pidl: add support for NDR64
Added support for NDR64 to the samba4 pidl generator
2009-09-17 21:52:25 -07:00
Andrew Tridgell
f93d716516 s4-rpc: added NDR64 support
This adds support for the nd464 binding string option
2009-09-17 21:52:24 -07:00
Andrew Tridgell
90770e45c7 ndr: added support for NDR64
This adds NDR64 support for the push functions in libndr
2009-09-17 21:52:24 -07:00
Andrew Tridgell
ec422edab5 util: use likely/unlikely for NT_STATUS_* macros 2009-09-17 21:52:24 -07:00
Andrew Tridgell
d27140ab76 libreplace: added likely()/unlikely() macros for gcc
These macros allow the compile to better optimise code that has a lot
of if statements. I particularly want to use this for our low level
generated NDR code.
2009-09-17 21:52:23 -07:00
Volker Lendecke
44674efc81 s3:smbd: Attempt to fix the build on HP/UX 2009-09-18 03:42:45 +02:00
Volker Lendecke
eeda7f6449 s3:smbd: Fix an inappropriate pointer return in a bool fn 2009-09-18 03:35:18 +02:00
Volker Lendecke
1637364c9e s3:winbind: Fix some enum type mismatches found by the Solaris compiler 2009-09-18 03:31:22 +02:00
Björn Jacke
9e49ad558e s3: build with pam support when possible 2009-09-17 21:05:54 +02:00
Jeremy Allison
fc20da50a6 Re-generated idl files with () for enum values.
Jeremy.
2009-09-17 11:28:37 -07:00
Jeremy Allison
02dc4a1e4e Ensure we enclose the enum values in brackets to make the cast work.
Jeremy.
2009-09-17 11:27:51 -07:00
Jeremy Allison
b92c399d97 Check in modified generated files for systems where pidl can't run.
Jeremy.
2009-09-17 11:16:54 -07:00
Jeremy Allison
389e2fb812 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-09-17 11:11:23 -07:00
Jeremy Allison
95311a220e Fix the problem with pidl generating invalid C for enums. According
to the C standard an enum is guarenteed to be an (int), which means
for 4 byte ints specifying a type of 0x80000000 is an invalid value.
The Solaris compiler complains about this. Fix by adding an (int)
cast in front of the value generation.
Jeremy.
2009-09-17 11:11:06 -07:00
Kouhei Sutou
f8dae40fc8 spnego: Support ASN.1 BIT STRING and use it in SPNEGO.
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17 20:10:54 +02:00
Matthias Dieter Wallnöfer
c2055de162 s4:descriptor module - Revert and const fixups
- Revert a change introduced by me since I didn't understood the meaning of the
  version check
- Added some "const" to suppress compiler warnings
2009-09-17 18:37:46 +02:00
Matthias Dieter Wallnöfer
813f9dacbd s4:descriptor - cosmetic 2009-09-17 18:27:32 +02:00
Matthias Dieter Wallnöfer
4445cdfad2 s4:libnet_become_dc - Fix some uninitialised variables 2009-09-17 18:27:31 +02:00
Matthias Dieter Wallnöfer
4fa327a19f s4:provision - Some rework
- Add/change "wellKnownObjects" attributes
- Order entries in "provision_basedn_modify.ldif"
- Add/change "delete entries" object under BASEDN and CONFIGDN
- Fix default version number of "Default domain policy" group policy
- Add "domain updates" objects for interoperability with MS AD maintaining tools
- Show version number in the "oEMInformation" attribute (suggested by ekacnet)
- Smaller fixups
2009-09-17 18:27:31 +02:00
Jeremy Allison
d237022f91 void functions can't return a value. Found by the Solaris compiler.
Jeremy.
2009-09-17 10:04:19 -07:00
Jeremy Allison
9e5488d399 void functions can't return a value. Found by the Solaris compiler.
Jeremy.
2009-09-17 10:03:14 -07:00
Jeremy Allison
2032f2653e void functions can't return a value. Found by the Solaris compiler.
Jeremy.
2009-09-17 10:00:31 -07:00
Jeremy Allison
16836f9e9e We now pass the Microsoft SMB2 fileio test with EA's and streams...
Jeremy.
2009-09-17 09:29:07 -07:00
Jeremy Allison
e91cdef2d4 Remove ununsed variable warning.
Jeremy.
2009-09-17 09:25:25 -07:00
Matthias Dieter Wallnöfer
0c202e403f s4/domain behaviour flags: Fix them up in various locations
Additional notes:
- Bump the level to Windows Server 2008 R2 (we should support always the latest
  version - if we provision ourself)
- In "descriptor.c" the check for the "domainFunctionality" level shouldn't be
  needed: ACL owner groups (not owner user) are supported since Windows 2000
  Server (first AD edition)
  - I took the argument from: http://support.microsoft.com/kb/329194
2009-09-17 12:40:33 +02:00
Matthias Dieter Wallnöfer
bfb3eaabe7 s4/python: flags
- Introduce the "userAccountControl", "groupType" and "sAMAccountType" flags
- Corrects the "domain/forestFunctionality" and "domainControllerFunctionality" flags
2009-09-17 12:40:27 +02:00
Matthias Dieter Wallnöfer
7c71370a0f libds/common/flags: various
- Reorders the header file to have the order "userAccountFlags", "groupType",
  "sAMAccountType" (matches the order in the flag_mapping.c and samldb module)
- Fixes the group account flags properly up
- Fixes the flags for "domain/forestFunctionality" and "domainControllerFunctionality"
  up
2009-09-17 12:02:58 +02:00