samba.git
16 years agor21191: Add in the POSIX open/mkdir/unlink calls.
Jeremy Allison [Tue, 6 Feb 2007 21:05:34 +0000 (21:05 +0000)]
r21191: Add in the POSIX open/mkdir/unlink calls.
Move more error code returns to NTSTATUS.
Client test code to follow... See if this
passes the build-farm before I add it into
3.0.25.
Jeremy.

16 years agor21188: bumping passdb version number to make sure this is different than the 3.0...
Gerald Carter [Tue, 6 Feb 2007 21:00:51 +0000 (21:00 +0000)]
r21188: bumping passdb version number to make sure this is different than the 3.0.25 branch

16 years agor21184: Dummy checkin to let the build farm pick up r21183 of Samba4
Volker Lendecke [Tue, 6 Feb 2007 20:07:29 +0000 (20:07 +0000)]
r21184: Dummy checkin to let the build farm pick up r21183 of Samba4

16 years agor21182: * Refactor the code to obtain the LDAP connection credentials
Gerald Carter [Tue, 6 Feb 2007 17:29:18 +0000 (17:29 +0000)]
r21182: * Refactor the code to obtain the LDAP connection credentials
  from both idmap_ldap_{alloc,db}_init()
* Fix the backwards compat support in idmap_ldap.c
* Fix a spelling error in the idmap_fetch_secret() function name

16 years agor21181: Add some debug, fix the NT_STATUS_IO_TIMEOUT problems in the RAW-NOTIFY test
Volker Lendecke [Tue, 6 Feb 2007 17:28:03 +0000 (17:28 +0000)]
r21181: Add some debug, fix the NT_STATUS_IO_TIMEOUT problems in the RAW-NOTIFY test
in the build farm.

Volker

16 years agor21180: fix backwards compatible idmap backends parameter parsing
Gerald Carter [Tue, 6 Feb 2007 15:31:17 +0000 (15:31 +0000)]
r21180: fix backwards compatible idmap backends parameter parsing

16 years agor21176: merged va_end() changes from Samba4
Andrew Tridgell [Tue, 6 Feb 2007 05:58:35 +0000 (05:58 +0000)]
r21176: merged va_end() changes from Samba4

16 years agor21166: Ensure we return the correct "EROFS" error on a non-writable
Jeremy Allison [Mon, 5 Feb 2007 23:33:53 +0000 (23:33 +0000)]
r21166: Ensure we return the correct "EROFS" error on a non-writable
filesystem.
Jeremy.

16 years agor21165: Lets try the build farm without inotify, we're seeing some
Volker Lendecke [Mon, 5 Feb 2007 21:18:44 +0000 (21:18 +0000)]
r21165: Lets try the build farm without inotify, we're seeing some
NT_STATUS_IO_TIMEOUT with it.

Samba4 disables inotify as well. Does anybody know why Samba4 does it? Maybe
the same justification holds for 3 as well.

Volker

16 years agor21164: Fix from Martin Zielinski <mz@seh.de> for EnumprinterdataEX
Jeremy Allison [Mon, 5 Feb 2007 19:32:31 +0000 (19:32 +0000)]
r21164: Fix from Martin Zielinski <mz@seh.de> for EnumprinterdataEX
on Vista.
Jeremy.

16 years agor21161: Another fix for pam_winbind: Move the entire pwd expiry handling into
Günther Deschner [Mon, 5 Feb 2007 18:11:41 +0000 (18:11 +0000)]
r21161: Another fix for pam_winbind: Move the entire pwd expiry handling into
the PAM_SUCCESS block.

Guenther

16 years agor21160: Some more pam_winbind fixes:
Günther Deschner [Mon, 5 Feb 2007 18:04:28 +0000 (18:04 +0000)]
r21160: Some more pam_winbind fixes:

