kai/samba.git
12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 years agolibgpo: Fallback to NTLMSSP fails while pulling policy from SYSVOL.
Günther Deschner [Thu, 17 Apr 2008 12:02:37 +0000 (14:02 +0200)]
libgpo: Fallback to NTLMSSP fails while pulling policy from SYSVOL.

Guenther
(This used to be commit 7ed1397e25d50e6616040677cfe26148e7211538)

12 years agoAdd some comments.
Jelmer Vernooij [Thu, 17 Apr 2008 11:51:00 +0000 (13:51 +0200)]
Add some comments.
(This used to be commit fd321fd77fcb9fbebcaa724c58a1beee606e87cd)

12 years agoRemove copying of interface syntax id.
Jelmer Vernooij [Thu, 17 Apr 2008 11:46:13 +0000 (13:46 +0200)]
Remove copying of interface syntax id.
(This used to be commit 0012dfbe1fcf17486a24366b939054b5637646e3)

12 years agofix return code.
Jelmer Vernooij [Tue, 15 Apr 2008 17:33:15 +0000 (19:33 +0200)]
fix return code.
(This used to be commit d356baae802d36909c3c990b834a4a37aba736f4)

12 years agoActually connect to RPC.
Jelmer Vernooij [Tue, 15 Apr 2008 16:24:11 +0000 (18:24 +0200)]
Actually connect to RPC.
(This used to be commit 3082534454ff936ac0b78b5a2c72c9b060e21244)

12 years agoAdd simple implementation of several functions in the Samba 4 RPC
Jelmer Vernooij [Tue, 15 Apr 2008 15:55:44 +0000 (17:55 +0200)]
Add simple implementation of several functions in the Samba 4 RPC
library on top of the Samba 3 RPC library:

 * dcerpc_pipe_connect
 * dcerpc_ndr_request_recv
 * dcerpc_ndr_request_send

These are the main functions used by the generated client calls in Samba
4.
(This used to be commit 350177824239343365d5c99ad4efd71e3b2ed6fa)

12 years agowbinfo: use wbcCheckTrustCredentials()
Stefan Metzmacher [Wed, 16 Apr 2008 22:17:06 +0000 (00:17 +0200)]
wbinfo: use wbcCheckTrustCredentials()

metze
(This used to be commit 2cbe5a006a6df79c38f4aaa68d498cd6d5a34dba)

12 years agolibwbclient: add wbcCheckTrustCredentials()
Stefan Metzmacher [Wed, 16 Apr 2008 21:35:12 +0000 (23:35 +0200)]
libwbclient: add wbcCheckTrustCredentials()

This only accepts NULL as domain for now,
because winbindd doesn't support checking
trust passwords as a domain controller.

metze
(This used to be commit c084ccd70f42ce29ce24565969a9f440dde254e1)

12 years agowbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()
Stefan Metzmacher [Mon, 14 Apr 2008 07:35:15 +0000 (09:35 +0200)]
wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()

metze
(This used to be commit a4f628d6c9e2a5761c048e268a29e1f5daae4180)

12 years agolibwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()
Stefan Metzmacher [Mon, 14 Apr 2008 07:31:46 +0000 (09:31 +0200)]
libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()

metze
(This used to be commit 57ba71140fbf6b4a5a917fa3248fa76536be883b)

12 years agonet: Be more tolerant while joining.
Günther Deschner [Wed, 16 Apr 2008 22:06:00 +0000 (00:06 +0200)]
net: Be more tolerant while joining.

Guenther
(This used to be commit 70b7b331d9e2d915e6209fca5900f41fae4866fd)

12 years agoNetrUnjoinDomain2: Honor registry config to try config changes.
Günther Deschner [Wed, 16 Apr 2008 21:59:43 +0000 (23:59 +0200)]
NetrUnjoinDomain2: Honor registry config to try config changes.

Guenther
(This used to be commit b42304c299224238a0247e0e1561eb2ad3217b96)

12 years agodsgetdcname: Fix discover_dc_dns.
Günther Deschner [Wed, 16 Apr 2008 21:56:03 +0000 (23:56 +0200)]
dsgetdcname: Fix discover_dc_dns.

Guenther
(This used to be commit 2fe416ffa5c7efd2e6a644e4c8bac756152881d9)

12 years agolibsmbconf: fix segfault in listing share names / config.
Michael Adam [Wed, 16 Apr 2008 20:42:49 +0000 (22:42 +0200)]
libsmbconf: fix segfault in listing share names / config.

Discovered by Günther while giving a talk. - Sorry Günther!

Michael
(This used to be commit 518f4d4e6662138a2e71acc2296acedefc7c739a)

