jra/samba/.git
16 years agolibnetjoin: identify type of domain early.
Günther Deschner [Mon, 21 Apr 2008 23:54:49 +0000 (01:54 +0200)]
libnetjoin: identify type of domain early.

This finally enables joining AD using workgroup or realm name.

Guenther
(This used to be commit 0cf16e6b47f5978bdcb84ac8a29ef13ff2b5cca8)

16 years agobuild: fix the build.
Günther Deschner [Mon, 21 Apr 2008 22:06:57 +0000 (00:06 +0200)]
build: fix the build.

Guenther
(This used to be commit 09a0001063d5bdd9bdc7abfbf1467beb062de049)

16 years agodsgetdcname: Fix discover_dc_dns().
Günther Deschner [Mon, 21 Apr 2008 22:05:05 +0000 (00:05 +0200)]
dsgetdcname: Fix discover_dc_dns().

Guenther
(This used to be commit ec86deb349850c634b49cd5a536e9281a4a6e7d8)

16 years agodsgetdcname: add very basic flat name support.
Günther Deschner [Mon, 21 Apr 2008 22:04:25 +0000 (00:04 +0200)]
dsgetdcname: add very basic flat name support.

Guenther
(This used to be commit bb72d0b71e2a85d50e7bd893670c3eec69717580)

16 years agoRemove the "pwd" struct from rpc_pipe_client
Volker Lendecke [Mon, 21 Apr 2008 06:01:51 +0000 (08:01 +0200)]
Remove the "pwd" struct from rpc_pipe_client

The only user of this was decrypt_trustdom_secret, and this only needs the NT
hash anyway.
(This used to be commit 3d8c2a47e677a4c4aacf4abf148b1bd8163c3351)

16 years agonet: Add libnetapi context to net's impressive list of globals.
Günther Deschner [Mon, 21 Apr 2008 18:14:32 +0000 (20:14 +0200)]
net: Add libnetapi context to net's impressive list of globals.

Guenther
(This used to be commit 8a5fadf6a183e4e4ccc77283b3ddba0748c6abfb)

16 years agoIDL: rerun make idl.
Günther Deschner [Mon, 21 Apr 2008 18:03:17 +0000 (20:03 +0200)]
IDL: rerun make idl.

Guenther
(This used to be commit 5e0ccaf0c02a2d2d87ed8a2999c09ae1ccfc48e8)

16 years agoIDL: now that we have nbt.idl, re-add it to the includes again.
Günther Deschner [Mon, 21 Apr 2008 18:02:46 +0000 (20:02 +0200)]
IDL: now that we have nbt.idl, re-add it to the includes again.

Guenther
(This used to be commit d38c5f4a69f67f29cc057e4aa0ad14f5112f6844)

16 years agocldap: avoid duplicate definitions so remove ads_cldap.h.
Günther Deschner [Mon, 21 Apr 2008 17:59:27 +0000 (19:59 +0200)]
cldap: avoid duplicate definitions so remove ads_cldap.h.

Guenther
(This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)

16 years agocldap: add talloc context to ads_cldap_netlogon().
Günther Deschner [Mon, 21 Apr 2008 17:47:13 +0000 (19:47 +0200)]
cldap: add talloc context to ads_cldap_netlogon().

Guenther
(This used to be commit 4cee7b1bd5cd97c414b73d6f39238958480cdcf3)

16 years agolibads: Use libnbt for CLDAP reply parsing.
Günther Deschner [Mon, 21 Apr 2008 17:26:32 +0000 (19:26 +0200)]
libads: Use libnbt for CLDAP reply parsing.

Guenther
(This used to be commit 751f3064a508341c0ebae45e8de9f5311d915d70)

16 years agoIDL: re-run make idl.
Günther Deschner [Mon, 21 Apr 2008 17:29:24 +0000 (19:29 +0200)]
IDL: re-run make idl.

Guenther
(This used to be commit f9d68ca363f7e98bfb21a06283e4f02000d6d79c)

16 years agoIDL: make nbt_cldap_netlogon_5 public.
Günther Deschner [Mon, 21 Apr 2008 17:28:13 +0000 (19:28 +0200)]
IDL: make nbt_cldap_netlogon_5 public.

Guenther
(This used to be commit f0917e8990ee6ada993c2c9808179eb0f8cfd662)