* Consolidate all pam_winbind password expiry warnings in the one
_pam_send_password_expiry_message() call.
* Also convert some more NTSTATUS codes to error messages.
* Add paranoia check to only do all the post-processing after PAM_SUCCESS.

Guenther

16 years agor21159: Cleanup pam_sm_chauthtok() in pam_winbind:
Günther Deschner [Mon, 5 Feb 2007 17:35:25 +0000 (17:35 +0000)]
r21159: Cleanup pam_sm_chauthtok() in pam_winbind:

Set info3 strings, krb5ccname and returned username after we changed a
password and sucessfully re-authenticated afterwards. In that case we
ended up without this information.

Guenther

16 years agor21158: Add _pam_setup_krb5_env() and _pam_warn_logon_type() functions for
Günther Deschner [Mon, 5 Feb 2007 17:28:55 +0000 (17:28 +0000)]
r21158: Add _pam_setup_krb5_env() and _pam_warn_logon_type() functions for
pam_winbind.

Guenther

16 years agor21157: this is 3.0.26 trunk
Stefan Metzmacher [Mon, 5 Feb 2007 17:20:15 +0000 (17:20 +0000)]
r21157: this is 3.0.26 trunk

metze

16 years agor21155: Forgot one _PAM_LOG_STATE_DATA_STRING call (only in 3_0).
Günther Deschner [Mon, 5 Feb 2007 17:14:30 +0000 (17:14 +0000)]
r21155: Forgot one _PAM_LOG_STATE_DATA_STRING call (only in 3_0).

Guenther

16 years agor21154: Add PAM_WINBIND_LOGONSERVER, also merge the various pam_set_data calls.
Günther Deschner [Mon, 5 Feb 2007 17:12:13 +0000 (17:12 +0000)]
r21154: Add PAM_WINBIND_LOGONSERVER, also merge the various pam_set_data calls.

Guenther

16 years agor21152: Correctly omit pam conversations when PAM_SILENT has been set by the
Günther Deschner [Mon, 5 Feb 2007 15:25:31 +0000 (15:25 +0000)]
r21152: Correctly omit pam conversations when PAM_SILENT has been set by the
calling application.

Guenther

16 years agor21151: applying patches for CVE-2007-045[34]
Gerald Carter [Mon, 5 Feb 2007 15:16:30 +0000 (15:16 +0000)]
r21151: applying patches for CVE-2007-045[34]

16 years agor21150: Activate RAW-NOTIFY
Volker Lendecke [Mon, 5 Feb 2007 15:07:44 +0000 (15:07 +0000)]
r21150: Activate RAW-NOTIFY

16 years agor21149: Only say we are a groupmember for the optimized (rid 513) membership
Günther Deschner [Mon, 5 Feb 2007 15:04:09 +0000 (15:04 +0000)]
r21149: Only say we are a groupmember for the optimized (rid 513) membership
lookup when we actually are. Although the Linux nss winbind backend
protects against num_mem != 0 && buf == NULL.

Guenther

16 years agor21146: Fix debug typos.
Günther Deschner [Mon, 5 Feb 2007 14:57:31 +0000 (14:57 +0000)]
r21146: Fix debug typos.

Guenther

16 years agor21145: Convert some int to BOOL in pam_winbind (only in 3_0).
Günther Deschner [Mon, 5 Feb 2007 14:46:36 +0000 (14:46 +0000)]
r21145: Convert some int to BOOL in pam_winbind (only in 3_0).

Guenther

16 years agor21144: Create more accurate warning message when the pam_winbind chauthtok has
Günther Deschner [Mon, 5 Feb 2007 14:43:06 +0000 (14:43 +0000)]
r21144: Create more accurate warning message when the pam_winbind chauthtok has
received NT_STATUS_PASSWORD_RESTRICTION.

Guenther

