Jeremy Allison
fd6b9c02b9
Fixup strange rename error case (gentest).
...
Jeremy.
(This used to be commit d448fb801e175e11cfc0118325043eef836103f0)
2004-02-25 21:37:22 +00:00
Jim McDonough
af6f7254a9
Do the query part of the previous fix...reset time and duration are set in minutes, not seconds. Works from usrmgr.
...
(This used to be commit 98833a82facb0bc25d9ba6f4d4c1200627e98d6d)
2004-02-25 20:02:47 +00:00
Jim McDonough
8ccdcb3f1c
reset time and duration are set in minutes, not seconds. Works from usrmgr.
...
(This used to be commit 700049d9efefc7f8952cc60bc46ba8aa790a28ba)
2004-02-25 15:02:55 +00:00
Jeremy Allison
a45d29049b
Figured out a new flags bit with gentest and ethereal....
...
Jeremy.
(This used to be commit b4b684f1155b1abccb69cca7bca9819625dbfead)
2004-02-25 02:15:34 +00:00
Jeremy Allison
1d9f07735c
More gentest fun :-). NB. I'm not fixing OpenX breakage 'cos if you look
...
at what W2K3 accepts here it's COMPLETELY BROKEN ! :-).
Jeremy.
(This used to be commit 5107f6ee70a9300678ccb7b3c812e23ddf795c22)
2004-02-25 01:35:14 +00:00
Jeremy Allison
01cb68643c
More gentest fixes.
...
Jeremy.
(This used to be commit d34785194cbd7132fc3ca1f4d5561c2eee6009ab)
2004-02-25 00:48:35 +00:00
Volker Lendecke
f934f5d7df
Add 'net rpc group add'. For this parse_samr.c had to be changed: The
...
group_info4 in set_dom_group_info also has the level in the record
itself. This seems not to be an align. Tested with NT4 usrmgr.exe. It can
still create a domain group on a samba machine.
Volker
(This used to be commit 76c75bb8a7ad2a2e719dbbe997abf8aefe2fbbb4)
2004-02-24 18:00:41 +00:00
Volker Lendecke
6d3e45579e
Remove unused variable.
...
Volker
(This used to be commit eece7ff000a9589d56130e93a6105ad1052e9a14)
2004-02-24 17:28:17 +00:00
Volker Lendecke
2afb1b60d7
'net idmap restore' is too useful to be left broken :-)
...
Set the HWM values correctly after having manipulated the tdb.
Volker
(This used to be commit b1eba2188b1be183f37219a722903adc14b91369)
2004-02-24 15:45:10 +00:00
Jeremy Allison
f96e84c682
Ensure '.' and '..' don't match in delete requests.
...
Jeremy.
(This used to be commit 1b0d54170a2e3e61fc9bdedec6b10c8b7728a395)
2004-02-24 01:46:24 +00:00
Jeremy Allison
5447f1f467
More gentest error fixups.
...
Jeremy.
(This used to be commit 00f71fc8361919b87b62389ada8bd9a73f9f98b5)
2004-02-24 00:55:05 +00:00
Jeremy Allison
69058407ef
Fixup bad-path error found by gentest.
...
Jeremy.
(This used to be commit 63d47f336464080e20e68f21d826e82786b9719e)
2004-02-24 00:38:39 +00:00
Jeremy Allison
b88f446352
Added NTrename SMB (0xA5) - how did we miss this.... ?
...
Jeremy.
(This used to be commit dfd7d1c2b7b577a084a94926abfce82c91f20b7e)
2004-02-24 00:06:08 +00:00
Jeremy Allison
13dd3e60bd
Fixup correct timeout values for blocking lock timeouts (tested at connectathon
...
by Herb).
Jeremy.
(This used to be commit b38b3a554221a234127c740e6432048e69b7f5a3)
2004-02-24 00:03:18 +00:00
Andrew Bartlett
06549b8886
Found by Fabien Chevalier <fabien.chevalier@supelec.fr> and
...
JustFillBug <mozbugbox@yahoo.com.au> on the Samba lists - a 'max
password age' of zero should be considered as 'never expire'.
For the timebeing we just set it like -1, but we might revisit this
for closer-to-ms behaviour.
Andrew Bartlett
(This used to be commit 9ffc490fce215dcaed8ebfc1db85f5017a692ca4)
2004-02-23 21:09:09 +00:00
Jeremy Allison
aa4abfb3b5
Fix "unable to initialize" bug when smbd hasn't been run with
...
new system and a user is being added via pdbedit/smbpasswd.
Found at Connectathon setup.
Jeremy.
(This used to be commit f9c7a42e895f50e15d2f5079bfb2cb389fdf2df4)
2004-02-23 20:12:31 +00:00
Jim McDonough
24df38dbc6
Janitor for tpot...bugzilla #1098 , msleep already exists on aix
...
(This used to be commit 4319df7fdc2d878c509381923cc1db4d731620ba)
2004-02-23 02:54:03 +00:00
Jim McDonough
401959b7d7
Add bad password count/time attributes
...
(This used to be commit 003318939f7e476f5f2a5f345e8a81a228fc89a7)
2004-02-23 02:47:33 +00:00
Jim McDonough
ee5dd175e5
Add calls to password lockout functions. Should now work against tdbsam only.
...
(This used to be commit 3e8a9c3584ff2a3c2e120c97569676ac45ec8e59)
2004-02-21 17:41:28 +00:00
Tim Potter
37d0cb0b70
printf -> d_printf
...
Bugzilla #1066 .
(This used to be commit 2285ec9737d7d1767e60cf43c3a55f10643371be)
2004-02-21 00:28:48 +00:00
Jeremy Allison
ef8f827449
Make SMB_FILE_ACCESS_INFORMATION call work correctly.
...
Jeremy.
(This used to be commit 0ea0ada6c609e1bb0fb4aace24e1beb7197495b5)
2004-02-20 23:19:39 +00:00
Jeremy Allison
7d7849b18a
Make us bug-for-bug compatible with W2K3 - to get delete on close semantics
...
on an initial open the desired_access field *must* contain DELETE_ACCESS,
simply having it map from a GENERIC_ALL won't do. Fixes delete on close test.
Jeremy.
(This used to be commit 5c6f8b1053fd1f170fbb76640649653f8aa80f18)
2004-02-20 22:45:53 +00:00
Jim McDonough
9264194340
handle both 0 and -1 as disabling reset count and lockout duration
...
(This used to be commit 84fe24e64ee405bb25878c1e5fdf50592eb75f73)
2004-02-20 16:00:25 +00:00
Jim McDonough
4a7d90424f
Make default lockout duration and reset count time 30 minutes, to match windows, and also be valid (0 was invalid)
...
(This used to be commit 7ff42fffb2b207aea1dba306c914c7e09994d608)
2004-02-20 15:59:05 +00:00
Gerald Carter
8adb394ee6
just say no to crack
...
(This used to be commit 66be4492aade625417a6cd727bbe8c6bfb224368)
2004-02-20 15:52:14 +00:00
Gerald Carter
11bf157469
<attr/xattr.h> & <sys/xattr.h> are mutually exclusive it seems; fix build on SuSE 8.2
...
(This used to be commit 34e6c5f8f3829e9ff6dd3f1377170fb150bfcec1)
2004-02-20 15:50:18 +00:00
Jeremy Allison
1bfc09c51c
Fixup correct (as per W2K3) returns for lookupsids as well as lookupnames.
...
Inspired by Volkers patch.
Jeremy.
(This used to be commit a47127e90e7d0928b772ba45bd843eeeacc9ef8a)
2004-02-19 23:00:01 +00:00
Gerald Carter
95bc32e93c
sys/xattr.h merge from HEAD
...
(This used to be commit 798dd7299e3ba5cd7e829f48bb42eb9cbfc71dd4)
2004-02-19 22:17:54 +00:00
Jim McDonough
5fc9dd0be6
Enable checking/resetting of account lockout and bad password based on policy
...
(This used to be commit bd2e55399c21707d40199e4b519daefd897aadc7)
2004-02-19 21:40:22 +00:00
Jim McDonough
222d9a3ce2
Clean up bad pw count and autolock flag update fn()s
...
(This used to be commit 9a79f9fbcb43085e419dbccd670a54256d01cb4b)
2004-02-19 21:37:24 +00:00
Jim McDonough
e507a83617
Add bad pw count and autolock flag update fn()s
...
(This used to be commit 600fcd534b6e101b6a12774946b0e9814c6f54a8)
2004-02-19 18:35:43 +00:00
Jim McDonough
f56317baef
Add bad password reset and display of bad password count/time
...
(This used to be commit 34fe16e445bd9da762cedb0dd0872959f31ecd67)
2004-02-19 16:00:29 +00:00
Jim McDonough
39a154ae92
Add functions to get/set bad password time
...
(This used to be commit 557f598c63f64c1c5b982a9057c0eea2a2ff2ee5)
2004-02-19 15:59:35 +00:00
Jim McDonough
955ec7c6e2
Add bad password time fields
...
(This used to be commit 59e7c3ababd0bb8bc91cbc421b7a842cca38101f)
2004-02-19 15:57:53 +00:00
Jeremy Allison
8eec62ebfb
Fix the "too many fcntl locks" scalability problem raised by tridge.
...
I've now tested this in daemon mode and also on xinetd and I'm pretty
sure it's working.
Jeremy.
(This used to be commit 14dee038019b11300466b148c53515fc76e5e870)
2004-02-19 01:55:24 +00:00
Steve French
5e39e9f313
Fix incorrect strnicmp len
...
(This used to be commit ad1ebb5000066d44ce94f0341fb31351b3900e95)
2004-02-17 22:51:42 +00:00
Jeremy Allison
8801465d30
Fix based on Volker's code to correctly return code from lsa_lookup_sids
...
on unmapped sids.
Jeremy.
(This used to be commit 37a52c31682fcf115eefc31381c02a3ec29c1f8d)
2004-02-17 22:46:25 +00:00
Steve French
d5ad8c5099
Disable dev (MS_NODEV) on user mounts from cifs vfs
...
(This used to be commit 9b0d1072bc66d05d0e9afcbe0da349ccaa99ba6e)
2004-02-17 21:31:25 +00:00
Volker Lendecke
8f3507338e
When creating a group via a script, don't let winbind do it as well.
...
Volker
(This used to be commit 6a229f1488c2f0935c24e223614e4c88b36d15c0)
2004-02-17 21:25:42 +00:00
Volker Lendecke
34a9928ee1
Be able to set alias info for builtin as well.
...
Volker
(This used to be commit 7a947ecdf56f2dd02811262372708f8a74bfedad)
2004-02-17 15:54:57 +00:00
Volker Lendecke
96a5c5e38c
Don't try to show groups that could not be listed.
...
Volker
(This used to be commit d713e76a24583acaffa0be67838e7629b980ff29)
2004-02-17 15:24:28 +00:00
Volker Lendecke
07892673ff
In samr_lookup_names Windows does not return WKN_GRP(5) but ALIAS(4) when
...
you search in BUILTIN. Match that.
Volker
(This used to be commit 2863b21d8a5933c309c51edb09fbda4e669e4890)
2004-02-17 10:11:53 +00:00
Volker Lendecke
6b7e509004
If there are no alias members, don't ask for their sids :-)
...
Volker
(This used to be commit 99f03a641e4fd75c3bafb8bd153687743317a3dc)
2004-02-17 10:08:18 +00:00
Steve French
269082724a
Disable suid on user mounts (can override with -DCIFS_ALLOW_USR_SUID)
...
(This used to be commit a718f16e0bf78139ea46383feec0ce72c63a4986)
2004-02-16 23:43:14 +00:00
Volker Lendecke
d2742ac2fc
Cosmetic fix: Use sid_is_in_our_domain instead of doing it per hand.
...
Volker
(This used to be commit 04639e8862c360e89faac8b80c63197d514b7455)
2004-02-16 14:24:35 +00:00
Volker Lendecke
f570f879bb
Fix success message for net groupmap modify
...
Volker
(This used to be commit 19b30334a7c0f6abde6dfc81550e50aa823117c2)
2004-02-16 14:04:56 +00:00
Jeremy Allison
142ef0e829
Missed SAFE_FREE (typo).
...
Jeremy.
(This used to be commit ac1d03c05bf6247541fbd6f0c3bd5b2e5b6a5212)
2004-02-13 22:34:29 +00:00
Jelmer Vernooij
91cc4a1900
Fix ETA Calculation when resuming
...
(This used to be commit a5f09f0991e5a5bd9538211b0d430020052670c8)
2004-02-13 22:09:53 +00:00
Jeremy Allison
e3d755c5b2
Added Andrew Bartlett's patch to use an allocated buffer for count_chars.
...
Jeremy.
(This used to be commit cdbeb7d2ebcd4a298aabb3ed665560d219bb0d1c)
2004-02-13 22:06:25 +00:00
Jeremy Allison
b545a8de0a
Fixup the 'multiple-vuids' bugs.
...
Jeremy.
(This used to be commit f0f7a48327ba1808088bc8c4e5d48b5cbeaeb4e3)
2004-02-13 19:05:25 +00:00