summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-10s3-spoolss: remove device mode defines from nt_printing.h.Günther Deschner2-122/+17
Guenther
2009-08-10s3: re-run make samba3-idl.Günther Deschner3-56/+959
Guenther
2009-08-10spoolss: fill in more details of the spoolss_DeviceMode.Günther Deschner1-21/+210
Guenther
2009-08-08Implement db_rbt_traverseVolker Lendecke1-4/+33
2009-08-08Make wbinfo also print the members when querying a groupVolker Lendecke1-2/+18
2009-08-08libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNXMatt Kraai1-1/+1
2009-08-08s3:smbd: convert '\\' into '/' in SMB2 CreateStefan Metzmacher1-0/+8
metze
2009-08-08s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher15-118/+118
This should avoid confusion between smbd_server_connection and connection_struct variables. metze
2009-08-08Merge branch 'master' of ssh://git.samba.org/data/git/sambaAlexander Bokovoy179-33613/+19196
2009-08-08Pass absolute file paths to Inkscape when transforming .svg filesAlexander Bokovoy1-2/+2
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-07Move the checks for null timestamps down below the VFS_NTIMESJeremy Allison2-30/+18
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-07Correctly send out notify messages for timestamp changes.Jeremy Allison1-5/+3
"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-07s4: Add a new script for setting password properties for a domain in a ↵Matthias Dieter Wallnöfer2-1/+203
easier way
2009-08-07s4:libcli/smb2: move SMB2_GETINFO_* flags into smb2_constants.hStefan Metzmacher2-6/+6
metze
2009-08-07s4:libcli/smb2: remove unused and redundant SMB2 security flagsStefan Metzmacher1-6/+0
metze
2009-08-07s4:libcli: move SMB2 Find constants to smb2_constants.hStefan Metzmacher2-16/+16
metze
2009-08-07s4:libcli/raw: we don't need to include "smb.h" explicitStefan Metzmacher4-4/+0
metze
2009-08-07s4:libcli/raw: also include smb2_constants.h into interfaces.hStefan Metzmacher1-1/+2
metze
2009-08-07s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry()Stefan Metzmacher1-443/+482
So that we can reuse it for SMB2 Find. metze
2009-08-07s3:smbd: move dptr globals into struct smbd_server_connectionStefan Metzmacher8-97/+148
metze
2009-08-07s3:smbd: remove dirptr and dirpath from connection_structStefan Metzmacher7-51/+47
They're both only used in the context of a function, so we can make them stack variables. metze
2009-08-07s3:smbd: implement get_lanman2_dir_entry() on top of smbd_dirptr_get_entry()Stefan Metzmacher1-229/+215
metze
2009-08-07s3:smbd: let get_dir_entry() use smbd_dirptr_get_entry()Stefan Metzmacher1-139/+89
metze
2009-08-07s3:smbd: add generic smbd_dirptr_get_entry()Stefan Metzmacher2-0/+163
metze
2009-08-07s3:smbd: conn_free_internal() can be static nowStefan Metzmacher6-25/+24
metze
2009-08-07s3:smbd: add a smbd_server_connection pointer to connection_structStefan Metzmacher7-35/+38
This can be NULL for faked connection structs used in the rpc server or printing code. metze
2009-08-07Fix some nonempty blank linesVolker Lendecke6-37/+36
2009-08-07pidl: parse idl 'pipe' typedefs, but print out a not supported message for nowStefan Metzmacher3-871/+950
metze
2009-08-07pidl: fix formatting in expr.ypStefan Metzmacher2-132/+186
metze
2009-08-07pidl: fix formatting in idl.ypStefan Metzmacher2-698/+890
metze
2009-08-07librpc: fix callers after epmapper.idl changesStefan Metzmacher1-9/+9
metze
2009-08-07librpc: rerun 'make idl' after epmapper.idl changesStefan Metzmacher3-18/+18
metze
2009-08-07epmapper.idl: avoid usage of 'pipe', this is a reserved word in IDLStefan Metzmacher1-4/+4
We now use 'named_pipe' instead. metze
2009-08-07s3:smbd: don't ignore check_descend in get_dir_entry()Stefan Metzmacher1-0/+6
metze
2009-08-07s3-wkssvcs: fix check for BUILTIN\Administrators membership in ↵Günther Deschner1-2/+2
wkssvc_Netr{Join,Unjoin}Domain2. Guenther
2009-08-07s3 net: i18n support for net rpc auditKai Blin2-57/+61
2009-08-07s3 net: net i18n in it's own moduleKai Blin2-0/+4880
2009-08-07Revert "s3: Update i18n files"Kai Blin9-28698/+1170
This reverts commit 57b5269038624b70e117025af9b977e0addcdc8e, 6e044a22cf232798efbd40a2b55fd9556483d403 and c9803ee26ad1b2f92f2ce7653ce16ac84d0b3eb6. The correct location for net .po files is in locale/net/
2009-08-07s3 net: i18n support for net rpcKai Blin2-561/+618
2009-08-07s3 net: i18n support for net registryKai Blin3-77/+82
2009-08-07s3 net: i18n support for net rapKai Blin2-226/+229
2009-08-07fixed another ambiguous talloc callAndrew Tridgell1-3/+3
During the creation of the 3 RPC pipes in winbind we try to steal the RPC binding structure to be a child of the pipe once the pipe is established. This fails with a talloc warning as the rpc connection code already holds a reference to the binding. The fix is to use talloc_reparent() instead.
2009-08-07ensure that child tasks die when the parent diesAndrew Tridgell1-0/+24
Previously we relied on process groups and SIGTERM to ensure that child tasks died in the standard process model when the parent task died. This doesn't work when the server is run in interactive mode, as in that case we don't call become_daemon() and don't get a separate process group. The fix is to have a pipe held open by the parent server process, and inherited by child tasks. If the parent exits then the write side of the pipe is implicitly closed, which causes an event in the child tasks that causes them to exit
2009-08-07prime the sam ldb schema in the parent samba processAndrew Tridgell1-0/+18
While testing the use of the standard process model with 'make test' I found that testing was much slower (by several times) with the standard model than with the single model. The primary problem was that each SMB connection would open a new sam ldb context, and all of those would reload the full AD schema. The fix is to pre-open the SAM during server startup, before any child processes are forked. This sets up the global schema context which is inherited by all connections. The standard model is still slower at make test than the single model, but not by nearly as much. I am working on further reducing the gap.
2009-08-07use talloc with the global schema consistentlyAndrew Tridgell1-1/+2
Before this change, the first opener of the sam ldb context would become the owner of the global schema, then the autofree context got a reference to the schema. Any subsequent opens of the sam ldb also got a reference. This meant that the talloc hierarchy was inconsistent between the first sam ldb open and subsequent opens. With this change the autofree context becomes the owner of the global schema, and all ldb contexts get a reference.
2009-08-07fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell9-20/+11
These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
2009-08-08s3: add a test to test libsmbclientBo Yang2-2/+98
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-08s3: Fix nss info substitutionBo Yang1-3/+3
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-07make sure we never look past the end of either string in ldb_comparison_fold()Andrew Tridgell1-26/+44
This fixes a bug in the samba3sam test with the python libraries as noticed by abartlet
2009-08-07s4:ldb Make error message in rnd_name more usefulAndrew Bartlett1-3/+9