1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

9523 Commits

Author SHA1 Message Date
Andrew Bartlett
f283307f52 r16125: Add another helpful utility function: samdb_msg_add_int()
Andrew Bartlett
(This used to be commit 2fe9de8105)
2007-10-10 14:09:00 -05:00
Volker Lendecke
9469af4596 r16123: Samba3 in the buildfarm will happily create (faked(!!)) users anonymously. Disable that test for now.
(This used to be commit 9015713d62)
2007-10-10 14:09:00 -05:00
Andrew Bartlett
2f16057bf4 r16110: Start some simple rootDSE LDAP tests in ejs.
Andrew Bartlett
(This used to be commit 0201f0df3f)
2007-10-10 14:09:00 -05:00
Andrew Bartlett
4a350fd18f r16109: Make this module simpiler, don't intercept operations we are not going
to implement.

Andrew Bartlett
(This used to be commit 3252e425b0)
2007-10-10 14:09:00 -05:00
Andrew Bartlett
e5a00c8ca6 r16108: Fixes from working with the partition module.
We were not using the correct baseDN for the templates search.  Using NULL is no longer valid (like against AD).

While chasing that down, return proper error codes, and use the
ldb_set_errstr() to get a good error string back up to the UI layer.

Andrew Bartlett
(This used to be commit b31003403d)
2007-10-10 14:08:59 -05:00
Gerald Carter
e3a6c6be79 r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar
(This used to be commit 26a2fa97e4)
2007-10-10 14:08:59 -05:00
Volker Lendecke
7613015f47 r16091: Without this patch Samba3 will not accept this, and simply setting the "92" to
"100" will give funny permissions...

Volker
(This used to be commit b76a3d4f59)
2007-10-10 14:08:59 -05:00
Tim Potter
7d7e43d94f r16090: Fix standalone build after the rename of enum ldb_request_type in
r15944.

Hey idra I think a better rename would be to keep the LDB_REQ suffix
here to remain consistent with the other enums (e.g ldb_reply_type,
ldb_async_wait_type and ldb_async_state).
(This used to be commit d44ee8c43b)
2007-10-10 14:08:58 -05:00
Tim Potter
43e9053d95 r16089: Make doxygen target work if $DOXYGEN variable is empty.
(This used to be commit 8f44d0a2d6)
2007-10-10 14:08:58 -05:00
Andrew Bartlett
d912d6fcef r16087: Fix silly cut-and-paste typo that cost me much of my afternoon...
This only affects my new partitions module, which I will post soon,
but should be fixed anyway.

Andrew Bartlett
(This used to be commit 8912c4e057)
2007-10-10 14:08:58 -05:00
Andrew Bartlett
f4f194aad1 r16086: Ensure we can never dereference NULL pointers, and that describe what
these two DN comparison functions do.

Andrew Bartlett
(This used to be commit 733b64a733)
2007-10-10 14:08:58 -05:00
Andrew Bartlett
6664ac8886 r16085: Set the error string if we fail to find a valid op to execute. Helps
in chasing down bugs :-)

Andrew Bartlett
(This used to be commit 9ede8edbaf)
2007-10-10 14:08:58 -05:00
Andrew Bartlett
c79f37fa1a r16084: Add private prototype for new ldb_connect_backend() function.
Andrew Bartlett
(This used to be commit 6841262230)
2007-10-10 14:08:57 -05:00
Andrew Bartlett
247af0d569 r16083: Make it possible to initialise a backend module, without it setting up
the whole ldb structure.

Because the sequence number was a fn pointer on the main ldb context,
turn it into a full request (currently sync).

Andrew Bartlett
(This used to be commit fbe7d0ca90)
2007-10-10 14:08:57 -05:00
Andrew Bartlett
2ab5bafd72 r16082: Index objectCategory like objectClass, as it is searched on a lot.
Andrew Bartlett
(This used to be commit 954785db03)
2007-10-10 14:08:57 -05:00
Andrew Bartlett
c38f24b021 r16073: On an incoming wildcard search, it is critical that the size be
correct, or we try and do a memcmp on the trailing '\0'.

This happens because we now use memcmp for the prefix matching.

