Jelmer Vernooij
b09d2edf26
s4/provision: Upper case default realm, use only first part of realm as default domain name.
2008-12-16 16:17:30 +01:00
Jelmer Vernooij
fda16c1c71
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-16 16:14:16 +01:00
Jelmer Vernooij
46e3e84f1a
Fix path to ndr_notify.c.
2008-12-16 16:02:05 +01:00
Jelmer Vernooij
ca7e4ce97a
Move shared gen_ndr files to librpc/gen_ndr in the root.
...
At the moment these files are used just by Samba 3, but the next step
will be using them from Samba 4 as well.
2008-12-16 15:59:06 +01:00
Kai Blin
91a7c8b01b
nsswitch: Fix paths for Samba4 blackbox wbinfo test
2008-12-16 15:46:03 +01:00
Jelmer Vernooij
b2a01ef5dd
Consider shared IDL files and Samba3-specific IDL files separately, allow overriding output directory.
2008-12-16 15:42:47 +01:00
Jelmer Vernooij
a7109b183b
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-16 15:36:53 +01:00
Jelmer Vernooij
0f04beff33
Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl.
2008-12-16 15:36:18 +01:00
Karolin Seeger
9e64ed018e
docs: "acl compatibility" is a global parameter.
...
This fixes bug #5866 .
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
Karolin
2008-12-16 15:10:29 +01:00
Jelmer Vernooij
f28b52ede3
Ignore setup symlink.
2008-12-16 14:39:54 +01:00
Holger Hetterich
37be72c6c1
Add an entry for the "check" command to the tdbtool manpage.
2008-12-16 13:59:06 +01:00
Holger Hetterich
42366bcbbd
Added a simple tdb integrity check to tdbtool. The command "check" runs traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
2008-12-16 13:58:48 +01:00
Kai Blin
5ee0392a55
nsswitch: Move nsswitch files from source4 to top level nsswitch dir
2008-12-16 13:03:05 +01:00
Kai Blin
6821d898d7
nsswitch: Move source3 files to top level dir.
...
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16 13:02:45 +01:00
Karolin Seeger
46f530e42f
docs: Remove comment about default backend.
...
Karolin
2008-12-16 11:20:59 +01:00
Karolin Seeger
b876e1336b
docs: Fix typo in the idmap_ad manpage.
...
Karolin
2008-12-16 11:20:59 +01:00
Stefan Metzmacher
8891b2b021
s3:net_status: use dbwrap to open sessionid.tdb
...
metze
2008-12-16 10:24:18 +01:00
Dan Sledz
2f17be1f57
s3: Use DEBUGADD instead of DEBUG to avoid printing the header
2008-12-15 23:30:50 -08:00
Tim Prouty
70874ceed9
s3: Fix "differing signedness" build warnings
2008-12-15 23:30:49 -08:00
Tim Prouty
8e1db7eab1
s3: Fix a few build warnings
2008-12-15 23:30:49 -08:00
Andrew Bartlett
5f20d219c3
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
2008-12-16 16:23:10 +11:00
Andrew Tridgell
4380a374c1
repack the ldb after re-indexing
...
re-indexing in ldb is triggered on any modification to the @ATTRIBUTES
or @INDEXLIST records. This happens to produce a worst-case
fragmentation of the database, as all @INDEX records are deleted then
re-created. By repacking after re-indexing we ensure that the database
ends up without extreme fragmentation.
2008-12-16 14:41:21 +11:00
Andrew Tridgell
f320e3a659
use transactions in ldbadd, ldbmodify and ldbedit
...
The command line tools ldbadd, ldbmodify and ldbedit should operate
within a transaction to make them more efficient. The ldbadd tool in
particular is much faster when adding a large number of records if all
the adds happen within a transaction. Previously there was a
transaction per record.
2008-12-16 14:39:42 +11:00
Andrew Tridgell
936d76802f
imported the tdb_repack() code from CTDB
...
The tdb_repack() function repacks a TDB so that it has a single
freelist entry. The file doesn't shrink, but it does remove all
freelist fragmentation. This code originated in the CTDB vacuuming
code, but will now be used in ldb to cope with fragmentation from
re-indexing
2008-12-16 14:38:17 +11:00
Andrew Tridgell
2e4247782b
make tdbbackup use transactions
...
tdbbackup was originally written before we had transactions, and it
attempted to use its own fsync() calls to make it safe. Now that we
have transactions we can do it in a much safer (and faster!) fashion
2008-12-16 14:36:56 +11:00
Andrew Tridgell
f448fde4e3
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-16 11:41:20 +11:00
Andrew Bartlett
9057c2522a
A more-commented version of rpc_server crash fix, matching closer the
...
previous behaviour for the 'bad bind' case.
(It is only close, not matching - Windows 2008 sends a different,
non-zero, assoc_group_id each time)
Andrew Bartlett
2008-12-16 11:25:29 +11:00
Jelmer Vernooij
530758dc2a
Add python extensions for dom_sid.
2008-12-16 00:16:02 +01:00
Jelmer Vernooij
2be233ebe3
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-15 23:19:49 +01:00
Michael Adam
51118b1974
s3:loadparm: fix copy service error (canonicalize_servicename: NULL source name)
...
this was introduced by commit 3358a139d2
.
Michael
2008-12-15 14:46:30 +01:00
Michael Adam
c2bd88f145
s3:loadparm: add service-struct based variants of the free-parameter routines
...
and use the abstracted free_one_parameter_common() in old
free_one_parameter_by_snum() as well as in new free_one_parameter()
Michael
2008-12-15 14:46:25 +01:00
Michael Adam
03f19dad79
s3:loadparm: rename free_parameters() to free_parameters_by_snum()
...
Michael
2008-12-15 14:46:19 +01:00
Michael Adam
0b0dc506d4
s3:loadparm: rename free_parameter() to free_one_parameter_by_snum()
...
Michael
2008-12-15 14:46:11 +01:00
Michael Adam
6244194265
s3:loadparm: add lp_local_ptr() that operates on a service struct
...
and use this in lp_local_ptr_by_snum().
Michael
2008-12-15 14:20:16 +01:00
Michael Adam
91c543f0b5
s3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()
...
Michael
2008-12-15 14:16:06 +01:00
Michael Adam
606abdceac
s3:loadparm: fix newly introduced leading whitespaces to tabs
...
Michael
2008-12-15 13:33:24 +01:00
Michael Adam
07a21dbfa5
s3:fix build of pam_winbind.so on older Linux systems.
...
Older pam implementations on Linux define PAM_AUTHTOK_RECOVER_ERR
instead of PAM_AUTHTOK_RECOVERY_ERR. We have always defined and
are using PAM_AUTHTOK_RECOVER_ERR in all other places.
Michael
2008-12-15 11:35:26 +01:00
Jelmer Vernooij
1e419cd31b
Rename ldap.h to ldap-util.h to avoid clashing with the system ldap.h
2008-12-14 19:08:22 +01:00
Jelmer Vernooij
573441ff9b
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-14 17:17:55 +01:00
Volker Lendecke
daeb3a190d
Remove the global "cmdline_auth_info" from source3/lib/util.c
...
This involves changing all our clients, that's why it's so large.
2008-12-14 14:00:43 +01:00
Volker Lendecke
31f157a04b
Move 128 bytes from the data to the text segment
2008-12-14 13:13:37 +01:00
Volker Lendecke
5887857a24
Remove a pointless static variable
2008-12-14 12:30:53 +01:00
Jeremy Allison
3c5c3aaa74
Added torture test for doing an openX over a directory
...
to ensure we get the correct error message.
Jeremy.
2008-12-13 13:10:48 -08:00
Herb Lewis
c689d75c27
don't return 0 on error - bad for scripts
2008-12-13 11:31:20 -08:00
Volker Lendecke
be3d999063
Remove a pointless static variable
...
Every sane compiler will only allocate "*SMBSERVER" once
2008-12-13 19:21:48 +01:00
Volker Lendecke
da6be4102e
Remove a static variable
...
Derrell, please check!
Thanks,
Volker
2008-12-13 19:19:46 +01:00
Volker Lendecke
b04d00744e
Micro-Optimize cliconnect.c
...
In this form, the prots array is fully read-only in the text segment and thus
can be shared between processes.
Probably pointless, but I had fun doing it :-)
2008-12-13 19:19:45 +01:00
Stefan Metzmacher
1b7b0e924f
s3:dsgetdcname: retry with the clients site
...
metze
2008-12-13 11:47:13 +01:00
Stefan Metzmacher
2bb91392b4
s3:libnet_join: use DS_FORCE_REDISCOVERY
...
metze
2008-12-13 11:42:37 +01:00
Stefan Metzmacher
6a993cb333
s3:libnet_join: call saf_join_store() after a the join.
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(similar to commit feef594d27
)
2008-12-13 11:42:37 +01:00