samba.git
20 years agoThis adds winbind-generated groups showing up in 'getent group'. It is not
Volker Lendecke [Tue, 2 Mar 2004 14:49:06 +0000 (14:49 +0000)]
This adds winbind-generated groups showing up in 'getent group'. It is not
very efficient though, it only does one group at a time. Needs improving, but
the structures are not particularly easy to set up, so check in the basically
working part for others to review.

I'm close to saying that I would like to remove aliases from general group
mapping. These can not be reflected correctly in /etc/group, winbind could do
a better job here.

And having aliases only on machines with nss_winbind at least for me is not a
too severe limitation.

Comments?

Volker

20 years agoallow the 'printing' parameter to be set on a per share basis.
Gerald Carter [Tue, 2 Mar 2004 14:29:01 +0000 (14:29 +0000)]
allow the 'printing' parameter to be set on a per share basis.
The problem was that the current_printif struct was set during
print_backend_init() based on the 'printcap name'.  So you could
not use cups and then override the setting for a specific printer
by setting 'printing = bsd' (a common setup for pdf generation
print services.

There is a subtle change in behavior in that the print
interface functions are selecting on the basis of lp_printing()
and not lp_printcap_name(), but the new behavior seems more
intuitive IMHO.

20 years agoIdra, your privileges patch allowed login only with tdbsam. The problem is
Volker Lendecke [Tue, 2 Mar 2004 14:19:44 +0000 (14:19 +0000)]
Idra, your privileges patch allowed login only with tdbsam. The problem is
that pdb_default_get_privilege_set returns NOT_IMPLEMENTED and not a privilege
set that does not grant anything. I don't really understand privileges yet, so
work around that by not failing if pdb_get_privilege_set fails.

Volker

20 years agoSorry, forgot to commit an essential piece.
Simo Sorce [Tue, 2 Mar 2004 10:09:52 +0000 (10:09 +0000)]
Sorry, forgot to commit an essential piece.

20 years agoExpand aliases for winbind-generated groups.
Volker Lendecke [Tue, 2 Mar 2004 07:47:39 +0000 (07:47 +0000)]
Expand aliases for winbind-generated groups.

Do:

wbinfo -C alias
net groupmap set alias alias -L
net rpc group addmem alias DOMAIN\\group -S localhost -Uroot%secret
getent group alias

And hopefully the members of domain\\group show up :-)

Still have to get them to show up in 'getent group'.

Volker

20 years agomerging from 3.0
Gerald Carter [Tue, 2 Mar 2004 04:19:47 +0000 (04:19 +0000)]
merging from 3.0

20 years agoBUG 1147; bad pointer case in get_stored_queue_info() causing seg fault
Gerald Carter [Mon, 1 Mar 2004 17:03:23 +0000 (17:03 +0000)]
BUG 1147; bad pointer case in get_stored_queue_info() causing seg fault

20 years agoOk here it is my latest work on privileges
Simo Sorce [Mon, 1 Mar 2004 16:10:28 +0000 (16:10 +0000)]
Ok here it is my latest work on privileges

This patch add privilege support for samba
Currently it is implemented only for tdbsam backend but estending it to
other sam backends is straightforward.

I must make a big thank to JFM for his teachings on the matter and the
functions at the base of this work.

At thye moment only samr_create_user honours SeAddUsersPrivilege and
SeMachineAccountPrivilege to permit any user to add machines and/or users to
the server.

The command "net priv" has been provided to manipulate the privileges
database.

There are still many things to do (like support in "net rpc vampire") but
the working core is here.

Feel free to comment/extend on this work.

Of course I will deny that any bug may affect this code :-)
Simo.

This patch adds also my patch about add share command enhancements.

20 years agoFix Tim's fix for #1144. Tim, could you look at that again?
Volker Lendecke [Mon, 1 Mar 2004 14:59:32 +0000 (14:59 +0000)]
Fix Tim's fix for #1144. Tim, could you look at that again?

With only your fix in for example smb.conf was expected in /smb.conf...

Thanks,

Volker

20 years agoWhen asked to delete an alias member, don't add it ...
Volker Lendecke [Mon, 1 Mar 2004 13:07:04 +0000 (13:07 +0000)]
When asked to delete an alias member, don't add it ...

Volker

20 years agoAdd aliases to winbindd_getgroups().
Volker Lendecke [Mon, 1 Mar 2004 13:02:06 +0000 (13:02 +0000)]
Add aliases to winbindd_getgroups().

su - WINDOWS\\vl

now includes the locally defined aliases I'm member of.

Next will be getent group.

Volker

20 years agoFix bugzilla #1144 where running configure --with-fhs=anything would
Tim Potter [Mon, 1 Mar 2004 01:09:13 +0000 (01:09 +0000)]
Fix bugzilla #1144 where running configure --with-fhs=anything would
turn on fhs compliant paths.  Spotted by Timur Bakeyev.

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

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

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

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

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

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

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.

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.

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

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

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

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.

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

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

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

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

Volker

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.

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

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.

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

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.

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.

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.

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.

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.

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

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

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

Volker

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

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.

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

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.

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.

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.

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

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.

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

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

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.

20 years agoprintf -> d_printf
Tim Potter [Sat, 21 Feb 2004 00:27:30 +0000 (00:27 +0000)]
printf -> d_printf

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.

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.

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.

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

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)

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

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.

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

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

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

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

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)

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

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

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

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

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

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

20 years agoreformatting
Simo Sorce [Thu, 19 Feb 2004 15:45:40 +0000 (15:45 +0000)]
reformatting

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.

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.

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

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

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

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

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

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

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

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.

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

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

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.

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.

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 ...

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.

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

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

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

20 years agomerges from 3.0
Gerald Carter [Thu, 12 Feb 2004 17:12:06 +0000 (17:12 +0000)]
merges from 3.0

20 years agoFix typo: fileds -> fields
Jim McDonough [Thu, 12 Feb 2004 16:13:57 +0000 (16:13 +0000)]
Fix typo: fileds -> fields

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.

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

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.

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)

20 years agoMore paranoia checks.
Jeremy Allison [Wed, 11 Feb 2004 23:25:49 +0000 (23:25 +0000)]
More paranoia checks.
Jeremy.

20 years agoParanoia fixes :-).
Jeremy Allison [Wed, 11 Feb 2004 19:59:14 +0000 (19:59 +0000)]
Paranoia fixes :-).
Jeremy.

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

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'