kai/samba.git
13 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.
(This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)

13 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.
(This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)

13 years agoFix some bogus compiler warnings
Volker Lendecke [Wed, 10 Sep 2008 09:51:02 +0000 (11:51 +0200)]
Fix some bogus compiler warnings
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)

13 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
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)

13 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
(This used to be commit c3d1b0097590566417bda3fa33a64e994c9c7526)

13 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.
(This used to be commit 151c78652a89146049a134f60aef509c2117c436)

13 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.
(This used to be commit c77758de5d6df28abaffe3f8a1d7b5cbc615605e)

13 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
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)

13 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
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)

13 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.
(This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)

13 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
(This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)

13 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.
(This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d)

13 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.
(This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)

13 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
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)

13 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
(This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)

13 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
(This used to be commit d87c2192ab7b68b2f68442c50618d94146d77ad9)

13 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
(This used to be commit e8abbfabde3da0844ffb4e2507084c139a70d503)

13 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
(This used to be commit 206985dfda5a9f62df975629046b00a88ec666f5)

13 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
(This used to be commit f1b80bcb58b8aa5c586835dc201ce674b3417835)

13 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
(This used to be commit 0f045f18ebaa752b9d906afc64fd5badb3bf352c)

13 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
(This used to be commit 041875c64daba3d185b1954eb0eb9a21b2f41ee1)

13 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
(This used to be commit f23183bbec55faf2d6496e04e73f8dd415a08d1c)

13 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
(This used to be commit 5348e28f6674cab643b42c1265c24983d9a9189d)

13 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
(This used to be commit 829f83c27ad03e4d2a7b5dc0b0459823fa4f3804)

13 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
(This used to be commit 3eaa33e9df6d58ef93f13a840b38a063649fffbc)

13 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
(This used to be commit cdc24fbb195b1a5460c05fcd20d7ba81ad69ef22)

13 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
(This used to be commit 4420cf6199e3c718a3dea84fe814d6ad6e83c2d8)

13 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
(This used to be commit 75c28699496d843e21eefef564c72023b24975a1)

13 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
(This used to be commit dc6625637fb9de7d64d4416a1eb43f214590d393)

13 years agopackaging(RHEL): fix version of GPL (2 --> 3)
Michael Adam [Fri, 29 Aug 2008 13:45:18 +0000 (15:45 +0200)]
packaging(RHEL): fix version of GPL (2 --> 3)

Michael
(This used to be commit c015e8e0cf4131f21305451943df13b81f51ea6a)

13 years agoFix a memleak in cli_qfilename (only used in smbtorture)
Volker Lendecke [Mon, 8 Sep 2008 20:39:16 +0000 (22:39 +0200)]
Fix a memleak in cli_qfilename (only used in smbtorture)
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)

13 years agoFix calculation of useable_space for trans2 and nttrans replies
Volker Lendecke [Mon, 8 Sep 2008 20:53:50 +0000 (22:53 +0200)]
Fix calculation of useable_space for trans2 and nttrans replies

When alignment was in place, we pretended to send more data/params according to
the param_offset/param_length and data_offset/data_length parameters than would
actually fit into the SMB according to the NBSS length field.
(This used to be commit ef3c132b8455c6fe4d0bb9f0be881040a806a4ed)

13 years agoWhen setting an NFSv4 ACL, map generic bits
Volker Lendecke [Mon, 8 Sep 2008 14:42:06 +0000 (16:42 +0200)]
When setting an NFSv4 ACL, map generic bits
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)

13 years agoThanks metze for pointing out the missing extern :-)
Volker Lendecke [Mon, 8 Sep 2008 14:23:36 +0000 (16:23 +0200)]
Thanks metze for pointing out the missing extern :-)
(This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)

13 years agosmbd: some write time fixes
Stefan Metzmacher [Mon, 8 Sep 2008 13:12:24 +0000 (15:12 +0200)]
smbd: some write time fixes

- only the first non truncating write causes
  the write time update with 2 seconds delay.
  It's not enough to check for an existing update event
  as it will be NULL after the event was triggered.

- SMBwrite truncates always update the write time
  unless the sticky write time is set.

- SMBwrite truncates don't trigger a write time update on close.

metze
(This used to be commit 3d17089b6dc773303c8c553f3f6140e60e348fb7)

