summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads_gpo.c
AgeCommit message (Collapse)AuthorFilesLines
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)