metze/old/v3-2-winbind-ndr.git
11 years agodummy commit v3-2-winbind
Stefan Metzmacher [Mon, 8 Oct 2007 09:59:03 +0000 (11:59 +0200)]
dummy commit

metze

11 years agodummy commit...
Stefan Metzmacher [Sun, 30 Sep 2007 10:01:42 +0000 (12:01 +0200)]
dummy commit...

metze

11 years agoremove unused winbindd_dual_getdcname() support
Stefan Metzmacher [Mon, 17 Sep 2007 14:28:20 +0000 (16:28 +0200)]
remove unused winbindd_dual_getdcname() support

metze

11 years agouse winbindd_get_dc_info_async() to implement WINBINDD_GETDCNAME
Stefan Metzmacher [Mon, 17 Sep 2007 14:25:10 +0000 (16:25 +0200)]
use winbindd_get_dc_info_async() to implement WINBINDD_GETDCNAME

metze

11 years agoadd winbindd_get_dc_info_async() function
Stefan Metzmacher [Thu, 13 Sep 2007 13:58:43 +0000 (15:58 +0200)]
add winbindd_get_dc_info_async() function

metze

11 years agoremove unused WINBINDD_INIT_CONNECTION support
Stefan Metzmacher [Wed, 12 Sep 2007 12:53:00 +0000 (14:53 +0200)]
remove unused WINBINDD_INIT_CONNECTION support

metze

11 years agouse the ndr calls in init_child_connection()
Stefan Metzmacher [Wed, 12 Sep 2007 12:41:36 +0000 (14:41 +0200)]
use the ndr calls in init_child_connection()

metze

11 years agoadd option to forward ping requests to our domain child
Stefan Metzmacher [Wed, 12 Sep 2007 10:22:56 +0000 (12:22 +0200)]
add option to forward ping requests to our domain child

winbindd:ping_our_domain=yes

is very useful for testing and benchmarks

metze

11 years agoimplement winbindd_ndr_child_get_dc_info() with DC_INFO_LEVEL_COMPAT_NT4
Stefan Metzmacher [Wed, 12 Sep 2007 07:15:16 +0000 (09:15 +0200)]
implement winbindd_ndr_child_get_dc_info() with DC_INFO_LEVEL_COMPAT_NT4

metze

11 years agoimplement winbindd_ndr_child_get_domain_info() with DOMAIN_INFO_LEVEL_COMPAT
Stefan Metzmacher [Wed, 12 Sep 2007 07:14:03 +0000 (09:14 +0200)]
implement winbindd_ndr_child_get_domain_info() with DOMAIN_INFO_LEVEL_COMPAT

metze

11 years agorerun 'make idl'
Stefan Metzmacher [Wed, 19 Sep 2007 18:49:30 +0000 (20:49 +0200)]
rerun 'make idl'

metze

11 years agoadd idl for winbindd_get_dc_info() with compat levels
Stefan Metzmacher [Wed, 12 Sep 2007 06:47:32 +0000 (08:47 +0200)]
add idl for winbindd_get_dc_info() with compat levels

metze

11 years agoadd idl for winbindd_get_domain_info()
Stefan Metzmacher [Mon, 10 Sep 2007 08:23:16 +0000 (10:23 +0200)]
add idl for winbindd_get_domain_info()

metze

11 years agoadd do_async_ndr()/do_async_ndr_domain() similar to
Stefan Metzmacher [Thu, 6 Sep 2007 16:09:10 +0000 (18:09 +0200)]
add do_async_ndr()/do_async_ndr_domain() similar to

do_async()/do_async_domain()

metze

11 years agopass ndr requests via sendto_child()/sendto_domain() too
Stefan Metzmacher [Thu, 6 Sep 2007 16:07:19 +0000 (18:07 +0200)]
pass ndr requests via sendto_child()/sendto_domain() too

metze

11 years agoadd async_ndr_domain_call() similar to async_domain_request()
Stefan Metzmacher [Thu, 6 Sep 2007 16:05:29 +0000 (18:05 +0200)]
add async_ndr_domain_call() similar to async_domain_request()

metze

11 years agoadd async_ndr_call() similar to async_request()
Stefan Metzmacher [Thu, 6 Sep 2007 16:03:57 +0000 (18:03 +0200)]
add async_ndr_call() similar to async_request()

metze

11 years agoinfrastructure to handle ndr requests in the winbind childs
Stefan Metzmacher [Mon, 3 Sep 2007 15:28:33 +0000 (17:28 +0200)]
infrastructure to handle ndr requests in the winbind childs

metze

