1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00
Commit Graph

2702 Commits

Author SHA1 Message Date
Andrew Tridgell
d0149b173f r3600: fixed two debug typos 2007-10-10 13:05:37 -05:00
Andrew Tridgell
151dd4593d r3599: fixed a couple of memory errors in the rpc netlogon server
(found with valgrind)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
e6e8a9c7f0 r3598: hopefully fix the build on stratos 2007-10-10 13:05:37 -05:00
Andrew Tridgell
218e01441a r3597: implement a suggestion from abartlet. By taking a refernce to the
database in the opendb lck, we ensure that the database is not closed
before the lock is gone. That ensures the lock destructor doesn't work
on a closed database.
2007-10-10 13:05:37 -05:00
Andrew Tridgell
20fc3a25ef r3596: MODE_INFORMATION tests now pass. Only RENAME_INFORMATION level left to
support RAW-SFILEINFO
2007-10-10 13:05:37 -05:00
Andrew Tridgell
e53ec2f6b6 r3595: - fixed a talloc_free ordering problem on cleanup with pending requests
- added initial support for MODE_INFORMATION in setfileinfo (I have no
  idea what "mode information" on a file is - it takes a value of 0,
  2, 4 or 6. What could it be?)
2007-10-10 13:05:37 -05:00
Andrew Tridgell
425e36ca4d r3594: continue conversion to __location__ from __LINE__ for error reporting 2007-10-10 13:05:37 -05:00
Andrew Tridgell
b8ba6793c1 r3593: fixed the trans2 t2open reply to initialise all bytes (bug found by valgrind) 2007-10-10 13:05:36 -05:00
Andrew Tridgell
a07bca1707 r3592: auto-cleanup the test.$$ log files in these test scripts on control-C 2007-10-10 13:05:36 -05:00
Andrew Tridgell
07596d8721 r3591: to get a bit more useful info from valgrind I'm disabling the
deliberate over-allocation of request structures in smbd and
libcli/raw code for now.
2007-10-10 13:05:36 -05:00
Tim Potter
91eb405354 r3590: Add some more commands to rpcclient from a patch by jbm. Add
SamrQueryDomInfo, SamrQueryDomInfo2, SamrEnumDomainAliases, and
SamrEnumDomainUsers.
2007-10-10 13:05:36 -05:00
Tim Potter
6d918f1595 r3589: Add some extra status codes. 2007-10-10 13:05:36 -05:00
Tim Potter
a46aba4354 r3588: Fix bug in converting SIDs containing large unsigned integers from Python. 2007-10-10 13:05:36 -05:00
Tim Potter
358f641063 r3587: Add status_codes.i as a dependencies for dcerpc.i 2007-10-10 13:05:36 -05:00
Jelmer Vernooij
7a8244761b r3586: Fix some of the issues with the module init functions.
Both subsystems and modules can now have init functions, which can be
specified in .mk files (INIT_FUNCTION = ...)

The build system will define :
 - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal
 - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on

This removes the hack with the "static bool Initialised = " and the
"lazy_init" functions
2007-10-10 13:05:36 -05:00
Stefan Metzmacher
9701abfa3a r3585: check sscanf return code
metze
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
4868f1ea85 r3584: fix referral handling
metze
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
1e9c0b68ca r3583: - seperate the ldap client code and the ldap parsing code
(vl: we should only sync the parsing code with trunk)

- use hierachical talloc in the ldap client code

metze
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
07405f1c67 r3582: more gcc-4.0 signedness fixes
metze
2007-10-10 13:05:35 -05:00
Stefan Metzmacher
dfb062c63c r3581: fix some signedness warnings with gcc-4.0
(there some callers to be fixed later)

metze
2007-10-10 13:05:35 -05:00
Andrew Tridgell
cb76bd218e r3580: - on file overwrite in ntcreatex we need to replace the file permissions.
- pvfs now passes BASE-OPENATTR

- pvfs also passes the BASE-DEFER_OPEN test, but it is not a well
  formed test for regular running so I am removing it from the list of
  tests to run in test_posix.sh (the test is covered better by RAW-MUX
  anyway)
2007-10-10 13:05:35 -05:00
Andrew Tridgell
041f77b6a1 r3579: with the gcc warning flag from abartlet we don't need sys_strftime() 2007-10-10 13:05:34 -05:00
Andrew Tridgell
d8c4a660a0 r3578: a couple of include changes that should help with FreeBSD 2007-10-10 13:05:33 -05:00
Stefan Metzmacher
29cd3d20e3 r3577: add a torture_join_domain_ads_dc() function,
which will join as a w2k dc joins a ads domain

(this is currently not fully implmented,
 I just have listed the steps we need to do)

metze
2007-10-10 13:05:33 -05:00
Andrew Tridgell
64a6db5b02 r3576: don't consider short share delay timeouts to be an error, so we can
run test_posix.sh in a reaonable time by using posix:sharedelay=100000

this still tests correct multiplex behaviour
2007-10-10 13:05:33 -05:00
Andrew Tridgell
66bdc6e78c r3575: fixed attribute normalisation in xattr code. RAW-SEARCH now passes again. 2007-10-10 13:05:33 -05:00
Andrew Tridgell
09b4652b40 r3574: the RAW-OPEN test changes broke a couple of the other tests. This
fixes most of them, although RAW-SEARCH still fails (due to an
interaction with the new xattr code)
2007-10-10 13:05:33 -05:00
Andrew Tridgell
ed844192d7 r3573: added trans2open support to smbd and pvfs, and fine-tuned the open->generic ntvfs mapping code. 2007-10-10 13:05:33 -05:00
Andrew Bartlett
c1d025793f r3572: Thanks to tridge for his patience with my build breakage.
This concludes the proper fixes.

