Jeremy Allison
42cfffae80
Remove next_token - all uses must now be next_token_talloc.
...
No more temptations to use static length strings.
Jeremy.
(This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-07 17:32:32 -08:00
Volker Lendecke
78c6ee0090
Remove some globals
...
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-12-05 14:39:07 +01:00
Jeremy Allison
acb829ecc3
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
...
Jeremy.
(This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
2007-11-15 18:27:26 -08:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-18 17:40:25 -07:00
Günther Deschner
32925f27ca
r25325: Rename some defines.
...
Guenther
(This used to be commit cc38e4fc1f2d3f9e2e2ff90a7a004ce8fdfa9238)
2007-10-10 12:30:59 -05:00
Jeremy Allison
ab9d7bf4f9
r25165: Use talloc_asprintf_append_buffer with an unmodified
...
string.
Jeremy.
(This used to be commit fe30a523dfc77cc373145624246fd3ad5c62b9ac)
2007-10-10 12:30:47 -05:00
Günther Deschner
6824731cb0
r24783: Remove unused off_t type.
...
Guenther
(This used to be commit 85c816c27f2b9d20dfaf411b12ec1803a49574ce)
2007-10-10 12:30:21 -05:00
Günther Deschner
18e6f9c6aa
r24573: Fix build without LDAP. Thanks Volker for pointing this out.
...
Guenther
(This used to be commit 1bae53e39f86a9b3b277578a71b906ca1cd0e4fa)
2007-10-10 12:30:07 -05:00
Volker Lendecke
8713bb2db7
r24550: Attempt to fix the non-LDAP build
...
For example host "bigboy" doesn't have it.
Günther, please fix it properly and merge to 3_2_0
Thanks,
Volker
(This used to be commit 0d294267414b12c31afd316c39689984e5047865)
2007-10-10 12:29:56 -05:00
Günther Deschner
36a85969f9
r24416: Some more minor edits for libgpo, mostly reformatting and moving of functions.
...
Guenther
(This used to be commit 3e240672b431b7132dfb2bdd46198ab758eadd0b)
2007-10-10 12:29:43 -05:00
Günther Deschner
444fd1e848
r24413: Minor edits for libgpo.
...
Guenther
(This used to be commit 5dc791f4cfdee2bc350c1e65aeed5705c1745356)
2007-10-10 12:29:42 -05:00
Günther Deschner
bed567bffc
r24024: Minor cleanup in ads_parse_gp_ext().
...
Guenther
(This used to be commit 57aa0acb84a41a24ea89950bcb51b5ffc68b4564)
2007-10-10 12:28:57 -05:00
Günther Deschner
d9c902cb59
r23929: Deleting gpo_sd_check_trustee_in_sid_token() as nt_token_check_sid() is what we
...
need here.
Guenther
(This used to be commit 465c89ee4a0c287203121037052c875b1c6ca41e)
2007-10-10 12:28:45 -05:00
Günther Deschner
db4099884a
r23921: Remove GPO_SID_TOKEN struct and use nt_user_token instead, that already has
...
S-1-5-11 in the token.
Guenther
(This used to be commit 83c734690ab09a0fe103ee9fdb855fbdd31db39c)
2007-10-10 12:28:42 -05:00
Günther Deschner
95d5042803
r23920: Fix debug statement.
...
Guenther
(This used to be commit 7317eb408de8798ce6160907b59aad96acf983b6)
2007-10-10 12:28:42 -05:00
Günther Deschner
2e6b56061d
r23874: Some more minor edits for net ads gpo.
...
Guenther
(This used to be commit cc41b3b60f5e0c604a764bc5bb1f8ecfe13a36f6)
2007-10-10 12:28:37 -05:00
Günther Deschner
a1def4de32
r23873: Make use of ads_find_samaccount().
...
Guenther
(This used to be commit 94d11806fd5384cbdd6c12b230985991b9e6473d)
2007-10-10 12:28:36 -05:00
Günther Deschner
e997cf9fe2
r23872: Dump all GPFLAGS in dump_gpo().
...
Guenther
(This used to be commit 4b5c4b4fffbd62917894432c9bb6946f181668c4)
2007-10-10 12:28:36 -05:00
Günther Deschner
3488299232
r23871: The snapin handler needs to have the full struct GROUP_POLICY_OBJECT.
...
Guenther
(This used to be commit 9dc8ec0e193ad4aa85293c334ebbca5d0618f0d2)
2007-10-10 12:28:36 -05:00
Günther Deschner
1c957f9559
r23826: Fix gpo security filtering by matching the security descriptor ace's for the
...
extended apply group policy right.
Guenther
(This used to be commit d832014a6fef657f484412372b5d09047552b183)
2007-10-10 12:28:31 -05:00
Andrew Tridgell
153cfb9c83
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
...
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10 12:28:27 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Günther Deschner
5512dacbca
r23770: Some minor cleanups in libgpo
...
(including some valgrind errors, uninitialized vars, etc.)
Guenther
(This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1)
2007-10-10 12:23:55 -05:00
Günther Deschner
3e3e359d12
r23354: Fix build warning.
...
Guenther
(This used to be commit 4ad456e988f0b9b65890b4cf6a4f1b63ef1585b8)
2007-10-10 12:23:09 -05:00
Günther Deschner
3c5fe9233d
r22928: Use better success error code.
...
Guenther
(This used to be commit cdfcbb176ac11e0f6f63ab38bf3c24d25a6c6153)
2007-10-10 12:22:09 -05:00
Günther Deschner
c6a51dc5f1
r22803: Add some more flesh to the GPO security filtering (still very basic).
...
Guenther
(This used to be commit 8cfe32cb9cbe791308368f07b5bdbfcc84ac33d7)
2007-10-10 12:21:59 -05:00
Günther Deschner
4c48a3d30c
r22802: Add dummy gpo_apply_security_filtering() call.
...
Guenther
(This used to be commit 61982d842288d880c24bc4808811452547c0b622)
2007-10-10 12:21:59 -05:00
Günther Deschner
aec3df5ce8
r22801: Pass down the token to add_gplink_to_gpo_list().
...
Guenther
(This used to be commit 2c2e212bc592b387e23f5b058c72b0ccadda6748)
2007-10-10 12:21:59 -05:00
Günther Deschner
83564b43e3
r22800: Add GPO_SID_TOKEN and an LDAP function to get tokensids from the tokenGroup attribute.
...
Guenther
(This used to be commit e4e8f840605dfdf92ca60cc8fc6a4c85336565fb)
2007-10-10 12:21:59 -05:00
Günther Deschner
9c170fce26
r22797: We are only interested in the DACL of the security descriptor, so search with
...
the SD_FLAGS control.
Guenther
(This used to be commit 648df57e53ddabe74052e816b8eba95180736208)
2007-10-10 12:21:57 -05:00
Günther Deschner
95bc08e954
r22796: Add security descriptor to GROUP_POLICY_OBJECT structure (in preparation of
...
adding GPO security filtering for libgpo).
Guenther
(This used to be commit b376a39fbf42a6a541fd311418c4a980b9fd4b9e)
2007-10-10 12:21:57 -05:00
Jeremy Allison
56a5d05b8b
r22590: Make TALLOC_ARRAY consistent across all uses.
...
That should be it....
Jeremy.
(This used to be commit 603233a98bbf65467c8b4f04719d771c70b3b4c9)
2007-10-10 12:19:49 -05:00
Günther Deschner
3ab204936e
r22484: Check for the talloc_strdup to succeed.
...
Guenther
(This used to be commit 38b4fddf5dba8ff28274237fcf69d628dc06640d)
2007-10-10 12:19:38 -05:00
Volker Lendecke
c78623e905
r20610: Fix a Solaris warning
...
(This used to be commit 60d7b349dbc12288a3da0486b571a1d83401d0b7)
2007-10-10 12:16:58 -05:00
Volker Lendecke
16e98a60d1
r19484: Fix Coverity #329
...
(This used to be commit c3f860e55da8877131f149ca213b311c215e8a6e)
2007-10-10 12:15:38 -05:00
Günther Deschner
046a4756d4
r19189: No display name is normal for some GPOs.
...
Guenther
(This used to be commit 1ec1c5dd17c498d5a8a9804ad2ef114fb7603c31)
2007-10-10 12:15:20 -05:00
Volker Lendecke
69287da633
r19012: Fix an uninitialized variable
...
(This used to be commit 46cae04fbee1a2e04883085294be4f75b2d6d56c)
2007-10-10 12:15:01 -05:00
Günther Deschner
88a98e35c7
r19003: Finally activate "net ads gpo".
...
For those who are interested, try
net ads gpo refresh mybox$
to get your machine related GPOs downloaded to /var/lib/samba/gpo_cache.
Detailed information about GPOs is currently only printed when setting a
higher debuglevel then 0.
Guenther
(This used to be commit d086babf9d2592f041cc35db3d60b4452ea953f5)
2007-10-10 12:14:55 -05:00
Günther Deschner
824966fb3c
r19002: Add a very simple synchronisation function to download the full GPO.
...
Guenther
(This used to be commit 02b75ff2a833677df3448b0f9a4928cb3f0274de)
2007-10-10 12:14:55 -05:00
Günther Deschner
21bdd5833e
r18988: Check and refresh expired GPOs.
...
Guenther
(This used to be commit e0e44bfadbf9bce8a5d3fe969c0f6da59a0cc29e)
2007-10-10 12:14:54 -05:00
Günther Deschner
3727503872
r18986: Add some more GPO download helper functions.
...
Guenther
(This used to be commit d2db3b6b4695038374d0848e1ce981ccf0ae8c24)
2007-10-10 12:14:53 -05:00
Günther Deschner
4db2fc3c89
r18985: Add parse_gpt_ini() to parse GPT.INI files using iniparser.
...
Guenther
(This used to be commit 46db28de488eb04da30bf03a16d4c9ea086aed07)
2007-10-10 12:14:53 -05:00
Günther Deschner
7c1ca378ed
r18984: Removing ads_gpo_get_sysvol_gpt_version() which was just doing stupid
...
things.
Guenther
(This used to be commit a597ef83c44368f81956bcd722e69b53bf205a8a)
2007-10-10 12:14:53 -05:00
Günther Deschner
031506eb51
r18983: Add some comments for the LDAP based GPO routines.
...
Guenther
(This used to be commit 2c21ee684c4197899f2314e99b891ce771b1fd65)
2007-10-10 12:14:53 -05:00
Günther Deschner
73f4ac012a
r18982: Move the gpo related functions to "libgpo".
...
Guenther
(This used to be commit 1308a842716bc3bd1a9853b9b206dc7308a8c1dd)
2007-10-10 12:14:53 -05:00