1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00
Commit Graph

25 Commits

Author SHA1 Message Date
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Stefan Metzmacher
3b712b70f0 r14439: fix warnings
metze
2007-10-10 13:57:25 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Andrew Bartlett
88198c4881 r12804: This patch reworks the Samba4 sockets layer to use a socket_address
structure that is more generic than just 'IP/port'.

It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).

This passes 'make test' as well as kerberos use (not currently in the
testsuite).

The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again.   It also removes nbt_peer_addr, which was being used
for a similar purpose.

It is a large change, but worthwhile I feel.

Andrew Bartlett
2007-10-10 13:49:57 -05:00
Jelmer Vernooij
0aca5fd513 r12542: Move some more prototypes out to seperate headers 2007-10-10 13:47:55 -05:00
Andrew Bartlett
fd7203789a r10810: This adds the hooks required to communicate the current user from the
authenticated session down into LDB.  This associates a session info
structure with the open LDB, allowing a future ldb_ntacl module to
allow/deny operations on that basis.

Along the way, I cleaned up a few things, and added new helper functions
to assist.  In particular the LSA pipe uses simpler queries for some of
the setup.

In ldap_server, I have removed the 'ldasrv:hacked' module, which hasn't
been worked on (other than making it continue to compile) since January,
and I think the features of this module are being put into ldb anyway.

I have also changed the partitions in ldap_server to be initialised
after the connection, with the private pointer used to associate the ldb
with the incoming session.

Andrew Bartlett
2007-10-10 13:39:32 -05:00
Simo Sorce
692e35b779 r9391: Convert all the code to use struct ldb_dn to ohandle ldap like distinguished names
Provide more functions to handle DNs in this form
2007-10-10 13:33:32 -05:00
Andrew Bartlett
0f7b1136f6 r9011: Remove more references to "name" as a netbios name, using the
cross-reference instead.

Andrew Bartlett
2007-10-10 13:31:07 -05:00
Andrew Tridgell
4e090c66df r8625: move the ldb_wrap logic into the ldb code. This logic is meant to
avoid the horrors of posix locking, but it was preventing us having an
ldb open twice with different options. Now each ldb open of the same
file shares the same underlying tdb, but uses a different ldb
structure
2007-10-10 13:29:45 -05:00
Simo Sorce
a9e8cd0bad r8585: add to ldb and ldap comparison functionality
better pares filters
Approx is currently only a stub need to dig more info to
understand what it really means and how it works exactly
2007-10-10 13:29:41 -05:00
Stefan Metzmacher
0a07e4ef8d r8368: the type filed depends on the user being present or not
call ndr_print for each call

metze
2007-10-10 13:20:12 -05:00
Stefan Metzmacher
1e3af5cc1f r8223: fix the values of nt_version and type we reply in the server code,
also name the struct like the nt_version number

metze
2007-10-10 13:19:21 -05:00
Stefan Metzmacher
8ca5729ec8 r8211: fix some cldap replies
metze
2007-10-10 13:19:20 -05:00
Stefan Metzmacher
3a1ed83fd0 r7731: change debug level to not spam the build-farm smbd log
metze
2007-10-10 13:18:27 -05:00
Andrew Tridgell
96620ab2ee r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_tree
instead of a search expression. This allows our ldap server to pass
  its ASN.1 parsed search expressions straight to ldb, instead of going
  via strings.

- updated all the ldb modules code to handle the new interface

- got rid of the separate ldb_parse.h now that the ldb_parse
  structures are exposed externally

- moved to C99 structure initialisation in ldb

- switched ldap server to using ldb_search_bytree()
2007-10-10 13:18:06 -05:00
Andrew Tridgell
0e9f18c448 r7519: rip the copy of the ldap expression parser out of libcli/ldap/ and use
the original one in lib/ldb/ instead. Having two copies of this code
is silly.
2007-10-10 13:18:04 -05:00
Andrew Bartlett
fe9cdb063c r7378: Lowercase netbios name when forming the DNS name of the DC in the
NETLOGON reply.

Use the kdc server service to determine if we are a kdc (no more
krb5:kdc=yes).

Andrew Bartlett
2007-10-10 13:17:48 -05:00
Stefan Metzmacher
fa652919bd r6904: use "krb5:kdc=yes" in your smb.conf when you have the lorikeet-heimdal kdc running
metze
2007-10-10 13:16:56 -05:00
Andrew Tridgell
ee75a8353b r6876: - fixed a memory leak in the cldap server
- keep the samdb open between requests
2007-10-10 13:16:53 -05:00
Andrew Tridgell
eb7979d9de r6817: - fixed empty ldap search elements in filters
- added support for guids in cldap netlogon searches.

the cldap server now passes the LDAP-CLDAP torture test
2007-10-10 13:16:47 -05:00
Andrew Tridgell
50cac2ce84 r6815: fill in values in cldap server as well 2007-10-10 13:16:47 -05:00
Andrew Tridgell
6f4ad382d4 r6762: with the zone right we don't need a fully qualified site name at all 2007-10-10 13:16:42 -05:00
Andrew Tridgell
1537558039 r6761: - not everyone is in my domain :-)
- started adding support for the other cldap attributes that XP uses
2007-10-10 13:16:41 -05:00
Andrew Tridgell
5aff7d36f3 r6750: some minor tweaks to the cldapd server
I can now join winxp -> samba4 DC using long name, and login. The nice
thing is there are no delays now, as the client likes the replies it gets
2007-10-10 13:16:41 -05:00
Andrew Tridgell
e564e3e596 r6747: first working version of cldapd server. It is missing 'sites' support, and
filling in some of the returned parameters is quite rough, but it seems to work OK
2007-10-10 13:16:41 -05:00