| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
was the only place it was called from.
|
| |
| |
| |
| |
| |
| |
| |
| | |
no idea why no one (including myself) caught this with a compiler
warning....Make sure new_chunk() actually returns a pointer
to the allocated memory.
SAMBA_3_0 now works again on Solaris.
|
| |
| |
| |
| | |
* replace all pdb_{init,fill}_sam_pw() calls with samu_set_unix()
|
| |
| |
| |
| |
| | |
have a valid pwent list from a setsampwent(). Fixes a bug with the
reference count on the open tdb.
|
| |
| |
| |
| |
| |
| | |
uint8 array and copy as such. Gunther please check (sorry
I reverted your earlier fix).
Jeremy.
|
| |
| |
| |
| |
| |
| | |
overrun. Spoke to Jerry about the correct fix. Will add
this after.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PAC_LOGON_NAME structure. This was broken on big-endian machines
(Solaris SPARC and ppc). Fixes Bug #3330.
Jerry, this should be in 3.0.21c.
Guenther
|
| |
| |
| |
| | |
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......
|
| | |
|
| |
| |
| |
| | |
and any integration into Samba 3 would most likely be from scratch
|
| |
| |
| |
| | |
macro which sets the freed pointer to NULL.
|
| |
| |
| |
| |
| |
| | |
Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>.
Guenther
|
| | |
|
| |
| |
| |
| |
| |
| | |
trans2findfirst recognises two info levels *not* recognised
by trans2findnext. Add them. Needed for 3.0.21c.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
<sandman@electric-cloud.com>.
mkdir foo returns the wrong error message when file foo exists.
Jeremy.
|
| |
| |
| |
| |
| | |
the correct part of the netlogon and schannel packets.
Jeremy.
|
| |
| |
| |
| |
| | |
by schannel if "server schannel = true" was set.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
creds under all circumstances. This may be wrong, but
at least we're now consistent.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
for the creds store. This should fix the problems
Jerry reported (but I have still to run tests :-).
Jeremy.
|
| |
| |
| |
| |
| |
| | |
code relied upon file permissions alone. Now we check that
the user is a printer administrator and that the share has not been
marked read only for that user.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this more but it gets around the primary group issue.
* don't map a SID to a name from the group mapping code if
the map doesn't have a valid gid. This is only an issue
in a tdb setup
* Always allow S-1-$DOMAIN-513 to resolve (just like Windows)
* if we cannot resolve a users primary GID to a SID, then set
it to S-1-$DOMAIN-513
* Ignore the primary group SID inside pdb_enum_group_memberships().
Only look at the Unix group membersip.
Jeremy, this fixes a fresh install startup for smbd as far as my tests
are concerned.
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
blocks. This fixes the problem I had with missing groups in the
net_samlogon() reply from a Samba PDC.
|
| |
| |
| |
| |
| |
| |
| | |
Bartlett's
Samba4 code.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
key and delete records that are old. We will need this
for the full 16 byte session key support.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
revision 13383.
|
| |
| |
| |
| |
| | |
a node status on all IP's when requested.
Jeremy.
|
| |
| |
| |
| | |
width again.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
I mean it this time :-).
Jeremy.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* enable privileges = yes
* enable asu support = no
Remove unused function after the tdbsam rewrite.
|
| |
| |
| |
| |
| |
| |
| | |
on the tdb file. This allow recusive calls to succeed
without complaining about failed opens since a tdb can
only be opened once per process. We probably still need to backport
the transaction support from Samba 4 here though.
|