1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00
Commit Graph

716 Commits

Author SHA1 Message Date
James Peach
e93d33b463 r22648: Fix comment to match the code. 2007-10-10 12:19:52 -05:00
Jeremy Allison
c1f1949ff1 r22285: Allow arbitrary bases in int and ulong parsing.
Jeremy.
2007-10-10 12:19:24 -05:00
Jeremy Allison
e59b5276b5 r22266: Fix bug #4512 - we were returning a volume label greater than
32 unicode chars. Windows XP doesn't like that :-).
Jeremy
2007-10-10 12:19:23 -05:00
Volker Lendecke
06a4d2ce5d r21959: Merge a comment fix from Michael Adam -- more to come :-) 2007-10-10 12:18:52 -05:00
Gerald Carter
aac2d0af5e r21905: Rename
idmap expire time 	-> idmap cache time
  idmap negative time	-> idmap negative cache time
2007-10-10 12:18:48 -05:00
Volker Lendecke
6cae3cf281 r21892: Mini-Patch from Michael 2007-10-10 12:18:46 -05:00
Gerald Carter
5e30807b4e r21884: * Blacklist BUILTIN and MACHINE domains from the
idmap domains as these should only be handled by the
  winbindd_passdb.c backend

* Allow the alloc init to fail for backwards compatible
  configurations like

     idmap backend = ad
     idmap uid = 1000-100000
	....

* Remove the deprecated flags from idmap backend, et. al.
  These are mutually exclusive with the new configuration
  options (idmap domains).  Logging annoying messages
  about deprecated parameters is confusing.  So we'll try
  this apprpach for now.
2007-10-10 12:18:44 -05:00
Volker Lendecke
9499fd9c80 r21869: Move sending keepalives out of the main processing loop into idle event.
On the way, make lp_keepalive() a proper parameter.

Volker
2007-10-10 12:18:41 -05:00
Volker Lendecke
52f2c89c0a r21866: Remove unused "lock spin count" parameter 2007-10-10 12:18:40 -05:00
Herb Lewis
4af2795e65 r21825: add debug prefix timestamp to allow "short timestamps" to be
added to debug messages
2007-10-10 12:18:37 -05:00
Volker Lendecke
e795865d58 r21547: Fix from Michael Adam <ma@sernet.de>: Refuse registry shares without path.
Thanks,

Volker
2007-10-10 12:18:11 -05:00
Günther Deschner
82f1da8117 r21517: Fix build warnings.
Guenther
2007-10-10 12:18:09 -05:00
Lars Müller
c02921e95d r21509: Merge lp_passdb_backend() from rev 21506 to 3_0_25.
Slightly change the DEBUG 0 message as suggested by Volker on
samba-technical.
2007-10-10 12:18:09 -05:00
Lars Müller
5cd9a2e258 r21506: Allow old pre 3.0.22 multi passdb backend configurations to work with
post 3.0.23.

This implementation considers spaces in ldapsam configs.  Such configs
are trunkated after the closing quote.
2007-10-10 12:18:09 -05:00
Volker Lendecke
ec6ebdcdbf r21449: Talked to Jerry on irc, he does not see what might break with this: Change
back the 'msdfs root = yes' default to 'no'.

Volker
2007-10-10 12:18:04 -05:00
Volker Lendecke
19ee677925 r21446: Karolins "printjob username" 2007-10-10 12:18:04 -05:00
Volker Lendecke
58bfd168b0 r21279: Get rid of 'aio write behind', this is broken.
It should probably better be integrated with our write cache.

Volker
2007-10-10 12:17:53 -05:00
Jeremy Allison
83dbbdff34 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.
2007-10-10 12:17:47 -05:00
Volker Lendecke
c3a44d8b96 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
2007-10-10 12:17:39 -05:00
Gerald Carter
bd8238417b 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.
2007-10-10 12:17:32 -05:00
Gerald Carter
aaec0115e2 r20986: Commit the prototype of the nss_info plugin interface.
This allows a provider to supply the homedirectory, etc...
attributes for a user without requiring support in core
winbindd code.  The idmap_ad.c module has been modified
to provide the idmap 'ad' library as well as the rfc2307 and sfu
"winbind nss info" support.

The SID/id mapping is working in idmap_ad but the nss_info
still has a few quirks that I'm in the process of resolving.
2007-10-10 12:17:23 -05:00
Herb Lewis
c60687db11 r20261: merge 20260 from samba_3_0_24
clean up a bunch of no previous prototype warnings
2007-10-10 12:16:37 -05:00
Volker Lendecke
b459096a15 r20214: Fix a type-punned warning. Simo, Jerry, please check 2007-10-10 12:16:33 -05:00
Simo Sorce
50cd8bffee r20116: Start merging in the work done to create the new idmap subsystem.
Simo.
2007-10-10 12:16:25 -05:00
Volker Lendecke
6cab254c49 r19963: Add 'registry shares = yes' and registry key security descriptors. 2007-10-10 12:16:16 -05:00
Volker Lendecke
b32c8356f7 r19820: Limit the stat cache to 1MB by default (Bug 4244). Thanks to Bjoern Jacke
<bj@sernet.de>