Andrew Bartlett
2007-10-10 13:05:33 -05:00
Andrew Tridgell
bffd18d09d r3571: rough guesses at what abartlet really wanted to do in his last commit
(which I suspect was missing some pieces)

this at least fixes the build so i can keep going on pvfs. Please review/fix Andrew.
2007-10-10 13:05:32 -05:00
Andrew Bartlett
cbb0c67d06 r3570: Export the user's group list from ntlm_auth, via a new command 'UG'
(user groups).  The form of this is not final, but is this should be a
discussion point with the squid team.

Andrew Bartlett
2007-10-10 13:05:32 -05:00
Andrew Bartlett
13a2a9e326 r3565: Move PAC parsing into the session_info generation, and out of the
basic krb5 request path.

The idea is that we should not do the extra work, if we are not going
to use the results.

Andrew Bartlett
2007-10-10 13:05:32 -05:00
Andrew Bartlett
f1d0bb409a r3558: We don't seem to need these as [public] any more.
Andrew Bartlett
2007-10-10 13:05:32 -05:00
Andrew Bartlett
fb7bc73f58 r3557: Use a switch, not a series of if/else if statements.
Andrew Bartlett
2007-10-10 13:05:32 -05:00
Andrew Bartlett
0bf3c24590 r3556: Remove --enable-krb5developer and --enable-gtkdeveloper, as the new
modular headers confine the warnings, and everwhere else we need them.

Use the gcc option to suppress the silly strftime warning.

Andrew Bartlett
2007-10-10 13:05:32 -05:00
Andrew Bartlett
3215f1c6ce r3555: Fix auth_winbind to work with the new auth_util conversion code.
Andrew Bartlett
2007-10-10 13:05:32 -05:00
Andrew Bartlett
316b74029c r3554: Use the new talloc_reference changes to simply the conversion of
returned validation information into the server_info struct.

Also allow for easier expansion to different variations on validation
levels.

Andrew Bartlett
2007-10-10 13:05:31 -05:00
Andrew Bartlett
59757c7f9d r3553: Allow talloc_reference to take a NULL pointer for the "ptr" argument.
This allows potentially NULL pointers to be referenced, without an if ()
for every use.  (previously, it would segfault).

Update doco, and allow talloc_unlink to match.

Andrew Bartlett
2007-10-10 13:05:31 -05:00
Andrew Tridgell
630af28a0f r3552: fixed sense of ACL test 2007-10-10 13:05:31 -05:00
Andrew Tridgell
1b945f9f4b r3551: these utils need system/filesys.h 2007-10-10 13:05:31 -05:00
Andrew Tridgell
b07feaafd1 r3550: fixed initial attribute on file create (inlusion of FILE_ATTRIBUTE_ARCHIVE) 2007-10-10 13:05:31 -05:00
Andrew Tridgell
bad6a88371 r3549: added support for DOS extended attribute lists (name/value pairs)
stored in posix xattrs
2007-10-10 13:05:31 -05:00
Andrew Tridgell
1551f211d9 r3548: removed extra net/if.h include 2007-10-10 13:05:31 -05:00
Andrew Tridgell
864a142409 r3547: fixed waitpid in fcntl_lock.c (thanks to jbm for pointing this out) 2007-10-10 13:05:31 -05:00
Andrew Tridgell
51c1c2af68 r3546: including includes.h twice causes gcc 3.4 to crash with pch 2007-10-10 13:05:30 -05:00
Andrew Tridgell
c54253ed1b r3545: initial support for using extended attributes to hold extended dos attributes of files.
I decided to use IDL/NDR to encode the attribute, as it gives us a
simple way to describe and extend the saved attributes.

The xattr code needs to hook into quite a few more places in the pvfs
code, but this at least gets the basics done. I will start encoding
alternate data streams streams, DOS EAs etc soon using the same basic
mechanism.

I'll probably stick to "version 1" for the xattr.idl for quite a while
even though it will be changing, as I don't expect anyone to be
deploying this in production just yet. Once we have production users
we will need to keep compatibility by supporting all the old version
numbers in xattr.idl.
2007-10-10 13:05:30 -05:00
Andrew Tridgell
a1a0118bd3 r3544: fixed some #include lines to make them more consistent 2007-10-10 13:05:30 -05:00
Andrew Tridgell
321fb06a62 r3543: fixed some #include lines to make them more consistent, and fixed
conditional compilation of xattr client code
2007-10-10 13:05:30 -05:00
Andrew Bartlett
b7c2a4fc34 r3542: Re-indent, and fix a use-after-free by doing the talloc_destroy just a
little later.

Andrew Bartlett
2007-10-10 13:05:30 -05:00
Andrew Bartlett
9ea34abce3 r3541: Add support (to be verified with the squid team) for the Squid 3.0
multiplexed helper system.

This system prefixes every request with a number, and we maintian a
state machine for each of these integers.  This means that we can have
multiple outstanding challenges, without the overhead of a whole
ntlm_auth process.

In future, the actual password check will also be async.

Andrew Bartlett
2007-10-10 13:05:30 -05:00