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

27592 Commits

Author SHA1 Message Date
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
Jeremy Allison
e7c09d8b10 Fix bug #Bug 6090 renaming or deleting a "not matching/resolving" symlink is failing.
Reported by Kukks. Make sure we correctly use LSTAT in all cases where
POSIX pathnames are being used. This matters when dealing with symlinks
pointing to invalid paths being renamed or deleted not all deletes and
renames are done via an nt_create open.
Jeremy.
2009-02-04 16:33:52 -08:00
Günther Deschner
ef098bd621 s3-lsa: move remaining lsa policy access_mask defines to idl.
Guenther
2009-02-05 01:05:09 +01:00
Günther Deschner
e28a806a6b s3-parsing: remove a lot of unused structures and their hand marshalling.
Guenther
2009-02-05 00:48:50 +01:00
Günther Deschner
542251f7ae s3: use struct netr_Credential in cred_step().
Guenther
2009-02-05 00:48:26 +01:00
Günther Deschner
7c3ba34788 s3: use samr_RidWithAttribute instead of DOM_GID.
Guenther
2009-02-05 00:47:06 +01:00
Günther Deschner
0016c57ca1 s3-net: remove unused ENUM_HND.
Guenther
2009-02-05 00:40:59 +01:00
Günther Deschner
8450e6677b s3-eventlog: w00t! remove last traces of old eventlog rpc marshalling.
spoolss, I'm coming!

Guenther
2009-02-04 22:51:47 +01:00
Günther Deschner
a63d4c5ed1 s3-eventlog: remove old eventlog server.
Guenther
2009-02-04 22:51:39 +01:00
Günther Deschner
d7e2384dba s3-eventlog: remove fixup_eventlog_entry.
Guenther
2009-02-04 22:51:31 +01:00
Günther Deschner
8b126e942d s3-eventlog: remove write_eventlog_tdb.
Guenther
2009-02-04 22:51:23 +01:00
Günther Deschner
abb4faf813 s3-eventlog: remove add_record_to_resp.
Guenther
2009-02-04 22:51:15 +01:00
Günther Deschner
96fd6b5a01 s3-eventlog: remove read_package_entry.
Guenther
2009-02-04 22:51:07 +01:00
Günther Deschner
58ded409ab s3-eventlog: remove get_eventlog_record.
Guenther
2009-02-04 22:50:59 +01:00
Günther Deschner
7ade5cf776 s3-eventlog: remove old hand marshalling for eventlog read call.
Guenther
2009-02-04 22:50:52 +01:00
Günther Deschner
64e3a90530 s3-eventlog: make can_write_to_eventlog static.
Guenther
2009-02-04 22:49:51 +01:00
Günther Deschner
c464b5ebc0 s3-rpcclient: fix eventlog read client to read an array of entries.
Guenther
2009-02-04 22:49:51 +01:00
Volker Lendecke
94d1dbbaf0 Restore correct handling of "is_data_available" for the socket transport
This fixes a valgrind error reading an uninitialized variable
2009-02-04 22:36:43 +01:00
Günther Deschner
f24eecffde s3-eventlog: add my copyright.
Guenther
2009-02-04 22:05:02 +01:00
Günther Deschner
456bd5ad08 s3-eventlog: use pidl for _eventlog_ReadEventLogW.
Guenther
2009-02-04 22:04:52 +01:00
Günther Deschner
63a992168d s3-eventlog: add evlog_push_record function.
Guenther
2009-02-04 21:12:05 +01:00
Günther Deschner
1b71fa5c59 s3-eventlog: add evlog_pull_record function.
Guenther
2009-02-04 21:11:52 +01:00
Günther Deschner
0126dba7ef s3-net: add "net eventlog export".
This allows to export our tdb eventlog representation into a native
win32 *.evt eventlog file.

Guenther
2009-02-04 19:02:17 +01:00
Günther Deschner
c0cf20a49e s3-net: add "net eventlog import".
This allows to import a native (non-wrapped) win32 *.evt eventlog file
into our tdb eventlog representation.

Guenther
2009-02-04 19:01:46 +01:00
Günther Deschner
21d23bf7e8 s3-net: add "net eventlog dump".
This allows to dump a native (non-wrapped) win32 *.evt eventlog file.

Guenther
2009-02-04 19:01:31 +01:00
Günther Deschner
65200328ee s3-eventlog: add evlog_tdb_entry_to_evt_entry.
Guenther
2009-02-04 18:39:20 +01:00
Günther Deschner
df5e231a6f s3-eventlog: add evlog_evt_entry_to_tdb_entry.
Guenther
2009-02-04 18:39:20 +01:00
Volker Lendecke
9b3cce096c Fix a valgrind error: rpc_bind talloc_move()s the auth struct 2009-02-04 18:11:46 +01:00
Volker Lendecke
8eb562a81d Ensure null termination of the password in mymachinepw, remove a debug 2009-02-04 18:11:46 +01:00