ira/wip.git
20 years agoPath for bugzilla #1152 from Timur Bakeyev. Allow python modules to
Tim Potter [Wed, 24 Mar 2004 23:52:11 +0000 (23:52 +0000)]
Path for bugzilla #1152 from Timur Bakeyev.  Allow python modules to
build despite libraries added to LDFLAGS instead of LDPATH.

20 years agofixes for prnadmin.dll API
Gerald Carter [Wed, 24 Mar 2004 19:15:17 +0000 (19:15 +0000)]
fixes for prnadmin.dll API

  * force the PRINTER_ATTRIBUTE_LOCAL (nor PRINTER_ATTRIBUTE_NETWORK)
  * ensure that we return the sec_desc in smb_io_printer_info_2
    (allows prnui.dll to restore security descriptors from a data file).

20 years agoFix bugzilla # 1208
Jim McDonough [Wed, 24 Mar 2004 17:32:55 +0000 (17:32 +0000)]
Fix bugzilla # 1208

Winbind tickets expired.  We now check the expiration time, and acquire
new tickets.  We couln't rely on renewing them, because if we didn't get
a request before they expired, we wouldn't have renewed them.  Also, there
is a one-week limit in MS on renewal life, so new tickets would have been
needed after a week anyway.   Default is 10 hours, so we should only be
acquiring them that often, unless the configuration on the DC is changed (and
the minimum is 1 hour).

20 years agochange my email address to the samba.org one
Stefan Metzmacher [Wed, 24 Mar 2004 13:41:06 +0000 (13:41 +0000)]
change my email address to the samba.org one

metze

20 years agoAdded cli_set_ea(), cli_get_ea next...
Jeremy Allison [Wed, 24 Mar 2004 03:48:08 +0000 (03:48 +0000)]
Added cli_set_ea(), cli_get_ea next...
Jeremy.

20 years agoadding commit messages for recent changes
Gerald Carter [Mon, 22 Mar 2004 23:12:07 +0000 (23:12 +0000)]
adding commit messages for recent changes

20 years agoremove unused variable
Gerald Carter [Mon, 22 Mar 2004 23:05:02 +0000 (23:05 +0000)]
remove unused variable

20 years agomissed one on BUG 1195; make sure to set the private * to NULL
Gerald Carter [Mon, 22 Mar 2004 22:57:21 +0000 (22:57 +0000)]
missed one on BUG 1195; make sure to set the private * to NULL

20 years agoBUG 1185: use 'winbind cache time' as the reconnect period when seq_num == -1 rather...
Gerald Carter [Mon, 22 Mar 2004 22:50:27 +0000 (22:50 +0000)]
BUG 1185: use 'winbind cache time' as the reconnect period when seq_num == -1 rather than multiplying it by 8 (the default cache time is 5 minutes now)

20 years agobug 1195: add flag to ADS_STRUCT so we know who owns the main structure's memory...
Gerald Carter [Mon, 22 Mar 2004 22:49:40 +0000 (22:49 +0000)]
bug 1195: add flag to ADS_STRUCT so we know who owns the main structure's memory (not the members though)

20 years agoGiven how often a panic has to do with malloc() problems, don't tempt
Andrew Bartlett [Sun, 21 Mar 2004 08:43:41 +0000 (08:43 +0000)]
Given how often a panic has to do with malloc() problems, don't tempt
things more by calling SAFE_FREE() just before we exit our panic handler.

Andrew Bartlett

20 years agoremoving duplicate smbprint example script
Gerald Carter [Sat, 20 Mar 2004 13:50:03 +0000 (13:50 +0000)]
removing duplicate smbprint example script

20 years agoFix for #1064 - ensure truncate attribute checking is done correctly on "hidden"...
Jeremy Allison [Fri, 19 Mar 2004 23:46:48 +0000 (23:46 +0000)]
Fix for #1064 - ensure truncate attribute checking is done correctly on "hidden" dot files.
Jeremy.

20 years agostarting WHATSNEW for 3.0.3pre2
Gerald Carter [Fri, 19 Mar 2004 22:24:23 +0000 (22:24 +0000)]
starting WHATSNEW for 3.0.3pre2