16 years agoIDL: Add NTLOGON_RESPONSE_FROM_PDC2 to nbt_logon_request.
Günther Deschner [Mon, 21 Apr 2008 17:27:45 +0000 (19:27 +0200)]
IDL: Add NTLOGON_RESPONSE_FROM_PDC2 to nbt_logon_request.

Guenther
(This used to be commit 1724000a95f3814a5ce4eaf5807dbf20e7e2e4f0)

16 years agowinbind: pass down existing talloc context.
Günther Deschner [Mon, 21 Apr 2008 15:51:36 +0000 (17:51 +0200)]
winbind: pass down existing talloc context.

Guenther
(This used to be commit 675bf42cfff89b05f21d77ca74eba20c4a24d44c)

16 years agosmbspool: Fix the smbspool build.
James Peach [Mon, 21 Apr 2008 18:19:22 +0000 (11:19 -0700)]
smbspool: Fix the smbspool build.
(This used to be commit a51cb3c1a9549d74c1e5cf05bc43b955af1a25b7)

16 years agosmbspool: minor formatting cleanups.
James Peach [Mon, 21 Apr 2008 17:57:09 +0000 (10:57 -0700)]
smbspool: minor formatting cleanups.
(This used to be commit 831a09ae25e98eacc0b0be5390d3ac3aa671a8a5)

16 years agosmbspool: Run indent to approximate conding standards.
James Peach [Mon, 21 Apr 2008 17:10:29 +0000 (10:10 -0700)]
smbspool: Run indent to approximate conding standards.
(This used to be commit 4244be792eeb69e883a1ece013b62fe6941086f2)

16 years agosmbspool: add my copyright.
James Peach [Mon, 21 Apr 2008 16:29:07 +0000 (09:29 -0700)]
smbspool: add my copyright.
(This used to be commit b294b2055a422e1af59e3b6843b84750b6786d99)

16 years agosmbspool: Fix CUPS authentication protocol support.
Mike Sweet [Mon, 21 Apr 2008 16:19:51 +0000 (09:19 -0700)]
smbspool: Fix CUPS authentication protocol support.

There were a couple of places where we weren't checking for
authentication correctly. This chance fixes those places and properly
supports Kerberos where available.
(This used to be commit 8eff35bc4acc13807c895af43b52db79ee195cb5)

16 years agosmbspool: fix Kerberos support for CUPS 1.3.
Mike Sweet [Mon, 21 Apr 2008 16:16:01 +0000 (09:16 -0700)]
smbspool: fix Kerberos support for CUPS 1.3.

To summarize the changes, the patches remove the old (probably non-
working) Kerberos support code which is unnecessary with CUPS 1.3
and adds some checks on the NT status we get back to see whether
the connection error is related to authentication.  If so, we send
the ATTR: message to tell CUPS we need a username and password and
return exit code 2 so cupsd will do the right thing.

AUTH_USERNAME, AUTH_PASSWORD, and KRB5CCNAME are set and supported
by CUPS 1.3.  The new exit code is supported by CUPS 1.2.x and 1.3,
and it treated as a general failure in CUPS 1.1.  The ATTR: message
is only supported by CUPS 1.3, while CUPS 1.2 will assume the
"username,password" value we are setting.

The current code only uses the AUTH_* env vars if they are set.
If not, we fall back to the previous behavior.

I really can't tell whether the Kerberos code that was in there
would work at all. It did not work for Mac OS X which is why
I dropped it.
(This used to be commit 8c12c5cea01d9b801fe80c2a87b8139c488a62a5)

16 years agoAdd in a nice big comment explaining why SamLogonEx matters.
Andrew Bartlett [Mon, 21 Apr 2008 15:48:31 +0000 (17:48 +0200)]
Add in a nice big comment explaining why SamLogonEx matters.

Andrew Bartlett
(This used to be commit 87232351b5e66728f8d602259961909e8c1dfcb6)

16 years agowinbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.
Günther Deschner [Mon, 21 Apr 2008 08:55:23 +0000 (10:55 +0200)]
winbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.

Guenther
(This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)

16 years agosamlogoncache: Use data_blob_const in netsamlogon_cache_get.
Günther Deschner [Mon, 21 Apr 2008 08:25:28 +0000 (10:25 +0200)]
samlogoncache: Use data_blob_const in netsamlogon_cache_get.

