Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2009-05-12 | Fix bug 6157 | Volker Lendecke | 1 | -1/+1 | |
This patch picks the alphabetically smallest one of the multi-value attribute "uid". This fixes a regression against 3.0 and also becomes deterministic. | |||||
2009-05-11 | Fix a bunch of compiler warnings about wrong format types. | Jeremy Allison | 3 | -10/+10 | |
Should make Solaris 10 builds look cleaner. Jeremy. | |||||
2009-05-08 | s3/ldap: also handle DirX return codes | Björn Jacke | 1 | -0/+2 | |
2009-05-05 | s3-ldap: fix more callers of smbldap_dn_talloc() that were passing a NULL ↵ | Günther Deschner | 2 | -2/+2 | |
context. Guenther | |||||
2009-05-05 | s3-ldapsam: Fix Bug #6313: ldapsam_update_sam_account() crashes while doing ↵ | Günther Deschner | 1 | -1/+1 | |
talloc_free on malloced memory. Guenther | |||||
2009-04-14 | Rework Samba3 to use new libcli/auth code (partial) | Andrew Bartlett | 4 | -1/+4 | |
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett | |||||
2009-04-14 | Convert Samba3 to use the common lib/util/charset API | Andrew Bartlett | 2 | -15/+15 | |
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett | |||||
2009-04-06 | s3:smbldap Remove smbldap_get_dn | Andrew Bartlett | 2 | -29/+18 | |
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2009-04-01 | Allow pdbedit to change a user rid/sid. Based on a fix from Alexander ↵ | Jeremy Allison | 1 | -3/+57 | |
Zagrebin <alexz@visp.ru>. Jeremy. | |||||
2009-04-01 | s3-passdb: add smb_create_user(). | Günther Deschner | 1 | -0/+59 | |
Guenther | |||||
2009-04-01 | s3: fix the fix for bug #6195 - dont let smbd child processes panic | Michael Adam | 1 | -2/+16 | |
This patch makes sure the original and temporary TDBs are closed _before_ the rename. Originally, the open TDB was renamed, and so the name passdb.tdb.tmp stayed around in the db context. Hence upon client connect, the smbd children died because reinit_after_fork() calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which existed no longer... Michael |