20 years agoBUG 417: fix %UuGg variables expansion in include lines setging the current_user_info...
Gerald Carter [Fri, 19 Mar 2004 22:06:54 +0000 (22:06 +0000)]
BUG 417: fix %UuGg variables expansion in include lines setging the current_user_info struct in register_vuid() -- shouldn't be any more broken than we were

20 years agoremoving working when install swat since the installswat.sh is fixed now
Gerald Carter [Fri, 19 Mar 2004 18:59:06 +0000 (18:59 +0000)]
removing working when install swat since the installswat.sh is fixed now

20 years agomissed some of Derrel's changes
Gerald Carter [Fri, 19 Mar 2004 17:48:08 +0000 (17:48 +0000)]
missed some of Derrel's changes

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Fri, 19 Mar 2004 17:36:57 +0000 (17:36 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

20 years agoApply some more of Derrell Lipman's changes.
Richard Sharpe [Fri, 19 Mar 2004 17:36:56 +0000 (17:36 +0000)]
Apply some more of Derrell Lipman's changes.

20 years agoadd --with-libdir and --with-mandir (patch from Guenther Deschner)
Gerald Carter [Fri, 19 Mar 2004 16:59:59 +0000 (16:59 +0000)]
add --with-libdir and --with-mandir (patch from Guenther Deschner)

20 years agoadd --with-libdir and --with-mandir (patch from Guenther Deschner)
Gerald Carter [Fri, 19 Mar 2004 16:58:16 +0000 (16:58 +0000)]
add --with-libdir and --with-mandir (patch from Guenther Deschner)

20 years agobumping version to 3.0.3pre2
Gerald Carter [Fri, 19 Mar 2004 16:23:54 +0000 (16:23 +0000)]
bumping version to 3.0.3pre2

20 years agoupdating release notes & merging Derrel Lipman's libsmbclient patch from HEAD
Gerald Carter [Fri, 19 Mar 2004 16:22:47 +0000 (16:22 +0000)]
updating release notes & merging Derrel Lipman's libsmbclient patch from HEAD

20 years agocleaning up a few compiler warngings
Gerald Carter [Fri, 19 Mar 2004 16:21:50 +0000 (16:21 +0000)]
cleaning up a few compiler warngings

20 years agowrap cli_tdis() in check to make sure we have a valid cnum
Gerald Carter [Fri, 19 Mar 2004 15:52:16 +0000 (15:52 +0000)]
wrap cli_tdis() in check to make sure we have a valid cnum

20 years agoadd privileges support to ldapsam too
Simo Sorce [Fri, 19 Mar 2004 14:31:09 +0000 (14:31 +0000)]
add privileges support to ldapsam too

20 years agobackport from head
Simo Sorce [Fri, 19 Mar 2004 11:28:36 +0000 (11:28 +0000)]
backport from head

20 years agothe buffer must be greater then src string len otherwise bad things happen!
Simo Sorce [Fri, 19 Mar 2004 11:27:14 +0000 (11:27 +0000)]
the buffer must be greater then src string len otherwise bad things happen!

20 years agoFix gcc warnings. Fix mkproto with new type.
Jeremy Allison [Fri, 19 Mar 2004 01:29:18 +0000 (01:29 +0000)]
Fix gcc warnings. Fix mkproto with new type.
Jeremy.

20 years agoFix gcc warnings. Fix mkproto with new type.
Jeremy Allison [Fri, 19 Mar 2004 01:29:14 +0000 (01:29 +0000)]
Fix gcc warnings. Fix mkproto with new type.
Jeremy.

20 years agoMerge from HEAD for Amanda group.
Jeremy Allison [Thu, 18 Mar 2004 23:45:15 +0000 (23:45 +0000)]
Merge from HEAD for Amanda group.
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.
Jeremy.

20 years agoApply Craig Barratt's fixes to allow multiple exlusion files and patterns.
Richard Sharpe [Thu, 18 Mar 2004 22:29:54 +0000 (22:29 +0000)]
Apply Craig Barratt's fixes to allow multiple exlusion files and patterns.

Much of this was applied by hand because of the changes in the code. However,
it builds and smbclient seems to work still. The Amanda folks are testing
and it seems to work there as well.

20 years agomerge from 3.0...LDAP password lockout support
Jim McDonough [Thu, 18 Mar 2004 20:05:00 +0000 (20:05 +0000)]
merge from 3.0...LDAP password lockout support

20 years agoPassword lockout for LDAP backend. Caches autolock flag, bad count, and
Jim McDonough [Thu, 18 Mar 2004 19:22:51 +0000 (19:22 +0000)]
Password lockout for LDAP backend.  Caches autolock flag, bad count, and
bad time locally, updating the directory only for hitting the policy limit
or resetting.

This needed to be done at the passdb level rather than auth, because some
of the functions need to be supported from tools such as pdbedit.  It was
done at the LDAP backend level instead of generically after discussion,
because of the complexity of inserting it at a higher level.

The login cache read/write/delete is outside of the ldap backend, so it could
easily be called by other backends.  tdbsam won't call it for obvious
reasons, and authors of other backends need to decide if they want to
implement it.

20 years agoBUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using...
Gerald Carter [Thu, 18 Mar 2004 18:10:30 +0000 (18:10 +0000)]
BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using pam_smbpass

20 years agoBUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using...
Gerald Carter [Thu, 18 Mar 2004 18:09:59 +0000 (18:09 +0000)]
BUG 932: ulrich@holeschak.de (Ulrich Holeschak); fix local password change using pam_smbpass

20 years agoCorrectness patch from fumiya@miraclelinux.com to count characters correctly,
Jeremy Allison [Thu, 18 Mar 2004 17:58:50 +0000 (17:58 +0000)]
Correctness patch from fumiya@miraclelinux.com to count characters correctly,
doesn't affect what got put on the wire.
Jeremy.

20 years agoCorrectness patch from fumiya@miraclelinux.com to count characters correctly,
Jeremy Allison [Thu, 18 Mar 2004 17:58:47 +0000 (17:58 +0000)]
Correctness patch from fumiya@miraclelinux.com to count characters correctly,
doesn't affect what got put on the wire.
Jeremy.

20 years agoCommit Derrell Lipman's changes and fixes to libsmbclient. The build but
Richard Sharpe [Thu, 18 Mar 2004 17:11:52 +0000 (17:11 +0000)]
Commit Derrell Lipman's changes and fixes to libsmbclient. The build but
I have not tested them beyond building. I did fix the two instances of
safe_strxxx that were introduced.

20 years agoupdating release notes in preparation fro 3.0.3pre1
Gerald Carter [Thu, 18 Mar 2004 16:50:01 +0000 (16:50 +0000)]
updating release notes in preparation fro 3.0.3pre1

20 years agoFix sambaUserWorkstations on a Samba DC
Volker Lendecke [Thu, 18 Mar 2004 07:38:56 +0000 (07:38 +0000)]
Fix sambaUserWorkstations on a Samba DC

20 years agoFix sambaUserWorkstations for network samlogons against us as DC. Strip
Volker Lendecke [Thu, 18 Mar 2004 07:37:39 +0000 (07:37 +0000)]
Fix sambaUserWorkstations for network samlogons against us as DC. Strip
the \\ off the workstation.

Volker

20 years agoFix sambaUserWorkstations for network samlogons against us as DC. Strip
Volker Lendecke [Thu, 18 Mar 2004 07:36:36 +0000 (07:36 +0000)]
Fix sambaUserWorkstations for network samlogons against us as DC. Strip
the \\ off the workstation.

Volker

20 years agoTwo little annoyances:
Volker Lendecke [Thu, 18 Mar 2004 07:33:26 +0000 (07:33 +0000)]
Two little annoyances:

net rpc did not inform you if no smbd is running.

I never liked the error message (!) Success! when we established a trust.

Volker

20 years agoTwo little annoyances:
Volker Lendecke [Thu, 18 Mar 2004 07:32:15 +0000 (07:32 +0000)]
Two little annoyances:

net rpc did not inform you if no smbd is running.

I never liked the error message (!) Success! when we established a trust.

Volker

20 years agoAdded a varient of Volker's patch to fix the "self-referrals as anonymous user"
Jeremy Allison [Thu, 18 Mar 2004 02:17:23 +0000 (02:17 +0000)]
Added a varient of Volker's patch to fix the "self-referrals as anonymous user"
problem.
Jeremy.

20 years agoAdded a varient of Volker's patch to fix the "self-referrals as anonymous user"
Jeremy Allison [Thu, 18 Mar 2004 02:17:20 +0000 (02:17 +0000)]
Added a varient of Volker's patch to fix the "self-referrals as anonymous user"
problem.
Jeremy.

20 years agoRemove excess logging when probing for the length of the next mb char.
Jeremy Allison [Wed, 17 Mar 2004 19:23:48 +0000 (19:23 +0000)]
Remove excess logging when probing for the length of the next mb char.
Jeremy.

20 years agoRemove excess logging when probing for the length of the next mb char.
Jeremy Allison [Wed, 17 Mar 2004 19:23:44 +0000 (19:23 +0000)]
Remove excess logging when probing for the length of the next mb char.
Jeremy.

20 years agoasu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont...
Gerald Carter [Wed, 17 Mar 2004 17:39:00 +0000 (17:39 +0000)]
asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont check for it

20 years agoasu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont...
Gerald Carter [Wed, 17 Mar 2004 17:38:38 +0000 (17:38 +0000)]
asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont check for it

20 years agoBUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build
Gerald Carter [Wed, 17 Mar 2004 17:13:36 +0000 (17:13 +0000)]
BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build

20 years agoBUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build
Gerald Carter [Wed, 17 Mar 2004 17:13:26 +0000 (17:13 +0000)]
BUG 758 -- patch from jpeach@sgi.com (James Peach); fix pdma build

20 years agoChange check_path_syntax() to use the new next_mb_char_size() function
Jeremy Allison [Wed, 17 Mar 2004 02:08:31 +0000 (02:08 +0000)]
Change check_path_syntax() to use the new next_mb_char_size() function
to make it generic. Remove the mb-codepage "blacklist". Alexander, please
check this fix as it reverts your blacklist changes, but I'm hoping it
fixes the problem in a more generic way for all charsets. I'm not trying
to trample on your (excellent!) work here, just make things more generic
without special cases.
Jeremy.

20 years agoChange check_path_syntax() to use the new next_mb_char_size() function
Jeremy Allison [Wed, 17 Mar 2004 02:08:27 +0000 (02:08 +0000)]
Change check_path_syntax() to use the new next_mb_char_size() function
to make it generic. Remove the mb-codepage "blacklist". Alexander, please
check this fix as it reverts your blacklist changes, but I'm hoping it
fixes the problem in a more generic way for all charsets. I'm not trying
to trample on your (excellent!) work here, just make things more generic
without special cases.
Jeremy.

20 years agoAdd function next_mb_char_size() that returns a size_t of the number of
Jeremy Allison [Tue, 16 Mar 2004 21:59:20 +0000 (21:59 +0000)]
Add function next_mb_char_size() that returns a size_t of the number of
bytes in the mb character at a pointer. Will be useful in fixing check_path_syntax()
to not use a "blacklist". Also re-added my (C) to reply.c. I mean, really - I've
been adding code to the file for over 10 years and I recognise many of the
fuctions as mine ! :-).
Jeremy.