Guenther
(This used to be commit f27a20f25c9b2038621a6394821bbedbf17daa73)

16 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Alexander Bokovoy [Mon, 21 Apr 2008 07:38:20 +0000 (11:38 +0400)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 2c3ffc1c53550c8e6feeca8fc0270ef9ac1ec70a)

16 years agoIgnore Emacs' semantic.cache
Alexander Bokovoy [Mon, 21 Apr 2008 07:37:25 +0000 (11:37 +0400)]
Ignore Emacs' semantic.cache
(This used to be commit 8246ffc66e6425809cfb8ca48bb31710dcddbd26)

16 years agoRemove redundant parameter fd from SMB_VFS_CLOSE().
Michael Adam [Fri, 11 Jan 2008 13:19:28 +0000 (14:19 +0100)]
Remove redundant parameter fd from SMB_VFS_CLOSE().

Now all those redundant fd's have vanished from the VFS API.

Michael
(This used to be commit 14294535512a7f191c5008e622b6708e417854ae)

16 years agoSlight reformatting of fd_close_posix(), while I'm at it.
Michael Adam [Fri, 11 Jan 2008 12:41:46 +0000 (13:41 +0100)]
Slight reformatting of fd_close_posix(), while I'm at it.

Wrap lines and remove trailing space.

Michael
(This used to be commit 74ed53a115b2063d4d5c8572af8f1302bc658882)

16 years agoChange fd_close_posix() to return int instead of NTSTATUS.
Michael Adam [Fri, 11 Jan 2008 12:28:28 +0000 (13:28 +0100)]
Change fd_close_posix() to return int instead of NTSTATUS.

The errno is handed up through the VFS layer to the callers.

Michael
(This used to be commit d928e6648d61cf2d3c1b77db440efb835b729a84)

16 years agoDon't modify the fsp in fd_close_posix() anymore.
Michael Adam [Fri, 11 Jan 2008 12:03:16 +0000 (13:03 +0100)]
Don't modify the fsp in fd_close_posix() anymore.

Now that it is inside the vfs layer, this function should
not alter the fsp (i.e. set fsp->fh->fd = -1) anymore.
That belongs above the vfs layer.

Michael
(This used to be commit df264bf3e00d7d77afcf55e54d2669b9ffa9af4a)

16 years agoMove the posix pending close functionality down into the VFS layer.
Michael Adam [Fri, 11 Jan 2008 11:18:33 +0000 (12:18 +0100)]
Move the posix pending close functionality down into the VFS layer.

This hides the pending close fds from the outside. Call order
of SMB_VFS_CLOSE is reversed. Originally, it was:

fd_close -> fd_close_posix -> SMB_VFS_CLOSE -> close

And now it is:

fd_close -> SMB_VFS_CLOSE -> fd_close_posix -> close

This is in preparation of removing the fd parameter
from the SMB_VFS_CLOSE function. But it is also the right
place for the pending close calls anyways.

Michael
(This used to be commit 3cf56b124a2886c6260455bba4bf77d08e9a4f77)

16 years agoloadparm: reformat - fix whitespace/tab
Michael Adam [Sun, 20 Apr 2008 22:20:35 +0000 (00:20 +0200)]
loadparm: reformat - fix whitespace/tab

Michael
(This used to be commit 3acc0d84dc8f29b67ddaa1124224a93cb43b07ad)

16 years agoloadparm: rename bNoIncludes to bAllowIncludeRegistry (inverting logic)
Michael Adam [Sun, 20 Apr 2008 22:17:49 +0000 (00:17 +0200)]
loadparm: rename bNoIncludes to bAllowIncludeRegistry (inverting logic)

This is what that variable controls now...

Michael
(This used to be commit bba04a8fba6fd5cf62578733cfdabea590e8ff51)

16 years agoloadparm: make lo_load_initial() only skip registry include.
Michael Adam [Sun, 20 Apr 2008 22:06:45 +0000 (00:06 +0200)]
loadparm: make lo_load_initial() only skip registry include.

This is only to be able to set everything properly for registry
before reading registry includes.

This fixes "make test" as non-root user in a directory, where
root-daemons have already created a messaging.tdb in the compiled
in lockdir...

