jra/samba/.git
20 years agoApply my experimental aliases support to HEAD. This will be a bit difficult to
Volker Lendecke [Sun, 29 Feb 2004 16:48:19 +0000 (16:48 +0000)]
Apply my experimental aliases support to HEAD. This will be a bit difficult to
merge to 3_0, as the pdb interfaces has changed a bit between the two.

This has not been tested too severly (which means it's completely broken ;-),
but I want it in for review. Feel free to revert it :-)

TODO:

make 'net groupmap' a bit more friendly for alias members.

Put that stuff into pdb_ldap.

Getting the information over to winbind. One plan without linking pdb into
winbind would be to fill group_mapping.tdb with the membership information and
have that as a cache (or use gencache.tdb?). smbd on a PDC or stand-alone
could trigger that itself, the problem is a BDC using LDAP. This needs to do
it on a regular basis. The BDC smbd needs to be informed about SAM changes
somehow...

Volker
(This used to be commit 30ef8fe1e85c0ca229b54f3f1595c4330f7191d1)

20 years agonet_rpc.c: Don't complain if [add|del]mem was successful.
Volker Lendecke [Sun, 29 Feb 2004 16:33:49 +0000 (16:33 +0000)]
net_rpc.c: Don't complain if [add|del]mem was successful.

srv_samr_nt.c: Correctly report that a user is not member of an alias.

Volker
(This used to be commit 26d99204b7cbfa8e259f2a8438eadc9ff6be0709)

20 years agoTrivial commit to make 'smbdiff 3_0/source head/source' two files smaller.
Volker Lendecke [Sun, 29 Feb 2004 16:32:04 +0000 (16:32 +0000)]
Trivial commit to make 'smbdiff 3_0/source head/source' two files smaller.

Volker
(This used to be commit 73117f5e41aa923b07d200a18c84b8082d8b71a6)

20 years agoPrint an informative error message if trying to add/remove members from
Volker Lendecke [Sun, 29 Feb 2004 12:48:29 +0000 (12:48 +0000)]
Print an informative error message if trying to add/remove members from
something not a group.

Volker
(This used to be commit 9cfc97df456199c22e199831d28597132cf001a8)

20 years agoAdd 'net rpc group [add|del]mem' for domain groups and aliases.
Volker Lendecke [Sat, 28 Feb 2004 18:42:20 +0000 (18:42 +0000)]
Add 'net rpc group [add|del]mem' for domain groups and aliases.

Volker
(This used to be commit 6785dc84ce4d9c2d5ebe3113c7f506947b09a7f8)

20 years agoFix my fix to net rpc group list. We can certainly have more than a single
Volker Lendecke [Sat, 28 Feb 2004 08:19:00 +0000 (08:19 +0000)]
Fix my fix to net rpc group list. We can certainly have more than a single
set of groups.

Volker
(This used to be commit 710969acaa9ce4467ec09c2fadb03e49fbc207be)

20 years agoCan't set allocation size on directories, return correct error code on
Jeremy Allison [Sat, 28 Feb 2004 01:53:19 +0000 (01:53 +0000)]
Can't set allocation size on directories, return correct error code on
fail if file exists and target is a directory. gentest.
Jeremy.
(This used to be commit 4b1262322995c8794cd73d84712f82d8c91abdc6)

20 years agoMore gentest fixes. Fix up regression in IS_NAME_VALID and renames.
Jeremy Allison [Sat, 28 Feb 2004 00:56:39 +0000 (00:56 +0000)]
More gentest fixes. Fix up regression in IS_NAME_VALID and renames.
Jeremy.
(This used to be commit 2a457e2e28cd1f78778cb41fbb381883ced99592)

20 years agoAdded copyrights I forgot about looong ago...
Rafal Szczesniak [Fri, 27 Feb 2004 22:11:31 +0000 (22:11 +0000)]
Added copyrights I forgot about looong ago...

rafal
(This used to be commit ed26b550b5f24741db6be38542f341be18741e62)

20 years agoAdding ability to operate on trust passwords to pdbedit. This enables
Rafal Szczesniak [Fri, 27 Feb 2004 21:02:00 +0000 (21:02 +0000)]
Adding ability to operate on trust passwords to pdbedit. This enables
new functionality and testing interface for new pdb functions.

