Günther Deschner [Mon, 15 Oct 2007 17:10:19 +0000 (19:10 +0200)]
Add WERR_SERVICE_ALREADY_RUNNING.
Guenther
Stefan Metzmacher [Mon, 15 Oct 2007 13:42:13 +0000 (15:42 +0200)]
rename getsmbpass -> rep_getpass and provide the function prototype
metze
Stefan Metzmacher [Mon, 15 Oct 2007 13:41:06 +0000 (15:41 +0200)]
use "system/*.h" to get the system includes
metze
Stefan Metzmacher [Mon, 15 Oct 2007 09:02:24 +0000 (11:02 +0200)]
fix the compilation of getpass.c and it's configure test
metze
Jeremy Allison [Fri, 16 Jun 2006 23:07:42 +0000 (23:07 +0000)]
r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
Jeremy Allison [Thu, 15 Jun 2006 05:32:21 +0000 (05:32 +0000)]
r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
jmcd [Thu, 23 Oct 2003 13:47:17 +0000 (13:47 +0000)]
Volker's fix for bug #668. Change the \n after the password prompt to go to tty instead of stdout.
Stefan Metzmacher [Fri, 5 Oct 2007 14:20:38 +0000 (16:20 +0200)]
reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
metze
Stefan Metzmacher [Fri, 5 Oct 2007 13:55:19 +0000 (15:55 +0200)]
reformat getpass() replacement code
metze
Stefan Metzmacher [Mon, 15 Oct 2007 08:59:50 +0000 (10:59 +0200)]
missing stuff from samba4's libreplace
metze
metze [Wed, 10 Oct 2007 12:09:06 +0000 (12:09 +0000)]
don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25602
0c0555d6-39d7-0310-84fc-
f1cc0bd64818
Günter Kukkukk [Sun, 14 Oct 2007 23:16:01 +0000 (01:16 +0200)]
Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
In addition some cleanup has been done to avoid compiler warnings.
Volker Lendecke [Sun, 14 Oct 2007 15:17:07 +0000 (17:17 +0200)]
Fix one more place for IFF_LOOPBACK
Volker Lendecke [Sun, 14 Oct 2007 11:41:21 +0000 (13:41 +0200)]
Fix get_interfaces detection
During configure, we don't have config.h around yet, and we need strlcpy now.
Jelmer Vernooij [Sat, 13 Oct 2007 22:56:27 +0000 (00:56 +0200)]
Jelmer Vernooij [Sat, 13 Oct 2007 21:39:46 +0000 (23:39 +0200)]
Ignore vim backup files.
Jelmer Vernooij [Sat, 13 Oct 2007 21:36:16 +0000 (23:36 +0200)]
Fix typo.
Volker Lendecke [Sat, 13 Oct 2007 14:50:31 +0000 (16:50 +0200)]
Use strlcpy instead of strncpy
Volker Lendecke [Sat, 13 Oct 2007 14:43:07 +0000 (16:43 +0200)]
Fix an uninitialized variable warning
Volker Lendecke [Sat, 13 Oct 2007 14:27:52 +0000 (16:27 +0200)]
Fix a segfault with an unknown interface
"interfaces = foo" with "foo" not being a known interface segfaulted for me.
Volker Lendecke [Sat, 13 Oct 2007 14:26:42 +0000 (16:26 +0200)]
Also find loopback interfaces
Not sure if a loopback interface is actually a broadcast one.
Stefan Metzmacher [Sat, 13 Oct 2007 13:09:24 +0000 (15:09 +0200)]
remove unused print_test.c code
metze
Jeremy Allison [Sat, 13 Oct 2007 04:50:41 +0000 (21:50 -0700)]
Dummy formatting commit to check I've set up my home git
correctly.
Jeremy Allison [Fri, 12 Oct 2007 20:38:04 +0000 (13:38 -0700)]
Convert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()
lefto to do then I can fix the lib/access.c functions.
Jeremy.
Jelmer Vernooij [Fri, 12 Oct 2007 17:41:01 +0000 (19:41 +0200)]
Merge branch 'v3-2-stable' into my_branch
Jelmer Vernooij [Fri, 12 Oct 2007 16:42:45 +0000 (18:42 +0200)]
Fix valgrind window title.
Stefan Metzmacher [Fri, 12 Oct 2007 14:46:24 +0000 (16:46 +0200)]
cleanup and extent .gitignore
metze
Michael Adam [Fri, 12 Oct 2007 14:15:28 +0000 (16:15 +0200)]
Revert "Remove superfluous quotation marks around samba version"
This reverts commit
016795c550ee0b78fa46c508703fb5e1e40d8f36.
These quotation marks are not superfluous at all... sorry!
Michael
Michael Adam [Fri, 12 Oct 2007 12:39:35 +0000 (14:39 +0200)]
Remove superfluous quotation marks around samba version
vendor suffix.
Michael
Michael Adam [Fri, 12 Oct 2007 11:20:07 +0000 (13:20 +0200)]
Add become_root/unbecome_root around one call of getsampwsid()
in create_token_from_username(). This caused set_nt_acl to
partially fail in certain circumstances.
This is expected to bring an improvement to bug #4308.
Michael
Günther Deschner [Fri, 12 Oct 2007 09:37:03 +0000 (11:37 +0200)]
Fix the build WITH_DNS_UPDATES.
Jeremy, please have a look.
Guenther
Stefan Metzmacher [Fri, 12 Oct 2007 08:06:27 +0000 (10:06 +0200)]
offsetof() is always present as shown in some
libreplace testing.
metze
Jeremy Allison [Fri, 12 Oct 2007 01:03:12 +0000 (18:03 -0700)]
Try and fix segfault found by Guenther on Fedora. Fedora
seems to return bogus values for the interface entries on
vmnet and tun interfaces.
Jeremy.
Jeremy Allison [Thu, 11 Oct 2007 22:36:13 +0000 (15:36 -0700)]
Add const to the get_peer_addr() and get_socket_addr()
calls. Use the IPv6 varient for get_peer_addr().
Jeremy.
Volker Lendecke [Tue, 2 Oct 2007 02:27:28 +0000 (19:27 -0700)]
Remove bogus comment
Guenther Deschner [Thu, 11 Oct 2007 13:18:50 +0000 (15:18 +0200)]
Merge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 13:12:12 +0000 (15:12 +0200)]
Rename krb5 locator plugin to "winbind_krb5_locator".
Guenther
Stefan Metzmacher [Thu, 11 Oct 2007 10:27:38 +0000 (12:27 +0200)]
prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
Stefan Metzmacher [Thu, 11 Oct 2007 08:53:55 +0000 (10:53 +0200)]
SAMBA_VERSION_VENDOR_SUFFIX doesn't need an extra '-'
metze
Jeremy Allison [Thu, 11 Oct 2007 01:47:41 +0000 (18:47 -0700)]
Added missing is_ipaddress is_ipaddress_v4 not in initial
port from old svn code.
Jeremy.
Jeremy Allison [Thu, 11 Oct 2007 01:25:16 +0000 (18:25 -0700)]
Add start of IPv6 implementation. Currently most of this is avoiding
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
Jeremy.
Jeremy Allison [Thu, 11 Oct 2007 00:56:55 +0000 (17:56 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into SAMBA_3_2_0
Jeremy Allison [Thu, 11 Oct 2007 00:56:19 +0000 (17:56 -0700)]
Merge from metze of libreplace header changes
Guenther Deschner [Thu, 11 Oct 2007 00:43:29 +0000 (02:43 +0200)]
Merge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 00:33:07 +0000 (02:33 +0200)]
Merge commit 'origin/v3-2-test' into my_branch
Jeremy Allison [Thu, 11 Oct 2007 00:28:21 +0000 (17:28 -0700)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into SAMBA_3_2
Guenther Deschner [Thu, 11 Oct 2007 00:25:44 +0000 (02:25 +0200)]
Display ace_objects in security descriptors.
Guenther
Jeremy Allison [Thu, 11 Oct 2007 00:24:44 +0000 (17:24 -0700)]
Fix valgrind-found memory overwrite.
Gerald (Jerry) Carter [Thu, 11 Oct 2007 00:21:52 +0000 (19:21 -0500)]
Adding a draft section for 3.2.0pre2
Add the header and "commits since 3.2.0pre1" sections in preparation
for another preview release althought we might decide to go stright
to RC from here.
Gerald (Jerry) Carter [Thu, 11 Oct 2007 00:16:57 +0000 (19:16 -0500)]
Copy release notes from 3.2.0pre1
Gerald (Jerry) Carter [Thu, 11 Oct 2007 00:16:45 +0000 (19:16 -0500)]
Set -test in the vendor version
Gerald (Jerry) Carter [Wed, 10 Oct 2007 20:34:30 +0000 (15:34 -0500)]
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
Michael Adam [Wed, 10 Oct 2007 08:27:56 +0000 (08:27 +0000)]
r25598: 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
Günther Deschner [Tue, 9 Oct 2007 16:22:16 +0000 (16:22 +0000)]
r25593: Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit.
Guenther
Günther Deschner [Tue, 9 Oct 2007 13:53:40 +0000 (13:53 +0000)]
r25592: Allow to set sec_info for registry security descriptor queries.
Guenther
Jeremy Allison [Mon, 8 Oct 2007 23:11:33 +0000 (23:11 +0000)]
r25587: Fix getaddrinfo detection code. From Timur.
Jeremy.
Stefan Metzmacher [Mon, 8 Oct 2007 20:05:46 +0000 (20:05 +0000)]
r25584: don't run WINBIND tests untill the faked users work with a running winbindd
metze
Stefan Metzmacher [Mon, 8 Oct 2007 18:04:07 +0000 (18:04 +0000)]
r25583: it makes no sense to run blackbox.kinit against samba3
metze
Günther Deschner [Mon, 8 Oct 2007 13:31:08 +0000 (13:31 +0000)]
r25575: Document S-1-5-12 (restriced code sid).
Guenther
Simo Sorce [Mon, 8 Oct 2007 12:56:57 +0000 (12:56 +0000)]
r25573: Add my (C) as well
Jelmer Vernooij [Mon, 8 Oct 2007 12:56:27 +0000 (12:56 +0000)]
r25572: Fix warnings (values are always true).
Stefan Metzmacher [Mon, 8 Oct 2007 12:25:57 +0000 (12:25 +0000)]
r25571: split up child_dispatch_table into domain, idmap and locator tables
metze
Stefan Metzmacher [Mon, 8 Oct 2007 11:15:28 +0000 (11:15 +0000)]
r25570: move code of the locator child into its own file
metze
Stefan Metzmacher [Mon, 8 Oct 2007 11:13:36 +0000 (11:13 +0000)]
r25569: move more idmap stuff into winbindd_idmap.c
metze
Stefan Metzmacher [Mon, 8 Oct 2007 11:11:46 +0000 (11:11 +0000)]
r25568: 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
Stefan Metzmacher [Mon, 8 Oct 2007 10:54:33 +0000 (10:54 +0000)]
r25567: make do_async() non static
metze
Jeremy Allison [Mon, 8 Oct 2007 02:48:03 +0000 (02:48 +0000)]
r25565: 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.
Volker Lendecke [Sun, 7 Oct 2007 17:58:48 +0000 (17:58 +0000)]
r25564: Pass sharename to delete_share_security()
Volker Lendecke [Sun, 7 Oct 2007 13:36:56 +0000 (13:36 +0000)]
r25563: Show which local-substitute subtest fails
Volker Lendecke [Sun, 7 Oct 2007 12:56:43 +0000 (12:56 +0000)]
r25561: Make use of [un]marshall_sec_desc
Minor cleanup only
Jeremy Allison [Sun, 7 Oct 2007 04:28:01 +0000 (04:28 +0000)]
r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with libroken."
Jeremy.
Jelmer Vernooij [Sat, 6 Oct 2007 23:07:33 +0000 (23:07 +0000)]
r25557: merge libreplace fixes from samba4
Volker Lendecke [Fri, 5 Oct 2007 22:06:24 +0000 (22:06 +0000)]
r25538: Revert r25533
Volker Lendecke [Fri, 5 Oct 2007 21:41:17 +0000 (21:41 +0000)]
r25534: 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...."
Volker Lendecke [Fri, 5 Oct 2007 21:28:54 +0000 (21:28 +0000)]
r25533: remove a pstring
Volker Lendecke [Fri, 5 Oct 2007 20:42:14 +0000 (20:42 +0000)]
r25528: 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
Günther Deschner [Fri, 5 Oct 2007 20:08:48 +0000 (20:08 +0000)]
r25526: Fix usage output.
Guenther
Günther Deschner [Fri, 5 Oct 2007 20:07:18 +0000 (20:07 +0000)]
r25525: Add "net rpc registry getsd <keyname>" to display security descriptors.
Guenther
Jeremy Allison [Fri, 5 Oct 2007 02:03:29 +0000 (02:03 +0000)]
r25511: Fix sockaddr_in6 detection.
Jeremy.
Jeremy Allison [Fri, 5 Oct 2007 01:11:33 +0000 (01:11 +0000)]
r25510: Now we're returning the port instead of using a global,
remember to use ntohs. Hopefully will fix the build farm.
Jeremy.
Jeremy Allison [Thu, 4 Oct 2007 18:23:22 +0000 (18:23 +0000)]
r25508: Reformatting.
Jeremy.
Jeremy Allison [Thu, 4 Oct 2007 17:35:12 +0000 (17:35 +0000)]
r25507: Fix definition of struct sockaddr_storage if
struct sockaddr_in6 is defined.
Jeremy.
Jeremy Allison [Thu, 4 Oct 2007 17:20:49 +0000 (17:20 +0000)]
r25505: 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.
Stefan Metzmacher [Thu, 4 Oct 2007 14:45:57 +0000 (14:45 +0000)]
r25503: ignore failing WINBIND tests
we should get the them going without ignoring error...
metze
Volker Lendecke [Thu, 4 Oct 2007 13:13:16 +0000 (13:13 +0000)]
r25502: Fix bug 5006
Thanks to Joerg.Bernau at web.de
Volker Lendecke [Thu, 4 Oct 2007 00:10:54 +0000 (00:10 +0000)]
r25499: Fix rpc_file_list_internals
Jelmer Vernooij [Wed, 3 Oct 2007 22:23:37 +0000 (22:23 +0000)]
r25498: Remove checks that are always true.
Jeremy Allison [Wed, 3 Oct 2007 22:01:25 +0000 (22:01 +0000)]
r25495: Fixup definitions for missing sockaddr_storage.
Jeremy.
Jelmer Vernooij [Wed, 3 Oct 2007 21:14:20 +0000 (21:14 +0000)]
r25494: Sanity check --with-samba4srcdir argument.
Jim McDonough [Wed, 3 Oct 2007 20:56:29 +0000 (20:56 +0000)]
r25493: 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.
Jeremy Allison [Wed, 3 Oct 2007 20:43:55 +0000 (20:43 +0000)]
r25492: 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.
Jeremy Allison [Wed, 3 Oct 2007 19:12:39 +0000 (19:12 +0000)]
r25487: Try fix the build - fix socklen_t and sa_family_t.
Jeremy.
Volker Lendecke [Wed, 3 Oct 2007 18:37:57 +0000 (18:37 +0000)]
r25484: Fix srvsrc_NetFileEnum listing only for one user
Volker Lendecke [Wed, 3 Oct 2007 13:13:02 +0000 (13:13 +0000)]
r25482: Slightly simplify logic
Instead of one big if-branch for if (process_exists(..)) return if
(!process_exists(..))
Volker Lendecke [Wed, 3 Oct 2007 12:55:45 +0000 (12:55 +0000)]
r25481: Fix some typos, don't panic as non-root on net getdomainsid
Thanks to Karolin Seeger <ks@sernet.de>
Volker Lendecke [Wed, 3 Oct 2007 12:51:36 +0000 (12:51 +0000)]
r25480: Fix a segfault
Jeremy Allison [Tue, 2 Oct 2007 21:12:01 +0000 (21:12 +0000)]
r25476: Finally fix up new interface detection code :-).
Jeremy.
Jeremy Allison [Tue, 2 Oct 2007 20:39:41 +0000 (20:39 +0000)]
r25475: Fix braindead mistakes I made pointed out by Simo and
James (how did this compile ? :-).
Jeremy.
Jeremy Allison [Tue, 2 Oct 2007 20:04:14 +0000 (20:04 +0000)]
r25474: Try and fix the build on Mac OS X 10.4.9.
Shuffle sa_family_t around.
Jeremy.
Jeremy Allison [Tue, 2 Oct 2007 19:50:53 +0000 (19:50 +0000)]
r25473: Reformatting only. Prepare for new ip functions.
Jeremy.