Michael
(This used to be commit 1bb28bc1d8e83d174cd171e9d96f22ac524187c3)

16 years agolibnetapi: Add Doxyfile.
Günther Deschner [Sun, 20 Apr 2008 21:03:33 +0000 (23:03 +0200)]
libnetapi: Add Doxyfile.

Guenther
(This used to be commit a34801d67789340b515c5e575c3fd3175dddbecf)

16 years agonetdomjoin-gui: Omit warning when unjoining a domain fails.
Günther Deschner [Sun, 20 Apr 2008 20:58:52 +0000 (22:58 +0200)]
netdomjoin-gui: Omit warning when unjoining a domain fails.

Guenther
(This used to be commit ba1d2e87614a98b4f811c75a0d9cfa8491f5cb4d)

16 years agocli_cm: Make nicer password prompt in do_connect().
Günther Deschner [Sun, 20 Apr 2008 20:56:09 +0000 (22:56 +0200)]
cli_cm: Make nicer password prompt in do_connect().

Guenther
(This used to be commit cc967e76a39808e8311cc96c17078a0fce26c11a)

16 years agolibwbclient: change wbcResolveWinsByIP() to take char ** instead of const char **
Michael Adam [Sun, 20 Apr 2008 20:17:39 +0000 (22:17 +0200)]
libwbclient: change wbcResolveWinsByIP() to take char ** instead of const char **

Fix a compile warning. This seems the right thing since the data is created
by talloc_strdup...

Michael
(This used to be commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)

16 years agolibwbclient: fix wbcResolveWinsByName() to take char * instead of const char **
Michael Adam [Sun, 20 Apr 2008 20:13:40 +0000 (22:13 +0200)]
libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **

This fixes a compile warning and seems the correct thing to me as
the returned data is talloc_strdup't, so not const anyways.

Michael
(This used to be commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)

16 years agorpc_parse: fix "assignment discards qualifier" warning by using CONST_DISCARD.
Michael Adam [Sun, 20 Apr 2008 20:06:37 +0000 (22:06 +0200)]
rpc_parse: fix "assignment discards qualifier" warning by using CONST_DISCARD.

Michael
(This used to be commit 0de001a5446545b928eb88e1916b4fe674017424)

16 years agovfs_cacheprime: fix C++ warning - make implicit cast explicit
Michael Adam [Sun, 20 Apr 2008 19:49:01 +0000 (21:49 +0200)]
vfs_cacheprime: fix C++ warning - make implicit cast explicit

Michael
(This used to be commit 04d671b8c9bd5bf811e6dbd6981f1874eb49740c)

16 years agoFix some empty lines with just spaces
Volker Lendecke [Sun, 20 Apr 2008 14:23:48 +0000 (16:23 +0200)]
Fix some empty lines with just spaces
(This used to be commit f8fb9b7e3759bec7fbcf93b27438ca6b03202ddb)

16 years agoMake convert_samr_dispinfo_to_NET_DISPLAY() static
Volker Lendecke [Sun, 20 Apr 2008 12:07:38 +0000 (14:07 +0200)]
Make convert_samr_dispinfo_to_NET_DISPLAY() static
(This used to be commit a30a26d471a572167ee13bf10be1a275a6592851)

16 years agoIntroduce rpc_pipe_np_smb_conn()
Volker Lendecke [Sun, 20 Apr 2008 12:05:25 +0000 (14:05 +0200)]
Introduce rpc_pipe_np_smb_conn()

This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
(This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)

16 years agoRemove a redundant reference to rpc_pipe_state->cli from srv_spoolss
Volker Lendecke [Sun, 20 Apr 2008 12:02:21 +0000 (14:02 +0200)]
Remove a redundant reference to rpc_pipe_state->cli from srv_spoolss

This assignment is done in cli_rpc_pipe_open called from
cli_rpc_pipe_open_noauth already.
(This used to be commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e)

16 years agoReplace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
Volker Lendecke [Sun, 20 Apr 2008 11:51:46 +0000 (13:51 +0200)]
Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)

16 years agoRefactoring: Move stuff around for creating a pipe
Volker Lendecke [Sun, 20 Apr 2008 10:19:27 +0000 (12:19 +0200)]
Refactoring: Move stuff around for creating a pipe
(This used to be commit 45be749ed69f8c1ad3ebe8ea1f35c806db2ed5d0)

