summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-07-03s3:configure: fix syntax error in avahi configure testBjörn Jacke1-1/+1
2009-07-03Revert "[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we ↵Michael Adam1-1/+1
have it." This reverts commit 1d3dcd1e420104c23769b691d0b8b7958d5c58a7. This fixes Bug #6531 (Pid File creation.) Usually, I would extend is_default_dyn_XYZ() so that it returns true when dyn_XYZ has not been set yet or when its value is equal to the compiled in default value XZY. But this would have a change in effect in popt_common and torture.c: is_default_dyn_CONFIGFILE() is used there to check whether the config file should be overwritten by the contents of the environment variable SMB_CONF_PATH. Currently this is only done when set_dyn_CONFIGFILE() had _not_ previously been called at all, not even with the same value as the compiled in default. Michael
2009-07-03do not redefine _INT32Matt Kraai2-4/+8
2009-07-03s3:configure: define _LARGEFILE64_SOURCE on QNXMatt Kraai1-0/+4
2009-07-03s3:pam_smbpass: fix build error on some Linux distrosBjörn Jacke1-1/+1
This addresses bug #6459.
2009-07-02s3:smbd: add marshalling layer for SMB2 Lock supportStefan Metzmacher4-1/+232
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) supportStefan Metzmacher4-1/+265
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only)Stefan Metzmacher4-1/+217
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 SetInfo supportStefan Metzmacher4-1/+222
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 GetInfo supportStefan Metzmacher4-1/+261
metze
2009-07-02s3:smbd: add support for SMB2 NotifyStefan Metzmacher4-1/+378
metze
2009-07-02s3:smbd: make change_notify_reply() more generic and hide send_nt_replies() ↵Stefan Metzmacher3-17/+42
behind a callback This prepares change notify support for SMB2. metze
2009-07-02s3:smbd: simplify the notify code a bit and always reply via ↵Stefan Metzmacher3-35/+30
change_notify_reply() -> send_nt_replies() metze
2009-07-02s3:smbd: push nttrans and trans2 responses with no data to the clientStefan Metzmacher2-0/+16
For sync replies it's not a problem, as construct_reply() will send the response, but for async replies we would not send the reply to the client. Currently the notify code works arround this manually, so I assume we didn't have a bug here. But the next commits will simplify the notify code. metze
2009-07-02s3:smbd: restore the 3.0.x bahavior of send_nt_replies()Stefan Metzmacher1-0/+5
We should also set the error code, when we return no parameters or data. metze
2009-07-02s3:smbd: move global notify_changes_by_mid to smbd_server_connectionStefan Metzmacher3-7/+8
metze
2009-07-02s3:smbd: allow the offset to the path being 0 in SMB2 createStefan Metzmacher1-1/+3
metze
2009-07-02change talloc to 2.0.0Andrew Tridgell1-1/+1
This is needed to prevent samba3 and samba4 from using an ABI incompatible system version of talloc See ongoing discussion on the samba-technical mailing list
2009-07-02LDB_ERR_INVALID_DN_SYNTAX doesn't exist ...Andrew Tridgell1-1/+1
The correct name is ldb.ERR_INVALID_DN_SYNTAX
2009-07-01Ensure we don't use delayed writes on POSIX opened files.Jeremy Allison2-0/+15
Don't remove pending writetime changes if no time changes are sent in UNIX_BASIC infolevel. Jeremy
2009-07-01Fix bug #6520 time stamps - e.g. last mod time is not preserved when "unix ↵Jeremy Allison1-3/+31
extensions=yes" are set - and using latest cifs vfs client Cancel out any pending "sticky" writes or "last write" changes when doing a UNIX info level set. Jeremy.
2009-07-01s3:util: let parent_dirname() correctly return toplevel filenamesStefan Metzmacher1-1/+1
metze
2009-07-01s3:onefs_open: remove unused variable passed to parent_dirname()Stefan Metzmacher1-2/+1
metze
2009-07-01s3:smbd: remove unused variables passed to parent_dirname()Stefan Metzmacher2-5/+3
metze
2009-07-01s3:build: remove the libgpo objects upon "make clean"Michael Adam1-1/+2
Michael
2009-07-01s3:build: remove ../libcli/nbt/tools/nmblookup.o and friends in make cleanMichael Adam1-1/+1
Michael
2009-06-30Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.SATOH Fumiyasu2-15/+39
consumed_ucs is the number of bytes of the UCS2 path consumed not counting any terminating null. We need to convert back to unix charset and count again to get the number of bytes consumed from the incoming path.
2009-06-30s3-netlogon: remove unneeded fstrings from netlogon server.Günther Deschner1-22/+12
Guenther
2009-06-30umount.cifs: don't build it by defaultJeff Layton2-9/+47
Now that the sanity checks for mount.cifs default to matching the behavior of /bin/mount, then there is virtually no need for umount.cifs. The only exception is when someone enables the loose setuid behavior in mount.cifs. If an unprivileged user mounts a share that isn't in /etc/fstab, then /bin/mount won't allow that user to unmount it. In that situation, umount.cifs will be necessary to allow unmounting the share. Signed-off-by: Jeff Layton <jlayton@samba.org> Acked-by: Steve French <smfrench@us.ibm.com>
2009-06-30Fix bug #6431 - local groups from 3.0 setups no longer found.Volker Lendecke1-8/+8
Search for groups without group suffix, group suffix is only used for new entries.
2009-06-30s3-spoolss: Bug #6512. Fix support for enumerating user forms.Günther Deschner1-5/+5
Found while testing Xerox WorkCentre 133 PCL driver, now also tested with torture test. Guenther
2009-06-29s3:build: check for external liblua, link lua statically if using internal libMichael Adam2-14/+42
So liblua is treated the same way as libtalloc and libtdb. Michael
2009-06-29s3-pdb_tdb: give 'unknown_str' the proper name 'comment' and set comment in ↵Günther Deschner1-10/+15
passdb. pdb_{get,set}_comment were already existing in the API but were never used. Guenther
2009-06-29s3:pdb_ads: we need to make the fd for tldap/tsocket non-blockingStefan Metzmacher1-0/+2
metze
2009-06-29s3:fix build of old linux quota system and other unixes' quota implementationMichael Adam1-14/+14
By fixing the use of struct stat_ex. Michael
2009-06-29s3:lib/sysquotas: fix usage of SMB_STRUCT_STAT (struct stat_ex).Michael Adam1-3/+3
This fixes the build with quotas / configure time detection of sys_quota interface. Michael
2009-06-29s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3.Günther Deschner1-2/+3
Guenther
2009-06-29Fix ndrdump to use a common setup_logging() APIAndrew Bartlett2-0/+10
By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett
2009-06-29Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.confDavid Markey1-1/+1
2009-06-28_lsa_QueryInfoPolicy: Use symbolic info level namesVolker Lendecke1-4/+4
2009-06-28Turn the pdb_rid_algorithm into a capabilities call that returns flagsVolker Lendecke10-30/+33
2009-06-28Make pdb_ads survive a restart of Samba4Volker Lendecke1-106/+225
The search function retries once, the modifying call that hits a dead smbd returns an error. The next try will reconnect. This was simple to implement and provides a good compromise against Samba4 idling our connection. Most of the modifying calls are quickly after a search (like OpenUser) anyway.
2009-06-28If the connection is down, don't try another write.Volker Lendecke2-0/+18
2009-06-28Add tldap_search_vaVolker Lendecke2-8/+24
2009-06-28tldap_msg_received: Properly free the asn1_struct in case of an errorVolker Lendecke1-0/+1
2009-06-27Move read_ldap_done after read_ldap_sendVolker Lendecke2-26/+27
2009-06-27Convert tldap to tstreamVolker Lendecke2-12/+18
2009-06-27Add tstream_read_packetVolker Lendecke3-0/+150
2009-06-27tldap: Don't fire off more than one read_ldap request during searchesVolker Lendecke1-10/+22
2009-06-27Stop listening for inotify data when there's noneVolker Lendecke1-0/+1
There have been some reports that we're flooding syslog with "No data on inotify fd?!". I haven't been able to reproduce this yet. Until then, it is better to just list this message once.