Also, quite a bit of objects is being added to pdbedit in order to make
it able to find domain sid automatically (if not given explicitly).
If such amount of "wisdom" is not required to be in pdbedit, I'll move
it to 'net' which will have this new functionality, anyway.

rafal
(This used to be commit cfb1b7bda905c8391bf065ecb99bb28806dfe96a)

20 years agoDisabling GUMS (gums_tdbsam2) temporarily, to fix the build.
Rafal Szczesniak [Fri, 27 Feb 2004 20:00:21 +0000 (20:00 +0000)]
Disabling GUMS (gums_tdbsam2) temporarily, to fix the build.

rafal
(This used to be commit 39bc55e4d407adb31030a57185f7431434b43a51)

20 years agoFix for writable printerdata problem - bugzilla #1112.
Tim Potter [Thu, 26 Feb 2004 22:58:18 +0000 (22:58 +0000)]
Fix for writable printerdata problem - bugzilla #1112.
(This used to be commit 892b16404033bbaf72a5a04f558cb41ef544739e)

20 years agoThat const was one too many
Volker Lendecke [Thu, 26 Feb 2004 14:36:28 +0000 (14:36 +0000)]
That const was one too many
(This used to be commit b9ae67a3a232875361d3056eef3b654e6b92c244)

20 years agoImplement 'net groupmap set' and 'net groupmap cleanup'.
Volker Lendecke [Thu, 26 Feb 2004 11:34:33 +0000 (11:34 +0000)]
Implement 'net groupmap set' and 'net groupmap cleanup'.

I was rather annoyed by the net groupmap syntax, I could never get it
right.

net groupmap set "domain admins" domadm

creates a mapping,

net groupmap set "domain admins" -C "Comment" -N "newntname"

should also do what you expect.

net groupmap cleanup

solves a problem I've had two times now: Our SID changed, and a user's primary
group was mapped to a SID that is not ours. net groupmap cleanup removes all
mappings that are not from our domain sid.

Volker
(This used to be commit 69879ceffa587ccf2bf59e1c716424e1d20a7f68)

20 years agoAnd another little const
Volker Lendecke [Thu, 26 Feb 2004 11:08:17 +0000 (11:08 +0000)]
And another little const
(This used to be commit a3a15be5a2ae419992af004425592cca6796edcd)

20 years agoApply some const
Volker Lendecke [Thu, 26 Feb 2004 10:56:41 +0000 (10:56 +0000)]
Apply some const

Volker
(This used to be commit f1b66461ebce4e89eb65620a09c079ae9697537b)

20 years agoInteresting fact found by IFSTEST /t LockOverlappedTest...
Jeremy Allison [Thu, 26 Feb 2004 01:30:56 +0000 (01:30 +0000)]
Interesting fact found by IFSTEST /t LockOverlappedTest...
Even if it's our own lock context, we need to wait here as
there may be an unlock on the way.
So I removed a "&& !my_lock_ctx" from the following
if statement.

if ((lock_timeout != 0) && lp_blocking_locks(SNUM(conn)) && ERROR_WAS_LOCK_DENIED(status)) {

Jeremy.
(This used to be commit 17c88758ae82b20bc7260d5d927325f3f73ba33c)

20 years ago(merge from 3.0)
Andrew Bartlett [Wed, 25 Feb 2004 23:19:17 +0000 (23:19 +0000)]
(merge from 3.0)

Fix bug in previous global_sam_sid() commit.  I broke the 'read from
MACHINE.SID' file functionality.

Also, before we print out the results of 'net getlocalsid' and 'net
getdomainsid', ensure we have tried to read that file, or have
generated one.

Andrew Bartlett
(This used to be commit af1b6447b8292a83851361570219ee6d889e0898)

20 years agoAdds some more tests of renaming an open file that has been opened with
Richard Sharpe [Wed, 25 Feb 2004 22:14:35 +0000 (22:14 +0000)]
Adds some more tests of renaming an open file that has been opened with
different share modes. It also has a commented out test to see if we can
actually open a renamed file, and it turns out that we can, it seems. I am
not sure at this stage how long that is the case for, though.
(This used to be commit 89d810d234f53c9731ded85848bd9c17d45d5125)

20 years ago(merge from 3.0)
Andrew Bartlett [Wed, 25 Feb 2004 22:09:46 +0000 (22:09 +0000)]
(merge from 3.0)

I *hate* global variables...

OK, what was happening here was that we would invalidate global_sam_sid
when we set the sid into secrets.tdb, to force a re-read.

The problem was, we would do *two* writes into the TDB, and the second one
(in the PDC/BDC case) would be of a NULL pointer.  This caused smbd startups
to fail, on a blank TDB.

By using a local variable in the pdb_generate_sam_sid() code, we avoid this
particular trap.

I've also added better debugging for the case where this all matters, which
is particularly for LDAP, where it finds out a domain SID from the sambaDomain
object.

Andrew Bartlett
(This used to be commit f3ecdea56d9ea6d562ace84f0e653a641eb96f6e)

20 years agoFixup strange rename error case (gentest).
Jeremy Allison [Wed, 25 Feb 2004 21:37:09 +0000 (21:37 +0000)]
Fixup strange rename error case (gentest).
Jeremy.
(This used to be commit e46aaffe97919afb1c92f56376f9578825012b92)

20 years agoDo the query part of the previous fix...reset time and duration are set in minutes...
Jim McDonough [Wed, 25 Feb 2004 20:02:41 +0000 (20:02 +0000)]
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 d02dd0e5f5fae3256b1922c2963e18c8fa36a3e6)