16 years agoRemove the pipe_idx variable from rpc_pipe_client
Volker Lendecke [Sun, 20 Apr 2008 09:45:41 +0000 (11:45 +0200)]
Remove the pipe_idx variable from rpc_pipe_client
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)

16 years agoRemove some unused code referencing pipe_names[]
Volker Lendecke [Sun, 20 Apr 2008 09:27:24 +0000 (11:27 +0200)]
Remove some unused code referencing pipe_names[]
(This used to be commit d8a04b798c44c26a91a37fa7090dd071a1909166)

16 years agoUse rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name
Volker Lendecke [Sat, 19 Apr 2008 22:01:52 +0000 (00:01 +0200)]
Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name

Also make sure that rpc_pipe_client->user_name is always talloced.
(This used to be commit 3f6c5b99664a75a6f490ee3b6980b89cacf7f579)

16 years agoIntroduce rpccli_set_timeout()
Volker Lendecke [Sat, 19 Apr 2008 21:27:35 +0000 (23:27 +0200)]
Introduce rpccli_set_timeout()

Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)

16 years agoMove srv_name_slash from cli_state to rpc_pipe_client
Volker Lendecke [Sat, 19 Apr 2008 21:03:16 +0000 (23:03 +0200)]
Move srv_name_slash from cli_state to rpc_pipe_client
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)

16 years agoFix two "ignoring asprintf result" warnings
Volker Lendecke [Sat, 19 Apr 2008 20:05:13 +0000 (22:05 +0200)]
Fix two "ignoring asprintf result" warnings
(This used to be commit 1d261e78b38e8080ca7122037d33c8ef913a4558)

16 years agoAdd "desthost" to rpc_pipe_client
Volker Lendecke [Sat, 19 Apr 2008 19:56:43 +0000 (21:56 +0200)]
Add "desthost" to rpc_pipe_client

This reduces the dependency on cli_state
(This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)

16 years agoRefactoring: Make struct rpc_pipe_client its own talloc parent
Volker Lendecke [Sat, 19 Apr 2008 16:17:13 +0000 (18:17 +0200)]
Refactoring: Make struct rpc_pipe_client its own talloc parent
(This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a)

16 years agoSet the right domain\user in cli_rpc_pipe_open_ntlmssp_internal
Volker Lendecke [Sat, 19 Apr 2008 21:50:58 +0000 (23:50 +0200)]
Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internal

This probably does not matter in current code, but without this it's not
possible to do the bind as a different user than the underlying smb user.

Jeremy, please check!

Thanks,

Volker
(This used to be commit b90062e33cbde7de4961414fd35a3a588760d002)

16 years agoFix a bogus uninitialized variable warning in IDL-based nbt code
Volker Lendecke [Sat, 19 Apr 2008 15:58:53 +0000 (17:58 +0200)]
Fix a bogus uninitialized variable warning in IDL-based nbt code
(This used to be commit 06c5076f8ef23ac36d234ed417b80a58ab8dd7b4)

16 years agoFix bug 5400
Volker Lendecke [Sat, 19 Apr 2008 14:56:44 +0000 (16:56 +0200)]
Fix bug 5400

Thanks to Jason Mader!

Volker
(This used to be commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)

16 years agoFix bug 5399
Volker Lendecke [Sat, 19 Apr 2008 14:54:26 +0000 (16:54 +0200)]
Fix bug 5399

Thanks to Jason Mader!

Volker
(This used to be commit 36740f4959194cfaa98b1e37eed08f22edbda1e4)

16 years agoFix bug 5398
Volker Lendecke [Sat, 19 Apr 2008 11:08:14 +0000 (13:08 +0200)]
Fix bug 5398

Thanks to Jason Mader for sending the compiler output :-)

Volker
(This used to be commit 7a57c2da1a6cc0fcea0b4d949c696219f1822694)

16 years agoFix an uninitialized variable
Volker Lendecke [Sat, 19 Apr 2008 15:04:46 +0000 (17:04 +0200)]
Fix an uninitialized variable
(This used to be commit 825f78d9f12b5b3e835bd91961e00402cab0bf60)

