Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-01 | Fix bug #6419 - smbclient -L 127.0.0.1" displays "netbios name" instead of ↵ | Jeremy Allison | 1 | -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-01 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Andrew Tridgell | 1 | -1/+1 | |
2009-06-01 | use the unique flag on ldb attributes to optimise & clauses | Andrew Tridgell | 1 | -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-01 | s4:mkproto: Add NET_API_STATUS return type. | Andrew Kroeger | 1 | -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-01 | gitignore: Ignore additional auto-generated file | Andrew Kroeger | 1 | -0/+1 | |
2009-06-01 | we don't need the unique checks in the samldb code now | Andrew Tridgell | 1 | -162/+2 | |
These attributes now use the unique indexing flag | |||||
2009-06-01 | mark samAccountName, objectGUID and objectSID as unique indexed | Andrew Tridgell | 1 | -0/+20 | |
2009-06-01 | added support for unique indexing in ldb | Andrew Tridgell | 2 | -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-01 | fix uninitialised use of samctx | Andrew Tridgell | 1 | -0/+2 | |
2009-06-01 | overallocate all records by 25% | Andrew Tridgell | 1 | -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-01 | auto-repack in transactions that expand the tdb | Andrew Tridgell | 1 | -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-01 | when comp_num is zero, the case folded DN is always "" | Andrew Tridgell | 1 | -8/+2 | |
This fixes a bug where we would look at an uninitialised dn->linearized | |||||
2009-06-01 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Andrew Tridgell | 93 | -2905/+3977 | |
2009-05-31 | Fix some nonempty blank lines | Volker Lendecke | 4 | -168/+165 | |
2009-05-31 | Fix a C++ warning | Volker Lendecke | 1 | -1/+1 | |
2009-05-30 | nss_wrapper: try to fix the build of nss_wrapper on solaris. | Günther Deschner | 2 | -0/+6 | |
Guenther | |||||
2009-05-30 | Fix bug #6421 - POSIX read-only open fails on read-only shares. | Jeremy Allison | 2 | -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-30 | Move a comment where it belongs | Volker Lendecke | 1 | -3/+6 | |
2009-05-30 | Make it possible to change machine account sids | Simo Sorce | 1 | -40/+171 | |
Fixes bug #6081 | |||||
2009-05-30 | Remove trailing whitespaces | Simo Sorce | 1 | -20/+20 | |
2009-05-30 | Simplify the dropbox patch | Jeremy Allison | 1 | -5/+10 | |
2009-05-30 | Move ads flags mapping to lib/ | Volker Lendecke | 3 | -133/+156 | |
2009-05-30 | talloc_strdup "dir" in wb_context_init | Volker Lendecke | 1 | -1/+5 | |
2009-05-30 | Handle EINTR in async_sock.c | Volker Lendecke | 1 | -0/+16 | |
2009-05-30 | s3-selftest: Fix invalid /etc/group file used with nss_wrapper. | Günther Deschner | 2 | -0/+2 | |
Found by torture test. Guenther | |||||
2009-05-30 | libwbclient: Store the winbind socket dir to use in the wb_context | Kai Blin | 3 | -4/+14 | |
2009-05-30 | libwbclient: Silence a compiler warning | Kai Blin | 1 | -1/+1 | |
2009-05-30 | libwbclient: Add async call framework. | Kai Blin | 19 | -17/+76 | |
2009-05-29 | Re-Add the "dropbox" functionality with -wx rights on a directory | Volker Lendecke | 1 | -3/+3 | |
2009-05-30 | nss_wrapper: add test_nwrap_membership to testsuite. | Günther Deschner | 1 | -0/+74 | |
Guenther | |||||
2009-05-30 | nss_wrapper: restructure parts of the testsuite. | Günther Deschner | 1 | -33/+72 | |
Guenther | |||||
2009-05-30 | nss_wrapper: add support for getgrouplist. | Günther Deschner | 2 | -0/+85 | |
Guenther | |||||
2009-05-29 | Make cli_nt_delete_on_close() async. | Jeremy Allison | 3 | -10/+146 | |
Jeremy. | |||||
2009-05-29 | s3:pdbedit: fix "format not a string literal and no format arguments" warnings | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-05-29 | s3:add prototype of map_nt_error_from_wbcErr() to proto.h | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-05-29 | libsmbclient: make SMBC_module_terminate() static. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-05-29 | s3:pam_smbpass: make smb_update_db() static. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-05-29 | Add smbldap_talloc_single_blob() | Volker Lendecke | 2 | -6/+28 | |
2009-05-29 | s4-smbtorture: fix the build w/o libnetapi. | Günther Deschner | 1 | -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-29 | util: Change license on tevent_unix to LGPLv3+ | Volker Lendecke | 2 | -16/+24 | |
2009-05-29 | s3 async wbclient: Change license to LGPLv3+ | Volker Lendecke | 3 | -24/+36 | |
2009-05-29 | async_sock: Change license to LGPLv3+ | Volker Lendecke | 2 | -16/+24 | |
2009-05-29 | s3 wbc_async: Fix copyright notice cut&paste error. | Kai Blin | 1 | -1/+1 | |
Volker created all these prototypes, I just created the file and moved them over. Signed-off-by: Kai Blin <kai@samba.org> | |||||
2009-05-29 | Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3." | Günther Deschner | 1 | -4/+1 | |
This reverts commit 8da15dc29a920cd6f4d2ed96e8de4fbcd9d1ba11. | |||||
2009-05-29 | s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3. | Günther Deschner | 1 | -1/+4 | |
Guenther | |||||
2009-05-29 | s4-smbtorture: add NETAPI-GROUP test. | Günther Deschner | 3 | -1/+523 | |
Guenther | |||||
2009-05-29 | s4-smbtorture: add NETAPI-USER test. | Günther Deschner | 3 | -1/+479 | |
Guenther | |||||
2009-05-29 | s3-passdb: fix uninitialized variable in local_password_change(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-05-29 | Consolidate create/delete account paths in pdbedit | Simo Sorce | 3 | -258/+325 | |
Use common paths like for smbpasswd, so that all utilities behave the same way. As for smbpasswd this changes the behavior of pdbedit to create/delete unix users is the add/delete user scripts are provided, or ldapsam:editposix is configured. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-05-29 | Consolidate user create/delete paths in smbpasswd | Simo Sorce | 2 | -174/+194 | |
This patch changes the way smbpasswd behaves when adding/deleting users. smbpasswd now calls pdb_create_user/pdb_delete_user, this means that if add/delete user scripts are configured then they are used to create or delete unix users as well. If the scripts are not defined the behavioris unchanged. This also allow to use smbpasswd -a/-x with ldapsam:editposix to allow automatic creation/deletion of users. Signed-off-by: Günther Deschner <gd@samba.org> |