1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

26116 Commits

Author SHA1 Message Date
Jelmer Vernooij
08223692c6 fix libclinbtsrcdir variable. 2008-10-08 12:03:45 +02:00
Jeremy Allison
859facda89 Fix const warning.
Jeremy.
2008-10-07 17:56:32 -07:00
Jeremy Allison
ec5d09dbff Update vfs version as I've added a const to the security_descriptor paramter in fset_nt_acl().
Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules.
Jeremy.
2008-10-07 17:50:01 -07:00
Jeremy Allison
2024d87cf5 Make map_errno_from_nt_status() a generic call, not just a cli specific one.
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files.
Jeremy.
2008-10-07 14:43:42 -07:00
Tim Prouty
cde1b09d68 Fixed build warning "passing arg from incompatible pointer type"
The fix explicitly makes the conversion from timeval to time_t using the
existing time utility functions.

Compiling modules/vfs_smb_traffic_analyzer.c
modules/vfs_smb_traffic_analyzer.c: In function `smb_traffic_analyzer_send_data':
modules/vfs_smb_traffic_analyzer.c:173: warning: passing arg 1 of `localtime' from incompatible pointer type
2008-10-06 17:18:10 -07:00
Gerald (Jerry) Carter
2a35985283 idmap_adex: Add more debugging to the basic search function.
Log the dn of all located entries in order to verify search results.
2008-10-06 14:10:03 -05:00
Gerald (Jerry) Carter
338f658a5a idmap_adex: Add log messages to dc_add_domain for easier debugging.
Part of continue work on BUG 5806.
2008-10-06 14:10:03 -05:00
Volker Lendecke
f4095b62a8 If name_to_fqdn fails, retry with the dns domain the DC gave us
This is a workaround for the cases where you want to join under a netbios name
that is different from your hostname, i.e. a name that can not be found in
/etc/hosts or dns. In these cases, name_to_fqdn fails or gives invalid results.
2008-10-06 15:23:39 +02:00
Volker Lendecke
6aa8613b11 Log in the parent winbind log where a request is going 2008-10-06 10:57:47 +02:00
Volker Lendecke
439086099a Add netlogond auth method
This authenticates against a local running samba4 using SamLogonEx. We retrieve
the machine password using samba4's mymachinepwd script and store the schannel
key for re-use in secrets.tdb.
2008-10-06 09:54:17 +02:00
Volker Lendecke
2f6026248e Add dyn_NCALRPCDIR 2008-10-06 09:54:16 +02:00
Volker Lendecke
f3ba7fc0b9 Store a local schannel key in secrets.tdb 2008-10-06 09:54:16 +02:00
Volker Lendecke
41ee314438 Fix some nonempty blank lines 2008-10-05 22:16:07 +02:00
Volker Lendecke
9bb6bae4ef Remove an unused variable 2008-10-05 15:49:32 +02:00
Volker Lendecke
8670235f2a Fix some missing error handlings 2008-10-05 14:02:34 +02:00
Volker Lendecke
01ecd766c8 OS/X does not have rl_done in readline.h 2008-10-05 13:22:08 +02:00
Volker Lendecke
6ee4e81ad1 Fix an uninitialized variable warning
Not sure if we can ever not get domain and dns_domain, but gcc complained
2008-10-05 11:08:32 +02:00
Volker Lendecke
80665a0b5a Fix an unlikely memleak found by the IBM checker 2008-10-04 22:19:11 +02:00
Volker Lendecke
9eea6929e3 Fix an uninitialized variable found by the IBM Checker 2008-10-04 22:15:03 +02:00
Volker Lendecke
87f496f3c1 Fix a potential NULL deref in line 258 found by the IBM checker 2008-10-04 22:07:14 +02:00
Volker Lendecke
0e0371b78a "gwen/cc" does not like the double const :-) 2008-10-04 21:52:11 +02:00
Jeremy Allison
af9dc6381d Fix the build farm. In this branch cli_echo returns NTSTATUS.
Jeremy
2008-10-03 17:57:37 -07:00
Jeremy Allison
a9390d3047 Correctly fix smbclient to terminate on eof from server.
Jeremy.
2008-10-03 14:58:41 -07:00
Jeremy Allison
f6c883b4b0 Simply our main loop processing. A lot :-). Correctly use events for all the previous "special" cases.
A step on the way to adding signals to the events and being able to merge the S3 event system with
the S4 one.
Jeremy.
2008-10-03 14:18:35 -07:00
Gerald (Jerry) Carter
c7625979ce net_dns: Make "lwinet ads dns register" honor the "interfaces" parameter.
This is helpful on multihomed hosts that only require a subset
of IP addresses be registered with DNS.
2008-10-03 10:51:54 -05:00
Gerald (Jerry) Carter
8e1d93e6a6 libaddns: Use the same prerequisite for DDNS update as Windows XP.
Hostname, TYPE: CNAME, CLASS: NONE

