jra/samba/.git
15 years agolibnetjoin: for informational reasons, report forest_name.
Günther Deschner [Fri, 16 May 2008 10:16:04 +0000 (12:16 +0200)]
libnetjoin: for informational reasons, report forest_name.

Guenther
(This used to be commit 452a9ea4af19d3aebc35929edaf4e5adf8c1fd11)

15 years agonetdomjoin-gui: before prompting for creds (for receiving joinable ous), find a dc.
Günther Deschner [Fri, 16 May 2008 10:11:43 +0000 (12:11 +0200)]
netdomjoin-gui: before prompting for creds (for receiving joinable ous), find a dc.

Guenther
(This used to be commit ae60695a349bccd1128e6c439664b0607627ef23)

15 years agonet: use the netapi_ctx from the net_context struct.
Günther Deschner [Fri, 16 May 2008 09:52:48 +0000 (11:52 +0200)]
net: use the netapi_ctx from the net_context struct.

Guenther
(This used to be commit ff8a9655ccd40bc2ca3ef0403308193d956c4adf)

15 years agodsgetdcname: store client sitename for mailslot and cldap replies.
Günther Deschner [Thu, 15 May 2008 15:47:07 +0000 (17:47 +0200)]
dsgetdcname: store client sitename for mailslot and cldap replies.

Guenther
(This used to be commit a01ed719c31998620927dc9b1664ba8e36bd9b21)

15 years agolibreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
Stefan Metzmacher [Thu, 8 May 2008 09:01:09 +0000 (11:01 +0200)]
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6

metze
(cherry picked from commit da2179ee5d5b6094ab63a9d9d6a8d59893937087)
(This used to be commit 151d62da1321322615daadabb41d049974f5fe6a)

15 years agolibreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS...
Stefan Metzmacher [Thu, 8 May 2008 08:39:41 +0000 (10:39 +0200)]
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used

metze
(cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab)
(This used to be commit cd37fdb2401bfd6c23160e34f03238faa1f5cbd3)

15 years agolibreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
Stefan Metzmacher [Thu, 8 May 2008 08:32:19 +0000 (10:32 +0200)]
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars

metze
(cherry picked from commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28)
(This used to be commit dbbc05c87ba2b2d9b3247cfba58bc1a3f12ad4f5)

15 years agolibreplace: include inet_ntoa.o when the system one is broken
Stefan Metzmacher [Thu, 8 May 2008 08:27:23 +0000 (10:27 +0200)]
libreplace: include inet_ntoa.o when the system one is broken

metze
(cherry picked from commit 67845d3471711d24069636d0d4032f9d53748334)
(This used to be commit 734ade407ed8d5b61a831509c3efc90fc521fe1b)

15 years agolibreplace: merge getifaddrs.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:08:42 +0000 (10:08 +0200)]
libreplace: merge getifaddrs.m4 into libreplace_network.m4

metze
(cherry picked from commit 0234d397fefee8e1d0dcd3402f748c2251021c90)
(This used to be commit d7038405d68eb3c69ef10f63ce37db838eb44b7a)

15 years agolibreplace: merge getaddrinfo.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:06:39 +0000 (10:06 +0200)]
libreplace: merge getaddrinfo.m4 into libreplace_network.m4

metze
(cherry picked from commit 64591d064dc3da6074f0f7539911a6e433d9cc43)
(This used to be commit 2f43e282e0fa723dd62e3b28e529c6eb01ef5b8a)

15 years agolibreplace: merge socketpair.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:04:51 +0000 (10:04 +0200)]
libreplace: merge socketpair.m4 into libreplace_network.m4

metze
(cherry picked from commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad)
(This used to be commit 9aa0f6626d6a69ceeb8bb4ea71ea3d4a6157d101)

15 years agolibreplace: merge inet_pton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:02:21 +0000 (10:02 +0200)]
libreplace: merge inet_pton.m4 into libreplace_network.m4

metze
(cherry picked from commit 3a70274c908e31453942b442351eab8423c1a53d)
(This used to be commit b078ae2b56c9a932655ef619a7af5ce0aeb904dd)

15 years agolibreplace: merge inet_ntop.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:00:58 +0000 (10:00 +0200)]
libreplace: merge inet_ntop.m4 into libreplace_network.m4

metze
(cherry picked from commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce)
(This used to be commit 438ddd9c81e74e3042154cf5f0416043ee6a8c35)

