summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads_gpo.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-20s3-net: show how to use filters for group policy processing.Günther Deschner1-0/+2
Guenther
2010-05-20s3-net: compile net_ads_gpo_apply().Günther Deschner1-4/+0
Guenther
2010-05-17s3-libgpo: move group policy protos to where they belong.Günther Deschner1-0/+2
Guenther
2010-01-19s3 net: Fix compile warningsKai Blin1-17/+24
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-17/+17
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
2009-07-29s3 net: i18n for net ads gpoKai Blin1-78/+79
2009-04-20libgpo: fix the build of gpext plugins.Günther Deschner1-2/+2
Guenther
2009-04-20Adjust samba 3 to the new gpo API. Still untested code.Wilco Baan Hofman1-2/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett1-4/+2
Also remove ads_memfree(), which was only ever a wrapper around SAFE_FREE, used only to free the DN from ads_get_ds(). This actually makes libgpo more consistant, as it mixed a talloc and a malloc based string on the same element. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-2/+2
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-2/+2
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Use d_printf() instead of printf() in net_ads_gpo.cKai Blin1-38/+38
(This used to be commit d0d1346f209ab66754fe2141d22115934ed6f728)
2008-06-10net: Make "net ads gpo" use functable3Kai Blin1-47/+124
(This used to be commit 4418b4da61646172981fd54e4bfb6a038feb640b)
2008-05-10net: Remove globalsKai Blin1-21/+21
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-03-18Bind Group Policy processing closer to the samba registry.Günther Deschner1-37/+157
Guenther (This used to be commit e9c56250eb7a2dc4e69962c5b48875834941ccfc)
2007-10-10r24413: Minor edits for libgpo.Günther Deschner1-4/+16
Guenther (This used to be commit 5dc791f4cfdee2bc350c1e65aeed5705c1745356)
2007-10-10r23874: Some more minor edits for net ads gpo.Günther Deschner1-27/+88
Guenther (This used to be commit cc41b3b60f5e0c604a764bc5bb1f8ecfe13a36f6)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23772: Add ads_find_samaccount() helper function.Günther Deschner1-61/+6
Guenther (This used to be commit 6fafa64bea4ce6a7a5917fa02ed9c564a7c93ffb)
2007-10-10r23770: Some minor cleanups in libgpoGünther Deschner1-3/+3
(including some valgrind errors, uninitialized vars, etc.) Guenther (This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1)
2007-10-10r21607: While committing I saw I had not newline terminated this string ...Simo Sorce1-1/+1
(This used to be commit 51d296f25152ce9d719cec777bb306ca246fc3be)
2007-10-10r21606: Implement escaping function for ldap RDN valuesSimo Sorce1-0/+1
Fix escaping of DN components and filters around the code Add some notes to commandline help messages about how to pass DNs revert jra's "concistency" commit to nsswitch/winbindd_ads.c, as it was incorrect. The 2 functions use DNs in different ways. - lookup_usergroups_member() uses the DN in a search filter, and must use the filter escaping function to escape it Escaping filters that include escaped DNs ("\," becomes "\5c,") is the correct way to do it (tested against W2k3). - lookup_usergroups_memberof() instead uses the DN ultimately as a base dn. Both functions do NOT need any DN escaping function as DNs can't be reliably escaped when in a string form, intead each single RDN value must be escaped separately. DNs coming from other ldap calls (like ads_get_dn()), do not need escaping as they come already escaped on the wire and passed as is by the ldap libraries DN filtering has been tested. For example now it is possible to do something like: 'net ads add user joe#5' as now the '#' character is correctly escaped when building the DN, previously such a call failed with Invalid DN Syntax. Simo. (This used to be commit 5b4838f62ab1a92bfe02626ef40d7f94c2598322)
2007-10-10r19003: Finally activate "net ads gpo".Günther Deschner1-23/+19
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-10r18988: Check and refresh expired GPOs.Günther Deschner1-0/+5
Guenther (This used to be commit e0e44bfadbf9bce8a5d3fe969c0f6da59a0cc29e)
2007-10-10r18987: Add some usage prints for "net ads gpo".Günther Deschner1-13/+33
Guenther (This used to be commit 581152f81919f46c547fe7193b65384d49bea00e)
2007-10-10r18984: Removing ads_gpo_get_sysvol_gpt_version() which was just doing stupidGünther Deschner1-2/+2
things. Guenther (This used to be commit a597ef83c44368f81956bcd722e69b53bf205a8a)
2007-10-10r18879: Fix crash for "net ads gpo list".Günther Deschner1-1/+11
Guenther (This used to be commit 7df5808d8b1d9458dbd47b92750c0b128325335c)
2007-10-10r18853: Fix remaining warnings. Volker, should be fine now.Günther Deschner1-1/+1
Guenther (This used to be commit 40a6169aceb51dc7f73ae72ebac2e55c6b1edc3f)
2007-10-10r18852: Fix compiler warning (thanks Volker).Günther Deschner1-2/+2
Guenther (This used to be commit 01a8562fe164453af4c5946710f9e58f917df2ce)
2007-10-10r18819: Fix build without LDAP.Günther Deschner1-1/+1
Guenther (This used to be commit a0aedee1c90af163210dd459603dd5dffb73e132)
2007-10-10r18177: Some build- and memleak-fixes for the (not build by default) ADS GPOGünther Deschner1-12/+25
routines. Guenther (This used to be commit 0ef504a0a6dc8f5db1dbc7f2410aa981e11fd56c)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-0/+436
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)