16 years agor21143: Fix wrong check for pam error codes for getpwnam and lookup winbind
Günther Deschner [Mon, 5 Feb 2007 14:34:12 +0000 (14:34 +0000)]
r21143: Fix wrong check for pam error codes for getpwnam and lookup winbind
requests in pam_winbind (Bug #4094).

Inspired by fix from Lars Heete.

Guenther

16 years agor21133: - Apply patch from ages ago, which should allow following \\server\share...
Derrell Lipman [Sat, 3 Feb 2007 17:20:53 +0000 (17:20 +0000)]
r21133: - Apply patch from ages ago, which should allow following \\server\share\path
  DFS referrals.  This doesn't appear to break anything in the non-DFS case,
  but I don't have an environment to test DFS referrals.  Need confirmation
  from OP that this solves the problem.

16 years agor21132: - Fixes bug 4366. Documentation for smbc_utimes() was incorrect.
Derrell Lipman [Sat, 3 Feb 2007 17:13:58 +0000 (17:13 +0000)]
r21132: - Fixes bug 4366.  Documentation for smbc_utimes() was incorrect.

- Should fix bug 4115 (but needs confirmation from OP).  If the kerberos use
  flag is set in the context, then also pass it to smbc_attr_server for use by
  cli_full_connection()

- Should fix bug 4309 (but needs confirmation from OP).  We no longer send a
  keepalive packet unconditionally.  Instead, we assume (yes, possibly
  incorrectly, but it's the best guess we can make) that if the connection is
  on port 139, it's netbios and otherwise, it isn't.  If netbios is in use, we
  send a keepalive packet.  Otherwise, we check that the connection is alive
  using getpeername().

16 years agor21131: Some notify fixes
Volker Lendecke [Sat, 3 Feb 2007 16:53:52 +0000 (16:53 +0000)]
r21131: Some notify fixes

16 years agor21130: Don't mix SAFE_FREE() and TALLOC_FREE().
Gerald Carter [Sat, 3 Feb 2007 13:31:47 +0000 (13:31 +0000)]
r21130: Don't mix SAFE_FREE() and TALLOC_FREE().

16 years agor21129: Fix from Martin Zielinski <mz@seh.de> - ensure
Jeremy Allison [Sat, 3 Feb 2007 00:50:47 +0000 (00:50 +0000)]
r21129: Fix from Martin Zielinski <mz@seh.de> - ensure
the hand marshalled container size is a multiple
of 4 bytes for RPC alignment.
Jeremy.

16 years agor21128: Fix Vista connecting to Samba in share level security.
Jeremy Allison [Fri, 2 Feb 2007 22:02:42 +0000 (22:02 +0000)]
r21128: Fix Vista connecting to Samba in share level security.
Vista sends the NTLMv2 blob by default in the tconX
packet. Make sure we save off the workgroup the user
was logged into on the client in the sessionsetupX
and re-use it for the NTLMv2 calc.
Jeremy.

16 years agor21127: Add a mitigating comment ;-))
Volker Lendecke [Fri, 2 Feb 2007 17:48:21 +0000 (17:48 +0000)]
r21127: Add a mitigating comment ;-))

16 years agor21123: Make notify_fsp() static to notify.c.
Volker Lendecke [Fri, 2 Feb 2007 14:55:21 +0000 (14:55 +0000)]
r21123: Make notify_fsp() static to notify.c.

Volker

16 years agor21122: Simplify code in pam_winbind a bit.
Günther Deschner [Fri, 2 Feb 2007 13:03:06 +0000 (13:03 +0000)]
r21122: Simplify code in pam_winbind a bit.

Guenther

16 years agor21121: Fix error message, based on RAW-NOTIFY
Volker Lendecke [Fri, 2 Feb 2007 12:38:18 +0000 (12:38 +0000)]
r21121: Fix error message, based on RAW-NOTIFY

16 years agor21120: Make notify a bit more robust: Delete the notify records if we figured out
Volker Lendecke [Fri, 2 Feb 2007 11:34:16 +0000 (11:34 +0000)]
r21120: Make notify a bit more robust: Delete the notify records if we figured out
that the process holding it is not around anymore.