15 years agolibreplace: merge inet_aton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:59:16 +0000 (09:59 +0200)]
libreplace: merge inet_aton.m4 into libreplace_network.m4

metze
(cherry picked from commit fba00736c870f449c0eee32fe0d7b0d539dca51f)
(This used to be commit 7669daa9f536b73a0b933a3d3fcac68c1771dc15)

15 years agolibreplace: merge inet_ntoa.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:58:07 +0000 (09:58 +0200)]
libreplace: merge inet_ntoa.m4 into libreplace_network.m4

metze
(cherry picked from commit 82e826253b6d18832931dbb5c1dda009889bf9e0)
(This used to be commit 09632f9694599e626e889e54310383878c51413f)

15 years agolibreplace: merge socket.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:56:10 +0000 (09:56 +0200)]
libreplace: merge socket.m4 into libreplace_network.m4

metze
(cherry picked from commit c70eba87dbbac6c2c1e68c343cdd410577c1686f)
(This used to be commit c48b2d8679dd139323936af68b48707c5a9f500c)

15 years agoFix typo.
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
Fix typo.
(cherry picked from commit bd089818a3182698dfe85039c1b2e22d8c2835bb)
(This used to be commit 6f5f736867a3c5b8c7e6f4e73b031e36783ed1bc)

15 years agoAdd undefined symbol flag for AIX.
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
(cherry picked from commit dabdf24e86f038e3afc67532fa5bf60a37992161)
(This used to be commit 104316884576a2d904d9d8b2d7c1e0dc80817b66)

15 years agolibreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
Stefan Metzmacher [Wed, 7 May 2008 15:38:41 +0000 (17:38 +0200)]
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build

metze
(cherry picked from commit 04f4523ed032946b8f0e74ac6f7458010159e3bb)
(This used to be commit a3d675a7738cc04bb765064a060780198721d94a)