20 years agoAdd function next_mb_char_size() that returns a size_t of the number of
Jeremy Allison [Tue, 16 Mar 2004 21:59:11 +0000 (21:59 +0000)]
Add function next_mb_char_size() that returns a size_t of the number of
bytes in the mb character at a pointer. Will be useful in fixing check_path_syntax()
to not use a "blacklist". Also re-added my (C) to reply.c. I mean, really - I've
been adding code to the file for over 10 years and I recognise many of the
fuctions as mine ! :-).
Jeremy.

20 years agomerges from 3.0
Gerald Carter [Tue, 16 Mar 2004 20:32:14 +0000 (20:32 +0000)]
merges from 3.0

20 years agofix overlapping memory bug when copying username
Gerald Carter [Tue, 16 Mar 2004 20:28:47 +0000 (20:28 +0000)]
fix overlapping memory bug when copying username

20 years agoBUG 748 - patch from jpeach@sgi.com (James Peach); relax arg parsing to sambalp script
Gerald Carter [Tue, 16 Mar 2004 19:44:40 +0000 (19:44 +0000)]
BUG 748 - patch from jpeach@sgi.com (James Peach); relax arg parsing to sambalp script

20 years agoBUG 768 - patch from jpeach@sgi.com (James Peach); accept profileing arg to init...
Gerald Carter [Tue, 16 Mar 2004 19:43:04 +0000 (19:43 +0000)]
BUG 768 - patch from jpeach@sgi.com (James Peach); accept profileing arg to init script