12 years agoadd AC_TRY_RUN_STRICT support for Sun Studio compiler
Björn Jacke [Wed, 9 Apr 2008 14:27:20 +0000 (16:27 +0200)]
add AC_TRY_RUN_STRICT support for Sun Studio compiler
(This used to be commit ce7025df2958dac284ec9e5ce47ab172c3aa2567)

12 years agoFix out of tree build. Remove the embedded srcdir path from talloc and tdb.
Gerald W. Carter [Wed, 16 Apr 2008 13:48:00 +0000 (15:48 +0200)]
Fix out of tree build.  Remove the embedded srcdir path from talloc and tdb.
(This used to be commit 359921acd436684a0b4cf76ba15f82a224d2c337)

12 years agolibnetapi: Add initial inline doxygen comments.
Günther Deschner [Wed, 16 Apr 2008 08:03:06 +0000 (10:03 +0200)]
libnetapi: Add initial inline doxygen comments.

Guenther
(This used to be commit 01bc4b6ac03b98c2371b4dfc0948f5ef8d06bcbc)

12 years agonet: Remove unused rpc_user_add/del_internals code.
Günther Deschner [Wed, 16 Apr 2008 00:45:00 +0000 (02:45 +0200)]
net: Remove unused rpc_user_add/del_internals code.

Guenther
(This used to be commit e68daef0ee051515c8f489820fde9110747e8aa6)

12 years agonet: Use NetUserAdd for "net rpc user add".
Günther Deschner [Wed, 16 Apr 2008 00:41:52 +0000 (02:41 +0200)]
net: Use NetUserAdd for "net rpc user add".

Guenther
(This used to be commit 4868b4ea1a18d4218330c49bf57818c4b5117d1d)

12 years agonet: use NetUserDel for "net rpc user delete".
Günther Deschner [Wed, 16 Apr 2008 00:39:41 +0000 (02:39 +0200)]
net: use NetUserDel for "net rpc user delete".

Guenther
(This used to be commit 0105770c1598e6fcbcaa29e17f3b7fd33114a333)

12 years agolibnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.
Günther Deschner [Wed, 16 Apr 2008 00:38:13 +0000 (02:38 +0200)]
libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.

Guenther
(This used to be commit 9bbb6cea0b21d98ae13f7a41226b437515bd5a2f)

12 years agoerrors: Add WERR_NO_SUCH_USER.
Günther Deschner [Wed, 16 Apr 2008 00:37:27 +0000 (02:37 +0200)]
errors: Add WERR_NO_SUCH_USER.

Guenther
(This used to be commit 82803186febfe6a55c1a598073657c2c4a513000)

12 years agoerrors: Add WERR_NONE_MAPPED.
Günther Deschner [Wed, 16 Apr 2008 00:23:20 +0000 (02:23 +0200)]
errors: Add WERR_NONE_MAPPED.

Guenther
(This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a)

12 years agonet/libnetapi: Include netapi headers early and free on exit.
Günther Deschner [Wed, 16 Apr 2008 00:16:08 +0000 (02:16 +0200)]
net/libnetapi: Include netapi headers early and free on exit.

Guenther
(This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c)

12 years agolibnetapi: do not overwrite status in libnetapi_get_error_string().
Günther Deschner [Tue, 15 Apr 2008 22:14:52 +0000 (00:14 +0200)]
libnetapi: do not overwrite status in libnetapi_get_error_string().

Guenther
(This used to be commit 143e2b573043dd04a6404fc91d781e8a727bd092)

12 years agoloadparm: remove pfunc parameter from process_registry_globals().
Michael Adam [Sun, 13 Apr 2008 19:57:55 +0000 (21:57 +0200)]
loadparm: remove pfunc parameter from process_registry_globals().

Use do_parameter() directly.

Michael
(This used to be commit 59b81bfd0abecb190d0c49e62581b26f10b96829)

12 years agolibnetapi: Add missing headers.
Günther Deschner [Tue, 15 Apr 2008 20:30:06 +0000 (22:30 +0200)]
libnetapi: Add missing headers.

Guenther
(This used to be commit 3fda711f2526914bf18ec004d553453e692b1e85)

12 years agoIDL: For the fun of it, build drsuapi.idl.
Günther Deschner [Tue, 15 Apr 2008 20:04:59 +0000 (22:04 +0200)]
IDL: For the fun of it, build drsuapi.idl.

Guenther
(This used to be commit 192645f63918c8656ca0fac5bb6d2704c9500a15)

12 years agoIDL: Fix several DRSUAPI calls.
Günther Deschner [Tue, 15 Apr 2008 18:39:11 +0000 (20:39 +0200)]
IDL: Fix several DRSUAPI calls.

Guenther
(This used to be commit aa7308fbc37eb9a26b4583b1ce2ca435b0648541)