16 years agoWHATNEW.txt: add my latest changes
Stefan Metzmacher [Sat, 19 Apr 2008 00:45:10 +0000 (02:45 +0200)]
WHATNEW.txt: add my latest changes

metze
(This used to be commit 6ae8544ace0dd9ac67d36abbaa26cf311db880ad)

16 years agowinbindd: create the messaging conntext earlier
Stefan Metzmacher [Tue, 15 Apr 2008 08:57:16 +0000 (10:57 +0200)]
winbindd: create the messaging conntext earlier

metze
(This used to be commit 2e1b9130635235efdbf49d0b92a43b342114246c)

16 years agowinbindd: call reinit_after_fork() in the child processes
Stefan Metzmacher [Mon, 14 Apr 2008 23:02:42 +0000 (01:02 +0200)]
winbindd: call reinit_after_fork() in the child processes

metze
(This used to be commit 8e9fdef792e612e414444e7714a2fd4513892248)

16 years agonmbd: create the messaging conntext earlier
Stefan Metzmacher [Tue, 15 Apr 2008 08:50:27 +0000 (10:50 +0200)]
nmbd: create the messaging conntext earlier

metze
(This used to be commit 056ff094ad2c59992cfdb8b29696c08dab4113d7)

16 years agonmbd: call reinit_after_fork() in all needed cases
Stefan Metzmacher [Tue, 15 Apr 2008 08:38:21 +0000 (10:38 +0200)]
nmbd: call reinit_after_fork() in all needed cases

metze
(This used to be commit f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d)

16 years agoprinting: call reinit_after_fork() in the backgroundqueue process
Stefan Metzmacher [Mon, 14 Apr 2008 23:48:44 +0000 (01:48 +0200)]
printing: call reinit_after_fork() in the backgroundqueue process

metze
(This used to be commit 9adb675a86e81c90e2bddfe984b5ac8f201fec75)

16 years agosmbd: create the messaging conntext earlier
Stefan Metzmacher [Tue, 15 Apr 2008 08:57:45 +0000 (10:57 +0200)]
smbd: create the messaging conntext earlier

metze
(This used to be commit 658d8475336c4397e0dad341f216baf9e1eb6aaf)

16 years agosmbd: call reinit_after_fork() in the needed places
Stefan Metzmacher [Mon, 14 Apr 2008 23:01:59 +0000 (01:01 +0200)]
smbd: call reinit_after_fork() in the needed places

metze
(This used to be commit 425b3513a45cf98b53235470a3536be86d56d1c2)

16 years agoloadparm: make it possible to just load the config without following "include ="...
Stefan Metzmacher [Fri, 18 Apr 2008 08:20:01 +0000 (10:20 +0200)]
loadparm: make it possible to just load the config without following "include =" statements

metze
(This used to be commit 6b5c76bf1e880ec60d6b044c58115940549049e5)

16 years agoutil: add reinit_after_fork() function
Stefan Metzmacher [Tue, 15 Apr 2008 08:36:15 +0000 (10:36 +0200)]
util: add reinit_after_fork() function

metze
(This used to be commit 5f6c3a4f6db68c985884cbe9401a4dbe515f756b)

16 years agosmbd: merge "smbd:backgroundqueue=no" option from the v3-0-ctdb tree
Stefan Metzmacher [Mon, 14 Apr 2008 23:50:13 +0000 (01:50 +0200)]
smbd: merge "smbd:backgroundqueue=no" option from the v3-0-ctdb tree

metze
(This used to be commit 16d295d466eb18e3bccce6fb26d53012d5f2c3e8)

16 years agomessages_ctdbd: autocreate a ctdb connection, this will fix segfaults in the client...
Stefan Metzmacher [Mon, 14 Apr 2008 23:18:50 +0000 (01:18 +0200)]
messages_ctdbd: autocreate a ctdb connection, this will fix segfaults in the client tools

metze
(This used to be commit 6f67c4ddf8101b1d06889055e3767a6ce0db360c)

16 years agomessages_ctdbd: make sure a ctdbd connection is only used in the process that created it
Stefan Metzmacher [Mon, 14 Apr 2008 23:18:06 +0000 (01:18 +0200)]
messages_ctdbd: make sure a ctdbd connection is only used in the process that created it

metze
(This used to be commit 259786980a3a65fa67a4de12a65d33095fa53ce2)

