Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-04 | Make pdb_ads return an additional flag | Volker Lendecke | 1 | -1/+1 | |
2009-06-30 | Fix bug #6431 - local groups from 3.0 setups no longer found. | Volker Lendecke | 1 | -8/+8 | |
Search for groups without group suffix, group suffix is only used for new entries. | |||||
2009-06-29 | s3-pdb_tdb: give 'unknown_str' the proper name 'comment' and set comment in ↵ | Günther Deschner | 1 | -10/+15 | |
passdb. pdb_{get,set}_comment were already existing in the API but were never used. Guenther | |||||
2009-06-29 | s3:pdb_ads: we need to make the fd for tldap/tsocket non-blocking | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-06-28 | Turn the pdb_rid_algorithm into a capabilities call that returns flags | Volker Lendecke | 6 | -19/+19 | |
2009-06-28 | Make pdb_ads survive a restart of Samba4 | Volker Lendecke | 1 | -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-26 | s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache(). | Michael Adam | 1 | -1/+1 | |
With the previous code, the cache can never have been hit at all. Michael | |||||
2009-06-24 | Only set the password if there is one | Volker Lendecke | 1 | -4/+8 | |
2009-06-20 | Prepare control support | Volker Lendecke | 1 | -10/+11 | |
We will have arrays of controls passed to tldap.c. Follow a mantra from the classic book "Thinking Forth" by Leo Brodie: Favor counts over terminators :-) This makes the parameter lists to tldap pretty long, but everyone will have wrapper routines anyway, see for example tldap_search_fmt. And the OpenLDAP manpages call the non-_ext routines deprecated, probably for a reason. | |||||
2009-06-20 | Fix setting passwords in pdb_ads | Volker Lendecke | 1 | -6/+7 | |
The samba4 password_hash module does not allow changing the password fields via the "delete oldval" -> "add newval" set of modify operations, it requires a single "replace with newval" operation. Andrew, Samba3 by default uses that delete/add pair to detect if between fetching the old value and storing the new one the old value has changed. This is lost by using the "replace" operation. Would it make sense to add this to the password_hash module? Volker | |||||
2009-06-20 | talloc_tos() aborts if it can not get a stackframe | Volker Lendecke | 1 | -3/+0 | |
2009-06-12 | Activate tldap tracing in pdb_ads | Volker Lendecke | 1 | -0/+34 | |
2009-06-11 | s3 passdb ads: add missing character | Tim Prouty | 1 | -1/+1 | |
2009-06-11 | Implement pdb_enum_alias_memberships | Volker Lendecke | 1 | -3/+88 | |
2009-06-10 | Implement pdb_ads_set_aliasinfo | Volker Lendecke | 1 | -1/+68 | |
2009-06-10 | pdb_default_aliasinfo is just fine for pdb_ads right now | Volker Lendecke | 1 | -8/+1 | |
2009-06-10 | Implement pdb_ads_lookup_rids | Volker Lendecke | 1 | -3/+69 | |
2009-06-10 | Fix a segfault in pdb_ads_delete_user() | Volker Lendecke | 1 | -3/+11 | |
If a user comes from the passdb cache, priv is NULL | |||||
2009-06-09 | If there are no mods, don't bother the ldap server | Volker Lendecke | 1 | -0/+5 | |
2009-06-09 | Some more fields in pdb_ads_init_ads_from_sam() | Volker Lendecke | 1 | -0/+20 | |
2009-06-09 | Do not pull samAccountName twice | Volker Lendecke | 1 | -7/+0 | |
2009-06-09 | No need to free twice -- thanks gd :-) | Volker Lendecke | 1 | -1/+0 | |
2009-06-09 | Implement pdb_ads_[add|del]_groupmem | Volker Lendecke | 1 | -11/+69 | |
2009-06-09 | Implement pdb_ads_delete_dom_group | Volker Lendecke | 1 | -1/+47 | |
2009-06-08 | Implement pdb_ads_enum_group_members | Volker Lendecke | 1 | -3/+57 | |
2009-06-08 | Fix some nonempty blank lines | Volker Lendecke | 1 | -34/+34 | |
2009-06-08 | Fix two 64-bit warnings | Volker Lendecke | 1 | -2/+2 | |
2009-06-08 | Implement pdb_[add|del]aliasmem | Volker Lendecke | 1 | -2/+99 | |
2009-06-08 | Do not use a variable format string | Volker Lendecke | 1 | -1/+1 | |
2009-06-08 | Implement pdb_ads_enum_aliasmem | Volker Lendecke | 1 | -3/+86 | |
2009-06-08 | Pass a talloc_ctx to pdb_enum_aliasmem | Volker Lendecke | 3 | -5/+9 | |
2009-06-08 | Implement pdb_ads_delete_alias | Volker Lendecke | 1 | -1/+44 | |
2009-06-08 | Implement pdb_ads_create_dom_group() | Volker Lendecke | 1 | -1/+69 | |
2009-06-07 | More pdb_ads stuff | Volker Lendecke | 1 | -6/+108 | |
2009-06-07 | Make "net sam list" work for groups, aliases and builtins | Volker Lendecke | 1 | -7/+58 | |
2009-06-07 | Return full info in pdb_ads_search_users() | Volker Lendecke | 1 | -5/+17 | |
2009-06-07 | s3-samr: fix return code of _samr_LookupRids when run with pdb_ldap. | Günther Deschner | 1 | -0/+5 | |
when _samr_LookupRids is called with no rids, it needs to return NT_STATUS_NONE_MAPPED (not NT_STATUS_NO_MEMORY). Found by RPC-SAMR torture test. Guenther | |||||
2009-06-06 | s3/passdb: Fix debug message: 'net setmaxrid' does not exist. | Karolin Seeger | 1 | -2/+2 | |
This is aiming bug #6351. Karolin | |||||
2009-06-06 | Add an early prototyp of pdb_ads.c. | Volker Lendecke | 1 | -0/+1284 | |
The purpose of this module is to connect to a locally running samba4 ldap server for an alternative "Franky" setup. Right now it contains a couple of gross hacks: For example it just takes the s4-chosed RID directly as uid/gid... Checking in tldap and pdb_ads now, I think 3777 insertions are enough for a start... | |||||
2009-05-31 | Fix some nonempty blank lines | Volker Lendecke | 1 | -52/+52 | |
2009-05-29 | s3-passdb: fix uninitialized variable in local_password_change(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-05-29 | Consolidate user create/delete paths in smbpasswd | Simo Sorce | 1 | -147/+179 | |
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> | |||||
2009-05-29 | util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique. | Günther Deschner | 1 | -20/+0 | |
Guenther | |||||
2009-05-28 | TALLOC_ZERO_P->talloc_zero | Volker Lendecke | 1 | -1/+2 | |
2009-05-28 | Do not segfault in pdb_search_destructor if no real search was started | Volker Lendecke | 1 | -1/+2 | |
2009-05-27 | s3: zero an uninitialized array | Marc VanHeyningen | 1 | -1/+4 | |
Invalid pointers were being dereferenced in lookup_sids causing occasional seg faults. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 1 | -1/+1 | |
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do. | |||||
2009-05-16 | Move smb_create_user() in samsync | Simo Sorce | 1 | -60/+0 | |
It is not used anywhere else, so make it also static and remove it from proto.h | |||||
2009-05-12 | s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL. | Aravind Srinivasan | 2 | -26/+4 | |
This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41 | |||||
2009-05-12 | Fix the last few format arg missmatches I missed. | Jeremy Allison | 1 | -4/+4 | |
Jeremy. |