sfrench/samba-autobuild/.git
12 years agomount.cifs: make local versions of strlcat and strlcpy static
Jeff Layton [Sat, 13 Sep 2008 01:21:33 +0000 (21:21 -0400)]
mount.cifs: make local versions of strlcat and strlcpy static

...to silence -Wmissing-prototypes

Signed-off-by: Jeff Layton <jlayton@redhat.com>
12 years agocifs.upcall: make most functions static and silence compiler warnings
Jeff Layton [Sat, 13 Sep 2008 01:13:54 +0000 (21:13 -0400)]
cifs.upcall: make most functions static and silence compiler warnings

...to silence -Wmissing-prototypes and some uninit'ed variable
warnings. Thanks to GD for the extra-paranoid compiler flags.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
12 years agoModify a comment to make things clearer.
Jeremy Allison [Fri, 12 Sep 2008 22:03:05 +0000 (15:03 -0700)]
Modify a comment to make things clearer.
Jeremy.

12 years agoFactor out validate_smb_crypto
Volker Lendecke [Fri, 12 Sep 2008 21:05:51 +0000 (23:05 +0200)]
Factor out validate_smb_crypto

12 years agoFix "make test" -- gna...
Volker Lendecke [Fri, 12 Sep 2008 20:26:10 +0000 (22:26 +0200)]
Fix "make test" -- gna...

12 years agoAdd a more explaining comment
Volker Lendecke [Fri, 12 Sep 2008 19:56:14 +0000 (21:56 +0200)]
Add a more explaining comment

12 years agoremove a pointless empty line
Volker Lendecke [Fri, 12 Sep 2008 19:20:02 +0000 (21:20 +0200)]
remove a pointless empty line

12 years agoAdd a paranoia check on incoming PDUs
Volker Lendecke [Fri, 12 Sep 2008 19:19:37 +0000 (21:19 +0200)]
Add a paranoia check on incoming PDUs

12 years agopackaging: use "find" instead of "du" to find files... :-)
Michael Adam [Fri, 12 Sep 2008 13:07:00 +0000 (15:07 +0200)]
packaging: use "find" instead of "du" to find files... :-)

Michael

12 years agonetapi: fix NetUserGetLocalGroups.
Günther Deschner [Fri, 12 Sep 2008 09:47:39 +0000 (11:47 +0200)]
netapi: fix NetUserGetLocalGroups.

Guenther

12 years agonetapi: fix NetGroupGetUsers (only enumerates users).
Günther Deschner [Fri, 12 Sep 2008 09:28:42 +0000 (11:28 +0200)]
netapi: fix NetGroupGetUsers (only enumerates users).

Guenther

12 years agonetapi: fix NetUserSetGroups.
Günther Deschner [Fri, 12 Sep 2008 09:28:03 +0000 (11:28 +0200)]
netapi: fix NetUserSetGroups.

Guenther

12 years agonetapi: fix NetGroupSetUsers.
Günther Deschner [Fri, 12 Sep 2008 09:13:20 +0000 (11:13 +0200)]
netapi: fix NetGroupSetUsers.

Guenther

12 years agodoserr: add WERR_NO_SUCH_ALIAS.
Günther Deschner [Fri, 12 Sep 2008 08:12:01 +0000 (10:12 +0200)]
doserr: add WERR_NO_SUCH_ALIAS.

Guenther

12 years agomessaging: move types to IDL.
Günther Deschner [Thu, 4 Sep 2008 13:13:22 +0000 (15:13 +0200)]
messaging: move types to IDL.

Guenther

12 years agoReorder defines for version for consistency with Samba 4.
Jelmer Vernooij [Fri, 12 Sep 2008 10:38:54 +0000 (12:38 +0200)]
Reorder defines for version for consistency with Samba 4.

12 years agofix nonempty blank lines
Volker Lendecke [Thu, 11 Sep 2008 16:45:26 +0000 (18:45 +0200)]
fix nonempty blank lines