20 years agoreset time and duration are set in minutes, not seconds. Works from usrmgr.
Jim McDonough [Wed, 25 Feb 2004 15:01:38 +0000 (15:01 +0000)]
reset time and duration are set in minutes, not seconds.  Works from usrmgr.
(This used to be commit 08a7c9697d49719e4cfb32a06720873c98585f67)

20 years agoFigured out a new flags bit with gentest and ethereal....
Jeremy Allison [Wed, 25 Feb 2004 02:15:20 +0000 (02:15 +0000)]
Figured out a new flags bit with gentest and ethereal....
Jeremy.
(This used to be commit 755b66303d04b73a855fa8db5fe3ae920a901bf3)

20 years agoMore gentest fun :-). NB. I'm not fixing OpenX breakage 'cos if you look
Jeremy Allison [Wed, 25 Feb 2004 01:34:58 +0000 (01:34 +0000)]
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 9aa37cb84090260b33d32ad123ddc4d211e3913b)

20 years agoMore gentest fixes.
Jeremy Allison [Wed, 25 Feb 2004 00:48:17 +0000 (00:48 +0000)]
More gentest fixes.
Jeremy.
(This used to be commit fc9811693933327a15b7dbe4893219c7ef44d1e8)

20 years agoAdd 'net rpc group add'. For this parse_samr.c had to be changed: The
Volker Lendecke [Tue, 24 Feb 2004 18:03:19 +0000 (18:03 +0000)]
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 9cadd14aa53d390a2419d7ce4fe48d58cf372279)

20 years agoRemove unused variable.
Volker Lendecke [Tue, 24 Feb 2004 17:29:06 +0000 (17:29 +0000)]
Remove unused variable.

Volker
(This used to be commit f5af0326e67c0eb7be6f4b07f8b89c4c680903ac)

20 years ago'net idmap restore' is too useful to be left broken :-)
Volker Lendecke [Tue, 24 Feb 2004 15:46:18 +0000 (15:46 +0000)]
'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 efad125f40858176145c69265d06b25295292132)

20 years agoEnsure '.' and '..' don't match in delete requests.
Jeremy Allison [Tue, 24 Feb 2004 01:45:56 +0000 (01:45 +0000)]
Ensure '.' and '..' don't match in delete requests.
Jeremy.
(This used to be commit c85b617aa03c1524f659100030a8e96cef38fb62)

20 years agoMore gentest error fixups.
Jeremy Allison [Tue, 24 Feb 2004 00:54:43 +0000 (00:54 +0000)]
More gentest error fixups.
Jeremy.
(This used to be commit f353cafa9d9e6142b4aec45cfbc567dc4ab20d7e)

20 years agoFixup bad-path error found by gentest.
Jeremy Allison [Tue, 24 Feb 2004 00:38:24 +0000 (00:38 +0000)]
Fixup bad-path error found by gentest.
Jeremy.
(This used to be commit 55f13d743e78ed8f48bf209e838ea77df3121047)

