1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

10099 Commits

Author SHA1 Message Date
Jelmer Vernooij
e9368b1d20 Document parameters that have been added in 3.0
(This used to be commit 1fb6353c39439220465fcce7950511c63e31ea44)
2002-10-18 22:16:08 +00:00
Jelmer Vernooij
19eb4688cf Update for 3.0 (document -B, -s, -n options). Is now current
(This used to be commit 9f388e15b0bef1590c5605f8d7cdeac7c82cd64f)
2002-10-18 21:43:31 +00:00
Jelmer Vernooij
8e8d6da1ce smb.conf.5 is completely up-to-date for 3.0 now. Say so in the VERSION section
(This used to be commit 28fb5f00c0683ed7af6ea05ac5e005215ad7a7c7)
2002-10-18 21:14:55 +00:00
Jelmer Vernooij
e5d7c4f150 Try to put some questions from the mailinglist in
(This used to be commit 1bf8ca3c89b5cbbc329f34971d5d2541d3b0265c)
2002-10-18 21:01:42 +00:00
Jelmer Vernooij
14a2b338ff Add FAQ 'I have set 'force user' and samba still makes 'root' the owner of all the files I touch!'
(This used to be commit e8d7f8eb43e299cbe7f46c91e2040e9d74d693e2)
2002-10-18 20:36:43 +00:00
Jelmer Vernooij
010e444fd9 Document %D. Make a difference between sub_basic and sub_advanced substitutions
(This used to be commit 7fe52d378d7e4ce6381be3544d865088a7659009)
2002-10-18 20:31:13 +00:00
Jim McDonough
e042a93cce Format objectGUIDs on ads dumps.
(This used to be commit 7eaf7e7115c75e682b1b9368c6f28c60429885e5)
2002-10-18 20:11:29 +00:00
Jeremy Allison
e13dd2f302 Start to merge the new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.
Jeremy.
(This used to be commit f6103f866a5e698ab55fdab1444a14e3d8da16bb)
2002-10-18 19:46:28 +00:00
Jelmer Vernooij
0fc3596a95 Add note to HP-UX: use gcc or HP's ansi C compiler and not the freely supplied C compiler
(which isn't ansi C compatible)
(This used to be commit 853558151e0d26a98bf9278b664f98987f17813e)
2002-10-18 18:30:49 +00:00
Gerald Carter
e1096e6936 NULL enum_local_groups for ads winbindd (temporary workaround).
(This used to be commit 06eea39abdb49d9d547707dcb170c988d7276c1d)
2002-10-18 17:42:41 +00:00
Jim McDonough
fb3d215b39 Add extra parm to cli_full_connection call. Tim, you should probably look at this.
(This used to be commit a9f632ed5d3d033849c25efac419b21e830c5069)
2002-10-18 17:29:20 +00:00
Jelmer Vernooij
9cd6f05f2b Remove note about the howto being in 'htmldocs' - this notice has
been in since 2.2 so people should know by now...
(This used to be commit 744615f13f591b334fe85d4285ffbaa11419755c)
2002-10-18 15:54:02 +00:00
Jim McDonough
6ed415f4f5 Fix build. Extra parm was added to cli_full_connection, but not in locktest2.c.
(This used to be commit 51e0f5c2dd469c59a41822dbda293e59794a7dc4)
2002-10-18 15:09:17 +00:00
Jeremy Allison
389a16d9d5 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17 17:10:29 +00:00
Volker Lendecke
8cb53d56f2 Revert changes
(This used to be commit 975fd17f8af0f03f43995deb3fdd9bd5995a1c92)
2002-10-17 08:12:20 +00:00
Volker Lendecke
41a427b6ba Revert changes
(This used to be commit 84b62f6d96a77ccbc1b4475ab0780a4e4c9d4875)
2002-10-17 07:08:43 +00:00
Tim Potter
b1aba7b03b When unmarshalling a relstr, don't unmarshall the string data if the
offset is zero.  Previously we were jumping to the start of the
parse buffer (i.e offset zero) and reading string data until we hit
a terminating NULL.

Test case: in a PRINTER_INFO_0 structure, the servername field may be
NULL when doing an enumprinters with flags = PRINTER_ENUM_LOCAL.
(This used to be commit e62c6bf066c2242aae605ba707c9775b37bcaca3)
2002-10-17 06:39:44 +00:00
Tim Potter
2d51ada527 Ignore python build directory.
(This used to be commit 36681c1c2784ebfe63173a442a193ef22e25c3e3)
2002-10-17 05:26:06 +00:00
Tim Potter
e7c011412b Do a SMB_ASSERT() in cli_nt_session_open() when the pipe index is out
of range instead of silently failing.
(This used to be commit b5111f47b5cf1820550e17663f983674b67bcaff)
2002-10-17 05:08:34 +00:00
Tim Potter
4af2e30ecf make proto
(This used to be commit 86c884c3a129d12dc77332c38484bef78c66440e)
2002-10-17 04:48:08 +00:00
Tim Potter
14df81590c open_pipe_creds() now takes a pipe index instead of a pipe name.
(This used to be commit 3a0a30beda4b8be0038c98ccc6f8f01c6dae386a)
2002-10-17 04:45:25 +00:00
Tim Potter
dae2b02f78 Fix for new arguments of cli_nt_session_open()
(This used to be commit cfb0c12eb6412c2cc84785c17ab2f6c89916aa56)
2002-10-17 04:40:53 +00:00
Jeremy Allison
33b9cc3f67 Never do a ZERO_STRUCT on a structure in a linked list, it's dumb :-).
Jeremy.
(This used to be commit 0d989a911d742ed5eeb874f5b8350b0931f3d9db)
2002-10-16 20:09:22 +00:00
Gerald Carter
a0fbdc3d64 fix from APP_HEAD to commit a re-init'd printer to disk
(This used to be commit 64a159144483457887df2c6d779e6a139dfc6d1f)
2002-10-16 18:21:55 +00:00
Volker Lendecke
9e19e9e9c1 No functional change. I'm trying to understand pdb_ldap.c and
found an unecessary parameter to ldapsam_search_one_user.

Volker
(This used to be commit a085670c7e3a0ca82df749592fd5c6a86def1d53)
2002-10-16 15:49:58 +00:00
Volker Lendecke
4f001512cd Create group mappings on the fly.
Volker
(This used to be commit e2fc1de34aaf875a7003f9d15d5f8ecf159130fb)
2002-10-16 09:41:42 +00:00
Jeremy Allison
f55eb87af5 SMB_ASSERT to check list terminates.
Jeremy
(This used to be commit 25f6a9247e88a94cbacdc8fb06dc0d13c53d69bd)
2002-10-16 01:28:11 +00:00
Andrew Tridgell
d0c11644dc - we need to rescan the trusted domain list regularly to cope with
transitive trusts, and trusts that are added while winbindd is running

- removed an unnecessary call to time()
(This used to be commit 14489ff30bb9eca2c55d36a69c0b45a2db339061)
2002-10-15 23:44:15 +00:00
Jeremy Allison
909ac9ed0d Change default of max_xmit to match W2K. Ensure NT negprot uses it.
Jeremy.
(This used to be commit e5fbfbcc9dc995b23eb0b46c6f59b03cfe9c02b5)
2002-10-15 21:35:41 +00:00
Jeremy Allison
04b02e86ac Fix spelling of background_process.
Jeremy.
(This used to be commit 94fc0ea9f99bc73486ef374a84d2c20ce895ee14)
2002-10-15 21:34:40 +00:00
Jeremy Allison
2e86b6bcc8 Change to use sys_read/sys_write.
Jeremy.
(This used to be commit 042890056d5d4128eaaca346e7898ccda860dbe2)
2002-10-15 21:33:20 +00:00
Jeremy Allison
598ebaa2b3 Added cli_set_timeout() call.
Jeremy.
(This used to be commit 94a5c589945ffd4719f7509c162cf994f7914312)
2002-10-15 21:29:37 +00:00
Jelmer Vernooij
71b7f1bd75 These utilities aren't in HEAD
(This used to be commit 6bfd71ec20aa8eddc3f2878eb1cac57cacc05885)
2002-10-15 20:57:33 +00:00
Jelmer Vernooij
89114dd5d7 These utilities are not in HEAD
(This used to be commit aacdde1fcb02bf4982e8175f6dcc8ea8912d3efd)
2002-10-15 20:56:37 +00:00
Jelmer Vernooij
0a12f1af0b make_smbcodepage and make_unicodemap are gone in HEAD
(This used to be commit ef40bde4344a19fcc61d6d1719c1c87970445139)
2002-10-15 20:53:27 +00:00
Jelmer Vernooij
03a709902c Add info on chpass on *BSD systems (thanks Krzysztof Kowalik <kkowalik@uci.agh.edu.pl>)
(This used to be commit 5a81ac79dbf40eee3c506cd11d473a1fcfd38df0)
2002-10-15 20:13:43 +00:00
Jelmer Vernooij
ca5759f796 make html
(This used to be commit 39034207567c363a257f0aebd8ef22f15d98f451)
2002-10-15 18:14:31 +00:00
Jelmer Vernooij
af73334255 Convert BROWSING-Config.txt to SGML
(This used to be commit 0b34832e33fbd81cec88730d671ca91abe6cc382)
2002-10-15 18:02:23 +00:00
Andrew Tridgell
5139da0bc6 fixed a crash bug on 64 bit systems. Thanks to Anton Blanchard for
finding this.
(This used to be commit 4ba8608020123a52432e5afaa914e290e4ce8cbf)
2002-10-15 05:40:24 +00:00
Gerald Carter
30acf331a9 merge from app_head to use GMT in job submission notification
(This used to be commit b130c681d2e8e6dcabe8cfd85dd718a294b04233)
2002-10-15 00:28:04 +00:00
Tim Potter
664a9bde0e Tidyup of file specific access mask bits.
Added directory specific access mask bits.
(This used to be commit edbd942a8d0edcb5e7cc3086c3d98c6ff1d6cd80)
2002-10-14 22:57:59 +00:00
Jelmer Vernooij
fe0d3de7f2 Don't use SAM FLAGS from smb.h since they're gone - patch from metze
(This used to be commit 82a0abf4c84ddd0672b3c5ea4ba9759abd6778c6)
2002-10-14 21:40:45 +00:00
Volker Lendecke
4d0a35c55e In my test, sync_context simply has to be incremented. Can
somebody with a large domain do a net rpc samdump to verify this?
Without this change, I don't get everything from a NT4 SP1 and SP6
PDC.

Volker
(This used to be commit f6a9180a5ff62932de0d4f890092b0d8281e9d6e)
2002-10-14 12:09:13 +00:00
Andrew Bartlett
4ac9ccfde4 Nice *big* patch from metze.
The actual design change is relitivly small however:

It all goes back to jerry's 'BOOL store', added to many of the elements in a
SAM_ACCOUNT.  This ensured that smb.conf defaults did not get 'fixed' into
ldap.  This was a great win for admins, and this patch follows in the same way.

This patch extends the concept - we don't store values back into LDAP unless
they have been changed.  So if we read a value, but don't update it, or we
read a value, find it's not there and use a default, we will not update
ldap with that value.  This reduced clutter in our LDAP DB, and makes it
easier to change defaults later on.

Metze's particular problem was that when we 'write back' an unchanged value,
we would clear any muliple values in that feild.  Now he can still have his
mulitivalued 'uid' feild, without Samba changing it for *every* other
operation.

This also applies to many other attributes, and helps to eliminate a nasty
race condition.  (Time between get and set)

This patch is big, and needs more testing, but metze has tested usrmgr, and
I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly
flawed ;-).