20 years agoBUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at (Heinric...
Gerald Carter [Tue, 16 Mar 2004 19:06:30 +0000 (19:06 +0000)]
BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at (Heinrich Mislik)

20 years agoBUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at (Heinric...
Gerald Carter [Tue, 16 Mar 2004 19:06:03 +0000 (19:06 +0000)]
BUG 979 -- fix quota display on AIX; patch from Heinrich.Mislik@univie.ac.at (Heinrich Mislik)

20 years agoBUG 1182: patch from john.klinger@lmco.com (John Klinger) to reanable the -n 'no...
Gerald Carter [Tue, 16 Mar 2004 18:54:09 +0000 (18:54 +0000)]
BUG 1182: patch from   john.klinger@lmco.com (John Klinger) to reanable the -n 'no cache' option for winbindd

20 years agoFix check_path_syntax() for multibyte encodings which have no '\' as second byte.
Alexander Bokovoy [Tue, 16 Mar 2004 17:21:06 +0000 (17:21 +0000)]
Fix check_path_syntax() for multibyte encodings which have no '\' as second byte.
This is intermediate fix as discussed with Jeremy until we move check_path_syntax() to UCS2 internally where all
ambiguity is resolved. Please add other encodings into charcnv.c with such property.

20 years agoFix check_path_syntax() for multibyte encodings which have no '\' as second byte.
Alexander Bokovoy [Tue, 16 Mar 2004 17:18:57 +0000 (17:18 +0000)]
Fix check_path_syntax() for multibyte encodings which have no '\' as second byte.
This is intermediate fix as discussed with Jeremy until we move check_path_syntax() to UCS2 internally where all
ambiguity is resolved. Please add other encodings into charcnv.c with such property.'
'

20 years agomerging print change notify fix from HP appliance. Also might address some one the...
Gerald Carter [Tue, 16 Mar 2004 17:07:18 +0000 (17:07 +0000)]
merging print change notify fix from HP appliance.  Also might address some one the issues in BUG 1007

20 years agomerging print change notify fix from HP appliance. Also might address some one the...
Gerald Carter [Tue, 16 Mar 2004 17:06:11 +0000 (17:06 +0000)]
merging print change notify fix from HP appliance.  Also might address some one the issues in BUG 1007

20 years agoBUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use defaul...
Gerald Carter [Tue, 16 Mar 2004 16:44:54 +0000 (16:44 +0000)]
BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes

20 years agoBUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use defaul...
Gerald Carter [Tue, 16 Mar 2004 16:41:54 +0000 (16:41 +0000)]
BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes

20 years agoMake sure we don't clobber the stack when response consists of the empty
Richard Sharpe [Tue, 16 Mar 2004 06:56:20 +0000 (06:56 +0000)]
Make sure we don't clobber the stack when response consists of the empty
string.

20 years agoAvoid mb conversion overflow when sending an announcement.
Jeremy Allison [Tue, 16 Mar 2004 00:10:34 +0000 (00:10 +0000)]
Avoid mb conversion overflow when sending an announcement.
Jeremy.

20 years agoAvoid mb conversion overflow when sending an announcement.
Jeremy Allison [Tue, 16 Mar 2004 00:10:30 +0000 (00:10 +0000)]
Avoid mb conversion overflow when sending an announcement.
Jeremy.

20 years agoUse "unix netbios name" type unstring - 64 bytes long to manipulate netbios
Jeremy Allison [Mon, 15 Mar 2004 21:53:59 +0000 (21:53 +0000)]
Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to
expand to utf8 size on read.
Jeremy.

20 years agoUse "unix netbios name" type unstring - 64 bytes long to manipulate netbios
Jeremy Allison [Mon, 15 Mar 2004 21:45:45 +0000 (21:45 +0000)]
Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to
expand to utf8 size on read.
Jeremy.

20 years agoremoving extra comma in --with-fhs
Gerald Carter [Mon, 15 Mar 2004 16:20:22 +0000 (16:20 +0000)]
removing extra comma in --with-fhs

20 years agoremoving extra comma in --with-fhs
Gerald Carter [Mon, 15 Mar 2004 16:20:03 +0000 (16:20 +0000)]
removing extra comma in --with-fhs

20 years agomore fixes from 3.0
Gerald Carter [Mon, 15 Mar 2004 16:17:51 +0000 (16:17 +0000)]
more fixes from 3.0

20 years agoinclude swatdir in 'make showlayout'
Gerald Carter [Mon, 15 Mar 2004 16:14:04 +0000 (16:14 +0000)]
include swatdir in 'make showlayout'

20 years agosync small fixes from 3.0 and fix compiler warning in priv code
Gerald Carter [Mon, 15 Mar 2004 16:12:52 +0000 (16:12 +0000)]
sync small fixes from 3.0 and fix compiler warning in priv code

20 years agofix byte ordering problem when storing the updating pid for the lpq cache; was causin...
Gerald Carter [Mon, 15 Mar 2004 15:16:29 +0000 (15:16 +0000)]
fix byte ordering problem when storing the updating pid for the lpq cache; was causing an abort in process_exists() on solaris

20 years agofix byte ordering problem when storing the updating pid for the lpq cache; was causin...
Gerald Carter [Mon, 15 Mar 2004 15:06:33 +0000 (15:06 +0000)]
fix byte ordering problem when storing the updating pid for the lpq cache; was causing an abort in process_exists() on solaris

20 years agoOk, one of the latest cleanups did too much... :-)
Volker Lendecke [Sun, 14 Mar 2004 11:15:37 +0000 (11:15 +0000)]
Ok, one of the latest cleanups did too much... :-)