12 years agoUse the given name, not the absolute pathname, when printing out ACL info.
Jeremy Allison [Fri, 12 Sep 2008 00:32:14 +0000 (17:32 -0700)]
Use the given name, not the absolute pathname, when printing out ACL info.
Make this match the non-ACL case.
Jeremy.

12 years agoFix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu <fumiyas@osstech...
Jeremy Allison [Thu, 11 Sep 2008 23:20:59 +0000 (16:20 -0700)]
Fix bug #5751 cannot show ACLs on DFS reported by SATOH Fumiyasu <fumiyas@osstech.co.jp>.
Fix for smbclient and libsmbclient.
Jeremy.

12 years agoFix for bug 5571
Simo Sorce [Thu, 11 Sep 2008 13:51:39 +0000 (09:51 -0400)]
Fix for bug 5571
Make sure that usernames are parsed using the correct separator.
Otherwise group memeberships in winbind may be result broken.

12 years agobuild: don't install the cifs.upcall binary twice.
Günther Deschner [Fri, 5 Sep 2008 12:01:45 +0000 (14:01 +0200)]
build: don't install the cifs.upcall binary twice.

Guenther

12 years agonet: use netapi for NetFileEnum.
Günther Deschner [Wed, 10 Sep 2008 08:34:28 +0000 (10:34 +0200)]
net: use netapi for NetFileEnum.

Guenther

12 years agonet: use netapi for NetFileClose.
Günther Deschner [Wed, 10 Sep 2008 08:34:13 +0000 (10:34 +0200)]
net: use netapi for NetFileClose.

Guenther

12 years agonetapi: implement NetFileEnum_r.
Günther Deschner [Wed, 10 Sep 2008 08:03:48 +0000 (10:03 +0200)]
netapi: implement NetFileEnum_r.

Guenther

12 years agonetapi: add NetFileEnum example code.
Günther Deschner [Tue, 9 Sep 2008 20:17:00 +0000 (22:17 +0200)]
netapi: add NetFileEnum example code.

Guenther

12 years agonetapi: add NetFileEnum to public header.
Günther Deschner [Tue, 9 Sep 2008 20:16:07 +0000 (22:16 +0200)]
netapi: add NetFileEnum to public header.

Guenther

12 years agonetapi: add NetFileEnum skeleton.
Günther Deschner [Tue, 9 Sep 2008 20:01:32 +0000 (22:01 +0200)]
netapi: add NetFileEnum skeleton.

Guenther

12 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 19:59:36 +0000 (21:59 +0200)]
re-run make idl.

Guenther

12 years agonetapi: add NetFileEnum to IDL.
Günther Deschner [Tue, 9 Sep 2008 19:59:22 +0000 (21:59 +0200)]
netapi: add NetFileEnum to IDL.

Guenther

12 years agonetapi: add NetFileGetInfo example code.
Günther Deschner [Tue, 9 Sep 2008 19:56:29 +0000 (21:56 +0200)]
netapi: add NetFileGetInfo example code.

Guenther

12 years agonetapi: add NetFileGetInfo to public header.
Günther Deschner [Tue, 9 Sep 2008 19:56:04 +0000 (21:56 +0200)]
netapi: add NetFileGetInfo to public header.

Guenther

12 years agonetapi: implement NetFileGetInfo_r.
Günther Deschner [Tue, 9 Sep 2008 19:55:45 +0000 (21:55 +0200)]
netapi: implement NetFileGetInfo_r.

Guenther

12 years agonetapi: add NetFileGetInfo skeleton.
Günther Deschner [Tue, 9 Sep 2008 17:43:02 +0000 (19:43 +0200)]
netapi: add NetFileGetInfo skeleton.

Guenther

12 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 17:30:43 +0000 (19:30 +0200)]
re-run make idl.

Guenther

12 years agonetapi: add IDL for NetFileGetInfo.
Günther Deschner [Tue, 9 Sep 2008 17:30:25 +0000 (19:30 +0200)]
netapi: add IDL for NetFileGetInfo.