11 years agoimplement NDR_WINBIND_PING
Stefan Metzmacher [Mon, 3 Sep 2007 07:27:00 +0000 (09:27 +0200)]
implement NDR_WINBIND_PING

metze

11 years agoadd infrastruture for ndr based requests in the winbindd parent
Stefan Metzmacher [Tue, 21 Aug 2007 08:33:48 +0000 (10:33 +0200)]
add infrastruture for ndr based requests in the winbindd parent

metze

11 years agoadd winbind_protocol.idl and pidl generated files
Stefan Metzmacher [Tue, 21 Aug 2007 07:33:48 +0000 (09:33 +0200)]
add winbind_protocol.idl and pidl generated files

metze

11 years agoAdd missing become_root/unbecome_root around calls of add_aliases.
obnox [Wed, 10 Oct 2007 08:27:56 +0000 (08:27 +0000)]
Add missing become_root/unbecome_root around calls of add_aliases.
This triggered a "cannot access LDAP when not root"-bug with
"passdb backend = ldap" and "winbind nested groups = yes".

This *might* be a step towards fixing bug #4308, since the
failure was observerd when triggered by acl code.

Michael

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25598 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd missing security_secinfo bits as seen while managing security descriptor
gd [Tue, 9 Oct 2007 16:22:16 +0000 (16:22 +0000)]
Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25593 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAllow to set sec_info for registry security descriptor queries.
gd [Tue, 9 Oct 2007 13:53:40 +0000 (13:53 +0000)]
Allow to set sec_info for registry security descriptor queries.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25592 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix getaddrinfo detection code. From Timur.
jra [Mon, 8 Oct 2007 23:11:33 +0000 (23:11 +0000)]
Fix getaddrinfo detection code. From Timur.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25587 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agodon't run WINBIND tests untill the faked users work with a running winbindd
metze [Mon, 8 Oct 2007 20:05:46 +0000 (20:05 +0000)]
don't run WINBIND tests untill the faked users work with a running winbindd

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25584 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoit makes no sense to run blackbox.kinit against samba3
metze [Mon, 8 Oct 2007 18:04:07 +0000 (18:04 +0000)]
it makes no sense to run blackbox.kinit against samba3

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25583 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoDocument S-1-5-12 (restriced code sid).
gd [Mon, 8 Oct 2007 13:31:08 +0000 (13:31 +0000)]
Document S-1-5-12 (restriced code sid).

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25575 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd my (C) as well
idra [Mon, 8 Oct 2007 12:56:57 +0000 (12:56 +0000)]
Add my (C) as well

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25573 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix warnings (values are always true).
jelmer [Mon, 8 Oct 2007 12:56:27 +0000 (12:56 +0000)]
Fix warnings (values are always true).

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25572 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agosplit up child_dispatch_table into domain, idmap and locator tables
metze [Mon, 8 Oct 2007 12:25:57 +0000 (12:25 +0000)]
split up child_dispatch_table into domain, idmap and locator tables

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25571 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agomove code of the locator child into its own file
metze [Mon, 8 Oct 2007 11:15:28 +0000 (11:15 +0000)]
move code of the locator child into its own file

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25570 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agomove more idmap stuff into winbindd_idmap.c
metze [Mon, 8 Oct 2007 11:13:36 +0000 (11:13 +0000)]
move more idmap stuff into winbindd_idmap.c

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25569 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agomove idmap related functions into their own file.
metze [Mon, 8 Oct 2007 11:11:46 +0000 (11:11 +0000)]
move idmap related functions into their own file.

the final goal is to have 3 child dispatch tables
'domain', 'idmap' and 'locator' instead of one.

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25568 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agomake do_async() non static
metze [Mon, 8 Oct 2007 10:54:33 +0000 (10:54 +0000)]
make do_async() non static

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25567 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix unintended consequence change for IPv6 noticed
jra [Mon, 8 Oct 2007 02:48:03 +0000 (02:48 +0000)]
Fix unintended consequence change for IPv6 noticed
by Volker. We used to return 0.0.0.0 for the text
address of an uninitialized socket - ensure we
still do so. Once uninitialized address is as
good as any other.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25565 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoPass sharename to delete_share_security()
vlendec [Sun, 7 Oct 2007 17:58:48 +0000 (17:58 +0000)]
Pass sharename to delete_share_security()

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25564 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoShow which local-substitute subtest fails
vlendec [Sun, 7 Oct 2007 13:36:56 +0000 (13:36 +0000)]
Show which local-substitute subtest fails

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25563 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoMake use of [un]marshall_sec_desc
vlendec [Sun, 7 Oct 2007 12:56:43 +0000 (12:56 +0000)]
Make use of [un]marshall_sec_desc