I just wish I had a test other than a particular invocation of the OSX
client.  (I've tried and failed so far)

Andrew Bartlett
(This used to be commit 36aa839080)
2007-10-10 14:08:57 -05:00
Andrew Bartlett
9f6884df6a r16072: Do basic wildcard searching in the ejs LDAP test.
Unfortunetly this didn't find the wildcard bug, but at least it tests
something...

Andrew Bartlett
(This used to be commit f763970caf)
2007-10-10 14:08:57 -05:00
Simo Sorce
2452d41b22 r16071: tdb has nested transactions
change the code to exploit that in ldb

I still have to reintroduce transactions when you call ldb_request directly,
I have some plans I hop to be able to develop in the next weekend
(This used to be commit 3511120602)
2007-10-10 14:08:56 -05:00
Simo Sorce
2ed444de43 r16070: Fix kludge_acls
(This used to be commit 795f8ebe8e)
2007-10-10 14:08:56 -05:00
Andrew Bartlett
e2e5c037f0 r16069: Remove unused destructor and an unused variable.
Andrew Bartlett
(This used to be commit 25e8597545)
2007-10-10 14:08:56 -05:00
Andrew Bartlett
7707d453c6 r16068: Check against the correct result in the ldap.js test
Andrew Bartlett
(This used to be commit 52b4e83a1c)
2007-10-10 14:08:56 -05:00
Andrew Bartlett
4f619f4874 r16067: Remove const, it isn't required and just causes a warning.
Andrew Bartlett
(This used to be commit 272a095728)
2007-10-10 14:08:56 -05:00
Andrew Bartlett
efddd37af8 r16066: The OSX AD plugin uses objectCategory searches a lot, and uses them
both fully qualified and in the 'short' form.  Now we test and support
this query format.

Andrew Bartlett
(This used to be commit 9ddcfacbce)
2007-10-10 14:08:55 -05:00
Andrew Bartlett
4f422081a7 r16063: Make is clearer when we can't write to the smb.conf
Find more possible posix group names for the 'domain users' group, as
the existing options don't exist in OSX.

Andrew Bartlett
(This used to be commit 4e8d7b7fb3)
2007-10-10 14:08:55 -05:00
Andrew Bartlett
5c3cbdbb13 r16062: objectCategory is a DN, and needs to be matched as such.
Andrew Bartlett
(This used to be commit 1a868b451a)
2007-10-10 14:08:55 -05:00
Andrew Bartlett
629d6ad3cf r16061: Prove that removing the objectClass list in the samldb module breaks things.
With this fix, we now correctly detect computers again, and get the
correct objectCategory, which is important for the OSX AD plugin.

Andrew Bartlett
(This used to be commit 4e39d7bb24)
2007-10-10 14:08:55 -05:00
Volker Lendecke
1335e8f5f1 r16059: Remove accidential commit
(This used to be commit e980066111)
2007-10-10 14:08:55 -05:00
Volker Lendecke
0285d711b9 r16058: Test a Join using SetUserInfo level 25, as XP does if the user did not
exist. Samba3 right now fails to transfer the acb_info in the info21 sub-part
to the passdb backend, rendering the workstation locked.

Thanks to Tom Bork for finding this one.

Now working on a fix :-)

Volker
(This used to be commit 6613093e69)
2007-10-10 14:08:54 -05:00
Andrew Bartlett
e0bb0e9f95 r16056: Fix errors found by trying to use our kpasswd server and the Apple client.
Andrew Bartlett
(This used to be commit ae2913898c)
2007-10-10 14:08:54 -05:00
Andrew Bartlett
66f77c4ebf r16053: Allow entries without an objectClass. We need this to permit the
cn=rootDSE entry.