13 years agoRemove some duplicate code
Volker Lendecke [Mon, 8 Sep 2008 13:57:15 +0000 (15:57 +0200)]
Remove some duplicate code
(This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)

13 years agopackaging(RHEL-CTDB): add fix for versions containing "-" signs.
Michael Adam [Mon, 8 Sep 2008 12:09:41 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): add fix for versions containing "-" signs.

Michael
(cherry picked from commit 423105e29aaef449dbc40d124900a3f654b7266b)
(This used to be commit 4bebce268a430a537215b46947e37a8b0225e49d)

13 years agopackaging(RHEL-CTDB): extend and slightly reformat comment header block
Michael Adam [Mon, 8 Sep 2008 11:11:17 +0000 (13:11 +0200)]
packaging(RHEL-CTDB): extend and slightly reformat comment header block

Michael
(cherry picked from commit 1bfc8cc575cd84f24ceb6f6c5d13c9171c0895a5)
(This used to be commit 5354e420677eacd62a5297bc38d62cd6b53642b5)

13 years agopackaging(RHEL-CTDB): unify and extend (C) header
Michael Adam [Mon, 8 Sep 2008 11:08:18 +0000 (13:08 +0200)]
packaging(RHEL-CTDB): unify and extend (C) header

Michael
(cherry picked from commit e051c1cbf7a993e3885c4a515e516da3574a1f57)
(This used to be commit 68ec025d06058bcd1c7050ee5d8f7232a3eb901a)

13 years agopackaging(RHEL-CTDB): autodetect the samba version number from version.h
Michael Adam [Thu, 4 Sep 2008 12:36:29 +0000 (14:36 +0200)]
packaging(RHEL-CTDB): autodetect the samba version number from version.h

Generate version.h first.
Create samba.spec from (new) samba.spec.tmpl, replacing PVERSION
by the version string. (as is done with update-pkginfo called
from the create-tarball release script)

Michael
(This used to be commit f1f3d1bef0440f4294f7278c0c38e13a10b6fb48)

13 years agopackaging(RHEL-CTDB): introduce variable TOPDIR
Michael Adam [Thu, 4 Sep 2008 12:10:45 +0000 (14:10 +0200)]
packaging(RHEL-CTDB): introduce variable TOPDIR

Michael
(cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7)
(This used to be commit c6ff392778a75cc74db880fa3d657f5879ae55d5)

