1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

55236 Commits

Author SHA1 Message Date
Andrew Tridgell
0ae3912f32 print server log on stderr as well as to log file
I think we are missing some important messages from the server during
'make test' because we don't show the log file contents during
runs. This patch uses tee to put the log messages to stderr so we can
see any server messages associated with the test that caused them.
2009-08-12 14:38:55 +10:00
Andrew Bartlett
7bc566a882 s4:provision Allow provision-backend to not run slapd for 'make test'
As the version of OpenLDAP required for Samba4 is fairly new, we don't
want to make it a requirement before this python code is run in 'make
test'.

As such, skip over the actual starting of slapd, but check the rest
runs alright (which still validates syntax and other modules).

Andrew Bartlett
2009-08-12 11:09:50 +10:00
Andrew Bartlett
69fa901bca s4:selftest Don't start the slapd for the provision, only for the run
The provision-backend script now starts slapd for us

Andrew Bartlett
2009-08-12 10:01:49 +10:00
Andrew Bartlett
4921a5853b s4:selftest Make OpenLDAP guess it's own modules from now on
In the releases of OpenLDAP we require (2.4.17) it can guess this much
itself, so no need for us to do it.

Andrew Bartlett
2009-08-12 10:01:48 +10:00
Andrew Bartlett
6dc41bf27c s4:provision Make the --ol-slapd paramter take the full path to slapd 2009-08-12 10:01:48 +10:00
Andrew Bartlett
f0decfe5c2 s4:provision Assume the OpenLDAP backend can find it's own modules 2009-08-12 10:01:48 +10:00
Oliver Liebel
28bcdf5266 s4:provision Rework and further automate setup of OpenLDAP backend
heres the summary of all changes/extensions:

- Andrew Bartlett's patch to generate indext
- Howard Chu's idea to use nosync on the DB included, but made optional

- slaptest-path is not needed any more (slapd -Ttest is used instead)
and is therefore removed. slapd-path is now recommended when
openldap-backend is chosen.
its also used for olc-conversion

- slapd-detection is now always done by ldapsearch (ldb module),
looking anonymous for objectClass: OpenLDAProotDSE via our ldapi_uri.

- if ldapsearch was not successfull, (no slapd listening on our socket)
slapd is
started via special generated slapdcommand_prov  (ldapi_uri only)

- slapd-"provision-process" startup is done via pythons subprocess.

- the slapd-provision-pid is stored under paths.ldapdir/slapd_provision_pid.

- after provision-backend is finished:
--- slapd.pid is compared with our stored slapd_provision_pid.
if the are unique, slapd.pid will be read out, and the
slapd "provison"-process will be shut down.
--- proper slapd-shutdown is verified again with ldb-search -> ldapi_uri
-> rootDSE.
--- if the pids are different or one of the pid-files is missing, slapd
will not be shut down,
instead an error message is displayed to locate slapd manually
--- extended help-messages (relevant to slapd) are always displayed,
e.g. the commandline with which slapd has to be started when everythings
finished
(slapd-commandline is stored under paths.ldapdir/slapd_command_file.txt))

- upgraded the content of the mini-howto (howto-ol-backend-s4.txt)
2009-08-12 10:01:48 +10:00
Michael Adam
a038f1e05b s3:smbcacls: forbid change of debug level from config file
Michael
2009-08-12 00:34:33 +02:00
Michael Adam
aa07baa851 s3: refomat definitions of some generic access rights for better readability
Michael
2009-08-12 00:34:33 +02:00
Stefan Metzmacher
303c3b363b selftest: configure "ncalrpc dir" for the client
Some torture tests will need this soon.

metze
2009-08-11 14:58:00 +02:00
Stefan Metzmacher
76d893b76e selftest: fix typo lock => lockdir
metze
2009-08-11 14:58:00 +02:00
Stefan Metzmacher
1e1445bc76 s3:winbindd: raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.
metze
2009-08-11 13:53:33 +02:00
Andrew Bartlett
e13c14e7e4 s4:torture Add test for the NTP signd server
This is used by at patch to the NTP project to supply authenticated
time as required by MS-SNTP. (ie, to keep windows clients in time sync
in the domain)

