summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner17-42/+40
Guenther
2010-06-03s3-security: use shared SECINFO_SACL define.Günther Deschner8-14/+13
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner13-29/+28
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner13-29/+28
Guenther
2010-06-03s3-security: remove some more shared secdesc defines.Günther Deschner2-13/+3
Guenther
2010-06-02Ensure we remove SMB2 cancel requests from the active queueJeremy Allison1-0/+1
now we don't remove them in the talloc destructor. Jeremy.
2010-06-02Fix a crash bug found by Ira Cooper <samba@ira.wakeful.net>.Jeremy Allison1-4/+5
A create call comes in, goes async (on the oplock request). At a later time (just before a cancel request is received) it completes, and goes through smbd_smb2_request_reply() to send the reply to the create call. However, the output socket queue is full, so when tstream_writev_queue_send() is called from smbd_smb2_request_reply(), the smb2req stays on the "being processed" queue on sconn->smb2.requests, as only when tstream_writev_queue_send() completes is smbd_smb2_request_writev_done() get called, which will TALLOC_FREE the smb2req (and thus take if off the queue). The cancel comes in, gets processed and looks through the requests on the queue, and BANG - hits the smb2req that has already been processed and is outgoing.... Remove the request from the queue once tstream_writev_queue_send() is called and not in the talloc destructor function. Jeremy.
2010-06-03s3: remove unused librpc/ndr/sid.c.Günther Deschner7-63/+5
Guenther
2010-06-02Move to using a DATA_BLOB inside of struct aio_extra, not a char *.Jeremy Allison1-16/+16
Will make using AIO in SMB2 easier. Jeremy.
2010-06-02s3-selftest: Fix blackbox smbclient s3 tests during make selftest.Günther Deschner4-8/+12
Guenther
2010-06-02s3: Allow previous password to be stored and use it to check ticketsMatthieu Patou4-41/+137
This patch is to fix bug 7099. It stores the current password in the previous password key when the password is changed. It also check the user ticket against previous password. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-02s3: Add vfs_linux_xfs_sgidVolker Lendecke3-0/+112
http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that still exists: Under certain circumstances the SGID bit is not inherited.
2010-06-02s3-waf: Fix up smbclient dependenciesKai Blin1-3/+2
2010-06-02s3-waf: Fixed dependencies of the the krbclient subsystem.Kai Blin1-0/+1
2010-06-02s3-waf: Fixed dependencies of the the avahi subsystem.Andreas Schneider1-0/+1
2010-06-02s4:ldb_msg_element_compare - fix typo in commentMatthias Dieter Wallnöfer1-1/+1
2010-06-02s4:lib/ldb/pyldb_util.c - add a cast to quiet a warningMatthias Dieter Wallnöfer1-1/+1
Jelmer, please fix if it isn't correct.
2010-06-01SMB2: Fix rename on Windows 7.Ira Cooper1-8/+0
This removes some code Jeremy (jra) suspected was bad. It turns out that the command window rename command will not work with the offending code in place. With it removed the bug is gone, and rename works.
2010-06-01Don't use sigev_value.sival_int to just store the mid, use ↵Jeremy Allison1-38/+26
sigev_value.sival_ptr to store the private data structure. This allows easier use from SMB2. Ensure aio is initialized before the aio_pending_size check else aio will never be used. Jeremy.
2010-06-01s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root.Günther Deschner1-5/+22
Guenther
2010-06-01s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.Holger Hetterich1-2/+5
In protocol v2, the name of the service should be sent instead of the path. Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-01s4-smbtorture: skip driverName and printerName DsSpooler tests for now.Günther Deschner1-2/+2
Guenther
2010-06-01s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3.Günther Deschner1-0/+37
Printjobs are extremely fragile beasts on paused virtual printers within make test. Very often the printq updater in the background is not fast enough, so subsequent tests don't get to the updated information. Something to remember and to work on later... Guenther
2010-06-01lib/replace: fix some c++ build warnings in testsuite.Günther Deschner1-4/+4
Guenther
2010-06-01s4: check the sacl and dacl pointers on the old sdAnatoliy Atanasov1-2/+2
2010-06-01s3-waf: Fix the buildKai Blin1-1/+2
2010-06-01s3: remove unused prototype for lp_idmap_domains().Michael Adam1-1/+0
2010-06-01s3-waf: Add check for dirent.d_off memberKai Blin1-0/+4
2010-06-01s3:winbindd: make sure we only call static_init_idmap onceStefan Metzmacher1-7/+18
metze Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01s3:winbind Ensure we always init idmap_passdb before we use itAndrew Bartlett1-0/+4
It seems that it is possible for idmap_init_passdb_domain() to be run before idmap_init_domain(), so ensure we run the static init functions in both. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01s3:idmap Use idmap.idl defined structures and constantsAndrew Bartlett1-24/+1
This allows these structures to be shared across all of Samba The additional name type ID_TYPE_BOTH is unused in source3 code at this time. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01s4-configure: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-06-01selftest: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-06-01s4-heimdal: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-06-01s4-cracknames: Fix typo in debug message.Karolin Seeger1-1/+1
Karolin
2010-06-01s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_infoAndrew Bartlett10-34/+34
2010-06-01s4:ntlmssp Use common code for ntlmssp_sign.cAndrew Bartlett4-526/+21
The common code does not have a mem_ctx on ntlmssp_check_packet() and ntlmssp_unseal_packet(). We do however need some internal working of the code exposed, so some structures are moved to ntlmssp_sign.h Andrew Bartlett
2010-06-01s4:ntlmssp Use the new common ntlmssp.hAndrew Bartlett1-117/+1
2010-06-01s4:ntlmssp Merge ntlmssp structures with version from source3/Andrew Bartlett2-74/+21
Use this as an excuse to get rid of ntlmssp_set_domain() etc, which don't do anything useful now that msrpc_parse() use talloc anyway. Andrew Bartlett
2010-06-01s3:param Put 'server_role' functions in another file.Andrew Bartlett4-86/+117
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01s3:param Add helper function to get at Gobals.iDomainMasterAndrew Bartlett2-0/+13
This is needed for a future split out of the server_role code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01s3-waf: Check for device major and minor macrosKai Blin1-0/+8
2010-06-01s3-waf: Add check for asm/types.hKai Blin1-0/+2
2010-05-31pyldb_util: Remove dependency on LIBPYTHON - it's already thereJelmer Vernooij1-2/+1
implicitly and not available in the standalone build.
2010-05-31s4:samldb LDB module - start on a sequential trigger implementationMatthias Dieter Wallnöfer1-10/+26
This is a start to allow the triggers to be called sequentially.
2010-05-31ldb:ldb_msg_add_steal_string - prevent also there the addition of strings ↵Matthias Dieter Wallnöfer1-0/+5
with length 0
2010-05-31s4:dsdb_load_udv_v1 - "uint32_t" counter type fits better than "unsigned int"Matthias Dieter Wallnöfer1-1/+1
2010-05-31s3-waf: Check if compiler supports LL suffixKai Blin1-0/+6
2010-05-31s3-waf: Check for broken nisplus include filesKai Blin1-0/+3
2010-05-31s3-smbd: remove unused sconn from token_contains_name().Günther Deschner1-1/+0
Guenther