The same system will be introduced into the SAM code shortly, but this fixes
bugs that people were coming across in production uses of Samba 3.0/HEAD, hence
it's inclusion here.

Andrew Bartlett
(This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
2002-10-12 03:38:07 +00:00
Andrew Bartlett
4920d21922 We already set LDAPv3 at connect time, no need to set it again.
(This used to be commit c8e32d485bf205b6965579f94063effd86777f3f)
2002-10-12 00:59:21 +00:00
Jeremy Allison
24d8333c72 Turns out with Win9x, we could occasionally return from unix_convert() given
a mangled name without a valid stat struct if the file existed. This would
then cause open_file_shared1() to erroneously think the file open was new,
thus not check for oplock break, thus causing a spurious EAGAIN reply to
the open on a file we already had kernel oplocked.... (phew - that was fun
to track down :-).
Jeremy.
(This used to be commit e23210e4732163e7f005b320235c20c814b41972)
2002-10-11 01:17:41 +00:00
Jeremy Allison
ac71311ff2 Added "unknown info level".
Jeremy.
(This used to be commit afecd1aa52b98f123b226ff172d5ef5768cbb44f)
2002-10-09 22:50:10 +00:00
Jeremy Allison
447b4a742e Use memmove when copies can overlap. Spotted by SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
Jeremy.
(This used to be commit 71768c488e9b498e8cc77a1cfce0fab873e36068)
2002-10-09 19:46:19 +00:00
Gerald Carter
a92bf85234 print job properties fix from APP_HEAD. a null devmode is not a failure.
(This used to be commit b507dba452ecbd96ec95242f761501d0c5e0d7b5)
2002-10-09 18:54:20 +00:00
Gerald Carter
278744478b removed stat() call in lp_add_home()
(This used to be commit 07c7048aa4ef37f1b7af228ede391ab16503d9a1)
2002-10-09 17:44:02 +00:00