Michael Adam
8c9060240e
Slight reformatting of fd_close_posix(), while I'm at it.
...
Wrap lines and remove trailing space.
Michael
(This used to be commit 74ed53a115
)
2008-04-21 00:21:24 +02:00
Michael Adam
2f8dde9ec8
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 d928e6648d
)
2008-04-21 00:21:24 +02:00
Michael Adam
96e9e83ee0
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 df264bf3e0
)
2008-04-21 00:21:24 +02:00
Michael Adam
3756467db6
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 3cf56b124a
)
2008-04-21 00:21:23 +02:00
Michael Adam
00210d773b
loadparm: reformat - fix whitespace/tab
...
Michael
(This used to be commit 3acc0d84dc
)
2008-04-21 00:21:23 +02:00
Michael Adam
4244655e5b
loadparm: rename bNoIncludes to bAllowIncludeRegistry (inverting logic)
...
This is what that variable controls now...
Michael
(This used to be commit bba04a8fba
)
2008-04-21 00:21:23 +02:00
Michael Adam
318c983d82
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 1bb28bc1d8
)
2008-04-21 00:21:23 +02:00
Günther Deschner
50e64115fc
libnetapi: Add Doxyfile.
...
Guenther
(This used to be commit a34801d677
)
2008-04-20 23:20:21 +02:00
Günther Deschner
25c454cbba
netdomjoin-gui: Omit warning when unjoining a domain fails.
...
Guenther
(This used to be commit ba1d2e8761
)
2008-04-20 23:20:21 +02:00
Günther Deschner
e03321697e
cli_cm: Make nicer password prompt in do_connect().
...
Guenther
(This used to be commit cc967e76a3
)
2008-04-20 23:20:21 +02:00
Michael Adam
8caaf0dc43
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 f81da8e8ed
)
2008-04-20 22:29:36 +02:00
Michael Adam
d7da0f57fa
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 13cfa7f48a
)
2008-04-20 22:29:36 +02:00
Michael Adam
166efed281
rpc_parse: fix "assignment discards qualifier" warning by using CONST_DISCARD.
...
Michael
(This used to be commit 0de001a544
)
2008-04-20 22:29:36 +02:00
Michael Adam
c57f1ab345
vfs_cacheprime: fix C++ warning - make implicit cast explicit
...
Michael
(This used to be commit 04d671b8c9
)
2008-04-20 22:29:35 +02:00
Volker Lendecke
712e40dad2
Fix some empty lines with just spaces
...
(This used to be commit f8fb9b7e37
)
2008-04-20 16:23:48 +02:00
Volker Lendecke
cee268b5cb
Make convert_samr_dispinfo_to_NET_DISPLAY() static
...
(This used to be commit a30a26d471
)
2008-04-20 14:08:17 +02:00
Volker Lendecke
b9cc055062
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 c56e1c08ce
)
2008-04-20 14:08:16 +02:00
Volker Lendecke
0c17878e21
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 7331c4c278
)
2008-04-20 14:08:16 +02:00
Volker Lendecke
e73e8297f5
Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
...
(This used to be commit 99fc3283c4
)
2008-04-20 14:08:16 +02:00
Volker Lendecke
33592bdcb9
Refactoring: Move stuff around for creating a pipe
...
(This used to be commit 45be749ed6
)
2008-04-20 14:08:10 +02:00
Volker Lendecke
f56eedb95c
Remove the pipe_idx variable from rpc_pipe_client
...
(This used to be commit 4840febcd4
)
2008-04-20 11:47:33 +02:00
Volker Lendecke
ff8aa642f3
Remove some unused code referencing pipe_names[]
...
(This used to be commit d8a04b798c
)
2008-04-20 11:27:24 +02:00
Volker Lendecke
cf2442bdcb
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 3f6c5b9966
)
2008-04-20 00:14:40 +02:00
Volker Lendecke
e1102b8f48
Introduce rpccli_set_timeout()
...
Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba389
)
2008-04-20 00:14:26 +02:00
Volker Lendecke
9048cafbea
Move srv_name_slash from cli_state to rpc_pipe_client
...
(This used to be commit a9061e52e1
)
2008-04-20 00:14:13 +02:00
Volker Lendecke
4c857010e7
Fix two "ignoring asprintf result" warnings
...
(This used to be commit 1d261e78b3
)
2008-04-20 00:13:39 +02:00
Volker Lendecke
2a2188591b
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
(This used to be commit 783afab9c8
)
2008-04-20 00:13:09 +02:00
Volker Lendecke
b46d340fd5
Refactoring: Make struct rpc_pipe_client its own talloc parent
...
(This used to be commit a6d74a5a56
)
2008-04-20 00:12:52 +02:00
Volker Lendecke
fb73de3b92
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 b90062e33c
)
2008-04-19 23:54:01 +02:00
Volker Lendecke
e7f2dc9889
Fix a bogus uninitialized variable warning in IDL-based nbt code
...
(This used to be commit 06c5076f8e
)
2008-04-19 17:56:35 +02:00
Volker Lendecke
9ccbef219c
Fix bug 5400
...
Thanks to Jason Mader!
Volker
(This used to be commit 87d8a63ce4
)
2008-04-19 17:04:09 +02:00
Volker Lendecke
b7d2e94296
Fix bug 5399
...
Thanks to Jason Mader!
Volker
(This used to be commit 36740f4959
)
2008-04-19 17:04:09 +02:00
Volker Lendecke
c071b941e6
Fix bug 5398
...
Thanks to Jason Mader for sending the compiler output :-)
Volker
(This used to be commit 7a57c2da1a
)
2008-04-19 17:04:09 +02:00
Volker Lendecke
a8ab283508
Fix an uninitialized variable
...
(This used to be commit 825f78d9f1
)
2008-04-19 17:03:09 +02:00
Stefan Metzmacher
a21d095a62
WHATNEW.txt: add my latest changes
...
metze
(This used to be commit 6ae8544ace
)
2008-04-19 02:45:44 +02:00
Stefan Metzmacher
913cd26b2b
winbindd: create the messaging conntext earlier
...
metze
(This used to be commit 2e1b913063
)
2008-04-18 15:00:20 +02:00
Stefan Metzmacher
94b603648f
winbindd: call reinit_after_fork() in the child processes
...
metze
(This used to be commit 8e9fdef792
)
2008-04-18 15:00:20 +02:00
Stefan Metzmacher
384282c35f
nmbd: create the messaging conntext earlier
...
metze
(This used to be commit 056ff094ad
)
2008-04-18 15:00:19 +02:00
Stefan Metzmacher
c5d1a3c710
nmbd: call reinit_after_fork() in all needed cases
...
metze
(This used to be commit f68829ff14
)
2008-04-18 15:00:19 +02:00
Stefan Metzmacher
c5615c6113
printing: call reinit_after_fork() in the backgroundqueue process
...
metze
(This used to be commit 9adb675a86
)
2008-04-18 15:00:19 +02:00
Stefan Metzmacher
2df0ade13a
smbd: create the messaging conntext earlier
...
metze
(This used to be commit 658d847533
)
2008-04-18 15:00:19 +02:00
Stefan Metzmacher
f2067658df
smbd: call reinit_after_fork() in the needed places
...
metze
(This used to be commit 425b3513a4
)
2008-04-18 14:43:08 +02:00
Stefan Metzmacher
49bf9d35cd
loadparm: make it possible to just load the config without following "include =" statements
...
metze
(This used to be commit 6b5c76bf1e
)
2008-04-18 14:43:07 +02:00
Stefan Metzmacher
bd1b120c2d
util: add reinit_after_fork() function
...
metze
(This used to be commit 5f6c3a4f6d
)
2008-04-18 14:43:07 +02:00
Stefan Metzmacher
b7a141f8a7
smbd: merge "smbd:backgroundqueue=no" option from the v3-0-ctdb tree
...
metze
(This used to be commit 16d295d466
)
2008-04-18 14:43:07 +02:00
Stefan Metzmacher
4f6089be35
messages_ctdbd: autocreate a ctdb connection, this will fix segfaults in the client tools
...
metze
(This used to be commit 6f67c4ddf8
)
2008-04-18 14:43:07 +02:00
Stefan Metzmacher
b86b442a1e
messages_ctdbd: make sure a ctdbd connection is only used in the process that created it
...
metze
(This used to be commit 259786980a
)
2008-04-18 14:43:06 +02:00
Günther Deschner
9714899c29
IDL: make idl.
...
Guenther
(This used to be commit e1abff3014
)
2008-04-18 11:50:19 +02:00
Günther Deschner
a717d0da24
IDL: Add type 23 in nbt_ntlogon_request reply packets.
...
Guenther
(This used to be commit dbef92c2b2
)
2008-04-18 11:50:19 +02:00
Jeremy Allison
e90b4061c1
Janitor for tridge. Keep lib/replace in sync with the gcc4
...
changes.
Jeremy.
(This used to be commit b496f13322
)
2008-04-18 00:30:50 -07:00