Re-add adding the local aliases to winbindd_getgroups.

Volker

20 years agoClean up a bit :-)
Volker Lendecke [Sun, 14 Mar 2004 10:36:07 +0000 (10:36 +0000)]
Clean up a bit :-)

Volker

20 years agoFix 'getent group aliasname', this did not look in pdb.
Volker Lendecke [Sun, 14 Mar 2004 10:28:21 +0000 (10:28 +0000)]
Fix 'getent group aliasname', this did not look in pdb.

20 years agoAdd and delete aliases via srv_samr_nt. For that I added a RID allocation call
Volker Lendecke [Sun, 14 Mar 2004 10:24:19 +0000 (10:24 +0000)]
Add and delete aliases via srv_samr_nt. For that I added a RID allocation call
to winbindd. idmap_allocate_rid wants information about whether this will be a
user or a group, I did not export this to the winbind interface.

The reason for idmap to get that info is to keep consistent with the
algorithmic convention to alloc only even rids for users and odd rids for
groups. I'm not fully convinced that this really gains us anything. Any real
good arguments?

Volker

20 years agoWhen trying to remove a user from a group, winbind should be informed
Volker Lendecke [Sun, 14 Mar 2004 07:16:05 +0000 (07:16 +0000)]
When trying to remove a user from a group, winbind should be informed
about the user and group...