16 years agoIDL: make idl.
Günther Deschner [Fri, 18 Apr 2008 09:42:51 +0000 (11:42 +0200)]
IDL: make idl.

Guenther
(This used to be commit e1abff301449ad528194206fd953670057eaa12d)

16 years agoIDL: Add type 23 in nbt_ntlogon_request reply packets.
Günther Deschner [Fri, 18 Apr 2008 09:41:35 +0000 (11:41 +0200)]
IDL: Add type 23 in nbt_ntlogon_request reply packets.

Guenther
(This used to be commit dbef92c2b2ae6786cf527715adbbd7db8b334fcc)

16 years agoJanitor for tridge. Keep lib/replace in sync with the gcc4
Jeremy Allison [Fri, 18 Apr 2008 07:30:50 +0000 (00:30 -0700)]
Janitor for tridge. Keep lib/replace in sync with the gcc4
changes.
Jeremy.
(This used to be commit b496f133228b74bf613dab81167a5b9670511c51)

16 years agoIDL: Re-run make idl and hand merge some required functions from Samba 4.
Günther Deschner [Thu, 17 Apr 2008 16:29:48 +0000 (18:29 +0200)]
IDL: Re-run make idl and hand merge some required functions from Samba 4.

Guenther
(This used to be commit edb0092e4d66496181de4e21c91d398d54208e60)

16 years agoIDL: add dom_sid0 to security.idl (hand merge from samba4).
Günther Deschner [Thu, 17 Apr 2008 16:18:57 +0000 (18:18 +0200)]
IDL: add dom_sid0 to security.idl (hand merge from samba4).

Guenther
(This used to be commit 3e7f302d807905d75949c934d2325cd65d53e6b2)

16 years agoloadparm: reactivate special semantics of "include = registry" for now.
Michael Adam [Sun, 6 Apr 2008 20:23:54 +0000 (22:23 +0200)]
loadparm: reactivate special semantics of "include = registry" for now.

This includes the configuration stored in HKLM/Software/Samba/smbconf .

Michael
(This used to be commit 42c7fb4ddfab9ff7592593533099ae872c1edca7)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 17 Apr 2008 16:25:45 +0000 (09:25 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit d665cecd8b1b40ad30ec435de0bd925cdea24795)

16 years agoFix the problem when -L is used with IPv6 addresses. Don't try to
Jeremy Allison [Thu, 17 Apr 2008 16:24:54 +0000 (09:24 -0700)]
Fix the problem when -L is used with IPv6 addresses. Don't try to
connect on port 139 with IPv6. Found by David Holder @ Erion.
Karolin please merge to 3.2-stable.
Jeremy.
(This used to be commit c003e66ff10b23bb30aef0071ba7a3ae9579174e)

16 years agoMerge commit 'samba/v3-2-test' into wbc-test
Gerald W. Carter [Thu, 17 Apr 2008 16:11:22 +0000 (18:11 +0200)]
Merge commit 'samba/v3-2-test' into wbc-test
(This used to be commit 7c2e735df3d8a4105a4944411d111fc66c13b01f)

16 years agoRemove unused variable from wbcCheckTrustCredentials().
Gerald W. Carter [Thu, 17 Apr 2008 16:09:08 +0000 (18:09 +0200)]
Remove unused variable from wbcCheckTrustCredentials().
(This used to be commit fea52dc46048ff869299267f7596b93a8c5c8b3d)

16 years agoConvert "wbinfo -m" to use wbcListTrusts() API call.
Gerald W. Carter [Thu, 17 Apr 2008 16:07:18 +0000 (18:07 +0200)]
Convert "wbinfo -m" to use wbcListTrusts() API call.
(This used to be commit 2fbe8437efe232b6f53af6fafed5995fe7e26820)

16 years agoAdd wbcListTrusts() API call to libwbclient.so
Gerald W. Carter [Thu, 17 Apr 2008 16:06:10 +0000 (18:06 +0200)]
Add wbcListTrusts() API call to libwbclient.so
(This used to be commit 5c454e77cf664fee65fcb03e5811764c92e73696)

16 years agonbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
Stefan Metzmacher [Thu, 17 Apr 2008 14:26:59 +0000 (16:26 +0200)]
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0