20 years agoAdded NTrename SMB (0xA5) - how did we miss this.... ?
Jeremy Allison [Tue, 24 Feb 2004 00:05:49 +0000 (00:05 +0000)]
Added NTrename SMB (0xA5) - how did we miss this.... ?
Jeremy.
(This used to be commit d236372876918be2a886a89383cf843b82d4c8db)

20 years agoFixup correct timeout values for blocking lock timeouts (tested at connectathon
Jeremy Allison [Tue, 24 Feb 2004 00:02:58 +0000 (00:02 +0000)]
Fixup correct timeout values for blocking lock timeouts (tested at connectathon
by Herb).
Jeremy.
(This used to be commit 6356b792683100122500db9cf222b7e8518d834e)

20 years ago(merge from 3.0)
Andrew Bartlett [Mon, 23 Feb 2004 21:10:16 +0000 (21:10 +0000)]
(merge from 3.0)

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 2003cdc65e1b9f6514d97334997fee5c49813bac)

20 years agoFix "unable to initialize" bug when smbd hasn't been run with
Jeremy Allison [Mon, 23 Feb 2004 20:12:15 +0000 (20:12 +0000)]
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 93580927dc255f205283b64c72fb95be990d2216)

20 years agoAdd bad password count/time attributes
Jim McDonough [Mon, 23 Feb 2004 02:47:27 +0000 (02:47 +0000)]
Add bad password count/time attributes
(This used to be commit 2fa56111d37a09702b31e1769a687b630aff1c1b)

20 years agoAdd bad password count/time attributes
Jim McDonough [Sun, 22 Feb 2004 20:25:39 +0000 (20:25 +0000)]
Add bad password count/time attributes
(This used to be commit 51a8d050e9242192c2670b09242cf4fdbbae8940)

20 years agoAdd calls to password lockout functions. Should now work against tdbsam only.
Jim McDonough [Sat, 21 Feb 2004 17:41:32 +0000 (17:41 +0000)]
Add calls to password lockout functions.  Should now work against tdbsam only.
(This used to be commit 6ccb90acfd8591f6ef0d91b4ada89c5ad8ac98d5)

20 years agoprintf -> d_printf
Tim Potter [Sat, 21 Feb 2004 00:27:30 +0000 (00:27 +0000)]
printf -> d_printf
(This used to be commit 3f3a744e925aa943c901406f1565ebf346fe8707)

20 years agoMake SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy Allison [Fri, 20 Feb 2004 23:19:36 +0000 (23:19 +0000)]
Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy.
(This used to be commit a6cb7af9bad1610e802fa5cddbf68fb887bc2974)

20 years agoMake us bug-for-bug compatible with W2K3 - to get delete on close semantics
Jeremy Allison [Fri, 20 Feb 2004 22:45:49 +0000 (22:45 +0000)]
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 fb4249e7d12bee4589edff40f1e76f1a19a6ffaa)

20 years agoAIX has already has a function called msleep(). Bugzilla #1098.
Tim Potter [Fri, 20 Feb 2004 22:42:39 +0000 (22:42 +0000)]
AIX has already has a function called msleep().  Bugzilla #1098.
(This used to be commit 90ae3667448be9b3445f401bcd9d7e3eba374215)

20 years agohandle both 0 and -1 as disabling
Jim McDonough [Fri, 20 Feb 2004 16:00:42 +0000 (16:00 +0000)]
handle both 0 and -1 as disabling
reset count and lockout duration
(This used to be commit ad2996e418a45c1cf4f969077ffc267de70d6866)

20 years agoMake default lockout duration and
Jim McDonough [Fri, 20 Feb 2004 15:59:10 +0000 (15:59 +0000)]
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 69924079b2f7098254c2053781121d4324626dee)

20 years ago<attr/xattr.h> & <sys/xattr.h> are mutually exclusive it seems; fix build on SuSE 8.2
Gerald Carter [Fri, 20 Feb 2004 15:53:26 +0000 (15:53 +0000)]
<attr/xattr.h> & <sys/xattr.h> are mutually exclusive it seems; fix build on SuSE 8.2
(This used to be commit bf271b96cf6bc42c8a23309d890febf003e1627f)

20 years agoFixup returns from lookupsids in the same way as lookupnames. Inspired by
Jeremy Allison [Thu, 19 Feb 2004 23:01:52 +0000 (23:01 +0000)]
Fixup returns from lookupsids in the same way as lookupnames. Inspired by
Volkers patch.
Jeremy.
(This used to be commit aff6bacf0e461322e6e165cb7a6a42f4d976f52b)