Tridge, please review this and possibly also include it in 4. We can discuss
the error message for "unknown target" from messaging_send, INVALID_HANDLE
seemed to be most appropriate to me.

Volker

16 years agor21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.
Günther Deschner [Thu, 1 Feb 2007 22:12:37 +0000 (22:12 +0000)]
r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.

Guenther

16 years agor21116: Fix the build -- sorry!
Volker Lendecke [Thu, 1 Feb 2007 22:06:59 +0000 (22:06 +0000)]
r21116: Fix the build -- sorry!

16 years agor21115: notify_internal.c needs to remove the table entry if a process has crashed. So
Volker Lendecke [Thu, 1 Feb 2007 19:29:07 +0000 (19:29 +0000)]
r21115: notify_internal.c needs to remove the table entry if a process has crashed. So
it needs the specific error message.

Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if
sending to a non-existent process.

Volker

16 years agor21114: Fix 'net usershare': Adding "guest_ok=y" required a correct acl. Set the
Volker Lendecke [Thu, 1 Feb 2007 16:22:07 +0000 (16:22 +0000)]
r21114: Fix 'net usershare': Adding "guest_ok=y" required a correct acl. Set the
default if "" is set. And fix the calculation for too man shares.

Thanks to Karolin Seeger <ks@sernet.de>

Volker

16 years agor21113: Increment vfs version, thanks to metze for pointing it out
Volker Lendecke [Thu, 1 Feb 2007 15:29:24 +0000 (15:29 +0000)]
r21113: Increment vfs version, thanks to metze for pointing it out

16 years agor21112: fix const compile warning
Gerald Carter [Thu, 1 Feb 2007 15:22:08 +0000 (15:22 +0000)]
r21112: fix const compile warning

16 years agor21111: Reorganize the change notify params a bit. We now have the per-share
Volker Lendecke [Thu, 1 Feb 2007 15:11:06 +0000 (15:11 +0000)]
r21111: Reorganize the change notify params a bit. We now have the per-share
parameters

change notify = [yes]/no           # do we do it at all
kernel change notify = [yes]/no    # enable/disable inotify

Those who want FAM need to say

change notify = yes
vfs objects = notify_fam

Volker