Guenther

12 years agonetapi: implement NetFileClose_r.
Günther Deschner [Tue, 9 Sep 2008 17:31:03 +0000 (19:31 +0200)]
netapi: implement NetFileClose_r.

Guenther

12 years agonetapi: add NetFileClose example code.
Günther Deschner [Tue, 9 Sep 2008 17:37:17 +0000 (19:37 +0200)]
netapi: add NetFileClose example code.

Guenther

12 years agonetapi: add NetFileClose to public header.
Günther Deschner [Tue, 9 Sep 2008 17:37:39 +0000 (19:37 +0200)]
netapi: add NetFileClose to public header.

Guenther

12 years agonetapi: add NetFileClose skeleton.
Günther Deschner [Tue, 9 Sep 2008 17:21:48 +0000 (19:21 +0200)]
netapi: add NetFileClose skeleton.

Guenther

12 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 17:20:05 +0000 (19:20 +0200)]
re-run make idl.

Guenther

12 years agonetapi: add NetFileClose to IDL.
Günther Deschner [Tue, 9 Sep 2008 17:19:49 +0000 (19:19 +0200)]
netapi: add NetFileClose to IDL.

Guenther

12 years agonetapi: implement NetUserGetLocalGroups_r.
Günther Deschner [Tue, 9 Sep 2008 16:44:40 +0000 (18:44 +0200)]
netapi: implement NetUserGetLocalGroups_r.

Guenther

12 years agonetapi: add NetUserGetLocalGroups example code.
Günther Deschner [Tue, 9 Sep 2008 12:48:06 +0000 (14:48 +0200)]
netapi: add NetUserGetLocalGroups example code.

Guenther

12 years agonetapi: add NetUserGetLocalGroups to public header.
Günther Deschner [Tue, 9 Sep 2008 11:44:09 +0000 (13:44 +0200)]
netapi: add NetUserGetLocalGroups to public header.

Guenther

12 years agonetapi: add NetUserGetLocalGroups skeleton.
Günther Deschner [Tue, 9 Sep 2008 11:42:27 +0000 (13:42 +0200)]
netapi: add NetUserGetLocalGroups skeleton.

Guenther

12 years agore-run make idl.
Günther Deschner [Tue, 9 Sep 2008 11:40:39 +0000 (13:40 +0200)]
re-run make idl.

Guenther

12 years agonetapi: add NetUserGetLocalGroups to IDL.
Günther Deschner [Tue, 9 Sep 2008 11:40:18 +0000 (13:40 +0200)]
netapi: add NetUserGetLocalGroups to IDL.

Guenther

12 years agonetapi: fix group_getusers example.
Günther Deschner [Mon, 8 Sep 2008 14:43:06 +0000 (16:43 +0200)]
netapi: fix group_getusers example.

Guenther

12 years agonetapi: implement NetGroupGetUsers_r.
Günther Deschner [Mon, 8 Sep 2008 14:42:38 +0000 (16:42 +0200)]
netapi: implement NetGroupGetUsers_r.

Guenther

12 years agonetapi: implement NetGroupSetUsers_r.
Günther Deschner [Tue, 9 Sep 2008 11:17:22 +0000 (13:17 +0200)]
netapi: implement NetGroupSetUsers_r.

Guenther

12 years agonetapi: add example code for NetGroupSetUsers.
Günther Deschner [Fri, 5 Sep 2008 15:05:49 +0000 (17:05 +0200)]
netapi: add example code for NetGroupSetUsers.

Guenther

12 years agonetapi: add NetGroupSetUsers to public header.
Günther Deschner [Mon, 8 Sep 2008 08:23:07 +0000 (10:23 +0200)]
netapi: add NetGroupSetUsers to public header.

Guenther

12 years agonetapi: add skeleton for NetGroupSetUsers.
Günther Deschner [Mon, 8 Sep 2008 08:21:17 +0000 (10:21 +0200)]
netapi: add skeleton for NetGroupSetUsers.

