| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
Andrew Bartlett
(This used to be commit c3312006009f5b312b285e3e679d01719012f29d)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
<mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly
enumerate its trusted domains - by exaimining the keys in the secrets.tdb file.
This patch has been tested with both NT4 and rpcclient/wbinfo, and adds
some extra functionality to talloc and rpc_parse to allow it to deal with
already unicode strings.
Finally, this cleans up some const warnings that were in net_rpc.c by pushing
another dash of const into the rpc client code.
Andrew Bartlett
(This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
|
| |
| |
| |
| | |
(This used to be commit d5862891979678c4defb3e33791edca1f1f8c3e4)
|
| |
| |
| |
| | |
(This used to be commit 8e0457f8aa7b5ecababcdec4dfbc328d11513192)
|
| |
| |
| |
| | |
(This used to be commit f006bcf8e50e44b955678356039a6d6a7e16ab20)
|
| |
| |
| |
| |
| | |
Added lookup_names() and lookup_sids() functions.
(This used to be commit 2d2c925014374605b29e052729e959c0fd690586)
|
| |
| |
| |
| |
| |
| | |
sending the negotiate - try to cope
(This used to be commit 95278aa41f654108d9d20cd0096a34caf175d32b)
|
| |
| |
| |
| |
| |
| |
| |
| | |
tconx, so win2000 clients don't expect a permissions error in
tconx. We now match this behaviour, by only checking that the
directory exists during tconx and relying on the permissions on other
calls to protect directories
(This used to be commit 4fc476686476da31cc2b45badb05cb0765259f98)
|
| |
| |
| |
| | |
(This used to be commit fbf154bcfb68b90eb43ada9de317c93f43711608)
|
| |
| |
| |
| |
| | |
the pre-win2000 username
(This used to be commit aa139ba507e4b898377fdfc9b27f7febf029d5a4)
|
| |
| |
| |
| |
| | |
of long usernames (win2000 usernames can be longer than 20 characters)
(This used to be commit 0719e756f60950b9ec04450fda5cc3776752e9a9)
|
| |
| |
| |
| | |
(This used to be commit 6d9336f3b9b205e5916424ee844658b445439fdb)
|
| |
| |
| |
| | |
(This used to be commit 06df6c79ae91cb4b1427a2a230fee288cff50e10)
|
| |
| |
| |
| | |
(This used to be commit 703e0a6ce2d283349f64cba72b36c1bef6a0d806)
|
| |
| |
| |
| |
| | |
Updated patch.
(This used to be commit 5dbd716b99c522eac89d9216eb4293084958b966)
|
| |
| |
| |
| | |
(This used to be commit 5c44397803622400390b13f1998b49f5da83d2a1)
|
| |
| |
| |
| | |
(This used to be commit 7f2c814237f1df7008c9a91b7cf3b1de01e6ed87)
|
| |
| |
| |
| | |
(This used to be commit 14e4d889a236dd9c2ba6db68b3133e44195b8a47)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- the pending mtime overrides the current file time in setfileinfo
- a later wtime can override a mtime on setfileinfo
this fixes the date of file copies in win2000
(This used to be commit 79630bb2c0a99c961a0a1c67223899e39685ee2c)
|
| |
| |
| |
| | |
(This used to be commit 3261a210dd0f89e3a8b8524747fa182bcc84bf9f)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sane) from ab.
Attached is his e-mail to the samba-technical list, as it describes it rather
well:
Andrew Bartlett
Subject:
[PATCH] Parametrical options support for Samba 3.0
Date:
Fri, 12 Apr 2002 19:13:13 +0300
From:
Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To:
samba-technical@samba.org
CC:
tridge@samba.org
Greetings!
Attached patch makes possible arbitrary options to be specified in
smb.conf and later queried from VFS modules (and other places)
without problems. Below such options are called 'parametrical options'.
Patch introduces new notation to smb.conf option's language, as discussed
today with Tridgell on @samba-technical:
TYPE: OPTION = VALUE
Colon sign is important here, it is what distinguishes parametrical
options from ones hardcoded in param/loadparm.c.
TYPE is 'option domain', OPTION is option name itself.
In order to access values of parametrical options, lp_parm_string()
function was implemented:
char *lp_parm_string(const char *servicename, const char *type, const char
*option);
This function accepts service name, type and option name, and returns
value of option or NULL if this option is underfined. Service name can be
NULL, resulting in search in 'global' section only.
If option does not exist in specified service, 'global' section is
scanned. This allows propagation of globally specified options to all
services and later overloading of the option in some services.
Caution: 'TYPE: OPTION' combination is case sensitive.
So far, testparm is able to handle parametrical options, while SWAT
can't. Thus, everyone familiar with SWAT internals is welcomed to add
parametrical options support.
(This used to be commit bfd7cd43556bed3131d0d18869abfd1cbc30bcd0)
|
| |
| |
| |
| |
| | |
Andrew Bartlett
(This used to be commit 81eaa7924b7bd3a13d049bce7fe7a16ab9174364)
|
| |
| |
| |
| |
| | |
Andrew Bartlett
(This used to be commit 012b3326c40ca0f8f4c7673310d73f695cc4f79b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
All uids and gids must create valid RIDs, becouse other code expects this, and
can't handle the failure case. (ACL code in particular)
Allow admins to adjust the base of the RID algorithm, so avoid clashes with
users brought in from NT (for example).
Put all the algorithm code back in one place, so that this change is global.
Better coping with NULL sid pointers - but it still breaks a lot of stuff.
BONUS: manpage entry for new paramater :-)
counter based rids for normal users in tdbsam is disabled for the timebeing,
idra and I will work out some things here soon I hope.
Andrew Bartlett
(This used to be commit 5275c94cdf0c64f347d4282f47088d084b1a7ea5)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
<jelmer@nl.linux.org>.
This patch also includes major rework of pdbedit to use popt, and the addition
of -i paramter (allowing the user to specify which PDBs is being
operated on) and -e to export a pdb - useful for backup and testing etc.
Use of -i and -e gets us pdb2pdb functionality for transition between backends,
much like the sam2sam in TNG.
Andrew Bartlett
(This used to be commit c10def37f506d3f2bab442418ac08fdb62659b02)
|
| |
| |
| |
| |
| |
| |
| |
| | |
The previous code would return the same value for both the initial and second
call, only incrementing on later calls.
Andrew Bartlett
(This used to be commit a4594d9efeca1f67dea57be8323fb4bd986318ce)
|
| |
| |
| |
| |
| | |
Jeremy.
(This used to be commit a9895fcb30cdcb572cd254b0d370d79f95c7214d)
|
| |
| |
| |
| |
| | |
as the pid was 0
(This used to be commit f16033635f5125758a3d2c3b0780d5bd2bd7bdbd)
|
| |
| |
| |
| | |
(This used to be commit 699a1d9f46fcc9d6aad56ed1b44d1295ee828b2b)
|
| |
| |
| |
| |
| |
| |
| | |
in the passdb module selection (after the : you have the options).
Andrew Bartlett
(This used to be commit 6949b630f10ebb76e8e59ca7e832f53571f2c20a)
|
| |
| |
| |
| |
| | |
it seems to be a much better scheme
(This used to be commit c8e2250ab1eae3aebecd8669e63f95f8656ae361)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bytes which follow the header, not the full packet size.
[Yes, the length field is either 17-bits, or (per the RFCs) it is a
16-bit length field preceeded by an 8-bit flags field of which only
the low-order bit may be used. If that bit is set, then add 65536 to
the 16-bit length field. (In other words, it's a 17-bit unsigned
length field.)
...unless, of course, the transport is native TCP [port 445] in which
case the length field *might* be 24-bits wide.]
Anyway, the change is a very minor one. We were including the four bytes
of the header in the length count and, as a result, sending four bytes of
garbage at the end of the SESSION REQUEST packet.
Small fix in function cli_session_request().
(This used to be commit d08471688b65371eb3de73b03a8ffaee86659ba0)
|
| |
| |
| |
| |
| | |
> Don't store domain with username in secrets.tdb
(This used to be commit a4a01afebe5b05e55ba64ada37e567d235d82fe8)
|
| |
| |
| |
| | |
(This used to be commit f01d48fbf5ba08edb0b2882957af98bdfd38c064)
|
| |
| |
| |
| | |
(This used to be commit 2c483c8dce21c5041c5f368aedcc47e8c70f3596)
|
| |
| |
| |
| | |
(This used to be commit e24f6288b63b950d7e8fee80759a94d6acd8cfa6)
|
| |
| |
| |
| | |
(This used to be commit 4bbc584e6ce9cbc32bae715fd3fec0d89f2e271f)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
>Added cli_spoolss_enumjobs() function.
>Added cmd_spoolss_enumjobs() function to rpcclient.
>
>The semantics of the src_len argument to rpcstr_pull() seem to have changed
>breaking most of the spoolss commands in rpcclient. Changed a bunch of
>0's to -1's to fix it.
(This used to be commit dce534d4373cc0f204d82e0876bb94db8dfeb628)
|
| |
| |
| |
| |
| |
| | |
>DOS error 1307 is returned when an invalid owner for a security descriptor
>is detected.
(This used to be commit 8b5cb1c2dda39ab4eaa5f61272cebcba072c332b)
|
| |
| |
| |
| |
| | |
>Added constant and message for invalid security descriptor dos error.
(This used to be commit f16c85caff9adb640c70ce6b932f33bdec696665)
|
| |
| |
| |
| | |
(This used to be commit 9fe4363e15239d302c1caf58fe76614cf7a53778)
|
| |
| |
| |
| | |
(This used to be commit d3aed37dd87d425f51bcdc4e5151f0b0fe8f9c6b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
My seven-year-old daughter calls me 'Captain Pedantic'. I don't know which
is freakier... the name or the fact that a seven-year-old knows what it
means.
Small change to correct the value we place in the DGM_LENGTH field of
NBT Datagram messages. We have been counting the full datagram, but it's
fairly clear in the RFCs that we should only count the source name,
destination name, and payload. We've been overcharging by 14 bytes
(the size of the NBT DGM header).
This fix brings us in line with what Windows does, and what the RFCs
say should be done. I'm a little surprised that this didn't cause any
bugs or error messages. I guess no one actually checks this field.
(This used to be commit c06a2ece7545a9d9f8cde04745b603f7d6c6a716)
|
| |
| |
| |
| | |
(This used to be commit 305ff4203e7313c7869305c63290b1964ac17f2e)
|
| |
| |
| |
| | |
(This used to be commit e57c162897d4a7e66bb87091d179ac138f751c64)
|
| |
| |
| |
| | |
(This used to be commit dd1fb1b90b143c41238eb1f342d86d8fd406a4ef)
|
| |
| |
| |
| | |
(This used to be commit 62ee1f8c3fbcf83641bed881143a1a8c70f836ba)
|
| |
| |
| |
| | |
(This used to be commit 0e3be3603e6fea05cc8febd6ba50a5064e225901)
|
| |
| |
| |
| |
| | |
Volker
(This used to be commit 8ecfed59a3905c25a708172bf39511a0b7637776)
|
| |
| |
| |
| | |
(This used to be commit 97eb3a121d33200ee7559b2413d6252efc04ebaf)
|