Volker
2007-10-10 12:15:59 -05:00
Gerald Carter
40cff14498 r19809: remove winbind blacklist parameter 2007-10-10 12:15:57 -05:00
Volker Lendecke
53eaa603eb r19669: set_share_security does not need a mem_ctx passed 2007-10-10 12:15:46 -05:00
Volker Lendecke
609dbec600 r19668: Convert the locking params to use struct share_param instead of snum 2007-10-10 12:15:46 -05:00
Volker Lendecke
bc6d4e5280 r19665: Fix a memleak 2007-10-10 12:15:45 -05:00
Volker Lendecke
c73d0815a3 r19448: Convert delete_share_security to struct share_params plus some cleanups 2007-10-10 12:15:36 -05:00
Günther Deschner
b5b42196a6 r19255: Add blacklist of accounts when NSS initgroups calls are coming in and
"winbind use default domain" is set. Defaults to "root, nobody, lp"
currently.

Guenther
2007-10-10 12:15:26 -05:00
Volker Lendecke
3fc328dade r19157: Fix the build 2007-10-10 12:15:18 -05:00
Volker Lendecke
0504cf6d13 r17832: Fix bug 4050 2007-10-10 11:38:52 -05:00
Jeremy Allison
0451a170c9 r17108: Make the default timeout parameter for lock waiting
be lp_lock_spin(). lock spin count is no longer
used. I'll update the man pages.
Jeremy.
2007-10-10 11:38:12 -05:00
Volker Lendecke
c5e393d5ed r17039: Eliminate snum from enumshares and getshareinfo. Get rid of some pstrings.
Volker
2007-10-10 11:19:21 -05:00
Gerald Carter
6eb77442a5 r17023: security = server should not be considerd ROLE_DOMAIN_MEMBER 2007-10-10 11:19:20 -05:00
Jeremy Allison
9dafb7f48c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
2007-10-10 11:19:14 -05:00
Volker Lendecke
03c665c307 r16766: A warning found by RHEL3. This might actually be 3.0.23 code, maybe there are
vasprintf implementations that don't like a NULL format.

Volker
2007-10-10 11:19:10 -05:00
Jeremy Allison
9017547ccc r16429: Fix final 4 Klocwork bugs we're going to fix before
release - #785, #786, #787, #788.
Jeremy.
2007-10-10 11:18:53 -05:00
Gerald Carter
f3bd1c8c7d r16079: How embarassing. :-( Broke the build.
I will *always* compile before checking in...
I will *always* compile before checking in...
I will *always* compile before checking in...
I will *always* compile before checking in...
I will *always* compile before checking in...
2007-10-10 11:17:20 -05:00
Gerald Carter
b01f289f1a r16078: Patch from Aleksey Fedoseev <fedoseev@ru.ibm.com> to correctly
set the type of 'acl compatibility from string to integer
after the changes in r14207.
2007-10-10 11:17:20 -05:00
James Peach
b591892800 r15631: Add a new option "enable core files". Administrators can use this to
disable automatic core file dumping. Core files are enabled by default.
2007-10-10 11:17:03 -05:00
Jeremy Allison
5a17bffbcd r15555: Make "change notify timeout" a per-share parameter - used
when there's no kernel or FAM change notify. If set to zero
this will turn off change notify for the share except when
we ourselves change something (renames / deletes etc. ).
Designed to help on large directory shares where a new
changenotify is issued between each delete. This will
be fixed correctly when we move to internal change notify
(eg. back-port Samba4 changenotify).
Jeremy.
2007-10-10 11:16:59 -05:00
Gerald Carter
d19dad8815 r15549: removing rhosts and 'hosts equiv' authentication features 2007-10-10 11:16:58 -05:00
Gerald Carter
1316fd4267 r15548: remove unused 'wins partners' 2007-10-10 11:16:58 -05:00
Gerald Carter
7d99e05ee8 r15547: say goodbye to --with-ldapsam (although the ldapsam_compat passdb backend still exists 2007-10-10 11:16:58 -05:00
Volker Lendecke
800f4cd158 r15496: current_user_info is not referenced in loadparm.c 2007-10-10 11:16:55 -05:00
Jeremy Allison
cdc3aa9d07 r15341: Ok I give up, I've been beaten by bug reports. People
just don't get why "guest ok" is not allowed in usershares.
Added "usershare allow guests" bool parameter that allows
this, reved usershare file version to VERSION#2 which
allows this. Updated user tools.
This should now be (finally) finished and I'll add
the new parameter docs and a HOWTO.
Jeremy.
2007-10-10 11:16:36 -05:00
Volker Lendecke
88b5a21d63 r15320: default "passdb expand explicit" to no 2007-10-10 11:16:35 -05:00