| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Remove unused gencache_set_only
Use CONST_DISCARD instead of SMB_STRDUP
Volker
|
|
|
|
|
|
|
|
|
|
|
| |
* autogenerate lsa ndr code
* rename 'enum SID_NAME_USE' to 'enum lsa_SidType'
* merge a log more security descriptor functions from
gen_ndr/ndr_security.c in SAMBA_4_0
The most embarassing thing is the "#define strlen_m strlen"
We need a real implementation in SAMBA_3_0 which I'll work on
after this code is in.
|
|
|
|
|
|
|
|
|
| |
Instead of trying to do this in the winbindd_cache
entries, add a timed even handler to probe every
5 mins when disconnected.
Fix events to run all pending events, rather than
only one.
Jeremy.
|
| |
|
|
|
|
| |
avoid bopgus error messages
|
|
|
|
|
|
|
|
| |
in multiple
places and that only works if they're all in a local scope
metze
|
|
|
|
|
|
| |
exist :-)
Volker
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This completes the work Jeremy began last week, disambiguating the meaning of
c_time. (In POSIX terminology, c_time means "status Change time", not "create
time".) All uses of c_time, a_time and m_time have now been replaced with
change_time, access_time, and write_time, and when creation time is intended,
create_time is used.
Additionally, the capability of setting and retrieving the create time have
been added to the smbc_setxattr() and smbc_getxattr() functions. An example
of setting all four times can be seen with the program
examples/libsmbclient/testacl
with the following command line similar to:
testacl -f -S "system.*:CREATE_TIME:1000000000,ACCESS_TIME:1000000060,WRITE_TIME:1000000120,CHANGE_TIME:1000000180" 'smb://server/share/testfile.txt'
The -f option turns on the new mode which uses full time names in the
attribute specification (e.g. ACCESS_TIME vs A_TIME).
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
stay here.
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
support when looking up DC's. On every CLDAP
call store the returned client sitename (if
present, delete store if not) in gencache with
infinate timeout. On AD DNS DC lookup, try looking
for sitename DC's first, only try generic if
sitename DNS lookup failed.
I still haven't figured out yet how to ensure
we fetch the sitename with a CLDAP query before
doing the generic DC list lookup. This code is
difficult to understand. I'll do some experiments
and backtraces tomorrow to try and work out where
to force a CLDAP site query first.
Jeremy.
|
|
|
|
|
|
| |
Destructors now take a pointer to the "real" destroyed object as an argument.
Volker
|
|
|
|
|
|
|
|
|
| |
(this needs to be moved to a samba3 specific place)
I commit this because I habe no time to test smbcontrol .... pool-usage
and don't want to break it. I'll try to find a better fix tomorrow.
metze
|
|
|
|
|
|
| |
stuff to tallocmsg.c
metze
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
deref. I think this is a false positive, but it's
an easy extra check to add here.
Jeremy.
|
|
|
|
|
| |
Stanford group.
Jeremy.
|
|
|
|
|
| |
Correctly map large nt timevals to TIME_T_MAX.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
casing too I
think. This broke 'make test' because the newly created user was set to be
kicked off Mi, 22 Jan 1975 23:55:33 CET (unix time 159663333) with the
setuserinfo21 call.
I'm not 100% sure that 0x7ff... means max time as I do it here, I vaguely
remember it to mean "don't touch".
Does anybody know that for sure?
Jeremy, please check this.
Thanks,
Volker
|
|
|
|
|
| |
not high value seconds, low value 100ns units.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
Samba4) for machines that have 64-bit integers. Leave
the (double) code for machines that don't. Needs
testing.... :-).
Jeremy.
|
|
|
|
| |
Volker
|
|
|
|
|
|
|
|
|
| |
on the wire. This allows us to go to nsec resolution
for systems that support it. It should also now be
easy to add a correct "create time" (birth time)
for systems that support it (*BSD). I'll be watching
the build farm closely after this one for breakage :-).
Jeremy.
|
|
|
|
|
| |
and interpret_long_date() first. Reverting...
Jeremy.
|
|
|
|
|
|
| |
the wire. Move the internals of nt_time functions
to use struct timespecs.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jeremy.
----------
several replacement snprintf() fixes.
1) when running the testsuite, actually test against the system
sprintf(), not against ourselves (doh!)
2) fix the buffer termination to terminate buf2 as well
3) fix handling of %llu, and add a simple test
This fixes a bug with password expiry on solaris
----------
|
|
|
|
|
|
| |
FreeBSD. Change to sys_getpeerid(). Thanks to
vl for pointing this out.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
ntlm_auth module to allow it to use winbindd cached
credentials.The credentials are currently only stored
in a krb5 MIT environment - we need to add an option to
winbindd to allow passwords to be stored even in an NTLM-only
environment.
Patch from Robert O'Callahan, modified with some fixes
by me.
Jeremy.
|
|
|
|
|
|
| |
do_file_lock static to pdb_smbpasswd.c, the only user of it.
Volker
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
decrement a
tdb entry is not the most reliable way to count children correctly.
This increments the number of children after a fork and decrements it upon
SIGCLD. I'm keeping a list of children just for consistency checks, so that we
at least get a debug level 0 message if something goes wrong.
Volker
|
| |
|
|
|
|
|
|
|
|
| |
pointing them
out.
Volker
|
|
|
|
| |
Volker
|
|
|
|
| |
Volker
|
|
|
|
|
|
|
|
| |
keys,
this can trivially be added later.
Volker
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
in talloc
and tdb "upstream"?
Volker
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
calls make it :
become_root_uid_only()
operation
unbecome_root_uid_only()
saving errno across the second call. Most of our internal
change calls can be replaced with these simple calls.
Jeremy
|