1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

47730 Commits

Author SHA1 Message Date
Gerald (Jerry) Carter
63554b4078 idmap_hash: Add the idmap/nss-info provider from Likewise Open.
* Port the Likewise Open idmap/nss_info provider (renamed to
  idmap_hash).

* uids & gids are generated based on a hashing algorithm that collapse
  the Domain SID to a 31 bit number.  The reverse mapping from the
  high order 11 bits to the originat8ing sdomain SID is stored in
  a has table initialized at start up.

* Includes support for "idmap_hash:name_map = <filename>" for the
  name aliasing layer.  The name map file consist of entries in
  the form "alias = DOMAIN\name"
2008-09-16 10:28:11 -07:00
Gerald (Jerry) Carter
544cd1b4b9 winbindd: Update the calls to ws_name_XX() to reflect API changes.
* Ensures that all points an which a name is received or returned
  to/from a client passes through the name aliases layer (users
  and groups).
2008-09-16 10:27:59 -07:00
Gerald (Jerry) Carter
d6de32db2f winbindd: Add support for name aliasing.
* Add support user and group name aliasing by expanding
  the ws_name_replace() and ws_name_return() functions.
  The lookup path is
     aliases -> qualified name -> SID
     SID -> fully qualified name -> alias
  In other words, the name aliasing support is a thin layer
  built on top of SID/NAME translation.

* Rename the ws_name_XX() functions to normalize_name_map()
  and normalize_name_unmap().  Chaneg interface to return
  NTSTATUS rather than char *.

* Add associated cache validation functions.
2008-09-16 10:27:49 -07:00
Jelmer Vernooij
f2723d193d Regenerate C files now that pidl reads imported files - saves a few
lines of code for types that don't have deferred data.
2008-09-16 18:49:22 +02:00
Jelmer Vernooij
4beb6731a7 Use pidl from Samba 4 from Samba 3 rather than hoping there is one installed on the
system.
2008-09-16 18:48:56 +02:00
Jelmer Vernooij
3e5ba883b3 Fix paths to subunit.sh 2008-09-16 18:39:08 +02:00
Jelmer Vernooij
740f67d781 Avoid running target-specific tests during general test run, 2008-09-16 18:34:40 +02:00
Jelmer Vernooij
d7a0c26af4 Move torture/ blackbox tests closer to code they're testing. 2008-09-16 18:30:24 +02:00
Jelmer Vernooij
aa09d8a75f Move ndrdump tests closer to the code they test. 2008-09-16 18:16:49 +02:00
Jelmer Vernooij
c2eb4e5f8e Let winbind depend directly on libnet rather than through the ejs bindings. 2008-09-16 18:03:36 +02:00
Jelmer Vernooij
ec1c854f21 Merge branch 'master' of ssh://git.samba.org/data/git/samba into wmi 2008-09-16 07:54:49 +02:00
Jelmer Vernooij
0016bc4091 Disable WMI for now since it doesn't compile. 2008-09-16 07:28:13 +02:00
Jelmer Vernooij
5062d4c16a Fix more WMI compilation issues. 2008-09-16 07:22:53 +02:00
Jelmer Vernooij
db872cfe37 Remove more hand-written marshallers. 2008-09-16 05:48:29 +02:00
Jelmer Vernooij
e970efc721 Support restricted. 2008-09-16 04:35:34 +02:00
Jelmer Vernooij
e9d44b2e1c Import proper IDL for interface pointers. 2008-09-16 04:15:39 +02:00
Timur
4dfa72423e Fix aio on FreeBSD. 2008-09-15 18:45:10 -07:00
Timur
a664cf7658 Fix display of POSIX ACLs. 2008-09-15 18:25:15 -07:00
Timur
a59618e88b Fix cut and paste error in quota code. 2008-09-15 18:21:02 -07:00
Steven Danneman
61cb830f66 Fixed "uninitilized variable" build warning
Simple fix for warning:

Compiling utils/sharesec.c
utils/sharesec.c: In function `change_share_sec':
utils/sharesec.c:404: warning: 'sd' might be used uninitialized in this function
2008-09-15 17:53:37 -07:00
Jelmer Vernooij
c212a65b65 More changes getting WMI code to compile, import manual marshalling. 2008-09-16 02:27:33 +02:00
Steven Danneman
38fff9f922 Fixed "uninitialized variable" build warning
With gcc 4.1.3 on Ubuntu 7.10 the following build warning occurs:

Compiling libnet/libnet_samsync_keytab.c
cc1: warnings being treated as errors
libnet/libnet_samsync_keytab.c: In function ‘fetch_sam_entries_keytab’:
libnet/libnet_samsync_keytab.c:102: warning: ‘entry.enctype’ is used uninitialized in this function

Fixed by initializing to ENCTYPE_NULL
2008-09-15 16:13:35 -07:00
Steven Danneman
47feb17228 Fix build warning on FreeBSD
Fix for the following build warning:

Compiling torture/cmd_vfs.c
torture/cmd_vfs.c: In function `cmd_open':
torture/cmd_vfs.c:275: warning: unsigned int format, different type arg (arg 3)
torture/cmd_vfs.c: In function `cmd_mknod':
torture/cmd_vfs.c:992: warning: unsigned int format, different type arg (arg 3)

sccanf had mismatched types for mode_t between formating parameter and var args.
2008-09-15 16:13:24 -07:00
Michael Adam
06b2410427 add generated files in packaging/RHEL[-CTDB]/ to .gitignore
Michael
2008-09-16 00:30:33 +02:00
Gerald W. Carter
62791bbd03 idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads structure. 2008-09-15 17:18:23 -05:00
Jeremy Allison
458101b577 Fix bug 5761 "open of mangled directory name results in 'is a stream name'"
reported by Regan Heath <Regan.Heath@BridgeHeadSoftware.com>.
Jeremy.
2008-09-15 14:21:28 -07:00
Jelmer Vernooij
7e239a15b3 Revert accidental changes to lib/basic.mk. 2008-09-15 19:46:11 +02:00
Jelmer Vernooij
7979cae206 Merge branch 'master' of ssh://git.samba.org/data/git/samba into wmi 2008-09-15 18:03:45 +02:00
Jelmer Vernooij
9c455879f0 Merge branch 'master' of ssh://git.samba.org/data/git/samba into franky 2008-09-15 18:00:55 +02:00
Jelmer Vernooij
47b26ef57c More formatting fixes. 2008-09-15 17:40:36 +02:00
Jelmer Vernooij
21600c8508 Fix compilation of Python module. 2008-09-15 17:40:35 +02:00
Jelmer Vernooij
51fbc88fc2 Get code closer to compiling without errors, fix formatting, add docstrings. 2008-09-15 17:40:34 +02:00
Jelmer Vernooij
82ee6ee503 Improve formatting in pidl code, make sure OBJREF member gets created. 2008-09-15 17:40:33 +02:00
Jelmer Vernooij
33d05a7391 Import SWIG-generated files. 2008-09-15 17:40:32 +02:00
Jelmer Vernooij
f6c52fa51c No spurious warnings in SWIG file. 2008-09-15 17:40:31 +02:00
Jelmer Vernooij
9cfe839527 Fix more syntax errors, etc. 2008-09-15 17:40:30 +02:00
Andrzej Hajda
3667256f97 Import WMI changes. 2008-09-15 17:40:29 +02:00
Andrzej Hajda
4afe6c88e1 Import DCOM improvements. 2008-09-15 17:40:28 +02:00
Jelmer Vernooij
6467da7750 Rename Python wmi module to 'wmi' and fix some errors in it. 2008-09-15 17:40:26 +02:00
Jelmer Vernooij
74974c0f56 Fix syntax errors. 2008-09-15 17:40:25 +02:00
Jelmer Vernooij
2fc75a6c4e Adapt to changes in Samba API's, fix formatting. 2008-09-15 17:40:24 +02:00
Jelmer Vernooij
307f7d7d77 Fix imports in Python. 2008-09-15 17:40:23 +02:00
Jelmer Vernooij
138095470e Avoid writing structs for inherited functions. 2008-09-15 17:40:22 +02:00
Jelmer Vernooij
b1b97e39ad Add wikipedia link to WMI. 2008-09-15 17:40:21 +02:00
Jelmer Vernooij
e7d4979494 Fix imports. 2008-09-15 17:40:20 +02:00
Jelmer Vernooij
54437f1e8a More improvements. 2008-09-15 17:40:19 +02:00
Jelmer Vernooij
b91a7fa166 use static header for WMI. 2008-09-15 17:40:16 +02:00
Jelmer Vernooij
87fa362bed Improve formatting, use printf rather than DEBUG. 2008-09-15 17:39:46 +02:00
Jelmer Vernooij
1b73457af5 Cope with DCE/RPC -> NDR renames. 2008-09-15 17:39:45 +02:00
Jelmer Vernooij
f29220fe11 Allow base classes to be defined in other files. 2008-09-15 17:39:44 +02:00