Volker

20 years agoWhen trying to remove a user from a group, winbind should be informed
Volker Lendecke [Sun, 14 Mar 2004 07:15:39 +0000 (07:15 +0000)]
When trying to remove a user from a group, winbind should be informed
about the user and group...

Volker

20 years agoMerge from 3.0
Tim Potter [Sun, 14 Mar 2004 03:47:55 +0000 (03:47 +0000)]
Merge from 3.0

20 years agoUse possessive in message asking for user's password.
Tim Potter [Sun, 14 Mar 2004 03:47:03 +0000 (03:47 +0000)]
Use possessive in message asking for user's password.

20 years agoMake alias membership maintainable via net rpc group add/delmem. Alias
Volker Lendecke [Sat, 13 Mar 2004 17:57:24 +0000 (17:57 +0000)]
Make alias membership maintainable via net rpc group add/delmem. Alias
creation and deletion still has to be done as well as a 'net alias' command.

Volker

20 years agoRest of my winbindd_passdb alias support
Volker Lendecke [Sat, 13 Mar 2004 17:38:07 +0000 (17:38 +0000)]
Rest of my winbindd_passdb alias support

20 years agoAdd alias support to winbindd_passdb. Sorry, Simo, this does not leave too
Volker Lendecke [Sat, 13 Mar 2004 17:35:47 +0000 (17:35 +0000)]
Add alias support to winbindd_passdb. Sorry, Simo, this does not leave too
much of your winbindd_passdb, users are currently not provided by that, only
aliases. Currently the code to maintain that stuff is not yet in, this will be
next, see my next posting to samba-technical.