Guenther

12 years agore-run make idl.
Günther Deschner [Fri, 5 Sep 2008 15:00:41 +0000 (17:00 +0200)]
re-run make idl.

Guenther

12 years agonetapi: add IDL for NetGroupSetUsers.
Günther Deschner [Fri, 5 Sep 2008 14:59:21 +0000 (16:59 +0200)]
netapi: add IDL for NetGroupSetUsers.

Guenther

12 years agonetapi: implement NetUserSetGroups_r.
Günther Deschner [Mon, 8 Sep 2008 17:10:00 +0000 (19:10 +0200)]
netapi: implement NetUserSetGroups_r.

Guenther

12 years agonetapi: add example code for NetUserSetGroups.
Günther Deschner [Fri, 5 Sep 2008 15:01:23 +0000 (17:01 +0200)]
netapi: add example code for NetUserSetGroups.

Guenther

12 years agonetapi: add NetUserSetGroups to public header.
Günther Deschner [Mon, 8 Sep 2008 08:26:11 +0000 (10:26 +0200)]
netapi: add NetUserSetGroups to public header.

Guenther

12 years agonetapi: add skeleton for NetUserSetGroups.
Günther Deschner [Fri, 5 Sep 2008 14:51:55 +0000 (16:51 +0200)]
netapi: add skeleton for NetUserSetGroups.

Guenther

12 years agore-run make idl.
Günther Deschner [Fri, 5 Sep 2008 14:50:04 +0000 (16:50 +0200)]
re-run make idl.

Guenther

12 years agonetapi: add IDL for NetUserSetGroups.
Günther Deschner [Fri, 5 Sep 2008 14:49:09 +0000 (16:49 +0200)]
netapi: add IDL for NetUserSetGroups.

Guenther

12 years agonetapi: make add_GROUP_USERS_INFO_X_buffer non-static.
Günther Deschner [Mon, 8 Sep 2008 14:42:10 +0000 (16:42 +0200)]
netapi: make add_GROUP_USERS_INFO_X_buffer non-static.

Guenther

12 years agonetapi: fix NetShareEnum_r.
Günther Deschner [Wed, 10 Sep 2008 08:13:41 +0000 (10:13 +0200)]
netapi: fix NetShareEnum_r.

Guenther

12 years agonetapi: fix NetShareGetInfo_r.
Günther Deschner [Wed, 10 Sep 2008 08:13:55 +0000 (10:13 +0200)]
netapi: fix NetShareGetInfo_r.

Guenther

12 years agonet: use netapi for NetShareEnum.
Günther Deschner [Wed, 10 Sep 2008 08:53:46 +0000 (10:53 +0200)]
net: use netapi for NetShareEnum.

Guenther

12 years agonetapi: fix NetShareEnum_r which in fact enumerates all shares.
Günther Deschner [Wed, 10 Sep 2008 11:26:54 +0000 (13:26 +0200)]
netapi: fix NetShareEnum_r which in fact enumerates all shares.

Guenther

12 years agonetapi: fix doxygen warning.
Günther Deschner [Tue, 9 Sep 2008 17:36:51 +0000 (19:36 +0200)]
netapi: fix doxygen warning.

Guenther

12 years agoFix bug #5052 - not work cancel inheritance on share. We were
Jeremy Allison [Wed, 10 Sep 2008 23:22:51 +0000 (16:22 -0700)]
Fix bug #5052 - not work cancel inheritance on share. We were
using the parent security descriptor type and flags instead
of using the passed in SD.
Jeremy.

12 years agoMerge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
Jeremy Allison [Wed, 10 Sep 2008 21:57:52 +0000 (14:57 -0700)]
Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel

12 years agoWhen requesting UNIX info levels on findfirst/findnext, don't play games with write...
Jeremy Allison [Wed, 10 Sep 2008 21:54:25 +0000 (14:54 -0700)]
When requesting UNIX info levels on findfirst/findnext, don't play games with write time,
just return what the underlying filesystem says. Trying not to confuse UNIX apps any more than necessary.
Jeremy.