20 years agocheck for <sys/xattr.h>; needed by Debian testing
Gerald Carter [Thu, 19 Feb 2004 21:56:49 +0000 (21:56 +0000)]
check for <sys/xattr.h>; needed by Debian testing
(This used to be commit fb90b4140ec45ff4088c41dffce3680b5c4dc170)

20 years agoremove some unused local variables
Gerald Carter [Thu, 19 Feb 2004 21:55:45 +0000 (21:55 +0000)]
remove some unused local variables
(This used to be commit aa67c77515097cc21a9de727bf3722c04de313f9)

20 years agoEnable checking/resetting of account lockout and bad password based on policy
Jim McDonough [Thu, 19 Feb 2004 21:41:03 +0000 (21:41 +0000)]
Enable checking/resetting of account lockout and bad password based on policy
(This used to be commit caef425d803fa01aa6f54339f8bc17fc752f73b0)

20 years agoClean up bad pw count and autolock flag update fn()s
Jim McDonough [Thu, 19 Feb 2004 21:37:53 +0000 (21:37 +0000)]
Clean up bad pw count and autolock flag update fn()s
(This used to be commit 81dc9d53eb330f350f3f31068fe75c3606221e62)

20 years agocomment out server portion of DsEnumerateDomainTrusts() since it causes 2k/xp clients...
Gerald Carter [Thu, 19 Feb 2004 19:35:48 +0000 (19:35 +0000)]
comment out server portion of DsEnumerateDomainTrusts() since it causes 2k/xp clients to fail to join the domain (see comments in srv_netlog_nt.c for details)
(This used to be commit 981bd70a56094740daf6d144f7b802370c0d9056)

20 years agoAdd bad pw count and autolock flag update fn()s
Jim McDonough [Thu, 19 Feb 2004 18:35:46 +0000 (18:35 +0000)]
Add bad pw count and autolock flag update fn()s
(This used to be commit 91ea29b392ff05311e9631467ee6255b29887e04)

20 years agofixing error in logic when checking flags changed field on user primary group sid
Gerald Carter [Thu, 19 Feb 2004 17:33:28 +0000 (17:33 +0000)]
fixing error in logic when checking flags changed field on user primary group sid
(This used to be commit c275d8f831490a52bae11698349a6b795d12f924)

20 years agomerging smbmnt fix from 3.0
Gerald Carter [Thu, 19 Feb 2004 16:48:16 +0000 (16:48 +0000)]
merging smbmnt fix from 3.0
(This used to be commit ea83c341c9ff54dfc5d0a941be96e6684f565d7d)

20 years agoAdd bad password reset and display of bad password count/time
Jim McDonough [Thu, 19 Feb 2004 16:00:33 +0000 (16:00 +0000)]
Add bad password reset and display of bad password count/time
(This used to be commit 22c312b31d545914ae3fd12a11915ed046421f38)

20 years agoAdd functions to get/set bad password time
Jim McDonough [Thu, 19 Feb 2004 15:59:30 +0000 (15:59 +0000)]
Add functions to get/set bad password time
(This used to be commit 0a2b792556b3aaa056a1fa6adb35627fdb804758)

20 years agoAdd bad password time fields
Jim McDonough [Thu, 19 Feb 2004 15:57:54 +0000 (15:57 +0000)]
Add bad password time fields
(This used to be commit 9f496e113c60bde1746c7f1063e83735117b2fe8)

20 years agoreformatting
Simo Sorce [Thu, 19 Feb 2004 15:45:40 +0000 (15:45 +0000)]
reformatting
(This used to be commit cd48827418d8be15470e833ea19ab9830e160e12)

20 years agoFix the "too many fcntl locks" scalability problem raised by tridge.
Jeremy Allison [Thu, 19 Feb 2004 01:55:21 +0000 (01:55 +0000)]
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 f3e51dbc21c616d261f0a65b9fa69dbb8b5a9a0f)

20 years agoFix based on Volker's code to correctly return code from lsa_lookup_sids
Jeremy Allison [Tue, 17 Feb 2004 22:46:27 +0000 (22:46 +0000)]
Fix based on Volker's code to correctly return code from lsa_lookup_sids
on unmapped sids.
Jeremy.
(This used to be commit 0ac64c8b4d944315cf49e6b183c07396abc7bab3)

