1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

53534 Commits

Author SHA1 Message Date
Jelmer Vernooij
06864b4469 tevent: Don't install headers, since we don't install a shared lib
either (from Samba).
2009-05-16 01:54:10 +02:00
Günther Deschner
dccecdf338 s3-privileges: add privilege_delete_account().
Guenther
2009-05-16 01:27:51 +02:00
Günther Deschner
118f343b05 s3-privileges: remove trailing whitespace from privileges codes.
Guenther
2009-05-16 01:27:51 +02:00
Jeremy Allison
0a8bb37fa2 Oops. Forgot to delete now unused local from the previous patch.
Jeremy.
2009-05-15 16:16:47 -07:00
Ole Hansen
ad7dca471a Fix bug #6359 - smbclient -L does not list workgroup for hosts with both IPv4 and IPv6 addresses 2009-05-15 16:13:59 -07:00
Michael Adam
f5c96e54c6 s3:build: fix linking with --disable-shared-libs
Michael
2009-05-15 23:46:02 +02:00
Jeremy Allison
8b4e491ab0 Ensure users with SeAddUser privs get full access to
groups/aliases when opening.
Jeremy.
2009-05-15 14:20:00 -07:00
Jeremy Allison
5adb3b8841 Add extra abilities for a user with SeAddUsers, so they
can manipulate groups and aliases.
Jeremy.
2009-05-15 13:36:43 -07:00
Jeremy Allison
2b784738d7 DeleteUser doesn't need the priv checks, this is done at OpenUser time.
Jeremy.
2009-05-15 13:13:01 -07:00
Günther Deschner
4027fde97c s3-samr: Fix samr access checks in _samr_RemoveMemberFromForeignDomain().
Guenther
2009-05-15 21:18:23 +02:00
Volker Lendecke
7d85bf2a42 Fix bug 6361: Make --rcfile work in smbget
Thanks to j scott <gl@arlut.utexas.edu> for reporting!
2009-05-15 21:05:31 +02:00
Jeff Layton
b0c399ce60 mount.cifs: directly include sys/stat.h in mtab.c
This file is mysteriously getting included when built via the makefile,
but when you try to build mtab.o by hand it fails to build. Directly
include it to remove any ambiguity.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2009-05-15 14:31:28 -04:00
Günther Deschner
d800ee5033 s3-netdomjoin-gui: allow to switch between workgroups/domains with the same name.
Guenther
2009-05-15 19:51:03 +02:00
Günther Deschner
8c74d31962 s3-netdomjoin-gui: cosmetic fix for empty hostnames.
Guenther
2009-05-15 19:51:02 +02:00
Günther Deschner
473bf41d20 s3-netdomjoin-gui: only gray out labels when not root and not connecting to
remote machines.

Guenther
2009-05-15 19:51:02 +02:00
Michael Adam
c085c8311d s3:swat: hide "config backend" from swat
Michael
2009-05-15 18:01:40 +02:00
Michael Adam
00297b74ac s3:param: prevent includes from being dumped in dump_*() functions.
This fixes bug #4271: testparm should not print includes.

Michael
2009-05-15 17:00:22 +02:00
Michael Adam
a62e72b825 s3:build: add install-dbwrap_tool target
Michael
2009-05-15 17:00:22 +02:00
Michael Adam
b4131ecf81 s3:build dbwrap_tool with make everything
Michael
2009-05-15 17:00:21 +02:00
Jelmer Vernooij
88876ac571 errormap: Remove wbc -> NTSTATUS error map for now. It is not used.
This was breaking the Samba 4 installation since it added dependencies
on header files we weren't installing.

Confirmed with Kai.
2009-05-15 16:05:37 +02:00
Günther Deschner
cd421ff2fc s3-samr: Fix samr access checks in _samr_SetUserInfo().
Guenther
2009-05-15 15:38:22 +02:00
Günther Deschner
7dcf5d4bcf s3-samr: Fix samr access checks in _samr_QueryUserInfo().
Guenther
2009-05-15 15:38:13 +02:00
Günther Deschner
59192bf03f s3-samr: in _samr_QueryUserInfo() make sure to not return any info in error case.
Guenther
2009-05-15 15:37:50 +02:00
Günther Deschner
0e9f03c727 s3-samr: Fix samr access checks in _samr_SetDomainInfo().
Guenther
2009-05-15 13:55:39 +02:00
Günther Deschner
140d4cabca s3-samr: Fix samr access checks in _samr_QueryDomainInfo().
Guenther
2009-05-15 13:55:32 +02:00
Günther Deschner
7d653ae277 s3-samr: use normal integer in r->in.level switch statements.
Guenther
2009-05-15 13:55:15 +02:00
Michael Adam
ad240e1998 s3:build: rename OBJ collection for dbwrap_tool consistently
Michael
2009-05-15 13:07:48 +02:00
Michael Adam
6d82b59755 s3:first cut at dbwrap_tool - a tdb tool that is CTDB-aware.
This tool (in contrast to tdbtool) reads Samba's configuration
and if clustering = yes, it talks to CTDB instead of accessing
the TDB data bases directly. This is done by simply using
the dbwrap mechanim, just like the Samba daemons.