15 years agolibreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
Stefan Metzmacher [Wed, 7 May 2008 15:20:38 +0000 (17:20 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba

metze
(This used to be commit 0c9b24e1e75c5c10d3f3baafb80c5c27bb7e4c78)

15 years agolibreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba

metze
(cherry picked from commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)
(This used to be commit 0987c32645e4851badab4c1daffb4ee7982ea153)

15 years agolibreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Stefan Metzmacher [Wed, 7 May 2008 14:50:19 +0000 (16:50 +0200)]
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro

Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step

metze
(cherry picked from commit 55a904b1d7aeca849d450e371b18afca5b0c6218)
(This used to be commit 2a3ddc23cc8d050dfe5b4e1c0e139a7c97cc3b59)

15 years agolibreplace: always provide utime() and utimes()
Stefan Metzmacher [Wed, 7 May 2008 11:10:31 +0000 (13:10 +0200)]
libreplace: always provide utime() and utimes()

I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.

If someone knows how to write a portable replacement
for futimes() please tell me...

metze
(cherry picked from commit a9604fe4a323dccb537cf02ea7594437b4995803)
(This used to be commit 8a241cf150fba787c82cbcb03730083ced442fbb)

15 years agopackaging: re-introduce Release numbering ".ctdb.<number>"
Michael Adam [Thu, 15 May 2008 23:39:12 +0000 (01:39 +0200)]
packaging: re-introduce Release numbering ".ctdb.<number>"

This got accidentially (?) replaced by .ctdb.test.<date>".

Michael
(cherry picked from commit be62d594bc2b680dfefb4a5050d033b77c08154b)
(This used to be commit f8883107499ca48db9b0e63718d1d8e384535833)

15 years agopackaging: enable calling RHEL-CTDB/makerpms.sh from other directories
Michael Adam [Thu, 15 May 2008 23:26:47 +0000 (01:26 +0200)]
packaging: enable calling RHEL-CTDB/makerpms.sh from other directories

Michael
(cherry picked from commit 05168aaa8dba85ecc1b74afacdd4d5ddc5825cfa)
(This used to be commit 7de8666c722be5dce8520f34a0823eb8767ab5d5)

15 years agopackaging: fix RHEL-CTDB build by removing duplicate winbind-32bit paragraphs
Michael Adam [Thu, 15 May 2008 23:02:56 +0000 (01:02 +0200)]
packaging: fix RHEL-CTDB build by removing duplicate winbind-32bit paragraphs

Michael
(cherry picked from commit 29d5a68d95f656d5ca61edc4a10ec8b028597bb5)
(This used to be commit 9e7466466d216f99582b03431d5c39875c574470)

15 years agopackaging: use git-archive in RHEL-CTDB/makerpms.sh
Michael Adam [Thu, 15 May 2008 22:52:46 +0000 (00:52 +0200)]
packaging: use git-archive in RHEL-CTDB/makerpms.sh

(instead of using tar and make distclean and ...)

Michael
(cherry picked from commit 3ad0f2212720eb5fb33794c033a60f5ea4428c2c)
(This used to be commit 161e7c32caf5d4fee23e1f9c5e8ea871ad2aa57e)

15 years agopackaging: use docs tarball instead of docs dir in makerpms / samba.spec
Michael Adam [Thu, 15 May 2008 22:37:12 +0000 (00:37 +0200)]
packaging: use docs tarball instead of docs dir in makerpms / samba.spec

Michael
(cherry picked from commit f28a24d5eac2dcf99e1d00c2daf913dd9912eb4a)
(This used to be commit 5148e99d0951245632650784d18306db74ed87bd)

15 years agopackaging: add a comment explaining EXTRA_OPTIONS to the makerpms script
Michael Adam [Thu, 15 May 2008 22:19:59 +0000 (00:19 +0200)]
packaging: add a comment explaining EXTRA_OPTIONS to the makerpms script

Michael
(cherry picked from commit 0defc2c60f2ca469d7538c60b7638150c67feb33)
(This used to be commit bccf4da9895afc560ac59ac7ee923b4c5d940d09)

15 years agopackaging: fix a comment typo in makerpms script.
Michael Adam [Thu, 15 May 2008 22:15:31 +0000 (00:15 +0200)]
packaging: fix a comment typo in makerpms script.

Michael
(cherry picked from commit 6044373d69ae8cb0353e7a03e923462a093da5f0)
(This used to be commit 95681f066dc070d6552455aabbb27e5487450c5c)

15 years agomerge build changes from Mathias
Andrew Tridgell [Fri, 9 May 2008 11:35:08 +0000 (21:35 +1000)]
merge build changes from Mathias
(cherry picked from commit 2c08939f3db19eaaf31cb117e3d541d17a36da5e)
(This used to be commit fec017125ce7b4a3ec87c0fc2ba77c570cf57074)

15 years agonet rpc registry: fix getvalueraw to really print raw...
Michael Adam [Thu, 15 May 2008 16:06:23 +0000 (18:06 +0200)]
net rpc registry: fix getvalueraw to really print raw...

Michael
(This used to be commit db933ae1a9877b3485506fc8f0ecae2f2bd8a41f)

15 years agonet rpc registry: add a getvalueraw subcommand.
Michael Adam [Thu, 15 May 2008 14:49:25 +0000 (16:49 +0200)]
net rpc registry: add a getvalueraw subcommand.

Michael
(This used to be commit 5b5b29302b53c31256dfa2fdefead458cb14c560)

15 years agonet rpc registry: abstract add boolean "raw" to rpc_registry_getvalue_internal()
Michael Adam [Thu, 15 May 2008 14:07:06 +0000 (16:07 +0200)]
net rpc registry: abstract add boolean "raw" to rpc_registry_getvalue_internal()

and wrap it into new rpc_registry_getvalue_full() for the getvalue subcommand.

Michael
(This used to be commit 9ee5ddb96360987675963d629f98051bf34e3031)

15 years agonet rpc registry: fix usage message of getvalue.
Michael Adam [Thu, 15 May 2008 12:38:01 +0000 (14:38 +0200)]
net rpc registry: fix usage message of getvalue.

Michael
(This used to be commit 5dedde7a5b01d47947a8ff49a57e729fe5bfc817)

15 years agonet registry: add a getvalueraw command to print the value in raw format.
Michael Adam [Thu, 15 May 2008 12:35:45 +0000 (14:35 +0200)]
net registry: add a getvalueraw command to print the value in raw format.

Michael
(This used to be commit b7e8a3f1caf54145d750209f2e14b5b54c61769b)

15 years agonet registry: refactor core of net_registry_getvalue() out
Michael Adam [Thu, 15 May 2008 12:34:21 +0000 (14:34 +0200)]
net registry: refactor core of net_registry_getvalue() out

into net_registry_getvalue_internal(), which takes a bool parameter "raw"
controlling the output format.

Michael
(This used to be commit 889e19303e141e226898f837a637a2d591c75ad9)

15 years agonet_registry: add raw output of value to print_registry_value().
Michael Adam [Thu, 15 May 2008 10:55:54 +0000 (12:55 +0200)]
net_registry: add raw output of value to print_registry_value().

Michael
(This used to be commit 340a706422cbca45cc63fa94d36c88f6751f4f31)

15 years agonet: Fix net lookup dsgetdcname, no need to pull site ourselves.
Günther Deschner [Thu, 15 May 2008 15:00:31 +0000 (17:00 +0200)]
net: Fix net lookup dsgetdcname, no need to pull site ourselves.

Guenther
(This used to be commit 954d0998c2c00140addb6ba3845e80ed91e4effc)

15 years agodsgetdcname: add site support.
Günther Deschner [Thu, 15 May 2008 14:59:46 +0000 (16:59 +0200)]
dsgetdcname: add site support.

Guenther
(This used to be commit e305368538eaa72e3008a5517db3708936924297)

15 years agodsgetdcname: check for invalid sitename/flag combinations.
Günther Deschner [Thu, 15 May 2008 14:41:18 +0000 (16:41 +0200)]
dsgetdcname: check for invalid sitename/flag combinations.

Guenther
(This used to be commit 255e509474cae92802e90613ccaddb6627ee77cd)

15 years agolibads/cldap: store client sitename also keyed by dns domain name.
Günther Deschner [Thu, 15 May 2008 14:38:32 +0000 (16:38 +0200)]
libads/cldap: store client sitename also keyed by dns domain name.

Guenther
(This used to be commit 0388b2f0cc4d14b005c5b42f2c17ddcbc8bef12a)

15 years agoFix build warning.
Günther Deschner [Thu, 15 May 2008 07:42:37 +0000 (09:42 +0200)]
Fix build warning.

Guenther
(This used to be commit e90a4ce3c24ab2a33e34da5a9052a3b3ec4db962)

15 years agotestparm: list registry shares with testparm.
Michael Adam [Thu, 15 May 2008 00:41:05 +0000 (02:41 +0200)]
testparm: list registry shares with testparm.

I.e., use lp_load_with_registry_shares() instead of lp_load().

Michael
(This used to be commit 95339c0c1ecc49049f1fc176f72a1dcac639e06d)

15 years agoloadparm: add funcion lp_load_with_registry_shares().
Michael Adam [Thu, 15 May 2008 00:39:45 +0000 (02:39 +0200)]
loadparm: add funcion lp_load_with_registry_shares().

This is like lp_load(), except that it will load the
registry shares into the services aarray when registry
shares are activated.

Michael
(This used to be commit b387c614ba8d1d3960f6917f03f0fd433cf2b2ee)

15 years agoloadparm: add call to do_section() to process_registry_service().
Michael Adam [Thu, 15 May 2008 00:39:02 +0000 (02:39 +0200)]
loadparm: add call to do_section() to process_registry_service().

Michael
(This used to be commit e1b76cd5d646bb9083cfca0d15a84183cad72882)

15 years agoloadparm: add parameter allow_registry_shares to lp_load_ex().
Michael Adam [Thu, 15 May 2008 00:25:34 +0000 (02:25 +0200)]
loadparm: add parameter allow_registry_shares to lp_load_ex().

This allows for registry shares to be activated, i.e. loaded into
the services array at lp_load() time.

Michael
(This used to be commit b3233ecefd5df745ba7e10511f9ab36064036b10)

15 years agoloadparm: add a function process_registry_shares()
Michael Adam [Thu, 15 May 2008 00:15:20 +0000 (02:15 +0200)]
loadparm: add a function process_registry_shares()

This loads the shares defined in registry into the services array.

Michael
(This used to be commit b3a90b72517c2e25d972796908aec4d2b85a030e)

15 years agoloadparm: refactor processing of service out of process_registry_globals()
Michael Adam [Thu, 15 May 2008 00:08:14 +0000 (02:08 +0200)]
loadparm: refactor processing of service out of process_registry_globals()

into new function process_registry_service().

Michael
(This used to be commit 2986e5174e69527465ae7ef8e108110416752b56)

15 years agoloadparm: refactor initalization of registry config out into lp_smbconf_ctx().
Michael Adam [Wed, 14 May 2008 23:40:11 +0000 (01:40 +0200)]
loadparm: refactor initalization of registry config out into lp_smbconf_ctx().

Michael
(This used to be commit 83cd9f74d57c462ad5c8956b3ce3c81bea429b67)

15 years agoFix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).
Günther Deschner [Wed, 14 May 2008 21:50:25 +0000 (23:50 +0200)]
Fix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).