metze
(cherry picked from commit 0e2f6d481b3e35ed392b2b3340b244c77593819c)
(This used to be commit 70d99d8ed92d13fa3ec308df170595316d091988)

16 years agorpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce
Jelmer Vernooij [Thu, 17 Apr 2008 15:44:40 +0000 (17:44 +0200)]
rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce
duplication.
(This used to be commit 428654b473ba44b2f5340eefef0d4fcd51aff558)

16 years agoFollow error code name convention in libwbclient.
Gerald W. Carter [Thu, 17 Apr 2008 15:49:53 +0000 (17:49 +0200)]
Follow error code name convention in libwbclient.
s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/
(This used to be commit d91ce012b0afb30cd22b373412d17de27c55ca86)

16 years agoFix gcc uninitialized variable used warning.
Jeremy Allison [Thu, 17 Apr 2008 15:02:46 +0000 (08:02 -0700)]
Fix gcc uninitialized variable used warning.
Jeremy.
(This used to be commit b95f2adeb5e2f7ce71e46e6a6165159483c9a702)

16 years agobuild: add missing dependency for libtdb.so to pam_smbpass
Michael Adam [Thu, 17 Apr 2008 13:22:41 +0000 (15:22 +0200)]
build: add missing dependency for libtdb.so to pam_smbpass

Thanks to Andreas Schneider for noticing.

Michael
(This used to be commit db708d4004adcd4a75c28d630dbd43b03e40f205)

16 years agoMove GETDC mailslot out of winbindd.
Günther Deschner [Wed, 16 Apr 2008 21:52:34 +0000 (23:52 +0200)]
Move GETDC mailslot out of winbindd.

Guenther
(This used to be commit b003ba65e34bb92bf71a7943957715cd7acbcce0)

16 years agoIDL: build generated nbt code.
Günther Deschner [Wed, 16 Apr 2008 21:23:24 +0000 (23:23 +0200)]
IDL: build generated nbt code.

Guenther
(This used to be commit 554dcfdab03f9d06f319a3234d56cf44dc38c9da)

16 years agoIDL: Add autogenerated nbt files.
Günther Deschner [Wed, 16 Apr 2008 21:16:59 +0000 (23:16 +0200)]
IDL: Add autogenerated nbt files.

Guenther
(This used to be commit 1e05224bda73ec183c5b7c310e8e277f405a847a)

16 years agoIDL: Build nbt.idl always.
Günther Deschner [Wed, 16 Apr 2008 21:15:26 +0000 (23:15 +0200)]
IDL: Build nbt.idl always.

Guenther
(This used to be commit 933abaeb321428aa7092a5d87af77b981be6359e)

16 years agoIDL: Add nbt.idl from Samba4.
Günther Deschner [Wed, 16 Apr 2008 21:12:03 +0000 (23:12 +0200)]
IDL: Add nbt.idl from Samba4.

Guenther
(This used to be commit 6accbfa66158c6fbebab41b25a99e810ea460c57)

16 years agowbclient: Remove unused string.
Günther Deschner [Thu, 17 Apr 2008 12:40:55 +0000 (14:40 +0200)]
wbclient: Remove unused string.

Guenther
(This used to be commit c4a09f2c8b699bfb0e8172d3fdde067aeaaa9399)

16 years agolibnetapi: Disable talloc_enable_leak_report.
Günther Deschner [Thu, 17 Apr 2008 12:09:29 +0000 (14:09 +0200)]
libnetapi: Disable talloc_enable_leak_report.

Guenther
(This used to be commit 4ba98dd0cc13984a8dc54e4d4935487fc8938039)

16 years agonetdomjoin-gui: Fix label alignment showing up with lower screen-resolution.
Günther Deschner [Thu, 17 Apr 2008 12:07:53 +0000 (14:07 +0200)]
netdomjoin-gui: Fix label alignment showing up with lower screen-resolution.

Guenther
(This used to be commit e06a54aa7da857e006649469e7eb8d76711221c1)

16 years agolibgpo: try nicer output when dumping gpo registry values.
Günther Deschner [Thu, 17 Apr 2008 12:04:18 +0000 (14:04 +0200)]
libgpo: try nicer output when dumping gpo registry values.

Guenther
(This used to be commit 2b788429478868d1b0cbfd88027809be33edcfc5)