(it was also crashing, as 'ac' wasn't initialised at this point)

Andrew Bartlett
(This used to be commit 8455aafb15)
2007-10-10 14:08:53 -05:00
Andrew Bartlett
d70d6727dd r16052: Add .m4 file for XATTR detection (from ntvfs/posix/config.m4)
Andrew Bartlett
(This used to be commit 9a9c2bc4aa)
2007-10-10 14:08:53 -05:00
Andrew Bartlett
ca62ddd8d9 r16051: Move the XATTR compatability code into a new file, so I can use it for
the getntacl utility.

Andrew Bartlett
(This used to be commit b1e0d4747b)
2007-10-10 14:08:53 -05:00
Volker Lendecke
2a9982aa52 r16045: RPC-SAMBA3SESSIONKEY tests the different variants of joins (anon/auth smb,
anon/auth bind).

Jeremy, this is the little test I promised to you that shows the places where
we need the SystemLibraryDTC key.

Volker
(This used to be commit 9164c24d87)
2007-10-10 14:08:53 -05:00
Volker Lendecke
232db0b46d r16044: Create a samba3 specific file in torture/rpc. The tests in there survive
against W2k3, but they are designed to walk existing Samba3 code paths. It
might be possible that I add something like that to other subdirs like raw/.

RPC-BINDSAMBA3 excercises the bind variants that samba3 supports right now.

RPC-NETLOGSAMBA3 does a samba3 style join, does some schannel-protected
netlogon operations and leaves again. Samba3 right now does not survive this,
I'm about to fix it soon. I'll also post a *VERY* dirty hack (fake users in
sys_getpwnam()) to be able to run this in the build farm.

Volker
(This used to be commit 60b45bf8b6)
2007-10-10 14:08:53 -05:00
Simo Sorce
68a06bf37e r16043: Fix error message
(This used to be commit 2898df2cee)
2007-10-10 14:08:52 -05:00
Simo Sorce
56c46ee241 r16042: Fix crashbug caused by incorret error reporting.
(This used to be commit d346531d0a)
2007-10-10 14:08:52 -05:00
Jelmer Vernooij
024502c81b r16040: Support more recent versions of autoconf
(This used to be commit 3f2a136b9f)
2007-10-10 14:08:52 -05:00
Jelmer Vernooij
5ca6189505 r16039: Add missing #!, don't rely on bash
(This used to be commit f6e587e706)
2007-10-10 14:08:52 -05:00
Simo Sorce
ca5accf224 r16036: Add a couple of new functions to corretly deal with timeouts.
Check timeouts are correctly verified.
Some minor fixed and removal of unused code.
(This used to be commit b52e5d6a0c)
2007-10-10 14:08:52 -05:00
Andrew Bartlett
b31c685ec2 r16028: Re-add the objectclass module, in the new async scheme.
Add a test to show that we need this, and to prove it works (for add
at least).

Andrew Bartlett
(This used to be commit f72079029a)
2007-10-10 14:08:51 -05:00
Stefan Metzmacher
dc4ccc6f65 r16024: OpenBSD doesn't have ENOTSUP so use ENOSYS
metze
(This used to be commit 505d55de69)
2007-10-10 14:08:51 -05:00
Stefan Metzmacher
594ae8f9e1 r16023: we don't need a global variable here...
noticed by the Mac OS 10 linker

metze
(This used to be commit 5928112cbc)
2007-10-10 14:08:51 -05:00
Simo Sorce
e47c00414f r16022: ooops, a bit too aggressive commit :-)
(This used to be commit 959c8c35ef)
2007-10-10 14:08:51 -05:00
Simo Sorce
68e72e389b r16021: While studying how to make samldb really async I found a critical situation handled in the incorrect way.
A while(1) loop may end up looping forever consuming all valid RIDs because of a secondary bug.
And anyway nextRid is supposed to always give back a new unique RID, if someone messed up the database let him
fix the problem first, trying to be smart here would probably end up in worst results.

Simo.
(This used to be commit 6b214f232e)
2007-10-10 14:08:51 -05:00
Stefan Metzmacher
18cc835e8a r16013: hopefully fix the configure check for darwin
metze
(This used to be commit 88b7d42064)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
2176bcc3ab r16012: do the type checks before anythingelse
metze
(This used to be commit 092e52c518)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
4ed9f119e0 r16011: we don't need sys/bitypes.h any more
metze
(This used to be commit d49464be56)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
a5d1826677 r16010: deal with the case that int64,uint64 are already typedef'ed
metze
(This used to be commit 07b014f770)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
b20d76085b r16009: fix the build
metze
(This used to be commit d53562f126)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
22367ca76e r16008: make debugging easier, and use the os name in the function name
(I'll add a bsd wrapping later)

metze
(This used to be commit 2ce4a2da29)
2007-10-10 14:08:49 -05:00