Guenther
(This used to be commit f3251ba03a69c2fd0335861177159a32b2bc9477)

15 years agoFix bug #5464. Pointed out by Herb @ Connectathon. In fork_domain_child() we call :
Jeremy Allison [Wed, 14 May 2008 21:10:39 +0000 (14:10 -0700)]
Fix bug #5464. Pointed out by Herb @ Connectathon. In fork_domain_child() we call :

CatchChild();

*before* we fork the domain child. This call establishes a signal handler that
eats SIGCLD signals and doesn't call sys_select_signal() as the main daemon
SIGCLD handler should do. This causes the parent to ignore dead children and
time out, instead of calling winbind_child_died() on receipt of the signal. The
correct fix is to move the CatchChild call into the child code after the fork.

Jeremy.
(This used to be commit 8d701a142be2b75dc30ad215bc178af902eb4af9)

15 years agoEnsure we don't keep searching for sharename if it's
Jeremy Allison [Wed, 14 May 2008 21:10:05 +0000 (14:10 -0700)]
Ensure we don't keep searching for sharename if it's
not the start of the list.
Jeremy.
(This used to be commit 15857534b76bc66ad122510100aa224f17250465)

15 years agoconfigure: Kill linker warnings about 32bit libs on 64bit Linux.
Kai Blin [Mon, 12 May 2008 12:39:03 +0000 (14:39 +0200)]
configure: Kill linker warnings about 32bit libs on 64bit Linux.
(This used to be commit 9a40cbd66f71c49af4c72ed826d66c5f037a3171)