13 years agopackaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR
Michael Adam [Thu, 4 Sep 2008 12:09:36 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR

Michael
(cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc)
(This used to be commit cbfd805bd25a23299ef770687370dafebefe58d1)

13 years agopackaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR
Michael Adam [Thu, 4 Sep 2008 12:09:15 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR

Michael
(cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c)
(This used to be commit ab7575f5d29576518bd5593ec5bd58846b85d23d)

13 years agonetapi: expand NetUser testsuite a little.
Günther Deschner [Fri, 5 Sep 2008 15:06:24 +0000 (17:06 +0200)]
netapi: expand NetUser testsuite a little.

Guenther
(This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)

13 years agonetapi: add NetShare testsuite.
Günther Deschner [Fri, 5 Sep 2008 13:13:13 +0000 (15:13 +0200)]
netapi: add NetShare testsuite.

Guenther
(This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)

13 years agonet: use NETSETUP flags consistently.
Günther Deschner [Fri, 5 Sep 2008 14:28:56 +0000 (16:28 +0200)]
net: use NETSETUP flags consistently.

Guenther
(This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)

13 years agonetapi: re-arrange a little NetLocalGroupSetMembers example code.
Günther Deschner [Fri, 5 Sep 2008 21:21:58 +0000 (23:21 +0200)]
netapi: re-arrange a little NetLocalGroupSetMembers example code.

Guenther
(This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)

13 years agonetapi: fix NetShareGetInfo example output.
Günther Deschner [Fri, 5 Sep 2008 12:01:17 +0000 (14:01 +0200)]
netapi: fix NetShareGetInfo example output.

Guenther
(This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)

13 years agoFix debug message to show correct function name.
Jeremy Allison [Sat, 6 Sep 2008 03:37:00 +0000 (20:37 -0700)]
Fix debug message to show correct function name.
Jeremy.
(This used to be commit 079c75ef3c169c7a5d81bcaa0b70b6e0df2c464d)

13 years agoWrite times code update.
Jeremy Allison [Sat, 6 Sep 2008 02:00:48 +0000 (19:00 -0700)]
Write times code update.

Ok, here's the fix for the write times breakage
with the new tests in S4 smbtorture.

The key is keeping in the share mode struct
the "old_file_time" as the real write time,
set by all the write and allocation calls,
and the "changed_write_time" as the "sticky"
write time - set by the SET_FILE_TIME calls.

We can set them independently (although I
kept the optimization of not setting the
"old_file_time" is a "changed_write_time"
was already set, as we'll never see it.

This allows us to update the write time
immediately on the SMBwrite truncate case,
SET_END_OF_FILE and SET_ALLOCATION_SIZE calls,
whilst still have the 2 second delay on the
"normal" SMBwrite, SMBwriteX calls.

I think in a subsequent patch I'd like to
change the name of these from "old_file_time"
to "write_time" and "changed_write_time" to
"sticky_write_time" to make this clearer.

I think I also fixed a bug in Metze's original
code in that once a write timestamp had been
set from a "normal" SMBwriteX call the fsp->update_write_time_triggered
variable was set and then never reset - thus
meaning the write timestamp would never get
updated again on subsequent SMBwriteX's.

The new code checks the update_write_time_event
event instead, and doesn't update is there's
an event already scheduled.

Metze especially, please check this over for
your understanding.

Jeremy.
(This used to be commit 6f20585419046c4aca1f7d6c863cf79eb6ae53b0)

13 years agoRemove unecessary msync.
Jeremy Allison [Fri, 5 Sep 2008 22:32:22 +0000 (15:32 -0700)]
Remove unecessary msync.
Jeremy.
(This used to be commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)

13 years agoFix "warning: pointer of type 'void *' used in arithmetic".
Jeremy Allison [Fri, 5 Sep 2008 22:20:59 +0000 (15:20 -0700)]
Fix "warning: pointer of type 'void *' used in arithmetic".
Jeremy.
(This used to be commit 2d95ea38a2f1ead37121fcc036c21a7f20ff41f9)

13 years agoRevert "winbindd: the ad trusted_domains call should return talloced strings."
Günther Deschner [Fri, 5 Sep 2008 21:22:10 +0000 (23:22 +0200)]
Revert "winbindd: the ad trusted_domains call should return talloced strings."

This reverts commit b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa.
(This used to be commit b2a3f13e5b3b81df2ed7460e54c11a7f56b3c4f6)

13 years agoFix a memleak
Qiao Yang [Fri, 5 Sep 2008 12:08:09 +0000 (14:08 +0200)]
Fix a memleak

request.extra_data is not freed if there is no extra_data in response or
when there is some error happens in processing. This patch will free the
buffer right after processing a request before sending back a response.
(This used to be commit be6f12273f171a3eb1967d2299064e57d737f6a4)

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

Guenther
(This used to be commit 2e15036bacf717d27d1806bcbdba1e68f2f76aae)

13 years agonetapi: add SHARE_INFO_1005_FLAGS.
Günther Deschner [Fri, 5 Sep 2008 10:14:51 +0000 (12:14 +0200)]
netapi: add SHARE_INFO_1005_FLAGS.

Guenther
(This used to be commit f3044d76530f63b16f26fedf8e00eaf4d3badb06)

13 years agonetapi: implement NetShareSetInfo_r.
Günther Deschner [Thu, 4 Sep 2008 18:24:23 +0000 (20:24 +0200)]
netapi: implement NetShareSetInfo_r.

Guenther
(This used to be commit ebcd45ed3ff79ce3b90872aa87a737ba6ee3401f)

13 years agonetapi: add support for level 1004 in
Günther Deschner [Thu, 4 Sep 2008 18:24:02 +0000 (20:24 +0200)]
netapi: add support for level 1004 in
map_SHARE_INFO_buffer_to_srvsvc_share_info.

Guenther
(This used to be commit f21a934e1e100cb1496a6c854684ff110ba6d1cc)

13 years agonetapi: add NetShareSetInfo example code.
Günther Deschner [Thu, 4 Sep 2008 18:12:56 +0000 (20:12 +0200)]
netapi: add NetShareSetInfo example code.

Guenther
(This used to be commit a7050c999ff0a13724afbbbb2628cb47daec5b35)

13 years agonetapi: add NetShareSetInfo to public header.
Günther Deschner [Thu, 4 Sep 2008 18:04:35 +0000 (20:04 +0200)]
netapi: add NetShareSetInfo to public header.

Guenther
(This used to be commit 2066ebc5e3e782b9443aee3e5beb1a99d69096ec)

13 years agonetapi: add skeleton for NetShareSetInfo.
Günther Deschner [Thu, 4 Sep 2008 18:03:14 +0000 (20:03 +0200)]
netapi: add skeleton for NetShareSetInfo.

Guenther
(This used to be commit 4d7947e54959c6a445e8b0f7a8313fe232c1fb8f)

13 years agore-run make idl.
Günther Deschner [Thu, 4 Sep 2008 18:01:46 +0000 (20:01 +0200)]
re-run make idl.

Guenther
(This used to be commit 7d863c4b00d70110819b847890ccb9b2a4aa71c9)

13 years agonetapi: add NetShareSetInfo to IDL.
Günther Deschner [Thu, 4 Sep 2008 18:00:50 +0000 (20:00 +0200)]
netapi: add NetShareSetInfo to IDL.

Guenther
(This used to be commit 22f37206338e54bbaf619a7b16e145f129bfe986)

13 years agonetapi: implement NetShareEnum_r.
Günther Deschner [Thu, 4 Sep 2008 17:29:47 +0000 (19:29 +0200)]
netapi: implement NetShareEnum_r.

Guenther
(This used to be commit 3fbfbaea004f792a577f21275e6e4218f581d698)

13 years agonetapi: implement NetShareGetInfo_r.
Günther Deschner [Thu, 4 Sep 2008 14:31:18 +0000 (16:31 +0200)]
netapi: implement NetShareGetInfo_r.

Guenther
(This used to be commit 029cf4a2a9d95b9c7de6eb75118a92474c0ae9c1)

13 years agonetapi: add NetShareGetInfo example code.
Günther Deschner [Thu, 4 Sep 2008 14:18:32 +0000 (16:18 +0200)]
netapi: add NetShareGetInfo example code.

Guenther
(This used to be commit 0166c8f04be1168fe83d7bf3730d3011ffd8c6f6)

13 years agonetapi: add NetShareGetInfo to public header.
Günther Deschner [Thu, 4 Sep 2008 13:59:58 +0000 (15:59 +0200)]
netapi: add NetShareGetInfo to public header.

Guenther
(This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)

13 years agonetapi: add skeleton for NetShareGetInfo.
Günther Deschner [Thu, 4 Sep 2008 13:53:54 +0000 (15:53 +0200)]
netapi: add skeleton for NetShareGetInfo.

Guenther
(This used to be commit 237c6e0bca44e19ca89532e565b1345f9f329111)

13 years agore-run make idl.
Günther Deschner [Thu, 4 Sep 2008 13:52:19 +0000 (15:52 +0200)]
re-run make idl.

Guenther
(This used to be commit dab613e930a9193153cc744e4ad4ea0fa6476b40)

13 years agonetapi: add IDL for NetShareGetInfo.
Günther Deschner [Thu, 4 Sep 2008 13:50:49 +0000 (15:50 +0200)]
netapi: add IDL for NetShareGetInfo.

Guenther
(This used to be commit 5d669075295a3adb30c013d1a3b617bf4ced8e73)

13 years agonetapi: remove NetSetup* flags from netdomjoin-gui.
Günther Deschner [Tue, 2 Sep 2008 12:35:58 +0000 (14:35 +0200)]
netapi: remove NetSetup* flags from netdomjoin-gui.

Guenther
(This used to be commit 5851b4e40e5cc2b7ba973b274f9203aa6e6fb1d8)

13 years agonetapi: add NETSETUP_JOIN_STATUS to public header.
Günther Deschner [Tue, 2 Sep 2008 12:34:58 +0000 (14:34 +0200)]
netapi: add NETSETUP_JOIN_STATUS to public header.

Guenther
(This used to be commit 86de3242a478c9f669958414ee9e7720cddad9aa)

13 years agore-run make idl.
Günther Deschner [Tue, 2 Sep 2008 12:33:21 +0000 (14:33 +0200)]
re-run make idl.

Guenther
(This used to be commit f87caa7bff3b8a0b8d7cdc5cda7d21dd7e9eb0ec)

13 years agonetapi: add NETSETUP_JOIN_STATUS to IDL.
Günther Deschner [Tue, 2 Sep 2008 12:32:59 +0000 (14:32 +0200)]
netapi: add NETSETUP_JOIN_STATUS to IDL.

Guenther
(This used to be commit c5ab5bf8417412835d879c8a58a7c64e1359646f)

13 years agore-run make idl.
Günther Deschner [Tue, 2 Sep 2008 12:32:41 +0000 (14:32 +0200)]
re-run make idl.

Guenther
(This used to be commit 383d268f8c4f6282757d350e6b059446e52e6c53)

13 years agowkssvc: rename wkssvc_NetJoinStatus flags.
Günther Deschner [Tue, 2 Sep 2008 12:32:16 +0000 (14:32 +0200)]
wkssvc: rename wkssvc_NetJoinStatus flags.

Guenther
(This used to be commit 9afc888356f801fd231234673bb4a1f6cbf62792)

13 years agonetapi: move join related examples to one directory.
Günther Deschner [Tue, 2 Sep 2008 11:24:51 +0000 (13:24 +0200)]
netapi: move join related examples to one directory.

Guenther
(This used to be commit afdd14c26c27c9fa245165985a5d8e644855c4b5)

13 years agonetapi: add NetRenameMachineInDomain example code.
Günther Deschner [Tue, 2 Sep 2008 11:18:32 +0000 (13:18 +0200)]
netapi: add NetRenameMachineInDomain example code.

Guenther
(This used to be commit e28c332f32c4f7b1ac493f69f17254185d9cee96)

13 years agonetapi: implement NetRenameMachineInDomain_r.
Günther Deschner [Tue, 2 Sep 2008 11:17:57 +0000 (13:17 +0200)]
netapi: implement NetRenameMachineInDomain_r.

Guenther
(This used to be commit 39a42380ca3fac92eb27bded90ab06f7760937b9)

13 years agonetapi: add NetRenameMachineInDomain to public header.
Günther Deschner [Tue, 2 Sep 2008 09:06:22 +0000 (11:06 +0200)]
netapi: add NetRenameMachineInDomain to public header.

Guenther
(This used to be commit b66cee247fa7ef5293074b191b9cc2cbf4eef5f3)

13 years agonetapi: add skeleton for NetRenameMachineInDomain.
Günther Deschner [Tue, 2 Sep 2008 09:02:43 +0000 (11:02 +0200)]
netapi: add skeleton for NetRenameMachineInDomain.

Guenther
(This used to be commit 03a7f7f33370d65493a81ccead2038ee3ab291d0)

13 years agore-run make idl.
Günther Deschner [Tue, 2 Sep 2008 08:59:44 +0000 (10:59 +0200)]
re-run make idl.

Guenther
(This used to be commit 038ec4d73a04e53c1cc0a1fa6a830d1032dee489)

13 years agonetapi: add NetRenameMachineInDomain to IDL.
Günther Deschner [Tue, 2 Sep 2008 08:58:54 +0000 (10:58 +0200)]
netapi: add NetRenameMachineInDomain to IDL.

Guenther
(This used to be commit 8a5b0b639240c829cb5bde1bed1707b3ea4ac480)

13 years agonetdomjoin-gui: fix some widget closing callbacks.
Günther Deschner [Tue, 2 Sep 2008 00:02:20 +0000 (02:02 +0200)]
netdomjoin-gui: fix some widget closing callbacks.

Guenther
(This used to be commit 8d541a3579637bb48c04ebb2b18844509c1f43e8)

13 years agonetdomjoin-gui: always center new windows.
Günther Deschner [Mon, 1 Sep 2008 23:06:25 +0000 (01:06 +0200)]
netdomjoin-gui: always center new windows.

Guenther
(This used to be commit af25bd95d24de8e9fac8f86b18e03a09902b0b78)

13 years agonetdomjoin-gui: fix some small errors in callbacks.
Günther Deschner [Mon, 1 Sep 2008 22:49:33 +0000 (00:49 +0200)]
netdomjoin-gui: fix some small errors in callbacks.

Guenther
(This used to be commit 74031b0b4ac1301cff6ca551c3264c4137a43294)

13 years agonetdomjoin-gui: add gtk set_transient flags.
Günther Deschner [Mon, 1 Sep 2008 22:36:31 +0000 (00:36 +0200)]
netdomjoin-gui: add gtk set_transient flags.

Guenther
(This used to be commit c979b96eb4b0df94e9d736a9473d00c28a52ed07)

13 years agonetdomjoin-gui: test all NetServerGetInfo levels until we get comment.
Günther Deschner [Tue, 2 Sep 2008 14:14:14 +0000 (16:14 +0200)]
netdomjoin-gui: test all NetServerGetInfo levels until we get comment.
(This used to be commit 56d353b406ef77808b9cb968fcba387f301cf2de)

13 years agonetdomjoin-gui: add support to remotely join/unjoin workstations.
Günther Deschner [Mon, 1 Sep 2008 16:59:59 +0000 (18:59 +0200)]
netdomjoin-gui: add support to remotely join/unjoin workstations.

Guenther
(This used to be commit 1760c4ce79ae15f9a2ea92293d823afe3af9b3ee)

13 years agonetapi: add support for local query of level 101 in NetServerGetInfo.
Günther Deschner [Mon, 1 Sep 2008 16:54:53 +0000 (18:54 +0200)]
netapi: add support for local query of level 101 in NetServerGetInfo.

Guenther
(This used to be commit b7a2f27c1cae9abed2f821177fca425012222632)

13 years agonetapi: add support for more infolevels in NetServerGetInfo_r.
Günther Deschner [Mon, 1 Sep 2008 16:37:54 +0000 (18:37 +0200)]
netapi: add support for more infolevels in NetServerGetInfo_r.

Guenther
(This used to be commit 43aad72457f77ac209494cfca46048e0c4bfa6c7)

13 years agonetapi: add NetServerGetInfo example code.
Günther Deschner [Mon, 1 Sep 2008 15:45:42 +0000 (17:45 +0200)]
netapi: add NetServerGetInfo example code.

Guenther
(This used to be commit b2d0df46038a88fa3f2ff82e155805c771916a42)

13 years agonetapi: add new SERVER_INFO structures to public header.
Günther Deschner [Mon, 1 Sep 2008 16:36:50 +0000 (18:36 +0200)]
netapi: add new SERVER_INFO structures to public header.

Guenther
(This used to be commit cff66738936f9f5cc4d2cd284cde2e1ac2972d33)

13 years agore-run make idl.
Günther Deschner [Mon, 1 Sep 2008 15:44:01 +0000 (17:44 +0200)]
re-run make idl.

Guenther
(This used to be commit 2bb5bb9b964932f0be8eccf5739da5692a591245)

13 years agonetapi: add SERVER_INFO_100-102 to IDL.
Günther Deschner [Mon, 1 Sep 2008 15:43:49 +0000 (17:43 +0200)]
netapi: add SERVER_INFO_100-102 to IDL.

Guenther
(This used to be commit 7a46743909bfbfccf522eecf2ba117d5651439ef)

13 years agonetapi: fix NetGetJoinableOUs_r: do not tear down connection.
Günther Deschner [Tue, 2 Sep 2008 11:17:28 +0000 (13:17 +0200)]
netapi: fix NetGetJoinableOUs_r: do not tear down connection.

Guenther
(This used to be commit 14c2688f2d37105ad129d26d13930177fe5c585f)

13 years agonetapi: add NetShareEnum example code.
Günther Deschner [Fri, 29 Aug 2008 17:06:43 +0000 (19:06 +0200)]
netapi: add NetShareEnum example code.

Guenther
(This used to be commit 91830de4527db124889ada9845ab145762855bc2)

13 years agonetapi: add NetShareEnum to public headers.
Günther Deschner [Fri, 29 Aug 2008 17:00:38 +0000 (19:00 +0200)]
netapi: add NetShareEnum to public headers.

Guenther
(This used to be commit c2e936743227f10c2ade61589fe15c1805c79773)

13 years agonetapi: add NetShareEnum skeleton.
Günther Deschner [Fri, 29 Aug 2008 16:58:32 +0000 (18:58 +0200)]
netapi: add NetShareEnum skeleton.

Guenther
(This used to be commit 0cc604ebc13125daf7e219c63a6ca8f21eda48c6)

13 years agore-run make idl.
Günther Deschner [Fri, 29 Aug 2008 16:56:46 +0000 (18:56 +0200)]
re-run make idl.

Guenther
(This used to be commit 3da9584a7ad2a1a985186951a060a1500059b913)