summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-06-12s3: Add smb_filename utility functions and fix a bug in copy_smb_filenameTim Prouty2-5/+94
2009-06-12Check for error in transfer_file return also.Jeremy Allison1-1/+7
Jeremy.
2009-06-12Fix bug 6440Volker Lendecke1-11/+19
Don't ignore the close error of the output file in check_magic()
2009-06-12Simplify close_normal_file()Volker Lendecke1-22/+21
2009-06-12Activate tldap tracing in pdb_adsVolker Lendecke1-0/+34
2009-06-12Add basic tracing of tldap messagesVolker Lendecke1-0/+10
2009-06-12Add debugging facility to tldap, analogous to teventVolker Lendecke2-0/+47
2009-06-12s3: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger3-2/+3
There are error paths in S3 where va_end() is not properly called after va_start() or va_copy() have been called. These issues were noted while performing an inspection for S4 bug #6129. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
2009-06-11Fix bug #6297 - owner of sticky directory cannot delete files created by others.Jeremy Allison1-2/+13
The reason we couldn't delete was we were erroring out early if requestor was not the owner of the file we wanted to delete, instead of checking if the requestor owned the directory as well. If either of these is true, we must go on and check the ACL. Karolin, this is a must for 3.4.0 and also 3.3.next. I'll update the bug report with patches for 3.4.0 and 3.3.next and ask vl to review. Jeremy.
2009-06-11s3 passdb ads: add missing characterTim Prouty1-1/+1
2009-06-11s3: Prepare the rename path for passing smb_filename to SMB_VFS_CREATE_FILETim Prouty1-106/+133
2009-06-11s3: Prepare the do_unlink path for passing smb_filname to SMB_VFS_CREATE_FILETim Prouty1-72/+77
2009-06-11s3: refactor utility function to handle splitting the directory from the maskTim Prouty1-11/+35
2009-06-11Fix Samba 3 selftest to use new selftest formatting functions.Jelmer Vernooij1-2/+5
2009-06-11Implement pdb_enum_alias_membershipsVolker Lendecke1-3/+88
2009-06-11Fix build with external talloc.Jelmer Vernooij2-28/+31
2009-06-10Implement pdb_ads_set_aliasinfoVolker Lendecke1-1/+68
2009-06-10pdb_default_aliasinfo is just fine for pdb_ads right nowVolker Lendecke1-8/+1
2009-06-10Implement pdb_ads_lookup_ridsVolker Lendecke1-3/+69
2009-06-10Fix a segfault in pdb_ads_delete_user()Volker Lendecke1-3/+11
If a user comes from the passdb cache, priv is NULL
2009-06-10s3: Prepare the first set of SMB_VFS_CREATE_FILE callers to take an ↵Tim Prouty6-214/+333
smb_filename struct Some of the callers required minimal changes, while others (copy_internals) required significant changes. The task is simplified a little bit because we are able to do operations and checks on the base_name when a stream isn't used. This patch should cause no functional changes. Volker, Jeremy: Please check
2009-06-10s3: Add utility function for copying an smb_filename structTim Prouty2-0/+42
2009-06-10s3: Remove the now unused CFF_DOS_PATH flagTim Prouty1-5/+0
All paths are now unix paths, making this flag useless. This flags argument is now unused and can be safely removed.
2009-06-10s3: Remove unix_convert handling from createfile implementationsTim Prouty2-59/+8
2009-06-10s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert firstTim Prouty5-149/+256
This step is a requirement to change SMB_VFS_CREATEFILE to take an smb_filename struct.
2009-06-10s3: Remove extraneous calls to unix_convertTim Prouty1-6/+0
Not only are these unnecessary in spirit because unlink_internals calls unix_convert, but in practice the return value is simply being ignored right now.
2009-06-10s3: Remove unused stat structs being passed to SMB_VFS_CREATE_FILETim Prouty2-8/+2
2009-06-10s3-libwbclient: fix unresolved symbols in libwbclient.Günther Deschner1-1/+5
Kai, please check. Guenther
2009-06-10lib-util: move set_blocking() call into own file.Günther Deschner1-1/+2
Guenther
2009-06-10Make ctemp async. Fix the test to pass against W2K3.Jeremy Allison4-42/+150
Jeremy.
2009-06-10s3-build: Fix make test_shlibs and test_nss_modules.Günther Deschner1-2/+2
Guenther
2009-06-09If there are no mods, don't bother the ldap serverVolker Lendecke1-0/+5
2009-06-09Some more fields in pdb_ads_init_ads_from_sam()Volker Lendecke1-0/+20
2009-06-09Do not pull samAccountName twiceVolker Lendecke1-7/+0
2009-06-09s3:smbd: only check the next_status for related requestsStefan Metzmacher1-11/+12
metze
2009-06-09s3:smbd: response with the same SMB2 flags as given by the clientStefan Metzmacher1-1/+4
...but also add the response flag. metze
2009-06-09s3:smbd: only pass the chained file handle for related compounded SMB2 requestsStefan Metzmacher1-0/+4
metze
2009-06-09s3:smbd: make sure we pad compounded SMB2 responses to 8 bytesStefan Metzmacher1-2/+47
metze
2009-06-09s3:smbd: skip file handle checks for SMB2 compounded requestsStefan Metzmacher5-6/+16
metze
2009-06-09s3:smbd: more validation of the incoming SMB2 requestsStefan Metzmacher2-4/+96
metze
2009-06-09s3:smbd: for now ignore all non NBT Session Message requests for SMB2Stefan Metzmacher1-0/+9
metze
2009-06-09s3:smbd: don't include 1 byte padding for the dynamic buffer of SMB2 responsesStefan Metzmacher1-21/+9
It seems that Windows 2008 and Windows 7 doesn't do this anymore. metze
2009-06-09net: Only use the in memory ccache when not already using a kerberos ticket ↵Kai Blin1-1/+2
in net ads
2009-06-09s3-net: fix "net ads testjoin".Günther Deschner1-0/+1
This always needs to use machine account credentials. Kai, please check. Guenther
2009-06-09No need to free twice -- thanks gd :-)Volker Lendecke1-1/+0
2009-06-09Implement pdb_ads_[add|del]_groupmemVolker Lendecke1-11/+69
2009-06-09Make "net sam [add|del]mem" work for domain groupsVolker Lendecke1-0/+24
2009-06-09Implement pdb_ads_delete_dom_groupVolker Lendecke1-1/+47
2009-06-09Implement "net sam deletedomaingroup"Volker Lendecke1-0/+53
2009-06-08Replace the "ipv4" specific strings in libcli/cldap/cldap.c with "ip". CLDAP canJeremy Allison1-15/+6
run over IPv4/IPv6, even though some of the netlogon messages are IPv4 specific. Fix the new ads_cldap_netlogon() to be IPv6/IPv4 agnostic. This compiles but I don't have a good test env. for this (although as the previous code was *completely* broken over IPv6 this will expose previously hidden bugs if it's broken :-). Jeremy.