15 years agodsgetdcname: In case we didn't get a mailslot reply, don't cache the nodestatus.
Günther Deschner [Wed, 14 May 2008 07:42:23 +0000 (09:42 +0200)]
dsgetdcname: In case we didn't get a mailslot reply, don't cache the nodestatus.

Guenther
(This used to be commit 12e47be02f93e2f41af5772f6a83568b3574d032)

15 years agomailslot: Also pick domain name and pdc name from type 15 cldap reply.
Günther Deschner [Wed, 14 May 2008 07:41:24 +0000 (09:41 +0200)]
mailslot: Also pick domain name and pdc name from type 15 cldap reply.

Guenther
(This used to be commit 836877c4005ba081c0a4cc97726830d6dbd62d34)

15 years agoAFS: The dummy afs_createtoken_str should return NULL, not False.
Kai Blin [Wed, 14 May 2008 07:02:22 +0000 (09:02 +0200)]
AFS: The dummy afs_createtoken_str should return NULL, not False.
(This used to be commit c84d49429191423a81d558042fe949c26f5de5fe)

15 years agoMerge branch 'v3-3-test' of git://git.samba.org/samba into 3.3-test
Jim McDonough [Tue, 13 May 2008 22:42:18 +0000 (18:42 -0400)]
Merge branch 'v3-3-test' of git://git.samba.org/samba into 3.3-test
(This used to be commit 6dd44ebf22762e852b43e7dbcd095a58cc45abad)

15 years agoFix debug message.
Jeremy Allison [Tue, 13 May 2008 22:25:26 +0000 (15:25 -0700)]
Fix debug message.
Jeremy.
(This used to be commit 08d168f0e5b8fb07e95a5118a839e0da53e9d363)

15 years agoSecond part of patch for bug #5460. Cope with pathnames
Jeremy Allison [Tue, 13 May 2008 22:02:11 +0000 (15:02 -0700)]
Second part of patch for bug #5460. Cope with pathnames
that don't look like \xxx\yyy, cope with arbitrary length.
Jeremy.
(This used to be commit 635035d999fcd8e06b70c8cb1137127c289dc9e6)

15 years agoFix bug #5460. The problem is RHEL5.0 shipped a CIFS client
Jeremy Allison [Tue, 13 May 2008 21:01:19 +0000 (14:01 -0700)]
Fix bug #5460. The problem is RHEL5.0 shipped a CIFS client
that sets the DFS bit on pathnames but doesn't
send DFS paths. This causes lookups to fail as
the smbd/msdfs.c code now just eats the first
two parts of the pathname and uses the rest as
the local path. The previous hostname check
used to protect us from that as we knew that
when the hostname was invalid it was a local
path (and a broken client).
I didn't want to put that check back in, but
came up with another idea - even though the
hostname can be a different one, the sharename
must be valid on this machine. So we can check
for a valid sharename instead.
Jeremy.
(This used to be commit e1cda82f6f7de3306a653af920756c1640057f2d)