Minor cleanup only

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25561 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoMerge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with...
jra [Sun, 7 Oct 2007 04:28:01 +0000 (04:28 +0000)]
Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with libroken."
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25560 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agomerge libreplace fixes from samba4
jelmer [Sat, 6 Oct 2007 23:07:33 +0000 (23:07 +0000)]
merge libreplace fixes from samba4

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25557 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoRevert r25533
vlendec [Fri, 5 Oct 2007 22:06:24 +0000 (22:06 +0000)]
Revert r25533

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25538 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoApply some const
vlendec [Fri, 5 Oct 2007 21:41:17 +0000 (21:41 +0000)]
Apply some const

Why? It moves these structs from the data into the text segment, so they
will never been copy-on-write copied. Not much, but as in German you say
"Kleinvieh macht auch Mist...."

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25534 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoremove a pstring
vlendec [Fri, 5 Oct 2007 21:28:54 +0000 (21:28 +0000)]
remove a pstring

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25533 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoOnly do transactions on registry.tdb if anything changes
vlendec [Fri, 5 Oct 2007 20:42:14 +0000 (20:42 +0000)]
Only do transactions on registry.tdb if anything changes

I got annoyed by the fsync calls clobbering my harddrive when smbd started up
for debugging.

... things you do on a plane without internet

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25528 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix usage output.
gd [Fri, 5 Oct 2007 20:08:48 +0000 (20:08 +0000)]
Fix usage output.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25526 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd "net rpc registry getsd <keyname>" to display security descriptors.
gd [Fri, 5 Oct 2007 20:07:18 +0000 (20:07 +0000)]
Add "net rpc registry getsd <keyname>" to display security descriptors.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25525 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix sockaddr_in6 detection.
jra [Fri, 5 Oct 2007 02:03:29 +0000 (02:03 +0000)]
Fix sockaddr_in6 detection.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25511 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoNow we're returning the port instead of using a global,
jra [Fri, 5 Oct 2007 01:11:33 +0000 (01:11 +0000)]
Now we're returning the port instead of using a global,
remember to use ntohs. Hopefully will fix the build farm.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25510 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoReformatting.
jra [Thu, 4 Oct 2007 18:23:22 +0000 (18:23 +0000)]
Reformatting.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25508 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix definition of struct sockaddr_storage if
jra [Thu, 4 Oct 2007 17:35:12 +0000 (17:35 +0000)]
Fix definition of struct sockaddr_storage if
struct sockaddr_in6 is defined.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25507 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
jra [Thu, 4 Oct 2007 17:20:49 +0000 (17:20 +0000)]
Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
under the 2 clause *BSD license for future use in IPv6 code. Original
code was from PostgreSQL and I've maintained their license even though
I've rewritten large parts of it (I probably should donate this back
to them).
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25505 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoignore failing WINBIND tests
metze [Thu, 4 Oct 2007 14:45:57 +0000 (14:45 +0000)]
ignore failing WINBIND tests

we should get the them going without ignoring error...

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25503 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix bug 5006
vlendec [Thu, 4 Oct 2007 13:13:16 +0000 (13:13 +0000)]
Fix bug 5006

Thanks to Joerg.Bernau at web.de

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25502 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix rpc_file_list_internals
vlendec [Thu, 4 Oct 2007 00:10:54 +0000 (00:10 +0000)]
Fix rpc_file_list_internals

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25499 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoRemove checks that are always true.
jelmer [Wed, 3 Oct 2007 22:23:37 +0000 (22:23 +0000)]
Remove checks that are always true.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25498 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFixup definitions for missing sockaddr_storage.
jra [Wed, 3 Oct 2007 22:01:25 +0000 (22:01 +0000)]
Fixup definitions for missing sockaddr_storage.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25495 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoSanity check --with-samba4srcdir argument.
jelmer [Wed, 3 Oct 2007 21:14:20 +0000 (21:14 +0000)]
Sanity check --with-samba4srcdir argument.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25494 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix typo in Jeremy's thread-safe winbind patch:
jmcd [Wed, 3 Oct 2007 20:56:29 +0000 (20:56 +0000)]
Fix typo in Jeremy's thread-safe winbind patch:
lock->unlock (would have tried to lock a mutex
at the end of a function).  Cut-n-paste error.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25493 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoStart adding IPv6 compatible code to lib/util_sock.c and deal with
jra [Wed, 3 Oct 2007 20:43:55 +0000 (20:43 +0000)]
Start adding IPv6 compatible code to lib/util_sock.c and deal with
the ripple effects this causes. utmp has to change etc. Remove some
global varables and store address/port in the unexpected db.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25492 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoTry fix the build - fix socklen_t and sa_family_t.
jra [Wed, 3 Oct 2007 19:12:39 +0000 (19:12 +0000)]
Try fix the build - fix socklen_t and sa_family_t.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25487 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix srvsrc_NetFileEnum listing only for one user
vlendec [Wed, 3 Oct 2007 18:37:57 +0000 (18:37 +0000)]
Fix srvsrc_NetFileEnum listing only for one user

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25484 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoSlightly simplify logic
vlendec [Wed, 3 Oct 2007 13:13:02 +0000 (13:13 +0000)]
Slightly simplify logic