This first version can read and write int32 and uint32 values
and delete records from a (c)tdb database.
More operations will follow.

This tool can already be useful in CTDB environments, e.g. when
"net idmap restore" fails to set the USER and GROUP HWM keys,
because the methods are deliberately not implemented in
idmap_tdb2.c. You can manually set the high water marks
with
"dbwrap_tool store idmap_tdb2.tdb 'USER HWM' int32 12345"
and
"dbwrap_tool store idmap_tdb2.tdb 'GROUP HWM' int32 67890"

Michael
2009-05-15 11:46:53 +02:00
Jeremy Allison
4dce2dfb5b Turn on SHORTNAME-TEST in torture.
Jeremy.
2009-05-14 16:49:34 -07:00
Jeremy Allison
ff9375a04c Make us pass SHORTNAME-TEST.
Jeremy
2009-05-14 16:49:18 -07:00
Jeremy Allison
f61959e87a Make error message clearer on fail.
Jeremy.
2009-05-14 16:30:11 -07:00
Jeremy Allison
41aa7d790a Add a test showing what ascii values cause an NTFS volume to
create a mangled name. We don't pass this yet, but it's not
run by default.
Jeremy.
2009-05-14 16:03:31 -07:00
Jeremy Allison
a84028590f Remove one use of mangle_is_8_3(), not needed.
Jeremy.
2009-05-14 16:03:18 -07:00
Jeremy Allison
57e03b6a1d Fix the core of the SAMR access functions. This passes make test, but
usrmgr fails against it. The core of this patch is to move all the
access mask setup into the _samr_OpenXXX functions, and then have
each specific function check the attached access_mask against the
required bits. We can then go through the MS-SAMR doc and match
things up. Signed off by Guenther, and writespace cleanup removal
by Volker.
Jeremy.
2009-05-14 15:11:50 -07:00
Steve French
d35a3952f0 Maximum password length check too short in mount.cifs
Windows allows up to 127 byte passwords, and we using a 64 byte limit
    in most places and a 16 byte limit when using the "pass=" mount option

    Acked-by: Jeff Layton <jlayton@redhat.com>
    Signed-off-by: Steve French <sfrench@us.ibm.com>
2009-05-14 15:04:27 -05:00
Andrew Bartlett
d73eab2b33 Add extensive tests for str_list function behaviour 2009-05-15 01:50:06 +10:00
Volker Lendecke
074890b39e Remove two unused variables 2009-05-14 15:40:57 +02:00
Günther Deschner
8fdb499497 s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
80f0d819fb s3-netapi: add example code for NetShutdownInit and NetShutdownAbort.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
1ddc4829ae s3-netapi: add NetShutdownInit and NetShutdownAbort to public API.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
8fd3c8902c s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
3a2c748cf4 s3-build: re-run make samba3-idl.
Guenther
2009-05-14 14:18:26 +02:00
Günther Deschner
e272acf484 s3-netapi: add NetShutdownInit and NetShutdownAbort.
I know, they don't exist as such calls on windows but having them in
libnetapi.so would be very handy.

Guenther
2009-05-14 14:18:26 +02:00
Volker Lendecke
0a5d99ae7d Fix a type-punned warning 2009-05-14 12:15:10 +02:00
Volker Lendecke
9c23115cb8 Add some const 2009-05-14 12:15:10 +02:00
Volker Lendecke
979f13b19e Fix some nonempty blank lines 2009-05-14 12:14:57 +02:00
Andrew Bartlett
524a79b735 s4:nbtd Use str_list_make_single() to turn iname->wins_server into a list 2009-05-14 05:56:59 +10:00
Andrew Bartlett
aa5cee2288 s4:libnet Use str_list_make_single() in resolv code 2009-05-14 05:56:59 +10:00
Andrew Bartlett
6df4aece1d dsdb:schema Use str_list_make_empty() to create an empty list 2009-05-14 05:56:59 +10:00
Andrew Bartlett
5182b10b7a s4:torture Use str_list_make_single where appropriate 2009-05-14 05:56:59 +10:00