summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-02Store winattrs in GPFSMathias Dietz3-0/+142
1. Store win attributes in gpfs instead of posix bits. 2. use of path based winattr calls of gpfs. Signed-off-by: Mathias Dietz <mdietz@de.ibm.com>
2009-06-02nss_wrapper: prefix function pointer names in struct nwrap_ops.Günther Deschner1-54/+54
Guenther
2009-06-02torture: minor fixes to torture macro text output.Günther Deschner1-2/+2
Guenther
2009-06-02nss_wrapper: resort calls to move public calls to the end.Günther Deschner1-193/+197
Guenther
2009-06-02nss_wrapper: add nwrap_ops function pointer table.Günther Deschner1-19/+104
Guenther
2009-06-02nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.Günther Deschner1-0/+4
Guenther
2009-06-02nss_wrapper: fix typo while checking for getgrid_r support.Günther Deschner1-2/+2
Metze, this has been in here for a long time, please check. Guenther
2009-06-02Add a "connectpath" operation to the shadow_copy2 moduleVolker Lendecke1-0/+54
2009-06-02Add SMB_VFS_CONNECTPATH operationVolker Lendecke5-8/+56
This is required for the shadow_copy2 module and "wide links = no". The file system snapshots by nature are typically outside of share directory. So the REALPATH result fails the wide links = no test.
2009-06-02Remove a variable used just onceVolker Lendecke1-2/+3
2009-06-01Fix bug #6419 - smbclient -L 127.0.0.1" displays "netbios name" instead of ↵Jeremy Allison1-3/+26
"workgroup" Unify the handling of the sessionsetup parsing so we don't get different results when parsing a guest reply than an ntlmssp reply. Jeremy.
2009-06-01Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell1-1/+1
2009-06-01use the unique flag on ldb attributes to optimise & clausesAndrew Tridgell1-46/+72
When a attribute is marked unique we know that if we find a match it will be the only possible match. This means that in a list of subtrees connected by an &, it is best to first load the index values for the unique entries, as if they find something then we know we won't have to look any further. This helps with searches like this: (&(objectclass=user)(samaccountname=tridge)) the old code would first have loaded the very large index for the objectclass=user attribute, and then loaded the single entry for samaccountname=tridge. Now we load the samaccountname=tridge entry first, notice that it gives us a single result, and stop, thereby skipping the load of the objectclass=user index record completely.
2009-06-01s4:mkproto: Add NET_API_STATUS return type.Andrew Kroeger1-1/+1
The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type for some functions. The torture/libnetapi/proto.h private header that was being generated by mkproto.pl did not include a prototype for the test_netuseradd() function, as it did not know how to handle the NET_API_STATUS return type.
2009-06-01gitignore: Ignore additional auto-generated fileAndrew Kroeger1-0/+1
2009-06-01we don't need the unique checks in the samldb code nowAndrew Tridgell1-162/+2
These attributes now use the unique indexing flag
2009-06-01mark samAccountName, objectGUID and objectSID as unique indexedAndrew Tridgell1-0/+20
2009-06-01added support for unique indexing in ldbAndrew Tridgell2-7/+32
When a attribute is marked as LDB_ATTR_FLAG_UNIQUE_INDEX then attempts to add a 2nd record that has the same attribute value for this attribute as another record will fail. This provides a much more efficient mechanism for ensuring that attributes like objectGUID are unique
2009-06-01fix uninitialised use of samctxAndrew Tridgell1-0/+2
2009-06-01overallocate all records by 25%Andrew Tridgell1-0/+3
This greatly reduces the fragmentation of databases where records tend to grow slowly by a small amount each time. The case where this is most seen is the ldb index records. Adding this overallocation reduced the size of the resulting database by more than 20x when running a test that adds 10k users.
2009-06-01auto-repack in transactions that expand the tdbAndrew Tridgell1-0/+12
The idea behind this is to recover from badly fragmented free lists. Choosing the point where the file expands is fairly arbitrary, but seems to work well.
2009-06-01when comp_num is zero, the case folded DN is always ""Andrew Tridgell1-8/+2
This fixes a bug where we would look at an uninitialised dn->linearized
2009-06-01Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell93-2905/+3977
2009-05-31Fix some nonempty blank linesVolker Lendecke4-168/+165
2009-05-31Fix a C++ warningVolker Lendecke1-1/+1
2009-05-30nss_wrapper: try to fix the build of nss_wrapper on solaris.Günther Deschner2-0/+6
Guenther
2009-05-30Fix bug #6421 - POSIX read-only open fails on read-only shares.Jeremy Allison2-8/+12
The change to smbd/trans2.c opens up SETFILEINFO calls to POSIX_OPEN only. The change to first smbd/open.c closes 2 holes that would have been exposed by allowing POSIX_OPENS on readonly shares, and their ability to set arbitrary flags permutations. The O_CREAT -> O_CREAT|O_EXCL change removes an illegal combination (O_EXCL without O_CREAT) that previously was being passed down to the open syscall. Jeremy.
2009-05-30Move a comment where it belongsVolker Lendecke1-3/+6
2009-05-30Make it possible to change machine account sidsSimo Sorce1-40/+171
Fixes bug #6081
2009-05-30Remove trailing whitespacesSimo Sorce1-20/+20
2009-05-30Simplify the dropbox patchJeremy Allison1-5/+10
2009-05-30Move ads flags mapping to lib/Volker Lendecke3-133/+156
2009-05-30talloc_strdup "dir" in wb_context_initVolker Lendecke1-1/+5
2009-05-30Handle EINTR in async_sock.cVolker Lendecke1-0/+16
2009-05-30s3-selftest: Fix invalid /etc/group file used with nss_wrapper.Günther Deschner2-0/+2
Found by torture test. Guenther
2009-05-30libwbclient: Store the winbind socket dir to use in the wb_contextKai Blin3-4/+14
2009-05-30libwbclient: Silence a compiler warningKai Blin1-1/+1
2009-05-30libwbclient: Add async call framework.Kai Blin19-17/+76
2009-05-29Re-Add the "dropbox" functionality with -wx rights on a directoryVolker Lendecke1-3/+3
2009-05-30nss_wrapper: add test_nwrap_membership to testsuite.Günther Deschner1-0/+74
Guenther
2009-05-30nss_wrapper: restructure parts of the testsuite.Günther Deschner1-33/+72
Guenther
2009-05-30nss_wrapper: add support for getgrouplist.Günther Deschner2-0/+85
Guenther
2009-05-29Make cli_nt_delete_on_close() async.Jeremy Allison3-10/+146
Jeremy.
2009-05-29s3:pdbedit: fix "format not a string literal and no format arguments" warningsMichael Adam1-2/+2
Michael
2009-05-29s3:add prototype of map_nt_error_from_wbcErr() to proto.hMichael Adam1-0/+1
Michael
2009-05-29libsmbclient: make SMBC_module_terminate() static.Michael Adam1-1/+1
Michael
2009-05-29s3:pam_smbpass: make smb_update_db() static.Michael Adam1-1/+1
Michael
2009-05-29Add smbldap_talloc_single_blob()Volker Lendecke2-6/+28
2009-05-29s4-smbtorture: fix the build w/o libnetapi.Günther Deschner1-0/+8
This is surely the wrong fix, but I could not figure out why the samba4 build system adds the init function although the m4 macro had switched off the torture libnetapi subsystem when the headers and libs were not found. Can one of the samba4 build gurus please have a look ? Guenther
2009-05-29util: Change license on tevent_unix to LGPLv3+Volker Lendecke2-16/+24