15 years agoEnable winbind child processes to do something with signals,
Jim McDonough [Tue, 13 May 2008 20:57:01 +0000 (16:57 -0400)]
Enable winbind child processes to do something with signals,
in particular closing and reopening logs on SIGHUP.

Conflicts:

source/winbindd/winbindd.c
(This used to be commit 0f7b11accec7df1c0e9a9dc0828a5e0c5ddec4cb)

15 years agolibwbclient: Abstract the DS_XXX flags for DsGetDcName().
coffeedude [Tue, 13 May 2008 17:58:52 +0000 (12:58 -0500)]
libwbclient: Abstract the DS_XXX flags for DsGetDcName().

The wbcLookupDomainController() call supports a set of flags
defined in wbclient.h.  Add a mapping function between these
flags and the original DS_XXX flags in order to prevent having
to include the generated RPC headers in wbclient.h.
(This used to be commit 31614cd5e08dd6389c66e6ddf9f2d5429c6ab033)

15 years agolibwbclient: Add wbcLogoffUser() and wbcLookupDomainController().
coffeedude [Tue, 13 May 2008 17:52:20 +0000 (12:52 -0500)]
libwbclient: Add wbcLogoffUser() and wbcLookupDomainController().

Add new APIs calls for WINBINDD_PAM_LOGOFF and WINBINDD_DSGETDCNAME
ops.
(This used to be commit cb5e8f60ac3313aec726c01687a040e6e0e42c10)

15 years agoFix signing problem in the client with transs requests
Volker Lendecke [Tue, 13 May 2008 14:23:19 +0000 (16:23 +0200)]
Fix signing problem in the client with transs requests

This is a different fix than Jeremy put into 3-0-test with 040db1ce85 and other
branches with different hashes. Jeremy, I think your fix led to bug 5436, so I
reverted your fix. This fixes the original problem I found with the transs
requests for large rpc queries in a different way. Please check!

Thanks,

Volker
(This used to be commit c572d537e088a3fffb057181cad9a3692e40b815)

15 years agoRevert "Fix signing bug found by Volker. That one was *subtle*."
Volker Lendecke [Tue, 13 May 2008 13:19:46 +0000 (15:19 +0200)]
Revert "Fix signing bug found by Volker. That one was *subtle*."

This reverts commit 816aea6c1a426eb2450061b847729e22bdac33a0.
(This used to be commit e402e6508ca0806deef4c4044cfa6461b682850a)

15 years agotests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.
Karolin Seeger [Tue, 13 May 2008 12:01:52 +0000 (14:01 +0200)]
tests_all.sh: Do not execute $SMB4TORTURE --version if it is not available.

Improve error message if no SMB4TORTURE is available.

Karolin
(This used to be commit 443691eb2614919043406f94e9c71b49230612d5)

15 years agoman pages: Correct version string.
Karolin Seeger [Tue, 13 May 2008 08:18:37 +0000 (10:18 +0200)]
man pages: Correct version string.

As Samba 3.2 will be out soon, man pages should be correct for both versions,
Samba 3.0 and 3.2.

Karolin
(This used to be commit 9c59c1895d8d3621f38b67ecf88109c81130c886)

15 years agonet ads: Upper case he realm name when calling kinit() using machine creds.
coffeedude [Mon, 12 May 2008 22:33:01 +0000 (17:33 -0500)]
net ads: Upper case he realm name when calling kinit() using machine creds.

Needed fix for the DNS Update option as part of "net ads join"
(This used to be commit aebae0b71b427838fdc6344d69d6dea87a5dd58b)

15 years agoMake sure we have serversupplied_info->sanitized_username everywhere
Volker Lendecke [Sat, 10 May 2008 22:25:55 +0000 (00:25 +0200)]
Make sure we have serversupplied_info->sanitized_username everywhere
(This used to be commit 88423a17b966652eba4085e88f7ddb5c86b463dd)

15 years agoWith force user, we have the same base token for all vuids
Volker Lendecke [Sat, 10 May 2008 22:25:27 +0000 (00:25 +0200)]
With force user, we have the same base token for all vuids
(This used to be commit 0f19bc3f65bfc132aea1de1e76fcb4ee625a050f)

