summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-07-07s4:auth It is easier to copy the session key than get talloc right.Andrew Bartlett1-4/+3
The session keys as supplied already have a reference on them, so stealing them creates challenges. For 16 bytes, it is just easier to be consistant and copy them. Andrew Bartlett
2009-07-06s3: Update streaminfo implementations now that only base names are passed ↵Tim Prouty4-21/+20
through the vfs
2009-07-06s3 smb2: Fix unused variable warningTim Prouty1-1/+0
2009-07-06s3 audit: Fix a memory leakTim Prouty1-4/+4
2009-07-06s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty17-176/+238
2009-07-06s3 catia: Remove pointless VOPs from catiaTim Prouty1-84/+0
2009-07-06s3 sticky write time: Removed unused args and tighten up a function by ↵Tim Prouty4-11/+11
making an arg const
2009-07-06s3: Plumb smb_filename around SMB_VFS_CHFLAGSTim Prouty10-128/+117
SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name.
2009-07-06s3: Change some filename_convert to pass in NULL for char **fname argumentTim Prouty5-16/+13
2009-07-06s3: Add ability to pass NULL to filename_convert for the char *fnameTim Prouty1-7/+11
The goal is to eventually remove the need for the char **fname argument once all callers have standardized on smb_filename.
2009-07-06s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty25-381/+671
2009-07-06s3 audit: Remove some recently introduced memory leaks in the audit modulesTim Prouty2-12/+45
2009-07-06s3 audit: Remove the usesless static function declarations from the audit ↵Tim Prouty3-641/+308
modules
2009-07-06s3 onefs: Fix failure in POSIX smbtorture testTim Prouty1-2/+2
The return value of readlink was a bool instead of an int, which caused the length of the returned value to never be >1.
2009-07-06s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty22-325/+637
2009-07-06Fix some typos pointed out by Oota Toshiya.Jelmer Vernooij1-5/+1
2009-07-06RAW-LOCK: fix a compiler warning and make a global static constStefan Metzmacher1-3/+2
metze
2009-07-06RAW-LOCK: fix the run against w2k3, w2k8, win7rc and samba3/4Stefan Metzmacher2-35/+52
We now allow --target=w2k8. The strange thing is that w2k8 and win7rc only do half of the timeout that was given by the client. metze
2009-07-06SMB2-NOTIFY: windows7 uses a different maximum buffer sizeStefan Metzmacher1-12/+21
metze
2009-07-06s4:heimdal: readd heimdal/lib/asn1/asn1parse.y which was parse.y before the ↵Stefan Metzmacher10-177/+1187
last import Also commit the regenerated files for systems without yacc and lex. This fixes the build with automatic dependecies for me. metze
2009-07-06doc: clarify that mount.cifs never uses smb.confSuresh Jayaraman1-0/+8
For some users who are used to smbclient, it is not clear that mount.cifs never uses smb.conf for configuring client specific parameters. So, let's add this information to mount.cifs man page. Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
2009-07-06do not merge ACEs with different SMB_ACE4_INHERIT_ONLY_ACE flag, this leads ↵Christian Ambach1-0/+7
to wrong inheritance flags in the ACL e.g. (on GPFS) user:10000036:rwxc:allow (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED user:10000036:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED group:10000005:rwxc:allow (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED group:10000005:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED would be merged to user:10000036:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED group:10000005:rwxc:allow:FileInherit:DirInherit:InheritOnly (X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR (X)READ_NAMED (X)DELETE (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (X)WRITE_NAMED so the explicit right for the user on the parent directory will be gone (the InheritOnly flag only accounts to subdirectories) thus leaving the user without access to the directory itself Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2009-07-06s4:net Move net_vampire() to net_vampire.cAndrew Bartlett2-66/+68
2009-07-06s4:ldb Rework use of talloc and ldif objects in python wrapperAndrew Bartlett1-3/+18
The talloc hirarchy here was a bit odd - we would both steal the parsed ldif onto 'NULL', then reference it onto a python talloc wrapper. Now we just leave the reference, after we complete building the object. Andrew Bartlett
2009-07-06s4:ldb Fix talloc hirarchy in LDIF parsing codeAndrew Bartlett1-3/+3
The problem here was that some parts of the ldb_message were still attached to the ldb_ldif structure, and when only the message was taken (and the ldif free'ed to reclaim memory) we refereced free'ed memory. Andrew Bartlett
2009-07-05Use null_ndr_syntax_id instead of zeroing null_interface manuallyVolker Lendecke1-6/+2
2009-07-05Add const to init_rpc_hdr_baVolker Lendecke2-2/+2
2009-07-05Remove "typedef struct ndr_syntax_id RPC_IFACE;"Volker Lendecke5-26/+29
2009-07-05Introduce null_ndr_syntax_idVolker Lendecke2-0/+4
2009-07-05Make check_bind_req static to rpc_server/srv_pipe.cVolker Lendecke2-4/+2
2009-07-05Actually increase PASSDB_INTERFACE_VERSION to 18 :-)Volker Lendecke1-1/+1
2009-07-05Fix some nonempty blank linesVolker Lendecke1-78/+76
2009-07-05libreplace: update library search path variablesBjörn Jacke1-1/+4
2009-07-05s3:configure: honor CFLAGS in compile testsBjörn Jacke1-10/+10
When compilation is done for the architecture that's not the compiler's default, for example by setting CFLAGS to -m64, then compile tests might fail when they are done with the comiler's default arch. This should fix bugzilla #6162.
2009-07-04pdb_ads: For cached samu entries, priv is NULLVolker Lendecke1-75/+81
We have to recreate the priv entry on demand. This needs fixing in passdb... :-)
2009-07-04Add pdb_ads_get_domain_infoVolker Lendecke1-0/+53
2009-07-04Fix some warningsVolker Lendecke1-2/+3
2009-07-04pdb_ads: Use tldap_fetch_rootdse in pdb_ads_connectVolker Lendecke1-13/+12
2009-07-04pdb_ads: Fetch the domain GUIDVolker Lendecke1-1/+7
2009-07-04Add tldap_pull_guidVolker Lendecke2-0/+13
2009-07-04Handle LSA_POLICY_INFO_DNSVolker Lendecke1-0/+26
2009-07-04Implement QueryInfoPolicy2 similar to s4: Make it the same as QueryInfoPolicyVolker Lendecke1-3/+15
Don't reply to it for non-pdb-ads to keep up our old behaviour
2009-07-04Add pdb_get_domain_infoVolker Lendecke4-0/+32
2009-07-04Make pdb_ads return an additional flagVolker Lendecke2-1/+2
2009-07-04s3/s4:build: honor library path from environmentBjörn Jacke3-3/+3
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain important information. Some of the build farm machines for example have the python lib path in there - we can't run make test when we suddenly forget how to use python
2009-07-03tldap: Do not do a return before we got the search_resultVolker Lendecke1-1/+0
2009-07-03Fix two pointless staticsVolker Lendecke1-1/+1
2009-07-03For non-existent streams we have to return OBJECT_NAME_NOT_FOUNDVolker Lendecke2-2/+2
See the STREAMERROR s3 torture test. Jeremy, Tim, please check!
2009-07-03Test error codes on popular streamsVolker Lendecke1-0/+54
2009-07-03Attempt to fix the buildVolker Lendecke1-2/+2