20 years agoWhen creating a group via a script, don't let winbind do it as well.
Volker Lendecke [Tue, 17 Feb 2004 21:29:05 +0000 (21:29 +0000)]
When creating a group via a script, don't let winbind do it as well.

Volker
(This used to be commit f90c590731b45e413e70cd5d9b56d0d77dd48391)

20 years agoAlso set alias info for builtins.
Volker Lendecke [Tue, 17 Feb 2004 15:56:58 +0000 (15:56 +0000)]
Also set alias info for builtins.

Volker
(This used to be commit 32682cd81485e295720fc65c98669c2e6e5c6043)

20 years agoDon't try to show entries that could not be listed.
Volker Lendecke [Tue, 17 Feb 2004 15:27:20 +0000 (15:27 +0000)]
Don't try to show entries that could not be listed.

Volker
(This used to be commit 5fb9028942e2f16b153f42911e837008824dcecc)

20 years agoIn samr_lookup_names Windows does not return WKN_GRP(5) but ALIAS(4) when
Volker Lendecke [Tue, 17 Feb 2004 10:12:57 +0000 (10:12 +0000)]
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 471cf1bf87638953bec4954667bbf8a49c693903)

20 years agoIf there are no alias members, don't ask for their sids.
Volker Lendecke [Tue, 17 Feb 2004 10:09:12 +0000 (10:09 +0000)]
If there are no alias members, don't ask for their sids.

Volker
(This used to be commit 9d66043ed71d0c0f787a67b06b93f4f3b489c21c)

20 years agoCosmetic fix: use sid_is_in_our_domain.
Volker Lendecke [Mon, 16 Feb 2004 14:25:40 +0000 (14:25 +0000)]
Cosmetic fix: use sid_is_in_our_domain.

Volker
(This used to be commit fc0dc0607d03eaefc2a0e3ffe7f1cf3612e73e0c)

20 years agoFix success message for net groupmap modify
Volker Lendecke [Mon, 16 Feb 2004 14:05:46 +0000 (14:05 +0000)]
Fix success message for net groupmap modify

Volker
(This used to be commit d8ff6e4b30bda45b5f8680694da383d5769d7db5)

20 years agoSync with openldap schema. Add munged dial and config attrs/ocs.
Jim McDonough [Sat, 14 Feb 2004 14:23:51 +0000 (14:23 +0000)]
Sync with openldap schema.  Add munged dial and config attrs/ocs.
(This used to be commit 3f8824f7d02bcf46445360542df686a7a75ab52d)

20 years agoTypo (missed SAFE_FREE).,
Jeremy Allison [Fri, 13 Feb 2004 22:35:02 +0000 (22:35 +0000)]
Typo (missed SAFE_FREE).,
Jeremy.
(This used to be commit dd014ab358e861f3828cb34c09c5800606c8da59)

20 years agoFix eta calculation when resuming
Jelmer Vernooij [Fri, 13 Feb 2004 22:10:12 +0000 (22:10 +0000)]
Fix eta calculation when resuming
(This used to be commit c4114a0664467383fc343a55360b48a985fa45ac)

20 years agoAdded Andrew Bartlett's patch to use an allocated buffer for count_chars.
Jeremy Allison [Fri, 13 Feb 2004 22:06:23 +0000 (22:06 +0000)]
Added Andrew Bartlett's patch to use an allocated buffer for count_chars.
Jeremy.
(This used to be commit 4ec9e330787cbc01849a91573f760f639b28be7e)

20 years agoFixup the 'multiple-vuids' bugs.
Jeremy Allison [Fri, 13 Feb 2004 19:05:27 +0000 (19:05 +0000)]
Fixup the 'multiple-vuids' bugs.
Jeremy.
(This used to be commit a7d4a6d1167f7657113148cdf68ea3c491b51b14)

20 years agoApply the multiple login stuff to smbclient ...
Richard Sharpe [Fri, 13 Feb 2004 16:55:25 +0000 (16:55 +0000)]
Apply the multiple login stuff to smbclient ...
(This used to be commit 83213742dcd61ff4d30954158a5523ee0bdd850d)