15 years agoFix a memleak in new auth_serversupplied code
Volker Lendecke [Sat, 10 May 2008 22:23:01 +0000 (00:23 +0200)]
Fix a memleak in new auth_serversupplied code
(This used to be commit f23e970848b6e6655453fa65f6f160f624acfcff)

15 years agoFix a memleak
Volker Lendecke [Sat, 10 May 2008 21:27:21 +0000 (23:27 +0200)]
Fix a memleak
(This used to be commit 9891c7c30858a3bea9adbea1c5bfa5c6b1b85221)

15 years agoRemove "user" from connection_struct
Volker Lendecke [Thu, 8 May 2008 14:06:42 +0000 (16:06 +0200)]
Remove "user" from connection_struct
(This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)

15 years agoAdd a comment explaining server_info in connection_struct
Volker Lendecke [Sat, 10 May 2008 09:01:26 +0000 (11:01 +0200)]
Add a comment explaining server_info in connection_struct
(This used to be commit 35438a940734340d5d6389ae0551fe3c25902f93)

15 years agoRemove the unix token info from connection_struct
Volker Lendecke [Thu, 8 May 2008 13:53:55 +0000 (15:53 +0200)]
Remove the unix token info from connection_struct
(This used to be commit 2834dacc8d49f77fe55fb5d7e3eb2dda431d1d3d)

15 years agoReplace nt_user_token with server_info in connection_struct
Volker Lendecke [Thu, 8 May 2008 13:09:02 +0000 (15:09 +0200)]
Replace nt_user_token with server_info in connection_struct
(This used to be commit a3738aef59e97d4533010b048534d937d36c0950)

15 years agoEmpty some nonempty blank lines
Volker Lendecke [Thu, 8 May 2008 10:14:43 +0000 (12:14 +0200)]
Empty some nonempty blank lines
(This used to be commit 1a406def02bf171b223467d6b76317586d6205fc)

15 years agoUse TALLOC_ZERO_P instead of separate ZERO_STRUCTP in dup_nt_token
Volker Lendecke [Thu, 8 May 2008 09:49:14 +0000 (11:49 +0200)]
Use TALLOC_ZERO_P instead of separate ZERO_STRUCTP in dup_nt_token
(This used to be commit 124a2c71852f39fcfe62ea19a5a8d25638d47400)

15 years agoMake use of talloc_tos() in change_to_user()
Volker Lendecke [Thu, 8 May 2008 09:47:43 +0000 (11:47 +0200)]
Make use of talloc_tos() in change_to_user()
(This used to be commit c4bed3a48b86d44ad641250add2fc189af7e72f5)

15 years agoNext try at making the vuid cache circular
Volker Lendecke [Wed, 7 May 2008 13:51:42 +0000 (15:51 +0200)]
Next try at making the vuid cache circular

Jeremy, please check!
(This used to be commit a34f73521712e3820d417f0d9ed811723b7681d6)

15 years agofind_forced_group can directly change the token in server_info
Volker Lendecke [Wed, 7 May 2008 12:36:15 +0000 (14:36 +0200)]
find_forced_group can directly change the token in server_info

Now that we have a token that is correctly set up with gids already, this saves
manual translation of the SIDs to GIDs.
(This used to be commit 6136a6d9d7301c65f37e2bf485681138cddd8bd2)

15 years agoAdd an error return in find_forced_group()
Volker Lendecke [Wed, 7 May 2008 12:28:23 +0000 (14:28 +0200)]
Add an error return in find_forced_group()
(This used to be commit 93ce0705c14f222bda3e6204f4b54ba1893f33e1)

15 years agoDo not unnecessarily mess with the results in find_forced_group()
Volker Lendecke [Wed, 7 May 2008 12:25:47 +0000 (14:25 +0200)]
Do not unnecessarily mess with the results in find_forced_group()
(This used to be commit 6d9860d09b54c61625f011c2d56d710aa59d7686)

15 years agoReplace find_forced_user by a direct call to make_serverinfo_from_username
Volker Lendecke [Wed, 7 May 2008 11:16:20 +0000 (13:16 +0200)]
Replace find_forced_user by a direct call to make_serverinfo_from_username
(This used to be commit 7991e6764b4187ba86802569dfdc5816e6137f78)