Andrew Bartlett
2009-08-11 18:22:12 +10:00
Kai Blin
40017a2143 i18n: Update s3 net German translation. 2009-08-11 09:34:25 +02:00
Kai Blin
4f0d93531f s3 net: i18n support for net utility functions 2009-08-11 09:34:25 +02:00
Kai Blin
84a93491b8 s3 net: i18n support for net usershare 2009-08-11 09:34:24 +02:00
Kai Blin
2388b9039d s3 net: i18n support for net user 2009-08-11 09:34:24 +02:00
Kai Blin
a8c8432247 s3 net: i18n support for net time 2009-08-11 09:34:24 +02:00
Kai Blin
5810f7f094 s3 net: i18n support for net status 2009-08-11 09:34:24 +02:00
Kai Blin
7e4bd16c70 s3 net: i18n support for net share 2009-08-11 09:34:24 +02:00
Kai Blin
a0eb906f7e s3 net: i18n support for net sam 2009-08-11 09:34:24 +02:00
Kai Blin
3eeb988248 s3 net: i18n support for net rpc shell 2009-08-11 09:34:24 +02:00
Kai Blin
d8af037aab s3 net: i18n support for net rpc service 2009-08-11 09:34:23 +02:00
Kai Blin
77b96cc0bf s3 net: i18n support for net rpc samsync 2009-08-11 09:34:23 +02:00
Jeremy Allison
7b9542ba34 Ensure the fsp->fsp_name stat_ex struct is always
up to date after the open.
Jeremy.
2009-08-10 16:39:13 -07:00
Jeremy Allison
c9dca82ed7 Refactor the use of create_time and change time to go
through functions. Will aid in making us pass RAW-SETFILEINFO.
Jeremy.
2009-08-10 15:07:53 -07:00
Kai Blin
303e49b2f1 s3 net: i18n support for net rpc rights 2009-08-10 19:41:03 +02:00
Kai Blin
e2433b86d2 s3 net: i18n support net rpc registry 2009-08-10 19:40:54 +02:00
Kai Blin
0ef723a682 s3 net: i18n support for net rpc printer 2009-08-10 19:40:43 +02:00
Kai Blin
ef04e4538c s3 net: i18n support for net rpc join 2009-08-10 19:40:32 +02:00
Günther Deschner
8e5beb738c s3-spoolss: remove device mode defines from nt_printing.h.
Guenther
2009-08-10 11:32:26 +02:00
Günther Deschner
dc9b4cf001 s3: re-run make samba3-idl.
Guenther
2009-08-10 11:32:26 +02:00
Günther Deschner
559dd0d304 spoolss: fill in more details of the spoolss_DeviceMode.
Guenther
2009-08-10 11:32:26 +02:00
Volker Lendecke
1de9805fa3 Implement db_rbt_traverse 2009-08-08 13:44:31 +02:00
Volker Lendecke
e8088e16f8 Make wbinfo also print the members when querying a group 2009-08-08 13:44:31 +02:00
Matt Kraai
e1a95e7961 libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNX 2009-08-08 11:18:29 +02:00
Stefan Metzmacher
02c5f22ec8 s3:smbd: convert '\\' into '/' in SMB2 Create
metze
2009-08-08 10:48:39 +02:00
Stefan Metzmacher
9aa1d25907 s3:smbd: rename conn => sconn for smbd_server_connection structs
This should avoid confusion between smbd_server_connection
and connection_struct variables.

metze
2009-08-08 10:48:39 +02:00
Alexander Bokovoy
8eac189629 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-08-08 08:07:24 +03:00
Alexander Bokovoy
217e3086c7 Pass absolute file paths to Inkscape when transforming .svg files
Some recent versions of Inkscape (0.47 or around) have bug when export file name
is treated as relative against the directory of original .svg if it wasn't specified
as an absolute path. Fix it by always using absolute paths during conversion.
2009-08-08 08:02:52 +03:00
Jeremy Allison
d296c774c5 Move the checks for null timestamps down below the VFS_NTIMES
layer (as it's done in onefs). This simplifies greatly the
code in smb_set_file_time() w.r.t. changenotify messages.
Jeremy.
2009-08-07 12:38:31 -07:00
Jeremy Allison
ea6819ae75 Correctly send out notify messages for timestamp changes.
"change time" has no notify message, so don't send anything
out when we change it. Use FILE_NOTIFY_CHANGE_CREATION correctly
when changing the create time.
Jeremy.
2009-08-07 10:19:20 -07:00
Matthias Dieter Wallnöfer
aa6dc21fa3 s4: Add a new script for setting password properties for a domain in a easier way 2009-08-07 17:21:58 +02:00
Stefan Metzmacher
aef96af916 s4:libcli/smb2: move SMB2_GETINFO_* flags into smb2_constants.h
metze
2009-08-07 14:56:23 +02:00
Stefan Metzmacher
acbb9da530 s4:libcli/smb2: remove unused and redundant SMB2 security flags
metze
2009-08-07 14:56:23 +02:00
Stefan Metzmacher
c2c4d489b6 s4:libcli: move SMB2 Find constants to smb2_constants.h
metze
2009-08-07 14:56:22 +02:00
Stefan Metzmacher
21d6f276fb s4:libcli/raw: we don't need to include "smb.h" explicit
metze
2009-08-07 14:56:22 +02:00
Stefan Metzmacher
93ec5d27e4 s4:libcli/raw: also include smb2_constants.h into interfaces.h
metze
2009-08-07 14:56:21 +02:00
Stefan Metzmacher
50f54250f4 s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry()
So that we can reuse it for SMB2 Find.

metze
2009-08-07 14:18:18 +02:00
Stefan Metzmacher
59c3f5e3ca s3:smbd: move dptr globals into struct smbd_server_connection
metze
2009-08-07 14:18:17 +02:00