Günther Deschner
380e9d26db
Add ads_check_ou_dn().
...
Guenther
2008-03-28 16:43:59 +01:00
Volker Lendecke
22cee9c1af
Fix Coverity ID 487
2008-03-23 19:44:55 +01:00
Marc VanHeyningen
3fc85d2259
Coverity fixes
2008-03-17 20:52:25 +01:00
Volker Lendecke
feddc1447d
str_list_free is not needed anymore
2008-02-04 21:05:41 +01:00
Volker Lendecke
e2c9fc4cf5
Always pass a TALLOC_CTX to str_list_make and str_list_copy
2008-02-04 20:57:49 +01:00
Günther Deschner
2dd7c64fa8
When running with debug level > 10, dump ads_struct in ads_connect().
...
Guenther
2008-01-31 11:05:25 +01:00
Günther Deschner
ddc1307844
Do not ignore provided machine_name in ads_get_upn().
...
Guenther
2008-01-08 14:07:01 +01:00
Michael Adam
2e5d01b214
Re-Indent function ldap_open_with_timeout().
...
This reverts commit #cafda34783f0961c9b463803c19cfcb69f836e3f .
I just learned (the hard way) that these indeted functions
are not indented by accident but that the intention of this
is to not include the prototype into proto.h.
Michael
2008-01-04 22:56:10 +01:00
Michael Adam
7d9d2de390
Add a debug message (when the LDAP server has really been connected).
...
Michael
2008-01-04 22:09:36 +01:00
Michael Adam
465a3b356c
Untangle assignment and result check.
...
Michael
2008-01-04 22:09:36 +01:00
Michael Adam
9e70d1f24d
Enhance DEBUG-verbosity of ldap_open_with_timeout().
...
Michael
2008-01-04 22:09:36 +01:00
Michael Adam
cafda34783
Unindent function header.
...
Michael
2008-01-04 22:09:35 +01:00
Michael Adam
71c3c8ad4c
Fix a misleading DEBUG message.
...
At this stage, the (tcp) connection to the LDAP server has not
been established, this is what is about to be attempted. What
has been succesfully done, is a CLDAP netlogon query.
Michael
2008-01-04 22:09:35 +01:00
Günther Deschner
5bbceac881
Add ads_get_joinable_ous().
...
Guenther
2008-01-03 18:15:59 +01:00
Volker Lendecke
54576733d6
Make use of [un]marshall_sec_desc
2007-12-29 23:13:03 +01:00
Volker Lendecke
ced0c42f05
make use of unmarshall_sec_desc
2007-12-16 14:15:16 +01:00
Volker Lendecke
eb523ba776
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
2007-12-15 22:47:30 +01:00
Volker Lendecke
c7c885078b
Replace sid_string_static with sid_to_string
...
This adds 28 fstrings on the stack, but I think an fstring on the stack is
still far better than a static one.
2007-12-15 22:09:37 +01:00
Volker Lendecke
bb35e794ec
Replace sid_string_static by sid_string_dbg in DEBUGs
2007-12-15 22:09:36 +01:00
Michael Adam
1000c98eae
Remove an incredible amount of whitespace.
...
Sorry - could not resist. Michael
2007-12-06 14:08:54 +01:00
Jeremy Allison
f9c8d62389
Make strhex_to_str clear on string limits. Remove pstring from web/*.c
...
Jeremy.
2007-12-03 17:17:05 -08:00
Volker Lendecke
1fab16ffb8
Remove some statics
2007-11-27 14:18:47 +01:00
Jeremy Allison
809f5ab4c5
More pstring removal....
...
Jeremy.
2007-11-20 18:55:36 -08:00
Jeremy Allison
98e154c312
This is a large patch (sorry). Migrate from struct in_addr
...
to struct sockaddr_storage in most places that matter (ie.
not the nmbd and NetBIOS lookups). This passes make test
on an IPv4 box, but I'll have to do more work/testing on
IPv6 enabled boxes. This should now give us a framework
for testing and finishing the IPv6 migration. It's at
the state where someone with a working IPv6 setup should
(theorecically) be able to type :
smbclient //ipv6-address/share
and have it work.
Jeremy.
2007-10-24 14:16:54 -07:00
Jeremy Allison
f35a266b3c
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.
2007-10-18 17:40:25 -07:00
Günther Deschner
1142f3df54
r24252: Dump guid of msExchMailboxGuid when returned.
...
Guenther
2007-10-10 12:29:21 -05:00
Volker Lendecke
461974d2cc
r24166: Fix Coverity ID 391
2007-10-10 12:29:17 -05:00
Günther Deschner
1a5c8780ae
r23951: Fix segfault.
...
Guenther
2007-10-10 12:28:48 -05:00
Stefan Metzmacher
2075c05b3d
r23945: add infrastructure to select plain, sign or seal LDAP connection
...
metze
2007-10-10 12:28:48 -05:00
Günther Deschner
1a62c731c6
r23937: Use ads_config_path() when we need to know the configration context.
...
Guenther
2007-10-10 12:28:46 -05:00
Stefan Metzmacher
00909194a6
r23888: move elements belonging to the current ldap connection to a
...
substructure.
metze
2007-10-10 12:28:38 -05:00
Stefan Metzmacher
ba70737b70
r23886: add ads_disconnect() function
...
metze
2007-10-10 12:28:38 -05:00
Günther Deschner
684fcf39dc
r23861: Fix return code in ads_find_samaccount().
...
Guenther
2007-10-10 12:28:35 -05:00
Günther Deschner
ad0a6d5703
r23837: Pass ADS_STRUCT and TALLOC_CTX down to ads_disp_sd.
...
Guenther
2007-10-10 12:28:32 -05:00
Günther Deschner
4d62f1191b
r23836: Add ads_config_path() and ads_get_extended_right_name_by_guid().
...
Guenther
2007-10-10 12:28:32 -05:00
Günther Deschner
311bbbafa6
r23834: Allow to pass an ADS_STRUCT pointer down to the dump function callback in
...
libads.
Guenther
2007-10-10 12:28:32 -05:00
Günther Deschner
3effd1c346
r23833: Document ads_find_samaccount().
...
Guenther
2007-10-10 12:28:31 -05:00
Andrew Tridgell
b0132e94fc
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Günther Deschner
6fafa64bea
r23772: Add ads_find_samaccount() helper function.
...
Guenther
2007-10-10 12:23:55 -05:00
Jeremy Allison
03763bc528
r23514: Remove unused function ads_get_dn_from_extended_dn().
...
Jeremy.
2007-10-10 12:23:24 -05:00
Michael Adam
a43775ab36
r22893: Use ldap_rename_s instead of deprecated ldap_rename2_s.
...
This fixes the build on solaris (host sun9).
And hopefully doesn't break any other builds... :-)
If it does, we need some configure magic.
Thanks to Björn Jacke <bj@sernet.de >.
2007-10-10 12:22:05 -05:00
Günther Deschner
e4e8f84060
r22800: Add GPO_SID_TOKEN and an LDAP function to get tokensids from the tokenGroup attribute.
...
Guenther
2007-10-10 12:21:59 -05:00
Günther Deschner
6e911c442b
r22799: Fix the build.
...
Guenther
2007-10-10 12:21:59 -05:00
Günther Deschner
648df57e53
r22797: We are only interested in the DACL of the security descriptor, so search with
...
the SD_FLAGS control.
Guenther
2007-10-10 12:21:57 -05:00
Gerald Carter
3004cc6e59
r22728: Patch from Danilo Almeida <dalmeida@centeris.com>:
...
When asked to create a machine account in an OU as part
of "net ads join" and the account already exists in another
OU, simply move the machine object to the requested OU.
2007-10-10 12:21:51 -05:00
Jeremy Allison
8968808c3b
r22589: Make TALLOC_ARRAY consistent across all uses.
...
Jeremy.
2007-10-10 12:19:49 -05:00
Günther Deschner
0475b8eea9
r22459: Adding ads_get_dn_from_extended_dn(), in preparation of making ranged LDAP
...
queries more generic. Michael, feel free to overwrite these and the following.
Guenther
2007-10-10 12:19:35 -05:00
Jeremy Allison
7c45bd3a47
r22112: Fix memleak pointed out by Steven Danneman <steven.danneman@isilon.com>.
...
Jeremy.
2007-10-10 12:19:14 -05:00
Jeremy Allison
cbe725f1b0
r21608: Fix a couple of memleaks in error code paths before
...
Coverity finds them :-)
Jeremy.
2007-10-10 12:18:16 -05:00