15 years agoSimplify make_connection_snum: Copy connection_struct info from server_info
Volker Lendecke [Wed, 7 May 2008 10:42:36 +0000 (12:42 +0200)]
Simplify make_connection_snum: Copy connection_struct info from server_info
(This used to be commit 5aa3cdf355c179d89c2703f528919194ab084337)

15 years agoAdd "server_info" to connection_struct
Volker Lendecke [Wed, 7 May 2008 10:20:18 +0000 (12:20 +0200)]
Add "server_info" to connection_struct

This will replace all the user identity stuff in connection_struct, for now it
is just a source where the other fields in connection_struct are filled from.
(This used to be commit 0f53f9e7db9f99f239c4d0950452d0e2cde2ae8b)

15 years agoRemove unused "force_group" from connection_struct
Volker Lendecke [Tue, 6 May 2008 20:12:04 +0000 (22:12 +0200)]
Remove unused "force_group" from connection_struct
(This used to be commit 03944f8d8934cff74e19fc036f7611c1491e0d57)

15 years ago"status" -> "pstatus" in make_connection_snum
Volker Lendecke [Tue, 6 May 2008 19:50:08 +0000 (21:50 +0200)]
"status" -> "pstatus" in make_connection_snum
(This used to be commit 3ce395e61e931a77c5d2f52f39c7e3f71a9605a9)

15 years agoAdd create_connection_server_info() -- not used yet
Volker Lendecke [Tue, 6 May 2008 15:48:22 +0000 (17:48 +0200)]
Add create_connection_server_info() -- not used yet
(This used to be commit 50bf075f7556fd09e0081175c31a5020a8eaf4d6)

15 years agoAdd function make_serverinfo_from_username()
Volker Lendecke [Tue, 6 May 2008 15:47:26 +0000 (17:47 +0200)]
Add function make_serverinfo_from_username()

This will be used for 'security=share' and 'force user'
(This used to be commit 88e43097cafcd2849d9f1200a377357fde4cce99)

15 years agoAdd a mem_ctx argument to make_server_info_guest()
Volker Lendecke [Tue, 6 May 2008 15:26:49 +0000 (17:26 +0200)]
Add a mem_ctx argument to make_server_info_guest()
(This used to be commit e4a9492967f3d2b64f27943f99414608e0c03d21)

15 years agoMake copy_serverinfo non-static, add mem_ctx
Volker Lendecke [Tue, 6 May 2008 14:10:23 +0000 (16:10 +0200)]
Make copy_serverinfo non-static, add mem_ctx
(This used to be commit a3651ced9e0859578df8cc44da64e7a8066bde76)

15 years agoFix the build with DNS_UPDATES
Volker Lendecke [Sat, 10 May 2008 08:58:23 +0000 (10:58 +0200)]
Fix the build with DNS_UPDATES
(This used to be commit 6c9500c290fe0d6d71d4c33eb265906ce3a1d9f3)

15 years agonet: more whitespace cleanup
Kai Blin [Thu, 8 May 2008 09:23:38 +0000 (11:23 +0200)]
net: more whitespace cleanup
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)

15 years agonet: Remove globals
Kai Blin [Fri, 9 May 2008 21:22:12 +0000 (23:22 +0200)]
net: Remove globals
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)

15 years agonet: Some whitespace clean-up.
Kai Blin [Thu, 8 May 2008 07:14:16 +0000 (09:14 +0200)]
net: Some whitespace clean-up.
(This used to be commit 4dcce8b653671c8ce907f8353df1db8a5c8f8e19)

15 years agonet: Fix usage string.
Kai Blin [Fri, 9 May 2008 20:50:04 +0000 (22:50 +0200)]
net: Fix usage string.
(This used to be commit e3470e9a1b19c239d6fa576f8c8c1a5a5c3b5d3c)

15 years agopackaging: remove references to smbmount and friends from samba-ctdb spec file
Michael Adam [Fri, 9 May 2008 23:28:58 +0000 (01:28 +0200)]
packaging: remove references to smbmount and friends from samba-ctdb spec file

Michael
(This used to be commit 66c4d58f38557df618f026ddb661190dc02af719)

15 years agopackaging: fix GPL version in samba-ctdb specfile.
Michael Adam [Fri, 9 May 2008 23:26:52 +0000 (01:26 +0200)]
packaging: fix GPL version in samba-ctdb specfile.

Michael
(This used to be commit 35543d8815b004d3b29771f07998ee7ee820b567)