Instead of one big if-branch for if (process_exists(..)) return if
(!process_exists(..))

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25482 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix some typos, don't panic as non-root on net getdomainsid
vlendec [Wed, 3 Oct 2007 12:55:45 +0000 (12:55 +0000)]
Fix some typos, don't panic as non-root on net getdomainsid

Thanks to Karolin Seeger <ks@sernet.de>

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25481 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix a segfault
vlendec [Wed, 3 Oct 2007 12:51:36 +0000 (12:51 +0000)]
Fix a segfault

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25480 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFinally fix up new interface detection code :-).
jra [Tue, 2 Oct 2007 21:12:01 +0000 (21:12 +0000)]
Finally fix up new interface detection code :-).
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25476 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix braindead mistakes I made pointed out by Simo and
jra [Tue, 2 Oct 2007 20:39:41 +0000 (20:39 +0000)]
Fix braindead mistakes I made pointed out by Simo and
James (how did this compile ? :-).
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25475 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoTry and fix the build on Mac OS X 10.4.9.
jra [Tue, 2 Oct 2007 20:04:14 +0000 (20:04 +0000)]
Try and fix the build on Mac OS X 10.4.9.
Shuffle sa_family_t around.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25474 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoReformatting only. Prepare for new ip functions.
jra [Tue, 2 Oct 2007 19:50:53 +0000 (19:50 +0000)]
Reformatting only. Prepare for new ip functions.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25473 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix the interfaces code to detect IPv6 interfaces, using the
jra [Tue, 2 Oct 2007 19:27:25 +0000 (19:27 +0000)]
Fix the interfaces code to detect IPv6 interfaces, using the
new standard getifaddrs() and freeifaddrs() interfaces. Currently
we only return IPv4 af_families. Needs fixing for binds to IPv6
but this has to be careful work.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25472 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agouse --immediate like in samba4 to get more usefull output
metze [Tue, 2 Oct 2007 16:13:30 +0000 (16:13 +0000)]
use --immediate like in samba4 to get more usefull output

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25470 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoEnsure we have inet_ntop and inet_pton available in lib/replace.
jra [Mon, 1 Oct 2007 23:18:26 +0000 (23:18 +0000)]
Ensure we have inet_ntop and inet_pton available in lib/replace.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25455 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix IPV6 detection.
jra [Mon, 1 Oct 2007 18:30:01 +0000 (18:30 +0000)]
Fix IPV6 detection.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25445 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoMake wbinfo --sequence output the sequence number if --domain
obnox [Mon, 1 Oct 2007 15:35:05 +0000 (15:35 +0000)]
Make wbinfo --sequence output the sequence number if --domain
is specified.

Michael

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25441 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd the option to print the debug class (DBGC_CLASS) in the debug header.
obnox [Sun, 30 Sep 2007 08:07:06 +0000 (08:07 +0000)]
Add the option to print the debug class (DBGC_CLASS) in the debug header.
Control this by a new boolean smb.conf option "debug class" which is
by default set to "no" to keep the default debug header unchanged.

Michael

Note: You need to make clean for this patch.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25434 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoMerge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
jpeach [Sat, 29 Sep 2007 23:54:32 +0000 (23:54 +0000)]
Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
spurious tree differences.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25432 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd detection for IPv6 support.
jra [Sat, 29 Sep 2007 23:43:24 +0000 (23:43 +0000)]
Add detection for IPv6 support.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25431 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoSamba 3 doesn't need to selftest Samba4 code...
metze [Sat, 29 Sep 2007 15:17:49 +0000 (15:17 +0000)]
Samba 3 doesn't need to selftest Samba4 code...

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25429 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix another implicit cast warning.
obnox [Sat, 29 Sep 2007 08:25:44 +0000 (08:25 +0000)]
Fix another implicit cast warning.

Michael

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25426 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAlign log level (by two) in debugging output.
obnox [Sat, 29 Sep 2007 07:18:23 +0000 (07:18 +0000)]
Align log level (by two) in debugging output.