12 years agoIDL: Import drsuapi.idl from samba4.
Günther Deschner [Tue, 15 Apr 2008 18:38:22 +0000 (20:38 +0200)]
IDL: Import drsuapi.idl from samba4.

Guenther
(This used to be commit f583e99cef55156fa5294c3eaef0cd29740af5f1)

12 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
Jelmer Vernooij [Tue, 15 Apr 2008 18:52:17 +0000 (20:52 +0200)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into 3-2-nopipeindex
(This used to be commit 9028f9e065536594df901ae4aac900102f2d85f6)

12 years agoauth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.
Michael Adam [Tue, 15 Apr 2008 18:41:14 +0000 (20:41 +0200)]
auth: add SeDiskOperatorsPrivilege to get_root_nt_token to fix registry shares.

Michael
(This used to be commit 6bb107b17d557c27d035ca518ab61296814a3cea)

12 years agoReconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
Jelmer Vernooij [Tue, 15 Apr 2008 18:26:52 +0000 (20:26 +0200)]
Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.
(This used to be commit 7bea00dca1ee08ef731dfa73110ef9c190a29919)

12 years agolibmsbconf: add handling of NULL share parameters to registry backend.
Michael Adam [Tue, 15 Apr 2008 15:39:01 +0000 (17:39 +0200)]
libmsbconf: add handling of NULL share parameters to registry backend.

Michael
(This used to be commit 6c1181fda2f040d9555917b10a65bc0dfc1f0593)

12 years agolibsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_...
Michael Adam [Tue, 15 Apr 2008 15:37:39 +0000 (17:37 +0200)]
libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_share().

These are values stored inside the base key for registry.
This is not getting deleted.

Michael
(This used to be commit aa167de8252bb615bd21fb3fd9468383b8357d32)

12 years agonet conf: adapt output of NULL share params in net conf list.
Michael Adam [Tue, 15 Apr 2008 15:36:44 +0000 (17:36 +0200)]
net conf: adapt output of NULL share params in net conf list.

don't list NULL share name and don't indent these parameters

Michael
(This used to be commit 0212b38913945ce3c8b14734804d81f1cd315621)

12 years agonet conf: simplify logic in test output of net conf import.
Michael Adam [Tue, 15 Apr 2008 15:36:11 +0000 (17:36 +0200)]
net conf: simplify logic in test output of net conf import.

Michael
(This used to be commit 367c8b133b2f3e73155f20f689602909eef9827b)

12 years agolibsmbconf: make sure to always list the NULL section first in text backend.
Michael Adam [Tue, 15 Apr 2008 14:06:57 +0000 (16:06 +0200)]
libsmbconf: make sure to always list the NULL section first in text backend.

Michael
(This used to be commit b50fdf321dc8056caa2b057cbd7f83792dfbcd4d)

12 years agonet conf: fix output of out-of-share parameters in test mode import
Michael Adam [Tue, 15 Apr 2008 12:38:36 +0000 (14:38 +0200)]
net conf: fix output of out-of-share parameters in test mode import

Michael
(This used to be commit 5424e07e7d3e842488cba7ae389124f01221c5ba)

12 years agolibsmbconf: default to the NULL section when a parameter is encountered w/o section
Michael Adam [Tue, 15 Apr 2008 12:37:15 +0000 (14:37 +0200)]
libsmbconf: default to the NULL section when a parameter is encountered w/o section

Michael
(This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67)

12 years agolibsmbconf: allow NULL sharename in smbconf_share_exists().
Michael Adam [Tue, 15 Apr 2008 12:36:39 +0000 (14:36 +0200)]
libsmbconf: allow NULL sharename in smbconf_share_exists().

Michael
(This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51)

12 years agolibsmbconf: add handling of NULL strings to smbconf_find_in_array().
Michael Adam [Tue, 15 Apr 2008 11:50:27 +0000 (13:50 +0200)]
libsmbconf: add handling of NULL strings to smbconf_find_in_array().

Michael
(This used to be commit a5923bafe9b543d50dca06d251186948baeac8cc)

12 years agolibsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
Michael Adam [Tue, 15 Apr 2008 11:49:59 +0000 (13:49 +0200)]
libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()

Michael
(This used to be commit aba261a9143bc7ab681b1c57ccfc08da0cffcfe7)

12 years agoRegenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
Jelmer Vernooij [Tue, 15 Apr 2008 14:11:10 +0000 (16:11 +0200)]
Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
(This used to be commit ac4c63d999f9ae61428bcdae400d127459896d6c)

12 years agolib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
Stefan Metzmacher [Mon, 14 Apr 2008 22:18:34 +0000 (00:18 +0200)]
lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!

metze
(This used to be commit ccdebe97f85b76378e42d8cf08324228bd19cf32)