16 years agor21110: Fix kinit with Heimdal (Bug #4226).
Günther Deschner [Thu, 1 Feb 2007 15:10:13 +0000 (15:10 +0000)]
r21110: Fix kinit with Heimdal (Bug #4226).

Guenther

16 years agor21109: Send notify_fam.c through the VFS. Lets see how the build farm likes this.
Volker Lendecke [Thu, 1 Feb 2007 14:31:10 +0000 (14:31 +0000)]
r21109: Send notify_fam.c through the VFS. Lets see how the build farm likes this.

Volker

16 years agor21108: Send sys_notify_watch through the VFS, FAM is next
Volker Lendecke [Thu, 1 Feb 2007 13:36:02 +0000 (13:36 +0000)]
r21108: Send sys_notify_watch through the VFS, FAM is next

16 years agor21107: Adapt notify_fam.c to the new infrastructure. This works in my test, but...
Volker Lendecke [Thu, 1 Feb 2007 12:36:21 +0000 (12:36 +0000)]
r21107: Adapt notify_fam.c to the new infrastructure. This works in my test, but does
not survive the raw-notify test just because famd is too slow. Events are
coming in too late and are thus unsyncronized.

Now to get that through the VFS.

Volker

16 years agor21106: We neither need a account lockout policy handler nor a check domain
Günther Deschner [Thu, 1 Feb 2007 12:24:08 +0000 (12:24 +0000)]
r21106: We neither need a account lockout policy handler nor a check domain
online handler for internal (local SAM, BUILTIN) childs. Jeremy, please
check.

Guenther

16 years agor21105: Quick fix for CLDAP reply without NetLogon attribute.
Günther Deschner [Thu, 1 Feb 2007 12:20:33 +0000 (12:20 +0000)]
r21105: Quick fix for CLDAP reply without NetLogon attribute.

Guenther

16 years agor21104: Rename struct watch_context to struct inotify_watch_context
Volker Lendecke [Thu, 1 Feb 2007 10:59:35 +0000 (10:59 +0000)]
r21104: Rename struct watch_context to struct inotify_watch_context

16 years agor21101: Remove "unused" warning from Jerry's code. We still
Jeremy Allison [Wed, 31 Jan 2007 22:27:47 +0000 (22:27 +0000)]
r21101: Remove "unused" warning from Jerry's code. We still
have a build failure in 3.0.24 in event_add_timed ?
Jeremy

16 years agor21100: Add the RPC hack fix to adddriver as well as adddriverex.
Jeremy Allison [Wed, 31 Jan 2007 21:33:45 +0000 (21:33 +0000)]
r21100: Add the RPC hack fix to adddriver as well as adddriverex.
Thanks to Martin Zielinski <mz@seh.de>.
Jeremy.

16 years agor21099: Protect ourselves from null pointer deref. This isn't
Jeremy Allison [Wed, 31 Jan 2007 20:28:32 +0000 (20:28 +0000)]
r21099: Protect ourselves from null pointer deref. This isn't
the correct fix for the Vista bug, but it needed as
protection against invalid RPC. Thanks to Martin Zielinski <mz@seh.de>
for pointing this out.
Jeremy.

16 years agor21098: When get_dc_name_via_netlogon() in get_dcs() fails to find a trusted DC
Günther Deschner [Wed, 31 Jan 2007 20:05:48 +0000 (20:05 +0000)]
r21098: When get_dc_name_via_netlogon() in get_dcs() fails to find a trusted DC
we may not just assume that we look for our own realm's dcs next.

Guenther

16 years agor21097: Ensure that when manipulating UNIX permissions via
Jeremy Allison [Wed, 31 Jan 2007 19:26:46 +0000 (19:26 +0000)]
r21097: Ensure that when manipulating UNIX permissions via
the UNIX extensions we use the correct mask/force mask
settings for new and existing files/directories. Bug
reported by Juran David <ext-david.juran@nokia.com>.
Jeremy.

16 years agor21096: Fix formatting.
Jeremy Allison [Wed, 31 Jan 2007 19:25:08 +0000 (19:25 +0000)]
r21096: Fix formatting.
Jeremy

16 years agor21093: Remove the hash and dnotify backends. Disabling FAM for this checkin, I'm
Volker Lendecke [Wed, 31 Jan 2007 16:56:27 +0000 (16:56 +0000)]
r21093: Remove the hash and dnotify backends. Disabling FAM for this checkin, I'm
working on that right now.

Volker

16 years agor21092: Ok, that's the one that activates the Samba4 notify backend.
Volker Lendecke [Wed, 31 Jan 2007 14:42:56 +0000 (14:42 +0000)]
r21092: Ok, that's the one that activates the Samba4 notify backend.

Now to clean up / fix lots of stuff.

Volker

16 years agor21091: Fix the build without inotify
Volker Lendecke [Wed, 31 Jan 2007 14:36:50 +0000 (14:36 +0000)]
r21091: Fix the build without inotify

16 years agor21090: Add some helper routines
Volker Lendecke [Wed, 31 Jan 2007 14:28:08 +0000 (14:28 +0000)]
r21090: Add some helper routines

16 years agor21089: Do notifies on rename
Volker Lendecke [Wed, 31 Jan 2007 14:24:29 +0000 (14:24 +0000)]
r21089: Do notifies on rename

16 years agor21088: Apply some const
Volker Lendecke [Wed, 31 Jan 2007 14:19:09 +0000 (14:19 +0000)]
r21088: Apply some const

16 years agor21087: Make the param list of notify_fname match notify_trigger
Volker Lendecke [Wed, 31 Jan 2007 14:14:57 +0000 (14:14 +0000)]
r21087: Make the param list of notify_fname match notify_trigger

16 years agor21084: Make the Samba4 files compile in Samba3, not activated yet.
Volker Lendecke [Wed, 31 Jan 2007 13:47:37 +0000 (13:47 +0000)]
r21084: Make the Samba4 files compile in Samba3, not activated yet.

Volker

16 years agor21083: Actually make it static... :-)
Volker Lendecke [Wed, 31 Jan 2007 13:12:38 +0000 (13:12 +0000)]
r21083: Actually make it static... :-)