20 years agoFix a few comments/formatting issues to make it more in line with
Jim McDonough [Fri, 13 Feb 2004 14:48:57 +0000 (14:48 +0000)]
Fix a few comments/formatting issues to make it more in line with
3.0 and reduce diff output.
(This used to be commit 306c021000d36f13b3740839b62df60986e4e112)

20 years agomerge old change from 2.2 branch to give legend in heading
Herb Lewis [Thu, 12 Feb 2004 20:45:12 +0000 (20:45 +0000)]
merge old change from 2.2 branch to give legend in heading
(This used to be commit 1b7ba358b6c708bdede117c0cd16a7c4f7c0106a)

20 years agoFix format error for generating SELECT, since unknown_3 is now gone
Jim McDonough [Thu, 12 Feb 2004 19:10:09 +0000 (19:10 +0000)]
Fix format error for generating SELECT, since unknown_3 is now gone
(This used to be commit 57314e060552523338071442e111fb4f7a2e1df8)

20 years agoabartlet's pdb_set/changed flag fix for NULL passwords
Gerald Carter [Thu, 12 Feb 2004 17:52:15 +0000 (17:52 +0000)]
abartlet's pdb_set/changed flag fix for NULL passwords
(This used to be commit 3b373cd15d17ab495f86c8b3b219d965b5aff606)

20 years agomerges from 3.0
Gerald Carter [Thu, 12 Feb 2004 17:12:06 +0000 (17:12 +0000)]
merges from 3.0
(This used to be commit 2478501d402a07248d6181d4c9de253b203ff67c)

20 years agoFix typo: fileds -> fields
Jim McDonough [Thu, 12 Feb 2004 16:13:57 +0000 (16:13 +0000)]
Fix typo: fileds -> fields
(This used to be commit 994b71487868a62054ed24c5ea5d2729c99ba8be)

20 years agoA couple of versioning adjustments. Remove unused version #define, and
Jim McDonough [Thu, 12 Feb 2004 16:11:43 +0000 (16:11 +0000)]
A couple of versioning adjustments.  Remove unused version #define, and
define the INFO/version string in _only_ one place.
(This used to be commit 02181f77897d87989341e3f18dbf0cc3e9c22991)

20 years agoMore sync between HEAD and SAMBA_3_0
Jim McDonough [Thu, 12 Feb 2004 16:10:35 +0000 (16:10 +0000)]
More sync between HEAD and SAMBA_3_0

- passdb.h: replace UNKNOWN_3 with FIELDS_PRESENT

- parse_samr.c: put comment back in...seems like we shouldn't lose info like this
(This used to be commit 6b9efd2f4cd5cf042e2a04a08719a9fe83d54116)

20 years agoStart of merging changes with SAMBA_3_0. Fix up some comments so that
Jim McDonough [Thu, 12 Feb 2004 15:21:28 +0000 (15:21 +0000)]
Start of merging changes with SAMBA_3_0.  Fix up some comments so that
they line up.  Also change lockout_time to bad_password_time, since this
is actually what is replicated.
(This used to be commit adfc160082e5d1f20085e68eaacffea3fd277f1d)

20 years agotdbsam & smb_panic merge from 3.0 (initial tests are ok but I'll setup a HEAD PDC...
Gerald Carter [Thu, 12 Feb 2004 05:59:03 +0000 (05:59 +0000)]
tdbsam & smb_panic merge from 3.0 (initial tests are ok but I'll setup a HEAD PDC tomorrow)
(This used to be commit c57b24ee49aee0f0687742da7f8d741c62f6effe)

20 years agoMore paranoia checks.
Jeremy Allison [Wed, 11 Feb 2004 23:25:49 +0000 (23:25 +0000)]
More paranoia checks.
Jeremy.
(This used to be commit 4920f9bd660e22c8ac3ba1c389781f2efbcd1e78)

20 years agoParanoia fixes :-).
Jeremy Allison [Wed, 11 Feb 2004 19:59:14 +0000 (19:59 +0000)]
Paranoia fixes :-).
Jeremy.
(This used to be commit 35bbc818ad28c3591df9d5cb0a674802f3f29e1a)

20 years agoBUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in cmd_symlink...
Gerald Carter [Wed, 11 Feb 2004 15:39:11 +0000 (15:39 +0000)]
BUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in cmd_symlink, cmd_link, cmd_chown, cmd_chmod functions
(This used to be commit ab19b6b4dead0a53fa71c4e20e43f90b1d374817)

