Andrew Bartlett
66f039d58c
Check the return value of string_to_sid in a few more places. (But
...
string_to_sid also needs to be less permissive on what it thinks are
valid sids...)
Andrew Bartlett
(This used to be commit 9080c30de8aa96ed3b9b121ca111f1632572754e)
2003-12-26 03:14:31 +00:00
Andrew Bartlett
988f561477
Show the error message for failure to set the ldap password.
...
(For 'ldap password sync = yes')
Andrew Bartlett
(This used to be commit 5b682aef678cc9ee135852d7ee6b8c159902fab7)
2003-12-26 00:43:48 +00:00
Andrew Bartlett
db088293ae
Based on patch by Petri Asikainen <paca@sci.fi> fix bug #387 and #330 .
...
This patch will change order how attributes are modified
from: add, delete
to: delete, add
This is needed to update single valued attributes in Novell NDS and
should not harm anyone else.
(This used to be commit fabf80169079483a1378aa0177d8d8335bd98bb3)
2003-12-26 00:38:12 +00:00
Andrew Bartlett
38b17cb153
ldap rebind sleep -> ldap replication sleep
...
While writing documentation for metze's patch, it became clear that this is a
better name.
Andrew Bartlett
(This used to be commit 6f828ff3d3622c56ee732b976e7ab90b7897a8d3)
2003-12-25 23:11:07 +00:00
Volker Lendecke
3a1b189a9f
This is metze's LDAP rebind sleep patch:
...
When smb.conf tells us to write to a read-only LDAP replica and we are
redirected by the LDAP server, the replication might take some seconds,
especially over slow links. This patch delays the next read after a rebind for
'ldap rebind sleep' milliseconds.
Metze, thanks for your patience.
Volker
(This used to be commit 63ffa770b67d700f138d19b4982da152f57674fc)
2003-12-25 22:42:15 +00:00
Volker Lendecke
38d0c9698f
Fix our parsing of the LDAP url. We get around it as all decent systems seem
...
to have ldap_initialize.
Thanks to abartlet for the fix (and the bug in the first place ;-))
Volker
(This used to be commit 17473a65eb119ca2240b40a8c029d9a499cde177)
2003-12-25 22:29:38 +00:00
Volker Lendecke
91e1154370
abartlet pointed me at the fact that the order and flags in loadparm.c are
...
actually used.... 'afs username map' should not show up in the swat basic
view. :-)
Maybe I should use swat from time to time....
Volker
(This used to be commit d4e071d14b8ae622c1edbb33bb5677713df1f961)
2003-12-25 10:08:31 +00:00
Andrew Bartlett
3b38606491
Fix bug 916 - do not perform a + -> space substitution for squid URL encoded
...
strings, only form input in SWAT.
Andrew Bartlett
(This used to be commit 8d54f5fe0c5689660f37788916b37014754ce23e)
2003-12-25 09:37:41 +00:00
Andrew Bartlett
2e9deb12bf
Thanks to Serassio Guido for noticing issues in our Squid NTLMSSP
...
implementation. We were not resetting the NTLMSSP state for new
negotiate packets.
Andrew Bartlett
(This used to be commit e0a026c9b561893e5534923b18ca748e6177090e)
2003-12-24 09:56:51 +00:00
John Terpstra
1d2cfc6845
Fix typo.
...
(This used to be commit 46b2fb4db5c7e273a9b43c59340a0a47ade5bd5e)
2003-12-23 20:25:21 +00:00
Jeremy Allison
033fc98a6e
Fix for special files being hidden from admins by Dmitry Butskoj <buc@odusz.elektra.ru>
...
Jeremy.
(This used to be commit bee4b3348e5052cc927c837c2a21b4c90db980fc)
2003-12-23 07:33:42 +00:00
Gerald Carter
380e160778
add well known rid for pre win2k compatible access group; bug 897
...
(This used to be commit 33a1a374ebb44c839d995d11e1229767fc679678)
2003-12-22 21:48:06 +00:00
Gerald Carter
25a990bde0
correct typo in delete user script; bug 887
...
(This used to be commit 6060afb98949a39eb4386d35481eaa5caae0fd97)
2003-12-22 21:32:33 +00:00
Jeremy Allison
9f0e1c0f7f
Patch from Jianliang Lu j.lu@tiesse.com to manage Power Users
...
group.
Jeremy.
(This used to be commit 72252fb0b207205d41a2ec50f6d364bf0bb21747)
2003-12-22 11:12:15 +00:00
Richard Sharpe
a07d253fda
A small fix to torture.c to cleanup the error handling and prevent crashes.
...
I really should clean up the comment as well.
(This used to be commit 34351e457a0d9c494653179429fb71453d1d838e)
2003-12-19 01:43:44 +00:00
Gerald Carter
682f20c9ca
* add a few useful debug lines
...
* fix bug involving Win9x clients. Make sure we
save the right case for the located username
in fill_sam_account()
(This used to be commit 850e4be29e185ebe890f094372aa8c2cc86de76a)
2003-12-19 00:33:09 +00:00
Jeremy Allison
68e692738b
Add in comments explaining NTLMv2 selection. Use lm session key if that's
...
all there is.
Jeremy.
(This used to be commit b611f8d170743f1f4d71b1def83bb757d9f467af)
2003-12-17 21:57:26 +00:00
Jeremy Allison
93a983b7cb
Tidyup debug message in ntlmssp code. Add brackets around dodgy if statement.
...
Jeremy
(This used to be commit 5aab4b976c0aced68d71c1e71e85287072a6f3c7)
2003-12-17 20:11:39 +00:00
Gerald Carter
54cff4535e
Make sure we correctly generate the lm session key.
...
This fixes a problem joining a Samba domain from a
vanilla win2k client that doesn't set the
NTLMSSP_NEGOTIATE_NTLM2 flag.
Reported on samba ml as "decode_pw: incorrect password length"
when handling a samr_set_userinfo(23 or 24) RPC.
(This used to be commit ef4ab8d7c497e4229d0c1deeb20d05c95bd8feb9)
2003-12-17 06:18:13 +00:00
Gerald Carter
c763e9548c
make sure we delete the group mapping before calling the delete group script; patch from Jianliang Lu <j.lu@tiesse.com>
...
(This used to be commit 19a8dd523a4ee50ba9066efd60a29cf3ba9ae419)
2003-12-16 18:35:23 +00:00
Jeremy Allison
2ff5ed9555
Small fix from Jérôme Tournier <jerome.tournier@IDEALX.com>
...
Jeremy.
(This used to be commit 6ce7932520c0e5417e3b8a214a97244d10bdf4ad)
2003-12-16 18:14:10 +00:00
Gerald Carter
5121bd6ede
correct problem with pam config install
...
(This used to be commit c368defc05f80c255ceb51229ea7a2ef16ee6aee)
2003-12-15 16:42:42 +00:00
Gerald Carter
c13109358d
more fixes after moving /var/cache/samba -> /var/lib/samba
...
(This used to be commit 1742780dd67bec7fd30522b47d57035f51f330ad)
2003-12-15 06:52:26 +00:00
Volker Lendecke
9d97b20473
When parsing 'param = value', don't split 'value' at spaces.
...
Thanks to Ralf Spenneberg for the fix.
Volker
(This used to be commit bc383582b248518e39225405d0def411d552aa7d)
2003-12-14 17:47:15 +00:00
Jeremy Allison
ec83590024
Fix from ndb@theghet.to to allow an existing LDAP machine account to be
...
re-used, rather than created from scratch.
Jeremy.
(This used to be commit 6d46e66ac2048352ca60f92fc384f60406024d4b)
2003-12-13 01:43:54 +00:00
Jeremy Allison
c4f1b6cf3a
Fix for bug #815 . Make plaintext unicode passwords work with NT4.x
...
Jeremy.
(This used to be commit ba0b5b8c9be9bfeba5e0b3f930ca0463d1e78c9c)
2003-12-12 22:54:43 +00:00
Jeremy Allison
b3ed8328e1
Fix detection of elements in in-memory keytab code.
...
Jeremy.
(This used to be commit 05afc340862c3c7caeb9ede74ea1e9a57ee937ae)
2003-12-12 20:16:03 +00:00
Gerald Carter
8230159871
fixing upgrade bug; fixing PAM config file install bug
...
(This used to be commit 46f8fe6848bddd5dfc4d8ee55f036d8e8ca620a4)
2003-12-12 17:48:19 +00:00
Gerald Carter
1f332e4638
fix bug that prevent --mandir from overriding the defaults given in the --with-fhs macro
...
(This used to be commit 58b97b91da409a299bf7dd97bc375479f65dba18)
2003-12-11 22:27:49 +00:00
Jeremy Allison
d49b65faa7
Correctly detect in-memory krb5 keytab support. Fix for bug #863 from
...
gschafer@zip.com.au (Greg Schafer).
Jeremy.
(This used to be commit 583b96e867d2c2cafbfa9d03f33402d6d9d44191)
2003-12-11 20:54:57 +00:00
Jeremy Allison
b05b6046fc
Patch from James Peach <jpeach@sgi.com>. Remove the MAX_CONNECTIONS limit
...
by increasing bitmap size. Limited by "max connections" parameter.
Bug #716 .
Jeremy.
(This used to be commit fbbeb55b230ffc477f5563af66ab65eb6598e025)
2003-12-11 20:00:16 +00:00
Steve French
2e879cfacc
mount.cifs failed to mount to directory owned by user when run setuid
...
(This used to be commit 18c0315c3cb1a28fd870f8dd5d92f2e9117a29fc)
2003-12-11 19:47:52 +00:00
Gerald Carter
2719275ebf
fixed bad formal parameter type in get_static(); patch Andy Polyakov
...
(This used to be commit 9c70e4b44e0dda8f2af4172b928437bd9d3e8b7c)
2003-12-11 15:35:11 +00:00
Alexander Bokovoy
05fcb69270
Fix uninitialized variable in passdb code. Reported by Andy Polyakov <appro@fy.chalmers.se>
...
(This used to be commit ac7a60abf2c465b518a3eb7502fa8eee767c8b22)
2003-12-11 10:24:43 +00:00
Gerald Carter
572ac5fea9
fix bug when installing pam config file on RedHat; remove references to /var/cache/samba in Fedora specfile
...
(This used to be commit 91a540079796dd64283a6ebdb3c69b0a7975ffff)
2003-12-11 06:08:04 +00:00
Gerald Carter
ae8d35b2a2
Fix UNISTR2 length bug in LsaQueryInfo(3) that cause SID resolution to fail on local files on on domain members; bug 875
...
(This used to be commit c6594e35573186966a4d57404f1c06b98670db06)
2003-12-10 21:13:44 +00:00
Gerald Carter
87fddf6a98
more group lookup access fixes on the neverending bug 281
...
(This used to be commit 9359a6ea80d1228e87ea825a100a2d289c37162d)
2003-12-10 16:40:17 +00:00
Alexander Bokovoy
5760704918
Fix #558 -- support ISO-8859-1 internally. Makes Solaris users a bit happier
...
(This used to be commit ba95fe56d2db8243191d5dd6b75c6b65e0f5fbe9)
2003-12-10 15:59:28 +00:00
Gerald Carter
d73f554a35
setting version to 3.0.2pre1
...
(This used to be commit f0ac8ea48533357733c85f0ce4db3f8bc9ef362b)
2003-12-10 14:44:48 +00:00
Gerald Carter
5c8b533638
patch from TAKEDA yasuma to bypass any missing language files
...
(This used to be commit a3b0cc9f5b230cc4b9a017c9566b2ef83fb54030)
2003-12-10 14:10:26 +00:00
Gerald Carter
8af211b774
final touches on Fedora Core 1 specfile
...
(This used to be commit ebae93f4b997ed627c9531259dd061a4713d86e2)
2003-12-10 00:47:31 +00:00
Jeremy Allison
86d65dc070
IRIX spinlock patch from James Peach <jpeach@sgi.com>.
...
Jeremy.
(This used to be commit 1ae1987a002716e8aa0d4bc0dd68f580ad762e47)
2003-12-09 22:41:26 +00:00
Gerald Carter
f2c6cec339
working on packaging; also fixed some path issues in configure.in & Makefile.in
...
(This used to be commit 8f6cd36fa03edf75e8e3a806ab178d8563dea081)
2003-12-09 21:29:25 +00:00
Jeremy Allison
8d019a9682
Final part of fix for #445 . Don't add user for machine accounts.
...
Jeremy.
(This used to be commit 3684cffbd269389d14b37edd5959e29912c13a60)
2003-12-09 18:34:29 +00:00
Gerald Carter
e25b7b8eed
fix bug in get_peer_name() caused by --enable-developer and using the same src & dest strings to alpha_strcpy(); reported by Michael Young
...
(This used to be commit b7df6849c9368aa2e5960de54a03be269ab89fef)
2003-12-09 18:20:27 +00:00
Gerald Carter
f9876dbe28
starting on Fedora packaging; reference point to begin with taken from RH 3.0.0-15 packaging files
...
(This used to be commit 4062cc38fde129056ea7ff796f7d00cfb6abf263)
2003-12-09 17:36:11 +00:00
Gerald Carter
2598f2c820
starting on Fedora packaging
...
(This used to be commit a78079286ec2a73ca26f9706d063d6b30553486d)
2003-12-09 15:48:40 +00:00
Jeremy Allison
ee17580c85
Make intent to return only one address clear.
...
Jeremy.
(This used to be commit d3d0353baeba580d8a7a4688f847463b1b2e750c)
2003-12-09 02:29:27 +00:00
Gerald Carter
f141ad1a96
working on bug 687; protect against null src strings in alloc_sub_basic()
...
(This used to be commit 6cf91bce40f85879de00b9ce89ad9b5e04a50b35)
2003-12-08 17:40:44 +00:00
Gerald Carter
67db65abf1
make sure we use a real network address in case there are extra non-zero octets in hosts allow/deny
...
(This used to be commit 0348e85177ae90c350659451424ab521a4fc335a)
2003-12-08 17:40:15 +00:00