Michael

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25424 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoGet rid of some cast warnings.
obnox [Sat, 29 Sep 2007 06:44:39 +0000 (06:44 +0000)]
Get rid of some cast warnings.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25422 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agofix generation of git revision calculation
metze [Fri, 28 Sep 2007 23:39:32 +0000 (23:39 +0000)]
fix generation of git revision calculation

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25418 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoUse DBGC_REGISTRY class.
gd [Fri, 28 Sep 2007 23:05:52 +0000 (23:05 +0000)]
Use DBGC_REGISTRY class.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25417 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd registry debug class.
gd [Fri, 28 Sep 2007 23:03:08 +0000 (23:03 +0000)]
Add registry debug class.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25416 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoMerge the 3.2-perltest branch that switches Samba 3.2 to use Samba 4's selftest code...
jelmer [Fri, 28 Sep 2007 22:16:14 +0000 (22:16 +0000)]
Merge the 3.2-perltest branch that switches Samba 3.2 to use Samba 4's selftest code. See the mailing list for details.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25415 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoRevert Longhorn join patch as it is not correct for the 3.2 tree.
jerry [Fri, 28 Sep 2007 18:15:34 +0000 (18:15 +0000)]
Revert Longhorn join patch as it is not correct for the 3.2 tree.

The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25407 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoMake the Linux nss client code thread-safe.
jra [Fri, 28 Sep 2007 18:12:22 +0000 (18:12 +0000)]
Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25406 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix formatting as per metze's comments
jerry [Fri, 28 Sep 2007 18:09:50 +0000 (18:09 +0000)]
Fix formatting as per metze's comments

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25405 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoBUG 4997 (3.2 only): Fix enumration level for smbtree
jerry [Fri, 28 Sep 2007 04:08:58 +0000 (04:08 +0000)]
BUG 4997 (3.2 only): Fix enumration level for smbtree

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25402 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoBUG 4982: Don't delete lanman hashes on invalid logins when
jerry [Fri, 28 Sep 2007 03:56:12 +0000 (03:56 +0000)]
BUG 4982: Don't delete lanman hashes on invalid logins when
using the "lanman auth = no".  Tested by Guenter Kukkukk.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25401 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoWindows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
jerry [Fri, 28 Sep 2007 03:54:42 +0000 (03:54 +0000)]
Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
and client fixes.  Patch from Todd Stetcher <todd.stetcher@isilon.com>.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25400 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoExcise uint - > uint32 (where appropriate) or unsigned int.
jra [Fri, 28 Sep 2007 01:32:08 +0000 (01:32 +0000)]
Excise uint - > uint32 (where appropriate) or unsigned int.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25399 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoVery obvious fix from Martin Zielinski.
gd [Fri, 28 Sep 2007 01:02:11 +0000 (01:02 +0000)]
Very obvious fix from Martin Zielinski.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25396 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoRemoved unused variable
jerry [Thu, 27 Sep 2007 23:33:35 +0000 (23:33 +0000)]
Removed unused variable

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25393 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix bug #4978 : Store DOS Attributes fails when copying folders.
jra [Thu, 27 Sep 2007 23:28:35 +0000 (23:28 +0000)]
Fix bug #4978 : Store DOS Attributes fails when copying folders.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25391 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoFix crash bug using DFS info struct uninitialized.
jra [Thu, 27 Sep 2007 22:55:11 +0000 (22:55 +0000)]
Fix crash bug using DFS info struct uninitialized.
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25389 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoRemove the groupdb:mapping parameter as discussed in the following thread:
jerry [Thu, 27 Sep 2007 20:12:40 +0000 (20:12 +0000)]
Remove the groupdb:mapping parameter as discussed in the following thread:
http://lists.samba.org/archive/samba-technical/2007-June/053747.html

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25380 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd a vim configuration example to highlight overly long lines.
obnox [Thu, 27 Sep 2007 19:20:37 +0000 (19:20 +0000)]
Add a vim configuration example to highlight overly long lines.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25378 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAllow to delete registry keys recursively without deleting the final key.
gd [Thu, 27 Sep 2007 01:26:19 +0000 (01:26 +0000)]
Allow to delete registry keys recursively without deleting the final key.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25370 0c0555d6-39d7-0310-84fc-f1cc0bd64818

11 years agoAdd "NT Authority\System" with Full Access to the default registry security
gd [Wed, 26 Sep 2007 21:46:43 +0000 (21:46 +0000)]
Add "NT Authority\System" with Full Access to the default registry security
descriptor.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25362 0c0555d6-39d7-0310-84fc-f1cc0bd64818