Age | Commit message (Collapse) | Author | Files | Lines |
|
Andrew Bartlett
(This used to be commit 81eaa7924b7bd3a13d049bce7fe7a16ab9174364)
|
|
(This used to be commit 1650bc969fbd36a02758fafd9addc66ea715e835)
|
|
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)
|
|
(This used to be commit 61c61f6b4f22c1ef6f837145f5e05730706cc8d4)
|
|
delete by short name, and that we can create by short name and delete
by long name
our old mangling code fails this test.
also tweaked the random filename generation to produce more likely
collisions
(This used to be commit 65609c52960c2b5938150a2fdb5290541f4e0225)
|
|
randomised filenames
- fixed several mangling bugs that the test suite pointed out
(This used to be commit 858fa7efc34f6e7cdf8500900aed3f7943c91348)
|
|
the passdb) and RIDs not in the passdb, due to being NIS users etc.
The main fix here is to add become_root()/unbecome_root() at critical places.
This (finally) fixes the bug where you could not see local users's names
in a file's security properties as non-root. Tested.
The similar bug in uid_to_sid is also fixed, but is not (yet) Tested.
Andrew Bartlett
(This used to be commit 79327a305e20d78ab5ca21d01c39b5f49dc0d632)
|
|
on a 2 byte boundary. We then miss-parse the desired_access. Also added
other fixes to ensure we align after private data (discussed with Gerry).
Jeremy.
(This used to be commit 4369a58765f382e118e5393c805336484671cbf9)
|
|
(This used to be commit 7e92fb7453e4dbf1fe0c32c3dcc1e994cb95b5ea)
|
|
(This used to be commit 51b4de0ae3b05c4f34a645ae9c6e395bc37226e6)
|
|
I think its caused by a rpc operation failing and us giving invalid
data back to the cache layer. Using talloc_zero() should solve this.
(This used to be commit dfa990170bb9a665ba48443258e2a87f50baa75c)
|
|
hash to suit
- the prefix ends at the last dot, not the first
(This used to be commit 91a3ccd3e790f980421c1ee93388e19e87026b29)
|
|
(This used to be commit 582f753eac7a111a93a8d6c049398a0998af848f)
|
|
(This used to be commit ecdddd674f2ffad16eaa01a68c9c91ff3b355b3f)
|
|
- finished the is_mangled() function
(This used to be commit 128bec2071d640c775b58322256ac6bb03363741)
|
|
(This used to be commit 8d6f2e239940cbac44f6f0e9d584a47553acbc56)
|
|
(This used to be commit 30b35d0c1f41f72ebe230905f76db8807802a6cc)
|
|
the hash for this scheme is *much* larger (approximately 31 bits) and
the code is written to be very fast, correctly handling multibyte
while not doing any actual multi-byte conversions in the vast majority
of cases
you can select this scheme using "mangling method = hash2", although I
may make it the default if it works out well.
(This used to be commit bb173c1a7e2408ced967ebac40b5e3f852ccd3a1)
|
|
interactive and logfilename. These can be used to send Samba DEBUG()
output to stdout or to a logfile which makes automated testing much
funkier.
Also added get_debuglevel() and set_debuglevel() functions.
Make open_pipe_creds() accept None as a anonymous credential.
(This used to be commit 094a51edb9369f5c493bddfdc98347431bea3c2d)
|
|
interactive and logfilename. These can be used to send Samba DEBUG()
output to stdout or to a logfile which makes automated testing much
funkier.
Also added get_debuglevel() and set_debuglevel() functions.
(This used to be commit 6c7b5e15c22119623ee959267d2755e21193bc4b)
|
|
(This used to be commit 8bb798ab3d7245e61530913d771d58f08e77a200)
|
|
(This used to be commit 233a24792ea305e92c15b43f57839391ca91d1b6)
|
|
Jeremy.
(This used to be commit 42ae2334f21402c347aee560f08fd8e730481169)
|
|
mangling implementation, selectable using "mangling method = " in smb.conf
It also tidies the interface a little, although it is still nasty.
(This used to be commit be23d87a178e7d0691e7d942adf89bb3d2d533c2)
|
|
(This used to be commit d7c9b00253499da047f30f71660dede3676d40ad)
|
|
(This used to be commit 7db47c6647d764739e395948699cf115c4da4c8d)
|
|
(This used to be commit 32dc5dbbfb16cb9fd6f953dbb8148f5228b453a4)
|
|
(This used to be commit d87aa35d482824df7b5a2e87240ae43c113cc730)
|
|
(This used to be commit f8673bd499c7c3993a5860d2ebe9ae2403105316)
|
|
Jeremy.
(This used to be commit 678f4f455e7ed0a6fafa3ad30ddadd1917e741ef)
|
|
defines into acconfig.h - only defined if seen.
Jeremy.
(This used to be commit 9f2753a1496c51fd56c97984b8def46a651dbfc8)
|
|
server sort controls. Also put option externs in the net.h include.
(This used to be commit b69f11170c2b27016c44a98bc603d1c94ad7d4c2)
|
|
(This used to be commit 4e3265c3c94583ac7ee48017d195ad98ecdfbc47)
|
|
- Add doxygen comments
- remove server sort control (ms implementation was not reliable)
- rename ads_do_search_all2() to ads_do_search_all_fn()
(This used to be commit 7aa5fa617221019de0f4565d07842df72673e154)
|
|
(This used to be commit 9126f008ef542b80f0040f621aa28478be5c80a0)
|
|
(This used to be commit e878cdc9f59084f39c022f2faa140369f76e94ec)
|
|
(This used to be commit 952eb866f44ac0d8ba2032cf251d3a4298a750d3)
|
|
Jeremy.
(This used to be commit 16015c07eab2e57fa3771051e3e08fde21757cfa)
|
|
(This used to be commit da794d3bbd919e4a909f219d98b1411c1c2d60fd)
|
|
(This used to be commit b618b5943d53f33e6f03d8d47cf87efc5e1ad3e5)
|
|
the tdb has not been named.
(This used to be commit 3e7985c60ee9888285769f1eb0ec81f764c26d91)
|
|
Jeremy.
(This used to be commit cda9fccd629d084039af642d9177865d88553be6)
|