This has to have been broken for ages.  I cannot see
how it would have worked in any environment.
2008-10-03 10:51:21 -05:00
Jeremy Allison
e0dbac6873 Don't reject a successful alloc :-(.
Jeremy.
2008-10-02 12:21:11 -07:00
Derrell Lipman
f0c1749636 Fix bug 5805: don't close stdout
- When calling setup_logging multiple times, the code was closing the debug
  file descriptor before opening or assigning the new one.  We don't, however,
  want to close the debug file descriptor if it is stdout.

Derrell
2008-10-02 09:03:32 -04:00
Volker Lendecke
af1c802791 The IRIX compiler does not like embedded unnamed unions 2008-10-02 08:09:25 +02:00
Volker Lendecke
8641b54a73 Attempt to fix the build on IRIX
Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2
2008-10-02 03:45:37 +02:00
Volker Lendecke
9097a67def Fix bug 5798: "CFLAGS info lost in configure"
Michael, please check and merge to the other branches if it's right.

Thanks,

Volker
2008-10-02 02:27:30 +02:00
Jeremy Allison
3bfb53caa8 Fix bug #5080. Access to cups-printers via samba broken with cups 1.3.4, Unsupported character set.
Cups 1.3.4 expects utf8 to be used in all messages to/from the server. We may be using a
different character set so we need to use talloc utf8 push/pull functions in all communication.
Needs more testing. Don't release until I've done a thorough test. I also have a version for 3.2.x.
Jeremy.
2008-10-01 16:40:41 -07:00
Jeremy Allison
ea85ceefa9 Whitespace cleanup.
Jeremy.
2008-10-01 15:01:05 -07:00
Jeremy Allison
e4f5bfb34b Fix use of DLIST_REMOVE as spotted by Constantine Vetoshev <gepardcv@gmail.com>.
This API is unusual in that if used to remove a non-list head it nulls out
the next and prev pointers. This is what you want for debugging (don't want
an entry removed from the list to be still virtually linked into it) but
means there is no consistent idiom for use as the next and prev pointers
get trashed on removal from the list, meaning you must save them yourself.
You can use it one way when deleting everything via the head pointer, as
this preserves the next pointer, but you *must* use it another way when not
deleting everything via the head pointer. Fix all known uses of this (the main
one is in conn_free_internal() and would not free all the private data entries
for vfs modules. The other changes in web/statuspage.c and winbindd_util.c
are not strictly neccessary, as the head pointer is being used, but I've done
them for consistency. Long term we must revisit this as this API is too hard
to use correctly.
Jeremy.
2008-10-01 13:15:54 -07:00
Jeremy Allison
370cbe0060 Turn the socket connections into a refcounted list - in the common case there'll now only be one socket per smbd.
Changed the format of the wire data to (a) include a version number (V1) as the first element. (b) removed the
";)" at the end an replaced it with a "\n". Receiver can change back if needed, and now receiver can just log
"as-is" to a text file (making testing easier). Added my (C). Sorry Holger, but I've changed quite a bit now.
Jeremy.
2008-10-01 12:50:29 -07:00
Jeremy Allison
c164ff2be5 Convert to allocated strings. Use write_data(), not send as this doesn't correctly
deal with EINTR. Jim and Holger please check this still works.
Jeremy.
2008-09-30 16:19:37 -07:00
Jeremy Allison
5d7d18b7e8 Revert erroneous commit.
Jeremy.
2008-09-30 15:26:26 -07:00
Jeremy Allison
4e6445a072 Remove current_user_info - not needed.
Jeremy.
2008-09-30 15:21:58 -07:00
Jeremy Allison
321191d5e2 Restructure the module so it connects to the remote data sink
on connect, and closes the socket on client disconnect. This should
make it much more efficient. Store the remote fd in a private data
pointer off the handle. Finally we need to remove the fstrings and
convert to allocated buffer storage.
Jeremy.
2008-09-30 15:13:19 -07:00
Jeremy Allison
97d57d0364 Fix the make test problem Karolin reported. Now rename_open_files actually works correctly we must emit the change notify before we change the name, not before.
Jeremy.
2008-09-30 13:26:41 -07:00
Jeremy Allison
c383e8d760 Ensure we null out fsp after a close in all paths.
Jeremy.
2008-09-29 10:57:22 -07:00
Jelmer Vernooij
55e201b0a1 Avoid freeing fsp twice when opening new_file fails. (Debian #431696)
If opening new_file fails, fsp would still be set to the files_struct of
old_file.
2008-09-29 19:09:53 +02:00
Stefan Metzmacher
0ee4d20adb s3:mapping_tdb: fix the del_aliasmem() function
We should not cancel the transaction, when we want to delete a key.

metze
2008-09-29 16:36:10 +02:00
Andrew Tridgell
86612b1163 re-added "winbind:ignore domains" patch
This option really is essential, as we discover again and again at
customer sites. Due to bugs in winbind some domains are toxic. When
you are installing at a site and a particular domain in a complex
setup causes winbind to segfault or hang then you need a way to
disable that domain and continue.

In an ideal world winbind could handle arbitrarily complex ADS
domains, but we are nowhere near that yet. If we ever get to that
stage then we won't need this option.
2008-09-29 14:01:01 +02:00
Andrew Tridgell
7caa8c85ac fixed an (unlikely) memory leak 2008-09-29 14:01:01 +02:00
Andrew Tridgell
acf5f2e5b0 fixed a segfault on the ctdb destructor code 2008-09-29 14:01:00 +02:00
Andrew Tridgell
a93dc2c858 removed unused variables 2008-09-29 14:01:00 +02:00
Andrew Tridgell
b8c9daac6e fixed segv on startup with trusted domains
With some setups, idmap_tdb2_allocate_id can be called before the
allocate backend is initialised, leading to a segv. This change
ensures that the db is opened in all paths that use it
2008-09-29 14:01:00 +02:00
Michael Adam
4fa4a524de [s3]fix build --with-cluster-support after ndr_[pull|push]_struct blob changes.
Michael
2008-09-29 14:00:59 +02:00
Stefan Metzmacher
eb935e08d3 s4:configure: require tdb >= 1.1.3 from the system
metze
2008-09-29 04:15:11 +02:00
Volker Lendecke
a9a59f5f3d Fix async_connect 2008-09-29 03:16:02 +02:00
Michael Adam
3358a139d2 [s3]loadparm: refactor freeing of parameter data out and reduce memleak.
Add new functions free_parameter(), free_parameters() and
free_global_parameters() and use these in the appropriate places,
reducing code duplication.

Also, always TALLOC_FREE data of type P_LIST, thus reducing mem-leaks:
This had not been done in init_globals before.

Michael
2008-09-27 22:28:27 +02:00
Michael Adam
e56c89b5e8 [s3]loadparm: in lp_do_parameter() use function lp_local_ptr()
instead of hard coded calculation.

Michael
2008-09-27 22:28:26 +02:00
Michael Adam
1578610aef [s3]loadparm: remove superfluous talloc context / talloc_stackframe call.
Michael
2008-09-27 22:28:26 +02:00
Michael Adam
aa388a2005 [s3]loadparm: refactor setting parametric options in list out
into new function set_param_opt().
This unifies and clarifies two instances of the code.

Michael
2008-09-27 22:28:26 +02:00
Michael Adam
33d18c76f1 [s3]loadparm: fix memory error - free the right param_opt->list in copy_service.
Michael
2008-09-27 22:28:26 +02:00
Michael Adam
612aa3915f [s3]loadparm: refactor freeing of parametric options into free_param_opts().
This code was there in three places.

Michael
2008-09-27 22:28:25 +02:00
Michael Adam
b38ed2674b [s3]loadparm: rename process_registry_service() to process_smbconf_service().
There is nothing registry-specific in that function.

Michael
2008-09-27 22:28:25 +02:00
Michael Adam
39f7ec3f74 [s3]testparm: give testparm one common exit point and call gfree_loadparm().
Michael
2008-09-27 22:28:25 +02:00
Michael Adam
628ee436a1 [s3]testparm: free the popt context when it is no longer used.
Michael
2008-09-27 22:28:25 +02:00
Michael Adam
6bfd63e010 [s3]build: build the new test_lp_load command.
Michael
2008-09-27 22:28:25 +02:00
Michael Adam
21c4061414 [s3]loadparm: add a command test_lp_load to test the lp_load function.
This is not like testparm, just a simple tool that runs
lp_load_with_registry_shares the requested number of times.

Michael
2008-09-27 22:28:24 +02:00
Jeremy Allison
3b02b9e40e Second part of the fix for bug #5790 - samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call.
This was my fault. I use a singleton cache (positive and negative) to speed up pathname based qfileinfo/setfileinfo lookups for alternate fsp's open on the same path. I only invalidated the negative cache on adding a new file fsp, as I incorrectly imagined the new fsp was put at the *end* of the open files list. DLIST_ADD puts it at the start, meaning any subsequent open wasn't seen once the cache was set. Doh !
Jeremy.
2008-09-26 18:39:03 -07:00
Günther Deschner
ce46f65f17 libwbclient: fix doxygen warnings.
Guenther
2008-09-27 01:15:07 +02:00
Günther Deschner
c12c69c6ee libgpo: add gpext_security module build to configure.
Guenther
2008-09-27 00:58:10 +02:00
Günther Deschner
9c1b5f27e4 libgpo: fix copyright.
Guenther
2008-09-27 00:38:26 +02:00
Günther Deschner
0cb55e74ef libgpo: add security CSE skeleton.
Guenther
2008-09-27 00:36:58 +02:00
Jeremy Allison
da8bebaa64 Fix bug #5797 - Moving readonly files fails. Reported by infomail@lordb.de.
We don't need to deny a DELETE open on a readonly file (I'm also adding a s4
torture test for this), the set_file_disposition call will return
NT_STATUS_CANNOT_DELETE if the delete-on-close bit is set
on a readonly file (and we already do this).
Jeremy.
2008-09-26 15:17:14 -07:00
Günther Deschner
cd49586b29 libgpo: fix invalid cast in scripts CSE.
Guenther
2008-09-26 23:39:32 +02:00
Kai Blin
694786b23c net: Make share type lookup a function. 2008-09-26 20:52:13 +02:00
Günther Deschner
f50ebbe29f s3-srvsvc: fix _srvsvc_NetShareAdd segfault.
parm_err is not a ref pointer.

Guenther
2008-09-26 18:34:21 +02:00
Jeremy Allison
da6c7aa2a1 Use IPv4/v6 independent calls. Change safe_strcpy/cat to strlcpy/cat (this
needs changing to talloc_sprintf) and fix file descriptor resource leaks
in error paths. Jim and Holger please check !
Jeremy.
2008-09-25 12:02:22 -07:00
Günther Deschner
917b141e7d netapi: start supporting NetUserSetInfo level 3.
Guenther
2008-09-25 20:50:16 +02:00
Günther Deschner
da955d7193 s3-nbt: further cleanup of dsgetdcname().
Guenther
2008-09-25 20:11:55 +02:00
Günther Deschner
81fde58551 s3-nbt: remove double nbt netlogon opcodes.
Guenther
2008-09-25 20:11:55 +02:00
Gerald W. Carter
6f46002ff6 idmap: Fix typo is gid2sid() that was caching using idmap_cache_set_sid2uid() 2008-09-25 10:46:31 -07:00
Jeremy Allison
f8b741eef9 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2008-09-25 10:07:44 -07:00
Jeremy Allison
7e38942431 Remove these no longer used include files.
Jeremy.
2008-09-25 10:06:11 -07:00
Gerald W. Carter
e9e0e9a401 idmap_hash: Fix the nss_info link during "make install" 2008-09-25 09:46:14 -07:00
Gerald W. Carter
571f23c03c idmap_adex: Fix the nss_info install link. 2008-09-25 09:14:58 -07:00
Stefan Metzmacher
f27774729e s3:lib/ldb: Don't return already freed pointer on error.
metze

Signed-off-by: Karolin Seeger <kseeger@samba.org>
2008-09-25 07:15:18 -07:00
Jim McDonough
a78ac8a46b Fix the new vfs_smb_traffic_analyzer build for static links 2008-09-24 20:51:04 -04:00
Holger Hetterich
964fb9f249 SMB traffic analyzer vfs module from Holger Hetterich <hhetter@novell.com>
Used to gather data to feed to a database for live and historical
analysis of usage per user, per share, etc.

Helper apps to read the data still to come.  This one still needs to be
made ipv6 enabled (connection is made to the helper app).
2008-09-24 19:16:57 -04:00
Jeremy Allison
31e10643c9 Fix bug #5790 samba returns STATUS_OBJECT_NAME_NOT_FOUND on set file disposition.
We were checking that fd != -1 in file_find_di_XXX calls which is no longer
needed due to a change in internal semantics.
Jeremy.
2008-09-24 14:28:18 -07:00
Stefan Metzmacher
943387edc1 build: fix the libcryptosrcdir for the merged build
metze
2008-09-24 23:11:13 +02:00
Stefan Metzmacher
ec0eab7f0b s3:configure: add -L./bin also for the merged build
metze
2008-09-24 23:11:13 +02:00
Karolin Seeger
9cf1a68977 printing: Rename new parameter "cups timeout" to "cups connection timeout".
Karolin
2008-09-24 11:09:04 -07:00
Jelmer Vernooij
ddbddbd80c Fix build with arc4. 2008-09-24 19:20:33 +02:00
Jelmer Vernooij
edeb20b921 Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4
Conflicts:
	source3/include/includes.h
2008-09-24 18:38:45 +02:00
Jelmer Vernooij
d2062ab74f Use common crc32 implementation. 2008-09-24 16:46:02 +02:00
Jelmer Vernooij
da01822671 Use common arcfour implementation. 2008-09-24 16:04:43 +02:00
Jelmer Vernooij
2413a72006 Use shared copy of hmac5 implementation. 2008-09-24 15:44:34 +02:00
Jelmer Vernooij
5709ded3ef Use common md4 implementation. 2008-09-24 15:37:15 +02:00
Jelmer Vernooij
45bc578664 Use common MD5. 2008-09-24 15:34:30 +02:00
Jelmer Vernooij
1ca2e4b99f Use new binary name in merged build. 2008-09-24 04:41:30 +02:00
Günther Deschner
04979bcfb4 s3: fix idmap_adex.
Guenther
2008-09-24 03:34:24 +02:00
Günther Deschner
f07431f5ba s3-nbt: use the new generated nbt.
Guenther
2008-09-24 03:34:23 +02:00
Günther Deschner
e867ff52d7 s3: re-run make samba3-idl.
Guenther
2008-09-24 03:34:22 +02:00
Günther Deschner
a877745dc7 s3-nbt: full merge of s4 nbt idl.
Guenther
2008-09-24 03:34:22 +02:00
Günther Deschner
1ea185a340 s3: fix merged_build.
Guenther
2008-09-24 03:30:50 +02:00
Karolin Seeger
765e5d2282 printing: Add new parameter "cups timeout".
The default timeout for connections to CUPS servers is set
to 5 minutes in the CUPS libraries. The smbd hangs on startup
until the timeout is reached if the CUPS server is unreachable.
This parameter makes the timeout configurable. The default value
is set to 30 seconds.

Karolin
2008-09-23 16:57:58 -07:00
Günther Deschner
61a45c85de s3: fix make everything.
Guenther
2008-09-24 01:40:52 +02:00
Jeremy Allison
3807b30f44 Fix winbindd crash in an unusual failure mode. Bug #5737. Based on original patch from shargagan@novell.com
Jeremy.
2008-09-23 16:39:57 -07:00
Jeremy Allison
d275cc762d Fix bug #5783 FindFirst fails where search pattern == mangled filename.
That was an old and subtle bug.
Jeremy.
2008-09-23 15:05:45 -07:00
Günther Deschner
0bbbe2c21f pam_winbind: attempt to fix build issue on solaris, bug #5784
Guenther
2008-09-23 23:42:08 +02:00
Günther Deschner
022947097f s3-ndr: add stub smb_iconv_convenience to some ndr_ functions.
Guenther
2008-09-23 23:35:14 +02:00
Günther Deschner
5fa451ea84 s3: re-run make samba3-idl.
Guenther
2008-09-23 23:35:04 +02:00
Günther Deschner
de54bac54c s3: fix NETLOGON_NT_VERSION version flags.
Guenther
2008-09-23 23:20:10 +02:00
Günther Deschner
0950cce83d s3: re-run make samba3-idl.
Guenther
2008-09-23 23:20:01 +02:00
Günther Deschner
d62bc0e845 s3-nbt: start merging from samba4 idl.
Guenther
2008-09-23 23:19:54 +02:00
Günther Deschner
8bd302ab22 s3-build: let ctags/etags start from the toplevel dir.
Guenther
2008-09-23 23:16:35 +02:00
Günther Deschner
05e0966d85 s3-nbt: remove old samba3 libcli/nbt copy.
Guenther
2008-09-23 10:48:58 +02:00
Michael Adam
4432967532 [s3]winbindd_group: don't list the domain twice when expanding internal aliases
Before this, "getent group builtin\\administrators" expanded
domain group members in the form DOMAIN\domain\user.

Michael
2008-09-23 10:00:26 +02:00
Michael Adam
4205fab500 [s3]winbindd_group: sanely handle NULL domain in add_member().
Michael
2008-09-23 10:00:26 +02:00
Michael Adam
49145bfefa [s3]winbindd_ads: honour "winbind use default domain" in lookup_groupmem().
This fixes the output of "getent group" when "winbind use default domain = yes"
with security = ads.

Michael
2008-09-23 10:00:26 +02:00
Michael Adam
1f8a7739ac [s3]winbindd_rpc: add domain prefix to username in lookup_groupmem().
This makes the output of "getent group" of a domain group show the
domain prefix with "security = domain".

Michael
2008-09-23 10:00:26 +02:00
Michael Adam
1b9c2ccb1f [s3]winbindd_util: add fill_domain_username_talloc().
A talloc version of fill_domain_username().

Michael
2008-09-23 10:00:26 +02:00
Michael Adam
e401ce6de7 [s3]winbindd_util: add prototype for fill_domain_username_talloc().
A talloc version of fill_domain_username().

Michael
2008-09-23 10:00:25 +02:00
Michael Adam
f0dccdca6a [s3]winbindd: fix a comment typo
Michael
2008-09-23 10:00:25 +02:00
Michael Adam
6c8c5d7113 [s3]winbind_util: fix an implicit cast compile warning.
Michael
2008-09-23 10:00:25 +02:00
Günther Deschner
fd3ba988dc s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.
Guenther
2008-09-23 09:49:56 +02:00
Günther Deschner
7f5aef542a s3-nbt: use ../libcli/nbt helper.
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
9f8813e4d4 s3: re-run make idl.
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
83c042583b s3-nbt: refer to ../libcli/nbt in nbt.idl.
Guenther
2008-09-23 09:37:24 +02:00
Günther Deschner
c48186f507 s3: use samba4 prototype for ndr_push/pull_struct_blob.
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
c8858058e9 s3: re-run make idl.
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
9421ecac33 s3-nbt: fix nbt.idl in order to use shared nbt helper.
Guenther
2008-09-23 09:37:23 +02:00
Günther Deschner
f093ddbc11 s3-charset: add smb_iconv_convenience.
Guenther
2008-09-23 09:37:23 +02:00
Volker Lendecke
6660ac5d0a Fix make pch in the merged build 2008-09-23 01:44:41 +02:00
Gerald (Jerry) Carter
7d5fb989ac idmap_adex: Add new idmap plugin for support RFC2307 enabled AD forests.
The adex idmap/nss_info plugin is an adapation of the Likewise
Enterprise plugin with support for OU based cells removed
(since the Windows pieces to manage the cells are not available).

This plugin supports

  * The RFC2307 schema for users and groups.
  * Connections to trusted domains
  * Global catalog searches
  * Cross forest trusts
  * User and group aliases

Prerequiste: Add the following attributes to the Partial Attribute
Set in global catalog:

  * uidNumber
  * uid
  * gidNumber

A basic config using the current trunk code would look like

 [global]
      idmap backend = adex
      idmap uid = 10000 - 19999
      idmap gid = 20000 - 29999
      idmap config US:backend = adex
      idmap config US:range = 20000 - 29999
      winbind nss info = adex

       winbind normalize names = yes
       winbind refresh tickets = yes
       template homedir = /home/%D/%U
       template shell = /bin/bash
2008-09-22 15:46:19 -07:00
Günther Deschner
92ebd6afc9 re-run make idl.
Guenther
2008-09-22 19:36:53 +02:00
Günther Deschner
bd7d2fa017 netapi: add more fields to USER_INFO_X.
Guenther
2008-09-22 19:36:53 +02:00
Günther Deschner
b47953ea10 netapi: add NetFile testsuite.
Guenther
2008-09-22 19:36:53 +02:00
Günther Deschner
ba58d17e69 netapi: fix case statement in example NetUserSetModals code.
Guenther
2008-09-22 19:31:44 +02:00
Stefan Metzmacher
b7e2c74cef s3: link @tallocdir@/testsuite_main.o into talloctort
metze
2008-09-22 00:21:26 +02:00
Stefan Metzmacher
2c7cbb6b1d s3: link libreplace/test/main.c into replacetort
metze
2008-09-22 00:09:13 +02:00
Jelmer Vernooij
bc794246df Fix merged build. 2008-09-21 23:57:59 +02:00
Volker Lendecke
73aebd7d07 Attempt to fix bug 5778
Jeff, Steve, please check!
2008-09-21 22:56:50 +02:00
Günther Deschner
e194ded26e netlogon: move password change code out to rpccli_netlogon_set_trust_password.
Guenther
2008-09-21 22:30:39 +02:00
Günther Deschner
6f9a83505f netlogon: refactor just_change_the_password a bit.
Guenther
2008-09-21 22:30:29 +02:00
Günther Deschner
ca56c02d4b netlogon: use init_netr_CryptPassword in "just_change_the_password"
Guenther
2008-09-21 22:30:21 +02:00
Günther Deschner
1f9624175a netlogon: add init_netr_CryptPassword.
Guenther
2008-09-21 22:30:10 +02:00
Günther Deschner
2331c96d28 build: rebuild only changed IDL files.
Let"s see how this works now.

Guenther
2008-09-21 22:29:34 +02:00
Volker Lendecke
7e5f345cfe Fix the build -- appweb is no more 2008-09-21 18:09:55 +02:00
Volker Lendecke
2009229c84 Make use of TALLOC_ZERO_P 2008-09-21 16:32:40 +02:00
Simo Sorce
258cec7756 Add comment to explain version bump 2008-09-19 13:51:40 -04:00
Gerald (Jerry) Carter
7d391c09ee idmap: Increment the interface number after Volker's rewrite. 2008-09-19 11:43:45 -05:00
Jelmer Vernooij
fcf6740d3f Fix location of nss_wrapper.pl script. 2008-09-18 15:16:48 +02:00
Jeremy Allison
0379d9c151 Correctly get+set the NT ACL on a file. Now to make us check it on open..
Jeremy.
2008-09-17 13:44:29 -07:00
Jeremy Allison
21ca0c31b9 Mark module experimental, fix crash bugs.
Jeremy.
2008-09-17 12:34:09 -07:00