1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

27820 Commits

Author SHA1 Message Date
Günther Deschner
3d6860018f s3-spoolss: remove old _spoolss_WritePrinter.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
7f35c3be69 s3-spoolss: use pidl for _spoolss_WritePrinter.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
2038da6897 s3-spoolss: some cosmetics in debug statements.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
04c971dc6c s3-spoolss: remove old _spoolss_DeleteForm.
Guenther
2009-02-07 01:52:29 +01:00
Günther Deschner
f5a24b71b9 s3-spoolss: use pidl for _spoolss_DeleteForm.
Guenther
2009-02-07 01:52:29 +01:00
Günther Deschner
b56c5bf510 s3-spoolss: rework some form functions and add form_by_string functions.
Guenther
2009-02-07 01:52:28 +01:00
Günther Deschner
b8cd20cd5c s3-spoolss: use rpccli_spoolss_DeleteForm.
Guenther
2009-02-07 01:52:28 +01:00
Günther Deschner
100aad0ddf s3-spoolss: remove old _spoolss_EndDocPrinter.
Guenther
2009-02-06 21:41:23 +01:00
Günther Deschner
714ac784e1 s3-spoolss: use pidl for _spoolss_EndDocPrinter.
Guenther
2009-02-06 21:41:09 +01:00
Günther Deschner
2a5ae9e47b s3-spoolss: remove old _spoolss_AbortPrinter.
Guenther
2009-02-06 21:40:43 +01:00
Günther Deschner
3fe9b2fb4f s3-spoolss: use pidl for _spoolss_AbortPrinter.
Guenther
2009-02-06 21:40:21 +01:00
Günther Deschner
eb542ef630 s3-spoolss: remove old _spoolss_EndPagePrinter.
Guenther
2009-02-06 21:39:56 +01:00
Günther Deschner
7f5ff88520 s3-spoolss: use pidl for _spoolss_EndPagePrinter.
Guenther
2009-02-06 21:39:48 +01:00
Günther Deschner
f8582f18ec s3-spoolss: remove old _spoolss_StartPagePrinter.
Guenther
2009-02-06 21:39:08 +01:00
Günther Deschner
246a1a1eac w 2009-02-06 21:38:43 +01:00
Günther Deschner
cb6ef25341 s3-spoolss: use pidl for _spoolss_StartPagePrinter.
Guenther
2009-02-06 21:37:55 +01:00
Günther Deschner
69577cacfe s3-spoolss: remove old _spoolss_DeletePrinter.
Guenther
2009-02-06 21:30:49 +01:00
Günther Deschner
f968057cd2 s3-spoolss: use pidl for _spoolss_DeletePrinter.
Guenther
2009-02-06 21:30:39 +01:00
Günther Deschner
126d444367 s3-spoolss: call the correct get_pipe_fns function in proxy_spoolss_call().
Guenther
2009-02-06 19:23:55 +01:00
Günther Deschner
88f09a8353 s3-spoolss: remove old _spoolss_ClosePrinter.
Guenther
2009-02-06 18:59:06 +01:00
Günther Deschner
0bd5698dab s3-spoolss: use rpccli_spoolss_ClosePrinter.
Guenther
2009-02-06 18:58:34 +01:00
Günther Deschner
46903a0f90 s3-spoolss: use pidl for _spoolss_ClosePrinter.
Guenther
2009-02-06 18:55:46 +01:00
Günther Deschner
a45107abca s3-spoolss server: add _spoolss_ server stubs.
Guenther
2009-02-06 18:54:52 +01:00
Günther Deschner
e11fa4cc33 s3-spoolss: prepare to use generated spoolss.
Guenther
2009-02-06 18:54:51 +01:00
Jeff Layton
d895ca505f mount.cifs: initialize rc to 0 in main
The value of rc in main() isn't initialized in the declaration. This
wasn't a problem before, but Shirish's fakemount patch can make it so
that we return the uninitialized variable if the -n flag is used.