12 years agopackaging(RHEL): fix direction of link (.so) of nss libs.
Michael Adam [Wed, 10 Sep 2008 21:22:49 +0000 (23:22 +0200)]
packaging(RHEL): fix direction of link (.so) of nss libs.

libnss_winbindd.so -> libnss_winbindd.so.2
libnss_wins.so -> libnss_wins.so.2

Michael

12 years agoFix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.
Jeremy Allison [Wed, 10 Sep 2008 17:18:02 +0000 (10:18 -0700)]
Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.
Jeremy.

12 years agonet: share_type is defined in net_rap.c, net_rpc.c needs to use that.
Kai Blin [Wed, 10 Sep 2008 10:05:18 +0000 (12:05 +0200)]
net: share_type is defined in net_rap.c, net_rpc.c needs to use that.

This fixes a crash in net rpc share that Günther Deschner found.

12 years agoFix some bogus compiler warnings
Volker Lendecke [Wed, 10 Sep 2008 09:51:02 +0000 (11:51 +0200)]
Fix some bogus compiler warnings

12 years agoFix make test on sparc and possibly also on AIX
Volker Lendecke [Tue, 9 Sep 2008 20:13:39 +0000 (22:13 +0200)]
Fix make test on sparc and possibly also on AIX

12 years agoMerge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
Jelmer Vernooij [Tue, 9 Sep 2008 17:27:00 +0000 (19:27 +0200)]
Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel

12 years agoStop ignoring .svn directories when creating tags, since we no longer use
Jelmer Vernooij [Tue, 9 Sep 2008 17:05:48 +0000 (19:05 +0200)]
Stop ignoring .svn directories when creating tags, since we no longer use
svn.

12 years agoRename object variables to avoid clashes with Samba 4.
Jelmer Vernooij [Tue, 9 Sep 2008 17:03:49 +0000 (19:03 +0200)]
Rename object variables to avoid clashes with Samba 4.

12 years agoConvert cli_query_secdesc to the async trans call
Volker Lendecke [Tue, 9 Sep 2008 13:03:51 +0000 (15:03 +0200)]
Convert cli_query_secdesc to the async trans call

12 years agoConvert cli_qfileinfo to the async trans call
Volker Lendecke [Tue, 9 Sep 2008 13:03:34 +0000 (15:03 +0200)]
Convert cli_qfileinfo to the async trans call

12 years agoAdd async trans/trans2/nttrans calls to libsmb
Volker Lendecke [Tue, 9 Sep 2008 12:47:23 +0000 (14:47 +0200)]
Add async trans/trans2/nttrans calls to libsmb

Logic stolen from Samba4, naturally the specific implementation differs a bit.

12 years agoAdd some debug to reply_nttrans
Volker Lendecke [Tue, 9 Sep 2008 12:43:20 +0000 (14:43 +0200)]
Add some debug to reply_nttrans

12 years agoMove setting the mid field in req->outbuf from _cork to _uncork
Volker Lendecke [Tue, 9 Sep 2008 12:39:45 +0000 (14:39 +0200)]
Move setting the mid field in req->outbuf from _cork to _uncork

The async trans calls need this, as for secondary trans calls they have to
modify the MID from what cli_request_chain() gave us.

12 years agoAdd utility function cli_in_chain()
Volker Lendecke [Tue, 9 Sep 2008 12:37:17 +0000 (14:37 +0200)]
Add utility function cli_in_chain()

This gives a hint whether a function is called from within the middle of a
chain. In particular the trans calls don't really like this.

12 years agomake smb_bytes_push_str public
Volker Lendecke [Tue, 9 Sep 2008 12:35:42 +0000 (14:35 +0200)]
make smb_bytes_push_str public

12 years agoAdd a utility function to append a DATA_BLOB to a talloc object
Volker Lendecke [Tue, 9 Sep 2008 12:34:28 +0000 (14:34 +0200)]
Add a utility function to append a DATA_BLOB to a talloc object