20 years agoBUG 1055; patch from SATOH Fumiyasu <fumiya@miraclelinux.com>; formatting fixes...
Gerald Carter [Wed, 11 Feb 2004 15:20:41 +0000 (15:20 +0000)]
BUG 1055; patch from SATOH Fumiyasu  <fumiya@miraclelinux.com>; formatting fixes for 'net share'
(This used to be commit 447d4fee6c245a5bbf0c33c8ffb0fd9041e51c24)

20 years agofix broken compile after andrew's changes
Gerald Carter [Wed, 11 Feb 2004 15:20:17 +0000 (15:20 +0000)]
fix broken compile after andrew's changes
(This used to be commit c77baee0f17fd44e333c8db6a9cae33f649a6701)

20 years agoApplied James Peach's stack backtrace patch for IRIX.
Tim Potter [Wed, 11 Feb 2004 10:30:46 +0000 (10:30 +0000)]
Applied James Peach's stack backtrace patch for IRIX.
(This used to be commit 056bf382d748ca06a1937ee19b0193430199f63b)

20 years agoMove around function to fix build after recent static rampage.
Tim Potter [Wed, 11 Feb 2004 10:02:48 +0000 (10:02 +0000)]
Move around function to fix build after recent static rampage.
(This used to be commit 1ab42df4a648fc19391891163d891c4bdb23437e)

20 years agomarking 'only user' as deprecated (based on feedback in bug 66)
Gerald Carter [Wed, 11 Feb 2004 04:32:53 +0000 (04:32 +0000)]
marking 'only user' as deprecated (based on feedback in bug 66)
(This used to be commit b94ca7e7be7a6f0674cafa76bf30a46f2f36bd8f)

20 years agomerge fixes from 3.0
Gerald Carter [Tue, 10 Feb 2004 04:04:24 +0000 (04:04 +0000)]
merge fixes from 3.0
(This used to be commit ea75f34eef90e410045fe4d32052cbea483a27da)

20 years agofix more compiler warning after the latest static rampage
Gerald Carter [Tue, 10 Feb 2004 03:51:30 +0000 (03:51 +0000)]
fix more compiler warning after the latest static rampage
(This used to be commit 98d9278c81ede2a931a2c2c8371c0499601a1457)

20 years agoFix for possible crash bug from Sebastian Krahmer (SuSE).
Jeremy Allison [Tue, 10 Feb 2004 02:21:41 +0000 (02:21 +0000)]
Fix for possible crash bug from Sebastian Krahmer (SuSE).
Jeremy.
(This used to be commit e7a25c1e2ea2ff980f4aecf94f65563316976997)

20 years agoFix compiler warning.
Rafal Szczesniak [Tue, 10 Feb 2004 00:17:18 +0000 (00:17 +0000)]
Fix compiler warning.

rafal
(This used to be commit e92fb5dcb02a56d10230df70d495f91da4052e62)

20 years agoadd smbget to cvs ignore list
Gerald Carter [Mon, 9 Feb 2004 18:49:22 +0000 (18:49 +0000)]
add smbget to cvs ignore list
(This used to be commit 1e8bbd2961f8216ade50cabdbad3d216c8d77819)

20 years agomerge from 3.0
Gerald Carter [Mon, 9 Feb 2004 18:48:44 +0000 (18:48 +0000)]
merge from 3.0
(This used to be commit 309a9a4cafc3c892840e28198a41973b236a528e)

20 years agobug 1046 (patch from Bostjan Golob <golob@gimb.org>); fix 20 month old bug where...
Gerald Carter [Mon, 9 Feb 2004 18:47:19 +0000 (18:47 +0000)]
bug 1046 (patch from Bostjan Golob <golob@gimb.org>); fix 20 month old bug where getpwent_list() was overoverwriting the username for entries.  However the code path to the bug was introduced only on January 25
(This used to be commit fbde889fd8442bae7444ffdb2736c9c5e8d59204)

20 years agoExpand 'net rpc group members' to local groups.
Volker Lendecke [Mon, 9 Feb 2004 18:20:41 +0000 (18:20 +0000)]
Expand 'net rpc group members' to local groups.

Volker
(This used to be commit f524a493154a5f7304be472064550cd61af8305d)