jra/samba/.git
11 years agoexamples/libsmbclient: adapt to new samba3 source dir "source3/
Michael Adam [Wed, 17 Sep 2008 15:45:50 +0000 (17:45 +0200)]
examples/libsmbclient: adapt to new samba3 source dir "source3/

Michael

11 years agoRemove a cast -- thanks metze
Volker Lendecke [Wed, 17 Sep 2008 15:17:51 +0000 (17:17 +0200)]
Remove a cast -- thanks metze

11 years agoFix location of included popt files for systems that don't have popt.
Jelmer Vernooij [Wed, 17 Sep 2008 15:13:02 +0000 (17:13 +0200)]
Fix location of included popt files for systems that don't have popt.

11 years agoMove pidl to top-level directory.
Jelmer Vernooij [Wed, 17 Sep 2008 15:12:27 +0000 (17:12 +0200)]
Move pidl to top-level directory.

11 years agoFix check.
Jelmer Vernooij [Wed, 17 Sep 2008 15:00:36 +0000 (17:00 +0200)]
Fix check.

11 years agoFix warning.
Jelmer Vernooij [Wed, 17 Sep 2008 14:44:02 +0000 (16:44 +0200)]
Fix warning.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into singlerpc
Jelmer Vernooij [Wed, 17 Sep 2008 13:45:01 +0000 (15:45 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into singlerpc

11 years agoFix finding of popt sources for systems that don't have popt.
Jelmer Vernooij [Wed, 17 Sep 2008 13:44:16 +0000 (15:44 +0200)]
Fix finding of popt sources for systems that don't have popt.

11 years agoSync more interface descriptions between Samba 3 and Samba 4.
Jelmer Vernooij [Wed, 17 Sep 2008 13:43:04 +0000 (15:43 +0200)]
Sync more interface descriptions between Samba 3 and Samba 4.

11 years agoSync addition of [todo] attribute to Samba 3.
Jelmer Vernooij [Wed, 17 Sep 2008 13:07:24 +0000 (15:07 +0200)]
Sync addition of [todo] attribute to Samba 3.

11 years agopam_winbind: fix the build wrt libreplace.
Günther Deschner [Wed, 17 Sep 2008 13:00:50 +0000 (15:00 +0200)]
pam_winbind: fix the build wrt libreplace.

Guenther

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into singlelib
Jelmer Vernooij [Wed, 17 Sep 2008 12:34:54 +0000 (14:34 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into singlelib

11 years agoFix merged build.
Jelmer Vernooij [Wed, 17 Sep 2008 12:25:25 +0000 (14:25 +0200)]
Fix merged build.

11 years agoAdd simple README file.
Jelmer Vernooij [Wed, 17 Sep 2008 12:20:56 +0000 (14:20 +0200)]
Add simple README file.

11 years agoMove common libraries from root to lib/.
Jelmer Vernooij [Wed, 17 Sep 2008 12:11:12 +0000 (14:11 +0200)]
Move common libraries from root to lib/.

11 years agoMake the correct module name.
Jeremy Allison [Wed, 17 Sep 2008 00:01:00 +0000 (17:01 -0700)]
Make the correct module name.
Jeremy.

11 years agoFirst (incomplete) cut of this module. Based on Volker's original work.
Jeremy Allison [Tue, 16 Sep 2008 22:55:06 +0000 (15:55 -0700)]
First (incomplete) cut of this module. Based on Volker's original work.
Jeremy.

11 years ago* Allow an admin to define the "uid" attribute for a RFC2307
Gerald (Jerry) Carter [Tue, 16 Sep 2008 17:35:21 +0000 (10:35 -0700)]
* Allow an admin to define the "uid" attribute for a RFC2307
  user object in AD to be the username alias.

For example:

  $ net ads search "(uid=coffeedude)"
  distinguishedName: CN=Gerald W. Carter,CN=Users,DC=pink,DC=plainjoe,DC=org
  sAMAccountName: gcarter
  memberOf: CN=UnixUsers,CN=Users,DC=pink,DC=plainjoe,DC=org
  memberOf: CN=Domain Admins,CN=Users,DC=pink,DC=plainjoe,DC=org
  memberOf: CN=Enterprise Admins,CN=Users,DC=pink,DC=plainjoe,DC=org
  memberOf: CN=Schema Admins,CN=Users,DC=pink,DC=plainjoe,DC=org
  uid: coffeedude
  uidNumber: 10000
  gidNumber: 10000
  unixHomeDirectory: /home/gcarter
  loginShell: /bin/bash

  $ ssh coffeedude@192.168.56.91
  Password:

  coffeedude@orville:~$ id
  uid=10000(coffeedude) gid=10000(PINK\unixusers) groups=10000(PINK\unixusers)

  $ getent passwd PINK\\gcarter
  coffeedude:*:10000:10000::/home/gcarter:/bin/bash

  $ getent passwd coffeedude
  coffeedude:*:10000:10000::/home/gcarter:/bin/bash

  $ getent group PINK\\Unixusers
  PINK\unixusers:x:10000:coffeedude

11 years agoidmap_hash: Add the idmap/nss-info provider from Likewise Open.
Gerald (Jerry) Carter [Mon, 15 Sep 2008 20:51:44 +0000 (15:51 -0500)]
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"

11 years agowinbindd: Update the calls to ws_name_XX() to reflect API changes.
Gerald (Jerry) Carter [Mon, 15 Sep 2008 20:50:15 +0000 (15:50 -0500)]
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).

11 years agowinbindd: Add support for name aliasing.
Gerald (Jerry) Carter [Mon, 15 Sep 2008 20:41:37 +0000 (15:41 -0500)]
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.

11 years agoMerge branch 'singlecompression' into single
Jelmer Vernooij [Tue, 16 Sep 2008 17:07:59 +0000 (19:07 +0200)]
Merge branch 'singlecompression' into single

11 years agoUse single copy of compression library in Samba3,4.
Jelmer Vernooij [Tue, 16 Sep 2008 17:07:02 +0000 (19:07 +0200)]
Use single copy of compression library in Samba3,4.

11 years agoRegenerate C files now that pidl reads imported files - saves a few
Jelmer Vernooij [Tue, 16 Sep 2008 16:49:22 +0000 (18:49 +0200)]
Regenerate C files now that pidl reads imported files - saves a few
lines of code for types that don't have deferred data.

11 years agoUse pidl from Samba 4 from Samba 3 rather than hoping there is one installed on the
Jelmer Vernooij [Tue, 16 Sep 2008 16:48:56 +0000 (18:48 +0200)]
Use pidl from Samba 4 from Samba 3 rather than hoping there is one installed on the
system.

11 years agoFix paths to subunit.sh
Jelmer Vernooij [Tue, 16 Sep 2008 16:39:08 +0000 (18:39 +0200)]
Fix paths to subunit.sh

11 years agoAvoid running target-specific tests during general test run,
Jelmer Vernooij [Tue, 16 Sep 2008 16:34:40 +0000 (18:34 +0200)]
Avoid running target-specific tests during general test run,

11 years agoMove torture/ blackbox tests closer to code they're testing.
Jelmer Vernooij [Tue, 16 Sep 2008 16:30:24 +0000 (18:30 +0200)]
Move torture/ blackbox tests closer to code they're testing.

11 years agoMove ndrdump tests closer to the code they test.
Jelmer Vernooij [Tue, 16 Sep 2008 16:16:49 +0000 (18:16 +0200)]
Move ndrdump tests closer to the code they test.

11 years agoLet winbind depend directly on libnet rather than through the ejs bindings.
Jelmer Vernooij [Tue, 16 Sep 2008 16:03:36 +0000 (18:03 +0200)]
Let winbind depend directly on libnet rather than through the ejs bindings.

11 years agoFix merged build.
Jelmer Vernooij [Tue, 16 Sep 2008 15:22:03 +0000 (17:22 +0200)]
Fix merged build.

11 years agoMerge branch 'singlepopt' into single
Jelmer Vernooij [Tue, 16 Sep 2008 15:20:54 +0000 (17:20 +0200)]
Merge branch 'singlepopt' into single

Conflicts:
source4/Makefile

11 years agoUse a single copy of popt in samba3 and samba4.
Jelmer Vernooij [Tue, 16 Sep 2008 15:20:16 +0000 (17:20 +0200)]
Use a single copy of popt in samba3 and samba4.

11 years agoMerge branch 'singlensswrap' into single
Jelmer Vernooij [Tue, 16 Sep 2008 15:07:11 +0000 (17:07 +0200)]
Merge branch 'singlensswrap' into single

Conflicts:
source3/configure.in
source4/Makefile
source4/configure.ac
source4/lib/nss_wrapper/nss_wrapper.c
source4/lib/replace/system/passwd.h
source4/main.mk

11 years agoUse single cope of nss_wrapper in Samba 3 and Samba 4.
Jelmer Vernooij [Tue, 16 Sep 2008 15:05:00 +0000 (17:05 +0200)]
Use single cope of nss_wrapper in Samba 3 and Samba 4.

11 years agoFix include.
Jelmer Vernooij [Tue, 16 Sep 2008 14:51:00 +0000 (16:51 +0200)]
Fix include.

11 years agoMerge branch 'singlesw' into single
Jelmer Vernooij [Tue, 16 Sep 2008 14:46:22 +0000 (16:46 +0200)]
Merge branch 'singlesw' into single

Conflicts:
source3/lib/socket_wrapper/socket_wrapper.c
source4/lib/replace/system/network.h

11 years agoMerge branch 'singlereplace' into single
Jelmer Vernooij [Tue, 16 Sep 2008 14:45:10 +0000 (16:45 +0200)]
Merge branch 'singlereplace' into single

Conflicts:
source4/configure.ac
source4/torture/local/config.mk

11 years agoMerge branch 'singletdb' into single
Jelmer Vernooij [Tue, 16 Sep 2008 14:44:16 +0000 (16:44 +0200)]
Merge branch 'singletdb' into single

11 years agoUse single copy of socket_wrapper in Samba 3 and Samba 4.
Jelmer Vernooij [Tue, 16 Sep 2008 14:39:45 +0000 (16:39 +0200)]
Use single copy of socket_wrapper in Samba 3 and Samba 4.

11 years agoMake Samba 3 and Samba 4 both use the same single copy of libreplace.
Jelmer Vernooij [Tue, 16 Sep 2008 14:30:14 +0000 (16:30 +0200)]
Make Samba 3 and Samba 4 both use the same single copy of libreplace.

11 years agoFix last few includes to use new tdb location.
Jelmer Vernooij [Tue, 16 Sep 2008 14:09:50 +0000 (16:09 +0200)]
Fix last few includes to use new tdb location.

11 years agoUse single copy of tdb in both samba3 and samba4.
Jelmer Vernooij [Tue, 16 Sep 2008 13:16:31 +0000 (15:16 +0200)]
Use single copy of tdb in both samba3 and samba4.

11 years agoShare talloc source code between Samba 3 and Samba 4.
Jelmer Vernooij [Tue, 16 Sep 2008 12:36:41 +0000 (14:36 +0200)]
Share talloc source code between Samba 3 and Samba 4.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into wmi
Jelmer Vernooij [Tue, 16 Sep 2008 05:54:49 +0000 (07:54 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into wmi

11 years agoDisable WMI for now since it doesn't compile.
Jelmer Vernooij [Tue, 16 Sep 2008 05:28:13 +0000 (07:28 +0200)]
Disable WMI for now since it doesn't compile.

11 years agoFix more WMI compilation issues.
Jelmer Vernooij [Tue, 16 Sep 2008 05:22:53 +0000 (07:22 +0200)]
Fix more WMI compilation issues.

11 years agoRemove more hand-written marshallers.
Jelmer Vernooij [Tue, 16 Sep 2008 03:48:29 +0000 (05:48 +0200)]
Remove more hand-written marshallers.

11 years agoSupport restricted.
Jelmer Vernooij [Tue, 16 Sep 2008 02:35:34 +0000 (04:35 +0200)]
Support restricted.

11 years agoImport proper IDL for interface pointers.
Jelmer Vernooij [Tue, 16 Sep 2008 02:15:39 +0000 (04:15 +0200)]
Import proper IDL for interface pointers.

11 years agoFix aio on FreeBSD.
Timur [Tue, 16 Sep 2008 01:45:10 +0000 (18:45 -0700)]
Fix aio on FreeBSD.

11 years agoFix display of POSIX ACLs.
Timur [Tue, 16 Sep 2008 01:25:15 +0000 (18:25 -0700)]
Fix display of POSIX ACLs.

11 years agoFix cut and paste error in quota code.
Timur [Tue, 16 Sep 2008 01:21:02 +0000 (18:21 -0700)]
Fix cut and paste error in quota code.

11 years agoFixed "uninitilized variable" build warning
Steven Danneman [Tue, 16 Sep 2008 00:39:43 +0000 (17:39 -0700)]
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

11 years agoMore changes getting WMI code to compile, import manual marshalling.
Jelmer Vernooij [Tue, 16 Sep 2008 00:27:33 +0000 (02:27 +0200)]
More changes getting WMI code to compile, import manual marshalling.

11 years agoFixed "uninitialized variable" build warning
Steven Danneman [Mon, 15 Sep 2008 22:48:55 +0000 (15:48 -0700)]
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

11 years agoFix build warning on FreeBSD
Steven Danneman [Mon, 15 Sep 2008 22:47:43 +0000 (15:47 -0700)]
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.

11 years agoadd generated files in packaging/RHEL[-CTDB]/ to .gitignore
Michael Adam [Mon, 15 Sep 2008 22:30:33 +0000 (00:30 +0200)]
add generated files in packaging/RHEL[-CTDB]/ to .gitignore

Michael

11 years agoidmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads structure.
Gerald W. Carter [Mon, 15 Sep 2008 17:38:36 +0000 (12:38 -0500)]
idmap_ad: Fix a segfault when calling nss_get_info() with a NULL ads structure.

11 years agoFix bug 5761 "open of mangled directory name results in 'is a stream name'"
Jeremy Allison [Mon, 15 Sep 2008 21:21:28 +0000 (14:21 -0700)]
Fix bug 5761 "open of mangled directory name results in 'is a stream name'"
reported by Regan Heath <Regan.Heath@BridgeHeadSoftware.com>.
Jeremy.

11 years agoRevert accidental changes to lib/basic.mk.
Jelmer Vernooij [Mon, 15 Sep 2008 17:46:11 +0000 (19:46 +0200)]
Revert accidental changes to lib/basic.mk.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into wmi
Jelmer Vernooij [Mon, 15 Sep 2008 16:03:45 +0000 (18:03 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into wmi

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into franky
Jelmer Vernooij [Mon, 15 Sep 2008 16:00:55 +0000 (18:00 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into franky

11 years agoMore formatting fixes.
Jelmer Vernooij [Mon, 15 Sep 2008 12:15:01 +0000 (14:15 +0200)]
More formatting fixes.

11 years agoFix compilation of Python module.
Jelmer Vernooij [Mon, 15 Sep 2008 02:29:54 +0000 (04:29 +0200)]
Fix compilation of Python module.

11 years agoGet code closer to compiling without errors, fix formatting, add docstrings.
Jelmer Vernooij [Mon, 15 Sep 2008 02:16:15 +0000 (04:16 +0200)]
Get code closer to compiling without errors, fix formatting, add docstrings.

11 years agoImprove formatting in pidl code, make sure OBJREF member gets created.
Jelmer Vernooij [Mon, 15 Sep 2008 02:13:12 +0000 (04:13 +0200)]
Improve formatting in pidl code, make sure OBJREF member gets created.

11 years agoImport SWIG-generated files.
Jelmer Vernooij [Sun, 14 Sep 2008 21:37:40 +0000 (23:37 +0200)]
Import SWIG-generated files.

11 years agoNo spurious warnings in SWIG file.
Jelmer Vernooij [Sun, 14 Sep 2008 21:37:10 +0000 (23:37 +0200)]
No spurious warnings in SWIG file.

11 years agoFix more syntax errors, etc.
Jelmer Vernooij [Sun, 14 Sep 2008 21:26:51 +0000 (23:26 +0200)]
Fix more syntax errors, etc.

11 years agoImport WMI changes.
Andrzej Hajda [Sun, 14 Sep 2008 21:03:35 +0000 (23:03 +0200)]
Import WMI changes.

11 years agoImport DCOM improvements.
Andrzej Hajda [Sun, 14 Sep 2008 20:10:54 +0000 (22:10 +0200)]
Import DCOM improvements.

11 years agoRename Python wmi module to 'wmi' and fix some errors in it.
Jelmer Vernooij [Sun, 14 Sep 2008 20:04:03 +0000 (22:04 +0200)]
Rename Python wmi module to 'wmi' and fix some errors in it.

11 years agoFix syntax errors.
Jelmer Vernooij [Sun, 14 Sep 2008 15:07:03 +0000 (17:07 +0200)]
Fix syntax errors.

11 years agoAdapt to changes in Samba API's, fix formatting.
Jelmer Vernooij [Sun, 14 Sep 2008 14:39:57 +0000 (16:39 +0200)]
Adapt to changes in Samba API's, fix formatting.

11 years agoFix imports in Python.
Jelmer Vernooij [Sun, 14 Sep 2008 14:39:41 +0000 (16:39 +0200)]
Fix imports in Python.

11 years agoAvoid writing structs for inherited functions.
Jelmer Vernooij [Sun, 14 Sep 2008 13:40:19 +0000 (15:40 +0200)]
Avoid writing structs for inherited functions.

11 years agoAdd wikipedia link to WMI.
Jelmer Vernooij [Sun, 14 Sep 2008 13:24:32 +0000 (15:24 +0200)]
Add wikipedia link to WMI.

11 years agoFix imports.
Jelmer Vernooij [Sun, 14 Sep 2008 13:23:12 +0000 (15:23 +0200)]
Fix imports.

11 years agoMore improvements.
Jelmer Vernooij [Fri, 12 Sep 2008 17:55:49 +0000 (19:55 +0200)]
More improvements.

11 years agouse static header for WMI.
Jelmer Vernooij [Fri, 12 Sep 2008 13:34:58 +0000 (15:34 +0200)]
use static header for WMI.

11 years agoImprove formatting, use printf rather than DEBUG.
Jelmer Vernooij [Fri, 12 Sep 2008 13:24:42 +0000 (15:24 +0200)]
Improve formatting, use printf rather than DEBUG.

11 years agoCope with DCE/RPC -> NDR renames.
Jelmer Vernooij [Fri, 12 Sep 2008 13:05:30 +0000 (15:05 +0200)]
Cope with DCE/RPC -> NDR renames.

11 years agoAllow base classes to be defined in other files.
Jelmer Vernooij [Fri, 12 Sep 2008 12:57:19 +0000 (14:57 +0200)]
Allow base classes to be defined in other files.

11 years agoRe-Import ODL support.
Jelmer Vernooij [Fri, 12 Sep 2008 12:33:20 +0000 (14:33 +0200)]
Re-Import ODL support.

11 years agoCope with struct renames in DCE/RPC and NDR libraries.
Jelmer Vernooij [Fri, 12 Sep 2008 11:58:40 +0000 (13:58 +0200)]
Cope with struct renames in DCE/RPC and NDR libraries.

11 years agoCope with includes.h splitup in COM code.
Jelmer Vernooij [Fri, 12 Sep 2008 11:58:05 +0000 (13:58 +0200)]
Cope with includes.h splitup in COM code.

11 years agoRedefine BSTR.
Jelmer Vernooij [Fri, 12 Sep 2008 11:37:15 +0000 (13:37 +0200)]
Redefine BSTR.

11 years agoRedefine BSTR.
Jelmer Vernooij [Fri, 12 Sep 2008 11:36:59 +0000 (13:36 +0200)]
Redefine BSTR.

11 years agoRemove old Debian README.
Jelmer Vernooij [Thu, 11 Sep 2008 15:52:17 +0000 (17:52 +0200)]
Remove old Debian README.

11 years agoPoint at the wiki for instructions regarding the Debian packages.
Jelmer Vernooij [Thu, 11 Sep 2008 15:35:38 +0000 (17:35 +0200)]
Point at the wiki for instructions regarding the Debian packages.

11 years agoDisable WMI for now, as it doesn't build properly yet.
Jelmer Vernooij [Thu, 11 Sep 2008 15:01:35 +0000 (17:01 +0200)]
Disable WMI for now, as it doesn't build properly yet.

11 years agoUse other utility typemaps inside wmi python functions.
Jelmer Vernooij [Tue, 17 Jun 2008 12:14:51 +0000 (14:14 +0200)]
Use other utility typemaps inside wmi python functions.

11 years agoAdd build system bits for wmi.
Jelmer Vernooij [Tue, 17 Jun 2008 12:08:15 +0000 (14:08 +0200)]
Add build system bits for wmi.

11 years agoRemove unused imports.
Jelmer Vernooij [Fri, 9 May 2008 11:58:45 +0000 (13:58 +0200)]
Remove unused imports.

11 years agoFix compilation issues in the WMI code.
Jelmer Vernooij [Fri, 9 May 2008 11:44:58 +0000 (13:44 +0200)]
Fix compilation issues in the WMI code.

11 years agoFix use of interface instances in pidl.
Jelmer Vernooij [Fri, 9 May 2008 11:44:12 +0000 (13:44 +0200)]
Fix use of interface instances in pidl.

11 years agoFix COM headers.
Jelmer Vernooij [Fri, 9 May 2008 11:27:06 +0000 (13:27 +0200)]
Fix COM headers.

11 years agoManual prototypes for COM.
Jelmer Vernooij [Fri, 9 May 2008 11:23:52 +0000 (13:23 +0200)]
Manual prototypes for COM.

11 years agoBuild (D)COM output again.
Jelmer Vernooij [Fri, 9 May 2008 11:20:42 +0000 (13:20 +0200)]
Build (D)COM output again.