16 years agor21082: Make canonicalize_path static to service.c -- we do have conn->connectpath
Volker Lendecke [Wed, 31 Jan 2007 13:09:07 +0000 (13:09 +0000)]
r21082: Make canonicalize_path static to service.c -- we do have conn->connectpath

16 years agor21081: Add forgotten function
Volker Lendecke [Wed, 31 Jan 2007 13:05:36 +0000 (13:05 +0000)]
r21081: Add forgotten function

16 years agor21080: Reformatting
Volker Lendecke [Wed, 31 Jan 2007 12:55:39 +0000 (12:55 +0000)]
r21080: Reformatting

16 years agor21079: Minimizing diff: Adopt the Samba4 style ChangeNotify flags.
Volker Lendecke [Wed, 31 Jan 2007 12:42:24 +0000 (12:42 +0000)]
r21079: Minimizing diff: Adopt the Samba4 style ChangeNotify flags.

Volker

16 years agor21077: A step to minimize the diff later: This pulls in unmodified files from Samba4,
Volker Lendecke [Wed, 31 Jan 2007 12:24:59 +0000 (12:24 +0000)]
r21077: A step to minimize the diff later: This pulls in unmodified files from Samba4,
not compiled yet. This way the modifications become visible later.

ntvfs/common/notify.c -> smbd/notify_internal.c
ntvfs/sysdep/inotify.c -> smbd/notify_inotify.c

Naturally I had to disable notify again :-)

Volker

16 years agor21076: Two pieces of infrastructure from Samba4: An API-compatible messaging wrapper
Volker Lendecke [Wed, 31 Jan 2007 12:01:52 +0000 (12:01 +0000)]
r21076: Two pieces of infrastructure from Samba4: An API-compatible messaging wrapper
and tdb_wrap_open.

Volker

16 years agor21074: Preparation for the import of samba4 notify: Add the file notify.idl and the
Volker Lendecke [Wed, 31 Jan 2007 11:48:14 +0000 (11:48 +0000)]
r21074: Preparation for the import of samba4 notify: Add the file notify.idl and the
resulting marshalling/unmarshalling routines in gen_ndr/

Volker

16 years agor21073: Fix compiler warning
Volker Lendecke [Wed, 31 Jan 2007 11:13:40 +0000 (11:13 +0000)]
r21073: Fix compiler warning

16 years agor21070: * Add the new boolean 'winbind normalize names' option as discussed
Gerald Carter [Wed, 31 Jan 2007 05:38:36 +0000 (05:38 +0000)]
r21070: * Add the new boolean 'winbind normalize names' option as discussed
  on the samba-technical ml.  The replacement character is hardcoded
  as a '_' for now.

16 years agor21067: Finished refactoring setqpathinfo to be readable
Jeremy Allison [Wed, 31 Jan 2007 00:49:49 +0000 (00:49 +0000)]
r21067: Finished refactoring setqpathinfo to be readable
and modifiable by other people. Now to look over
the build farm and fix any breakage.
Jeremy.

