| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
dynamically-created valid table every time the configuration was
reloaded.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
>Another hopeful fix for CR#1168. Change the RPC used in querying
>domain users from QueryDispInfo to EnumDomainUsers. Hopefully this
>will fix the random dropouts that keep occuring when listing large
>domains.
>
>My thought is that since QueryDispInfo is only used in the NT user
>manager it may have a bug with large domains. A more commonly used
>RPC may not have such problems.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cache the printer_info_2 with the open printer handle.
cache is invalidated on a mod_a_printer() call **on that smbd**.
Yes, this means that the window for admins to step on each other
from different clients just got larger, but since handles a generally
short lived this is probably ok.
|
| | |
|
| |
| |
| |
| |
| |
| | |
function.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in general searches, but only if searching for the DN only.
In my case, it was the tokenGroups attribute that caused me trouble, hence
this patch.
Andrew Bartlett
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
domains) would not have the tokenGroups or memberOf attributes filled in.
This would cause a user to have no supplementary group membership.
Detect this by the fact that the primaryGid must be present in the tokenGroups,
and if it isn't (ie, if there is no tokenGroups at all), do a server-side
search on all groups using the 'member' attribute and the user's DN.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| | |
we were overwriting the user's ccache with the machine password (the -P option).
Andrew Bartlett
|
| |
| |
| |
| | |
Andrew Bartlett
|
| | |
|
| |
| |
| |
| | |
Andrew Bartlett
|
| | |
|
| |
| |
| |
| |
| |
| | |
keys for kerberos authentication.
Andrew Bartlett
|
| | |
|
| | |
|
| |
| |
| |
| | |
Andrew Bartlett
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
> Exit path cleanup for cli_samr_enum_dom_users()
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
safe_strcpy() isn't particularly safe (this has been noted before) as it does
not take the size of the buffer, but instead the size of the buffer *minus 1*
The locking.c fix was causing segfaults on machines running with
--enable-developer, and was tracked down thanks to the fact that vance's build
farm machine runs with such an option, and smbtorture's DIR1 test hits this
bug very well.
(The --enable-developer code writes to the last byte of the string, to check
for incorrect use of safe_strcpy()).
Andrew Bartlett
|
| | |
|
| | |
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| |
| |
| | |
make x_fwrite() match fwrite() in returning a size_t.
Andrew Bartlett
|
| |
| |
| |
| | |
(make it possible to build both shared and static) and -lcrypt handling.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
the user a second time now.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The intention is to remove the muliple passdb backends, but we need the
'guest' account to always be there. If the admin adds the guest account to
(say) LDAP, there will only be one backend required for operation.
This helps remove some nasty behaviours with adding accounts to the system
for both the RPC 'create user' and the SAMSYNC code. Users 'added' with
an 'add user/machine' script won't magicly appear, and machine accounts
'pre-added' to unix, but not the smbpasswd file will not cause mayhem.
This commit also implements somthing tridge discussed with me, the concept
of 'default' passdb operation pointers - so that each backend does not
need it's own stub funcitons wrapping the default tdb privilages/group
mapping code.
This also removes an implicit 'sid->name' and 'name->sid' mapping from our
own local SID space, to winbind usernames. When adding mapping for NIS/LDAP
non-sam users in future, we need to be careful.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We check passdb becouse the user might have things like a logon script set,
but we have to check the passdb becouse the user might not be in smbpasswd at
all.
This is in preperation for the removal of unixsam as an assuption.
Andrew Bartlett
|
| |
| |
| |
| |
| | |
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
<sshivanna@pillardata.com>
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
inline the call to prs_copy_all_data_out() so that we can know we are not
overrunning our buffer.
Also check more return values.
Andrew Bartlett
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* performance optimization in enumprinterdataex() when keyname is empty
* fix a few typos in comments
* reload services after addprinter_command()
dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ
|
| |
| |
| |
| | |
before calling it. Fixes seg fault in audit VFS module
|
| | |
|
| |
| |
| |
| | |
section...does this make sense?
|
| |
| |
| |
| |
| | |
must not be freed afterwards.
Jeremy.
|
| | |
|
| | |
|
| | |
|