12 years agopackaging(RHEL): add makerpms.git.sh to build rpms from inside a git checkout
Michael Adam [Mon, 8 Sep 2008 11:44:52 +0000 (13:44 +0200)]
packaging(RHEL): add makerpms.git.sh to build rpms from inside a git checkout

This expects a path to a release docs tarball (.tar.bz2) in the DOCS_TARBALL
environment variable. The tarball should have a prefix of "docs/".

Michael

12 years agopackaging(RHEL): use ccache if available
Michael Adam [Mon, 8 Sep 2008 15:38:55 +0000 (17:38 +0200)]
packaging(RHEL): use ccache if available

Michael

12 years agopackaging(RHEL): add ldbtools binaries and man pages to common package
Michael Adam [Mon, 8 Sep 2008 13:52:27 +0000 (15:52 +0200)]
packaging(RHEL): add ldbtools binaries and man pages to common package

Michael

12 years agopackaging(RHEL): add cifs.upcall binary and manpage to client package
Michael Adam [Mon, 8 Sep 2008 13:51:57 +0000 (15:51 +0200)]
packaging(RHEL): add cifs.upcall binary and manpage to client package

Michael

12 years agopackaging(RHEL): fix installation of pam modules.
Michael Adam [Mon, 8 Sep 2008 13:51:33 +0000 (15:51 +0200)]
packaging(RHEL): fix installation of pam modules.

Michael

12 years agopackaging(RHEL): remove leftovers of smbmount from SPEC file.
Michael Adam [Mon, 8 Sep 2008 12:46:31 +0000 (14:46 +0200)]
packaging(RHEL): remove leftovers of smbmount from SPEC file.

Michael

12 years agopackaging(RHEL): add new libs (talloc, tdb, ...) to the common package
Michael Adam [Fri, 29 Aug 2008 15:45:45 +0000 (17:45 +0200)]
packaging(RHEL): add new libs (talloc, tdb, ...) to the common package

Michael

12 years agopackaging(RHEL): remove workaround code for libsmclient/sharemodes installation
Michael Adam [Fri, 29 Aug 2008 14:57:16 +0000 (16:57 +0200)]
packaging(RHEL): remove workaround code for libsmclient/sharemodes installation

With 3.3.0, this is not needed any more
(libdir/modulesdir separation and corrected library creation).

Michael

12 years agopackaging(RHEL): fix libdir installation by using _libarch/_libarchdir
Michael Adam [Fri, 29 Aug 2008 14:55:55 +0000 (16:55 +0200)]
packaging(RHEL): fix libdir installation by using _libarch/_libarchdir

Michael

12 years agopackaging(RHEL): remove libmsrpc stuff which is no more...
Michael Adam [Fri, 29 Aug 2008 14:48:37 +0000 (16:48 +0200)]
packaging(RHEL): remove libmsrpc stuff which is no more...

Michael

12 years agopackaging(RHEL): remove duplicate installation of pam_smbpass.so
Michael Adam [Fri, 29 Aug 2008 14:44:06 +0000 (16:44 +0200)]
packaging(RHEL): remove duplicate installation of pam_smbpass.so

Michael

12 years agopackaging(RHEL): remove smbmount related stuff from spec file
Michael Adam [Fri, 29 Aug 2008 14:41:30 +0000 (16:41 +0200)]
packaging(RHEL): remove smbmount related stuff from spec file

Michael

12 years agopackaging(RHEL): don't make proto for samba 3.3
Michael Adam [Fri, 29 Aug 2008 14:40:04 +0000 (16:40 +0200)]
packaging(RHEL): don't make proto for samba 3.3

Michael

12 years agopackaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdir
Michael Adam [Fri, 29 Aug 2008 14:38:31 +0000 (16:38 +0200)]
packaging(RHEL): use --libdir and --with-modulesdir instead of --with-libdir

Michael