| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
smbcontrol was sending messages designated for nmbd and winbindd to smbd. Thus, nmbd and winbindd
were "unshutdownable".
|
|
|
|
|
|
|
|
|
|
| |
* ignore the primary group SID attribute from struct samu*
* generate the primary group SID strictlky from the Unix
primary group when dealing with passdb users
* Fix memory leak in original patch caused by failing to free a
talloc *
* add wrapper around samu_set_unix() to prevent exposing the create
BOOL to callers. Wrappers are samu_set_unix() and samu-allic_rid_unix()
|
| |
|
|
|
|
|
| |
not to, cope with a server that doesn't offer schannel also.
Jeremy
|
|
|
|
|
|
| |
against server with schannel disabled. Second part
will come tomorrow (fixing net_rpc_join_ok()).
Jeremy.
|
|
|
|
|
| |
Fix from Richard Bollinger <rabollinger@gmail.com>.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
* replace all pdb_{init,fill}_sam_pw() calls with samu_set_unix()
|
|
|
|
| |
Volker
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to make full use of the new talloc() interface. Discussed with Volker
and Jeremy.
* remove the internal mem_ctx and simply use the talloc()
structure as the context.
* replace the internal free_fn() with a talloc_destructor() function
* remove the unnecessary private nested structure
* rename SAM_ACCOUNT to 'struct samu' to indicate the current an
upcoming changes. Groups will most likely be replaced with a
'struct samg' in the future.
Note that there are now passbd API changes. And for the most
part, the wrapper functions remain the same.
While this code has been tested on tdb and ldap based Samba PDC's
as well as Samba member servers, there are probably still
some bugs. The code also needs more testing under valgrind to
ensure it's not leaking memory.
But it's a start......
|
|
|
|
| |
macro which sets the freed pointer to NULL.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
a node status on all IP's when requested.
Jeremy.
|
| |
|
| |
|
|
|
|
|
|
|
| |
time in the code.
Even if we now have an additional if statement after the free I prefer
this solution in opposite to the duplicated code we had before.
|
|
|
|
|
|
|
|
|
|
| |
This fixes bug #1386.
The initial changes had been made by Carsten Höger <choeger at
open-xhange dot com> for Samba 2.2 while being at SuSE. *sigh*
To not duplicate code from smbpasswd in pdbedit stdin_new_passwd() and
get_pass() are moved from smbpasswd to utils/passwd_util.c.
|
| |
|
|
|
|
|
|
| |
running. More generic error return cleanup in libsmb/
needs doing (everything returning NTSTATUS not BOOL).
Jeremy
|
|
|
|
| |
Volker
|
| |
|
|
|
|
|
|
|
|
|
| |
* remove pdb_context data structure
* set default group for DOMAIN_RID_GUEST user as RID 513 (just
like Windows)
* Allow RID 513 to resolve to always resolve to a name
* Remove auto mapping of guest account primary group given the
previous 2 changes
|
|
|
|
| |
domain code
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Implement 'net rpc shell account' -- An editor for account policies
nt_time_to_unix_abs changed its argument which to me seems wrong, and I could
not find a caller that depends on this. So I changed it. Applied some more
const in time.c.
Volker
|
| |
|
|
|
|
| |
Sync with trunk as off r13315
|
|
|
|
|
|
|
| |
bloody placeholder share mode entries (I hate
these - I've had to add this filter code now to too
many places :-).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
| |
lp_load() could not be called multiple times to modify parameter settings based
on reading from multiple configuration settings. Each time, it initialized all
of the settings back to their defaults before reading the specified
configuration file.
This patch adds a parameter to lp_load() specifying whether the settings should
be initialized. It does, however, still force the settings to be initialized
the first time, even if the request was to not initialize them. (Not doing so
could wreak havoc due to uninitialized values.)
|
|
|
|
|
|
|
|
|
| |
Check that ldap admin dn is defined in smb.conf before
setting the ldap password in secrets.tdb
Based on patch by William Jojo <jojowil@hvcc.edu>
Simo.
|
| |
|
|
|
|
| |
server role when calling 'testparm -s' (BUG 1336)
|
|
|
|
| |
Jeremy.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
All 'usage' messages are still printed to stdout.
Fix some compiler warnings for system() calls where we didn't used the
return code. Add appropriate error messages and return with the error
code we got from system() or NT_STATUS_UNSUCCESSFUL.
|
|
|
|
| |
handle
|
|
|
|
| |
Volker
|
|
|
|
|
|
|
| |
Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c
needs to know we're storing stuff in ucs2.
Volker
|
| |
|
|
|
|
|
| |
What I'd give for a global constructor...
Jeremy.
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
translation elsewhere.
Guenther
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
| |
are listed in smb.conf
* initialize the local group description in set_alias_info()
|
|
|
|
|
|
|
|
|
|
| |
revving the minor version number for libsmbsharemodes (we
now have a new _ex interface that takes the share path
as well as the filename). Needed for #3303. Some code written
by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes
to locking/locking.c. The smbstatus output is a bit of a mess
and needs overhauling...
Jeremy.
|