Fix this by initializing rc to 0.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2009-02-06 08:29:58 -05:00
Shirish Pargaonkar
ea8bd81b6e mount.cifs: add fakemount (-f) and nomtab (-n) flags to mount.cifs
...so that these options work correctly when passed in by mount(8).
2009-02-06 08:13:38 -05:00
Günther Deschner
1609dbaf88 netapi: add NetServer testsuite.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
7fa534bd7c netapi: include more SERVER_INFO_X levels in example code.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
bbfc11644d netapi: implement more SERVER_INFO_X levels.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
2e2f511ca3 netapi: add SERVER_INFO_X to public header.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
2e076ff437 rerun make idl.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
3df528f2d1 netapi: add more SERVER_INFO_X levels.
Guenther
2009-02-06 11:10:36 +01:00
Michael Adam
55f2cb18ad s3:net conf: remove check for sharename being a usernam in "net conf addshare"
This is useless and can be overriden by "net conf setparm" anyways.

Michael
2009-02-06 11:05:50 +01:00
Günther Deschner
3accf9e80f s3: use pidl to pull a KRB5_EDATA_NTSTATUS.
Guenther
2009-02-06 10:32:49 +01:00
Michael Adam
2c1d980abe s3:idmap_tdb2: untangle assignment and check in idmap_tdb2_alloc_load()
Michael
2009-02-06 10:20:08 +01:00
Michael Adam
e0f91c8930 s3:idmap_tdb2: factor lodaing of ranges out into idmap_tdb2_load_ranges()
Michael
2009-02-06 10:20:08 +01:00
Michael Adam
2125777803 s3:idmap_tdb2: move together code that belongs together in idmap_tdb2_alloc_load
Michael
2009-02-06 10:20:08 +01:00
Michael Adam
30d08223e6 s3:idmap_tdb2: streamline idmap_tdb2_sid_to_id,
adding tmp talloc ctx and removing a variable

Michael
2009-02-06 10:20:07 +01:00
Michael Adam
9c626e37cf s3:idmap_tdb: simplify talloc usage with temp context from talloc_stackframe
Michael
2009-02-06 10:20:07 +01:00
Michael Adam
77b4437b12 s3:idmap_tdb: refactor out new function idmap_tdb_load_ranges()
Michael
2009-02-06 10:20:06 +01:00
Michael Adam
e4035ab304 s3:idmap_tdb: use transactions in idmap_tdb_allocate_id()
Michael
2009-02-06 10:20:06 +01:00
Michael Adam
a9184d5c62 s3:idmap_tdb: add tmp talloc ctx to idmap_tdb_sid_to_id and remove an fstring
Michael
2009-02-06 10:20:06 +01:00
Günter Kukkukk
e4ad0a1d1f Don't try and delete a default ACL from a file. 2009-02-05 18:57:41 -08:00
Shirish Pargaonkar
16d2fdf575 umount.cifs: clean-up entries in /etc/mtab after unmount
This patch removes the remaining entry in /etc/mtab after a filesystem
is unmounted by canonicalizing the mountpoint supplied on the command
line.

Please refer to bug 4370 in samba bugzilla.
2009-02-05 14:12:42 -05:00
Günther Deschner
f289851d70 s3-eventlog: fix Coverity #877.
Guenther
2009-02-05 16:36:44 +01:00
Günther Deschner
b03913cbc6 spoolss: move ndr spoolss helper to main librpc dir.
Guenther
2009-02-05 16:04:36 +01:00
Karolin Seeger
3f9daf434a s3/libads: Change "ldap ssl:ads" parameter to "ldap ssl ads".
Karolin
2009-02-05 15:55:14 +01:00
Günther Deschner
d704efc536 s3-svcctl: use security descriptor marshall helper in svcctl_set_secdesc().
Guenther
2009-02-05 12:15:13 +01:00
Volker Lendecke
a66828a37f Don't use recvall in the proxied np_read_send
We don't know how much we will get. Resort to a single recv syscall
2009-02-05 11:16:03 +01:00
Aravind Srinivasan
83cf98f113 Have nmbd check all available interfaces for WINS before failing
When nmbd is acting as WINS, it picks the first interface's IP as WINS
server's IP. If the first interface's IP is zero, we will just quit
(even though we might have other interfaces with valid IPs).

This patch makes nmbd look at all interfaces and pick the first interface
with a valid IP as the WINS server's IP.
2009-02-04 20:26:50 -08:00