Volker

20 years agoRemove the prototype for alias support in winbind again. This will be
Volker Lendecke [Sat, 13 Mar 2004 16:43:25 +0000 (16:43 +0000)]
Remove the prototype for alias support in winbind again. This will be
replaced by a winbindd_passdb.c checkin soon.

Volker

20 years agoAdd find_alias, create_alias, delete_alias, get_aliasinfo, set_aliasinfo and
Volker Lendecke [Sat, 13 Mar 2004 16:30:39 +0000 (16:30 +0000)]
Add find_alias, create_alias, delete_alias, get_aliasinfo, set_aliasinfo and
enum_aliases to passdb. create and delete are not yet filled, you have to do
this with net groupmap and net idmap restore.

Volker

20 years agoEnsure we don't truncate strcmps to nstring anymore...
Jeremy Allison [Sat, 13 Mar 2004 02:47:21 +0000 (02:47 +0000)]
Ensure we don't truncate strcmps to nstring anymore...
Jeremy.

20 years agoEnsure we don't truncate strcmps to nstring anymore...
Jeremy Allison [Sat, 13 Mar 2004 02:47:19 +0000 (02:47 +0000)]
Ensure we don't truncate strcmps to nstring anymore...
Jeremy.

20 years agoModified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com (MORIYAM...
Jeremy Allison [Sat, 13 Mar 2004 02:16:26 +0000 (02:16 +0000)]
Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com (MORIYAMA Masayuki).
Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios
and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name
when represented in dos charset (ie. cp932). So go back to using fstrings for these but
translate into nstrings (ie. 16 byte length values) for transport on the wire.
Jeremy.

20 years agoModified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com (MORIYAM...
Jeremy Allison [Sat, 13 Mar 2004 02:16:21 +0000 (02:16 +0000)]
Modified fix for bugid #784. Based on a patch from moriyama@miraclelinux.com (MORIYAMA Masayuki).
Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios
and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name
when represented in dos charset (ie. cp932). So go back to using fstrings for these but
translate into nstrings (ie. 16 byte length values) for transport on the wire.
Jeremy.

20 years agoFirst part of patch from moriyama@miraclelinux.com (MORIYAMA Masayuki) to
Jeremy Allison [Sat, 13 Mar 2004 00:28:55 +0000 (00:28 +0000)]
First part of patch from moriyama@miraclelinux.com (MORIYAMA Masayuki) to
fix up netbios names with mb strings. Includes reformat of libsmb/nmblib.c
so it's readable.
Jeremy.