16 years agor21064: The core of this patch is
Volker Lendecke [Tue, 30 Jan 2007 22:22:06 +0000 (22:22 +0000)]
r21064: The core of this patch is

 void message_register(int msg_type,
                      void (*fn)(int msg_type, struct process_id pid,
-                                void *buf, size_t len))
+                                void *buf, size_t len,
+                                void *private_data),
+                     void *private_data)
 {
        struct dispatch_fns *dfn;

So this adds a (so far unused) private pointer that is passed from
message_register to the message handler. A prerequisite to implement a tiny
samba4-API compatible wrapper around our messaging system. That itself is
necessary for the Samba4 notify system.

Yes, I know, I could import the whole Samba4 messaging system, but I want to
do it step by step and I think getting notify in is more important in this
step.

Volker

16 years agor21063: All case statements are now NTSTATUS returning
Jeremy Allison [Tue, 30 Jan 2007 22:20:55 +0000 (22:20 +0000)]
r21063: All case statements are now NTSTATUS returning
functions. Now to factor out the post processing
and make all cases behave the same (no mixture
of "early returns" and "break"s.
Jeremy

16 years agor21062: Should fix the build plus make all refactored
Jeremy Allison [Tue, 30 Jan 2007 20:49:37 +0000 (20:49 +0000)]
r21062: Should fix the build plus make all refactored
functions return NTSTATUS.
Jeremy.

16 years agor21061: Refactoring all the cases into NTSTATUS returns.
Jeremy Allison [Tue, 30 Jan 2007 19:54:28 +0000 (19:54 +0000)]
r21061: Refactoring all the cases into NTSTATUS returns.
Jeremy.

16 years agor21060: Start refactoring out the non-return case statements
Jeremy Allison [Tue, 30 Jan 2007 19:26:01 +0000 (19:26 +0000)]
r21060: Start refactoring out the non-return case statements
into functions.
Jeremy.

16 years agor21058: Finish the easy refactoring - split out all the case
Jeremy Allison [Tue, 30 Jan 2007 18:45:19 +0000 (18:45 +0000)]
r21058: Finish the easy refactoring - split out all the case
statements that do early return. Next will be case
statements that need post processing, finally on to
qfilepathinfo and do the same.
Jeremy.

16 years agor21057: More refactoring into functions.
Jeremy Allison [Tue, 30 Jan 2007 18:16:51 +0000 (18:16 +0000)]
r21057: More refactoring into functions.
Jeremy.

16 years agor21056: Moving the set_domain_online_request to fork_domain_child() (formerly
Günther Deschner [Tue, 30 Jan 2007 16:51:42 +0000 (16:51 +0000)]
r21056: Moving the set_domain_online_request to fork_domain_child() (formerly
lived in trustdom_recv().

Jeremy, this is the better place I think but please check.

Guenther

16 years agor21054: More function refactoring.
Jeremy Allison [Tue, 30 Jan 2007 02:27:29 +0000 (02:27 +0000)]
r21054: More function refactoring.
Jeremy.

16 years agor21053: More refactoring and fix the tests (set position info
Jeremy Allison [Tue, 30 Jan 2007 02:13:58 +0000 (02:13 +0000)]
r21053: More refactoring and fix the tests (set position info
on a pathname is ignored).
Jeremy.

16 years agor21052: Refactoring.
Jeremy Allison [Tue, 30 Jan 2007 01:54:07 +0000 (01:54 +0000)]
r21052: Refactoring.
Jeremy.

16 years agor21051: More function refactoring... Added #if 0 for
Jeremy Allison [Tue, 30 Jan 2007 01:46:14 +0000 (01:46 +0000)]
r21051: More function refactoring... Added #if 0 for
questionable practice (ignoring bad fsp on
handle based call).
Jeremy.

16 years agor21050: Factor out SMB_SET_FILE_DISPOSITION_INFO. My
Jeremy Allison [Tue, 30 Jan 2007 01:36:45 +0000 (01:36 +0000)]
r21050: Factor out SMB_SET_FILE_DISPOSITION_INFO. My
intent is to factor out all cases where we
always return from the case.
Jeremy.

16 years agor21049: Start to refactor some of the setpath set code
Jeremy Allison [Tue, 30 Jan 2007 01:14:48 +0000 (01:14 +0000)]
r21049: Start to refactor some of the setpath set code
into separate functions (tridge mailed me a fresh
batch) to make it easier to add the POSIX open we'll
need soon.
Jeremy.

16 years agor21047: Hand marshalling hack from Martin Zielinski <mz@seh.de>
Jeremy Allison [Mon, 29 Jan 2007 22:51:44 +0000 (22:51 +0000)]
r21047: Hand marshalling hack from Martin Zielinski <mz@seh.de>
to allow Vista to upload printer drivers (it wants level 8
which we don't support yet). Downgrade in the same way
that Windows servers do.
Jeremy.

16 years agor21046: Backing out svn r20403 (Andrew's krb5 ticket cleanup
Gerald Carter [Mon, 29 Jan 2007 21:15:25 +0000 (21:15 +0000)]
r21046: Backing out svn r20403 (Andrew's krb5 ticket cleanup
as this is causing the WRONG_PASSWORD error in the SetUserInfo()
call during net ads join).

We are now back to always list RC4-HMAC first if supported by
the krb5 libraries.

16 years agor21036: Fix the ad nss info backend to not abort the search when called outside the...
Gerald Carter [Sat, 27 Jan 2007 03:27:34 +0000 (03:27 +0000)]
r21036: Fix the ad nss info backend to not abort the search when called outside the idmap daemon

16 years agor21035: Remove unneeded checks on incoming uid/gid for
Jeremy Allison [Sat, 27 Jan 2007 02:33:21 +0000 (02:33 +0000)]
r21035: Remove unneeded checks on incoming uid/gid for
mknod (fifo) unix extensions code. Problem
discovered by Anders Karlsson <anders.karlsson@redhat.com>.
Jeremy.

16 years agor21034: Don't force user to have pidl in their PATH.
James Peach [Fri, 26 Jan 2007 22:52:55 +0000 (22:52 +0000)]
r21034: Don't force user to have pidl in their PATH.

16 years agor21033: To make the logs a bit more readable let the winbind dc connect child
Günther Deschner [Fri, 26 Jan 2007 15:58:10 +0000 (15:58 +0000)]
r21033: To make the logs a bit more readable let the winbind dc connect child
write to a separate logfile.

Guenther

16 years agor21021: Fix memleak.
Günther Deschner [Thu, 25 Jan 2007 16:54:53 +0000 (16:54 +0000)]
r21021: Fix memleak.

Guenther

16 years agor21020: Some pam_winbind fixes:
Günther Deschner [Thu, 25 Jan 2007 15:05:23 +0000 (15:05 +0000)]
r21020: Some pam_winbind fixes:
* make debug_state also configurable from the config file
* minor code cleanup

Guenther

16 years agor21019: Fix typo.
Günther Deschner [Thu, 25 Jan 2007 15:00:41 +0000 (15:00 +0000)]
r21019: Fix typo.

Guenther

16 years agor21018: Removing the set_domain_online_request again in trustdom_recv().
Günther Deschner [Thu, 25 Jan 2007 14:08:45 +0000 (14:08 +0000)]
r21018: Removing the set_domain_online_request again in trustdom_recv().

Jeremy, we really can't do that. There are setups with hundred and more
trusted domains out there, I have one customer who tells me it takes
more then half an hour for him after winbind is up and running. That
request registers the check_domain_online_handler which in turn forks
off the child immediately. Also discussed with Volker.

Guenther

16 years agor21016: Fix pam_sm_setcred again.
Günther Deschner [Thu, 25 Jan 2007 10:29:04 +0000 (10:29 +0000)]
r21016: Fix pam_sm_setcred again.

Jerry, the switch statement must ignore the PAM_SILENT flag.

Guenther