samba.git
16 years agor13601: * Remove unused code from pdb_ldap.c
Gerald Carter [Tue, 21 Feb 2006 19:22:49 +0000 (19:22 +0000)]
r13601: * Remove unused code from pdb_ldap.c
* Add a 'struct passwd *' to the struct samu for later reference
  (I know this may be controversial but its easily reverted which is
  is why I'm checking this is as a seaparate patch before I get
  too deep).
* Remove unix_homedir from struct samu {} and update the pdb wrapper
  functions associated with it.

16 years agor13600: Move functions local to tdbsam to pdb_tdb.c
Gerald Carter [Tue, 21 Feb 2006 19:02:22 +0000 (19:02 +0000)]
r13600: Move functions local to tdbsam to pdb_tdb.c

16 years agor13599: krb5 error codes are defined as long. Also for the other direction.
Lars Müller [Tue, 21 Feb 2006 17:48:20 +0000 (17:48 +0000)]
r13599: krb5 error codes are defined as long.  Also for the other direction.

16 years agor13598: Defining KRB5KRB_ERR_RESPONSE_TOO_BIG if not defined which is the case
Lars Müller [Tue, 21 Feb 2006 17:35:52 +0000 (17:35 +0000)]
r13598: Defining KRB5KRB_ERR_RESPONSE_TOO_BIG if not defined which is the case
for older krb5 implementations.

Patch slightly modified from the version provided by Björn Jacke <bjoern
at j3e dot de> at the samba-technical list after discussion on the list
and by IRC.  Thanks Björn!

16 years agor13597: krb5 error codes are defined as long.
Lars Müller [Tue, 21 Feb 2006 17:19:20 +0000 (17:19 +0000)]
r13597: krb5 error codes are defined as long.

16 years agor13594: Got sense of NTSTATUS check reversed.
Jeremy Allison [Tue, 21 Feb 2006 17:00:00 +0000 (17:00 +0000)]
r13594: Got sense of NTSTATUS check reversed.
Jeremy.

16 years agor13593: consolidate pdb_set_sam_sids() into samu_set_unix() which
Gerald Carter [Tue, 21 Feb 2006 16:46:21 +0000 (16:46 +0000)]
r13593: consolidate pdb_set_sam_sids() into samu_set_unix() which
was the only place it was called from.

16 years agor13591: I really have no idea how this code ever worked. And I have
Gerald Carter [Tue, 21 Feb 2006 15:47:19 +0000 (15:47 +0000)]
r13591: I really have no idea how this code ever worked.  And I have
no idea why no one (including myself) caught this with a compiler
warning....Make sure new_chunk() actually returns a pointer
to the allocated memory.

SAMBA_3_0 now works again on Solaris.

16 years agor13590: * replace all pdb_init_sam[_talloc]() calls with samu_new()
Gerald Carter [Tue, 21 Feb 2006 14:34:11 +0000 (14:34 +0000)]
r13590: * replace all pdb_init_sam[_talloc]() calls with samu_new()
* replace all pdb_{init,fill}_sam_pw() calls with samu_set_unix()

16 years agor13589: Make sure we only try to close the tdbsam file in endsampwent() when we
Gerald Carter [Tue, 21 Feb 2006 14:03:15 +0000 (14:03 +0000)]
r13589: Make sure we only try to close the tdbsam file in endsampwent() when we
have a valid pwent list from a setsampwent().  Fixes a bug with the
reference count on the open tdb.

16 years agor13588: Second attempt to fix Bug #3330 - treat the string as a
Jeremy Allison [Tue, 21 Feb 2006 03:29:02 +0000 (03:29 +0000)]
r13588: Second attempt to fix Bug #3330 - treat the string as a
uint8 array and copy as such. Gunther please check (sorry
I reverted your earlier fix).
Jeremy.

16 years agor13585: Sorry Gunther, had to revert this. It's got a buffer
Jeremy Allison [Tue, 21 Feb 2006 03:08:42 +0000 (03:08 +0000)]
r13585: Sorry Gunther, had to revert this. It's got a buffer
overrun. Spoke to Jerry about the correct fix. Will add
this after.
Jeremy.

16 years agor13581: Correctly parse a non-null terminated, little-endian UCS2 string in the
Günther Deschner [Mon, 20 Feb 2006 23:22:56 +0000 (23:22 +0000)]
r13581: Correctly parse a non-null terminated, little-endian UCS2 string in the
PAC_LOGON_NAME structure. This was broken on big-endian machines
(Solaris SPARC and ppc). Fixes Bug #3330.

Jerry, this should be in 3.0.21c.

Guenther

16 years agor13579: Next try to fix the AIX build. Thanks to Björn for nagging...
Volker Lendecke [Mon, 20 Feb 2006 21:58:33 +0000 (21:58 +0000)]
r13579: Next try to fix the AIX build. Thanks to Björn for nagging...

Volker

16 years agor13576: This is the beginnings of moving the SAM_ACCOUNT data structure
Gerald Carter [Mon, 20 Feb 2006 20:09:36 +0000 (20:09 +0000)]
r13576: This is the beginnings of moving the SAM_ACCOUNT data structure
to make full use of the new talloc() interface.  Discussed with Volker
and Jeremy.

* remove the internal mem_ctx and simply use the talloc()
  structure as the context.
* replace the internal free_fn() with a talloc_destructor() function
* remove the unnecessary private nested structure
* rename SAM_ACCOUNT to 'struct samu' to indicate the current an
  upcoming changes.  Groups will most likely be replaced with a
  'struct samg' in the future.

Note that there are now passbd API changes.  And for the most
part, the wrapper functions remain the same.

While this code has been tested on tdb and ldap based Samba PDC's
as well as Samba member servers, there are probably still
some bugs.  The code also needs more testing under valgrind to
ensure it's not leaking memory.

But it's a start......

16 years agor13574: fix build; talloctort.c should not use the TALLOC_FREE() macro
Gerald Carter [Mon, 20 Feb 2006 18:55:15 +0000 (18:55 +0000)]
r13574: fix build; talloctort.c should not use the TALLOC_FREE() macro

16 years agor13573: removing wrepld from SAMBA_3_0. The Samba 4 work is more current and any...
Gerald Carter [Mon, 20 Feb 2006 18:24:30 +0000 (18:24 +0000)]
r13573: removing wrepld from SAMBA_3_0.  The Samba 4 work is more current and any integration into Samba 3 would most likely be from scratch

16 years agor13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
Gerald Carter [Mon, 20 Feb 2006 17:59:58 +0000 (17:59 +0000)]
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
macro which sets the freed pointer to NULL.

16 years agor13566: Fix EA support for AIX.
Günther Deschner [Mon, 20 Feb 2006 11:57:47 +0000 (11:57 +0000)]
r13566: Fix EA support for AIX.
Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>.

Guenther

16 years agor13564: Remove trailing backslash. Makes other than GNU make choke on this.
James Peach [Mon, 20 Feb 2006 05:45:09 +0000 (05:45 +0000)]
r13564: Remove trailing backslash. Makes other than GNU make choke on this.

16 years agor13563: Fix bug #3526 found and diagnosed by corinna@vinschen.de.
Jeremy Allison [Sun, 19 Feb 2006 21:01:21 +0000 (21:01 +0000)]
r13563: Fix bug #3526 found and diagnosed by corinna@vinschen.de.
trans2findfirst recognises two info levels *not* recognised
by trans2findnext. Add them. Needed for 3.0.21c.
Jeremy.

16 years agor13559: Fix bug #3522 reported by Sandeep Tamhankar <sandman@electric-cloud.com>.
Jeremy Allison [Sat, 18 Feb 2006 02:02:11 +0000 (02:02 +0000)]
r13559: Fix bug #3522 reported by Sandeep Tamhankar <sandman@electric-cloud.com>.
mkdir foo returns the wrong error message when file foo exists.
Jeremy.

16 years agor13557: (Hopefully) get the creds store/restore key right from
Jeremy Allison [Sat, 18 Feb 2006 01:21:18 +0000 (01:21 +0000)]
r13557: (Hopefully) get the creds store/restore key right from
the correct part of the netlogon and schannel packets.
Jeremy.

16 years agor13556: Ensure that any potential creds operation are protected
Jeremy Allison [Sat, 18 Feb 2006 00:39:31 +0000 (00:39 +0000)]
r13556: Ensure that any potential creds operation are protected
by schannel if "server schannel = true" was set.
Jeremy.

16 years agor13553: Fix all our warnings at -O6 on an x86_64 box.
Jeremy Allison [Sat, 18 Feb 2006 00:27:31 +0000 (00:27 +0000)]
r13553: Fix all our warnings at -O6 on an x86_64 box.
Jeremy.

16 years agor13552: Make sure we're using the same name to load the stored
Jeremy Allison [Fri, 17 Feb 2006 23:57:28 +0000 (23:57 +0000)]
r13552: Make sure we're using the same name to load the stored
creds under all circumstances. This may be wrong, but
at least we're now consistent.
Jeremy.

16 years agor13550: remove pdb_guest
Gerald Carter [Fri, 17 Feb 2006 23:16:13 +0000 (23:16 +0000)]
r13550: remove pdb_guest

16 years agor13548: Always use the get_remote_macinhe_name() as the key
Jeremy Allison [Fri, 17 Feb 2006 21:32:31 +0000 (21:32 +0000)]
r13548: Always use the get_remote_macinhe_name() as the key
for the creds store. This should fix the problems
Jerry reported (but I have still to run tests :-).
Jeremy.

16 years agor13547: add earlier checks to deny deleting a printer driver. The previous
Gerald Carter [Fri, 17 Feb 2006 21:07:26 +0000 (21:07 +0000)]
r13547: add earlier checks to deny deleting a printer driver.  The previous
code relied upon file permissions alone.  Now we check that
the user is a printer administrator and that the share has not been
marked read only for that user.

16 years agor13546: NSS soname merge from trunk
Gerald Carter [Fri, 17 Feb 2006 19:19:25 +0000 (19:19 +0000)]
r13546: NSS soname merge from trunk

16 years agor13545: A patch which I think it's time has come. VOlker, we can talk about
Gerald Carter [Fri, 17 Feb 2006 19:07:58 +0000 (19:07 +0000)]
r13545: A patch which I think it's time has come.  VOlker, we can talk about
this more but it gets around the primary group issue.

* don't map a SID to a name from the group mapping code if
  the map doesn't have a valid gid.  This is only an issue
  in a tdb setup
* Always allow S-1-$DOMAIN-513 to resolve (just like Windows)
* if we cannot resolve a users primary GID to a SID, then set
  it to S-1-$DOMAIN-513
* Ignore the primary group SID inside pdb_enum_group_memberships().
  Only look at the Unix group membersip.

Jeremy, this fixes a fresh install startup for smbd as far as my tests
are concerned.

16 years agor13544: -O1 janitor work :-)
Volker Lendecke [Fri, 17 Feb 2006 17:20:53 +0000 (17:20 +0000)]
r13544: -O1 janitor work :-)

16 years agor13542: Don't reuse a pointer we just freed (Doh!).
Jeremy Allison [Fri, 17 Feb 2006 15:51:25 +0000 (15:51 +0000)]
r13542: Don't reuse a pointer we just freed (Doh!).
Jeremy.

16 years agor13541: we have to wrap pen_enum_group_memberships() in become/unbecome_root()
Gerald Carter [Fri, 17 Feb 2006 13:30:34 +0000 (13:30 +0000)]
r13541: we have to wrap pen_enum_group_memberships() in become/unbecome_root()
blocks.  This fixes the problem I had with missing groups in the
net_samlogon() reply from a Samba PDC.

16 years agor13539: Add 128 bit creds processing client and server. Thanks to Andrew Bartlett's
Jeremy Allison [Fri, 17 Feb 2006 04:22:32 +0000 (04:22 +0000)]
r13539: Add 128 bit creds processing client and server. Thanks to Andrew Bartlett's
Samba4 code.
Jeremy.

16 years agor13538: Make sure we store all 16 bytes of credentials session
Jeremy Allison [Fri, 17 Feb 2006 01:26:21 +0000 (01:26 +0000)]
r13538: Make sure we store all 16 bytes of credentials session
key and delete records that are old. We will need this
for the full 16 byte session key support.
Jeremy.

16 years agor13535: Fix #2353 based on a patch by William Jojo.
Jeremy Allison [Thu, 16 Feb 2006 23:08:12 +0000 (23:08 +0000)]
r13535: Fix #2353 based on a patch by William Jojo.
Jeremy.

16 years agor13532: Add SWAT welcome _no_ doc page default page. This is required by
Lars Müller [Thu, 16 Feb 2006 21:49:22 +0000 (21:49 +0000)]
r13532: Add SWAT welcome _no_ doc page default page.  This is required by
revision 13383.

16 years agor13530: Fix from William Jojo for #1970. Make nmblookup do
Jeremy Allison [Thu, 16 Feb 2006 20:50:41 +0000 (20:50 +0000)]
r13530: Fix from William Jojo for #1970. Make nmblookup do
a node status on all IP's when requested.
Jeremy.

16 years agor13529: No functional, line break changes to let it fit into 80 chares screen
Lars Müller [Thu, 16 Feb 2006 20:22:54 +0000 (20:22 +0000)]
r13529: No functional, line break changes to let it fit into 80 chares screen
width again.

16 years agor13528: Mention the tools and commandline option names used.
Lars Müller [Thu, 16 Feb 2006 18:33:08 +0000 (18:33 +0000)]
r13528: Mention the tools and commandline option names used.

16 years agor13527: Adjust copyright header with information got from the 2.2 cvs tree.
Lars Müller [Thu, 16 Feb 2006 18:28:04 +0000 (18:28 +0000)]
r13527: Adjust copyright header with information got from the 2.2 cvs tree.

16 years agor13526: Remove superfuous extra spaces at EOL.
Lars Müller [Thu, 16 Feb 2006 17:36:35 +0000 (17:36 +0000)]
r13526: Remove superfuous extra spaces at EOL.

16 years agor13525: This is only a cleanup to have the memset() and SAFE_FREE() only one
Lars Müller [Thu, 16 Feb 2006 16:45:58 +0000 (16:45 +0000)]
r13525: This is only a cleanup to have the memset() and SAFE_FREE() only one
time in the code.

Even if we now have an additional if statement after the free I prefer
this solution in opposite to the duplicated code we had before.

16 years agor13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.
Lars Müller [Thu, 16 Feb 2006 16:22:44 +0000 (16:22 +0000)]
r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.

This fixes bug #1386.

The initial changes had been made by Carsten Höger <choeger at
open-xhange dot com> for Samba 2.2 while being at SuSE. *sigh*

To not duplicate code from smbpasswd in pdbedit stdin_new_passwd() and
get_pass() are moved from smbpasswd to utils/passwd_util.c.

16 years agor13523: Fix indent.
Günther Deschner [Thu, 16 Feb 2006 15:51:04 +0000 (15:51 +0000)]
r13523: Fix indent.

Guenther

16 years agor13522: Add SAMR_GET_USRDOM_PWINFO client-side.
Günther Deschner [Thu, 16 Feb 2006 13:18:17 +0000 (13:18 +0000)]
r13522: Add SAMR_GET_USRDOM_PWINFO client-side.

Guenther

16 years agor13521: Implement LOOKUPNAME3 and 4.
Jeremy Allison [Thu, 16 Feb 2006 01:06:21 +0000 (01:06 +0000)]
r13521: Implement LOOKUPNAME3 and 4.
Jeremy.

16 years agor13519: Fix the credentials chaining across netlogon pipe disconnects.
Jeremy Allison [Wed, 15 Feb 2006 23:15:55 +0000 (23:15 +0000)]
r13519: Fix the credentials chaining across netlogon pipe disconnects.
I mean it this time :-).
Jeremy.

16 years agor13517: Fix typo -- thanks to Karolin Seeger <ks@sernet.de>
Volker Lendecke [Wed, 15 Feb 2006 21:54:58 +0000 (21:54 +0000)]
r13517: Fix typo -- thanks to Karolin Seeger <ks@sernet.de>

16 years agor13515: Make sure to store the correct domain name in the server affinity cache.
Gerald Carter [Wed, 15 Feb 2006 18:45:25 +0000 (18:45 +0000)]
r13515: Make sure to store the correct domain name in the server affinity cache.

16 years agor13514: fix small glitch in the update procedure from /var/cache/samba mishap
Gerald Carter [Wed, 15 Feb 2006 18:41:35 +0000 (18:41 +0000)]
r13514: fix small glitch in the update procedure from /var/cache/samba mishap

16 years agor13513: Changing defaults:
Gerald Carter [Wed, 15 Feb 2006 18:27:06 +0000 (18:27 +0000)]
r13513: Changing defaults:

  * enable privileges = yes
  * enable asu support = no

Remove unused function after the tdbsam rewrite.

16 years agor13512: Rewrite tdbsam code to use a reference count based open/close
Gerald Carter [Wed, 15 Feb 2006 18:26:06 +0000 (18:26 +0000)]
r13512: Rewrite tdbsam code to use a reference count based open/close
on the tdb file.  This allow recusive calls to succeed
without complaining about failed opens since a tdb can
only be opened once per process.  We probably still need to backport
the transaction support from Samba 4 here though.

16 years agor13511: Fix bug in the samr dispinfo enumeration code.
Gerald Carter [Wed, 15 Feb 2006 18:24:16 +0000 (18:24 +0000)]
r13511: Fix bug in the samr dispinfo enumeration code.
Make sure to associate the DOMAIN dispinfo cache
with a User/Group SAMR handle (not the SID of the user or group).
Ensure that enumeration after deleting a user works.

16 years agor13510: plug memory leak in WINS server code.
Gerald Carter [Wed, 15 Feb 2006 18:22:00 +0000 (18:22 +0000)]
r13510: plug memory leak in WINS server code.

16 years agor13509: remove unnecessary sql flags
Gerald Carter [Wed, 15 Feb 2006 18:21:13 +0000 (18:21 +0000)]
r13509: remove unnecessary sql flags

16 years agor13502: Fix error messages for usershares when smbd is not
Jeremy Allison [Wed, 15 Feb 2006 02:07:14 +0000 (02:07 +0000)]
r13502: Fix error messages for usershares when smbd is not
running. More generic error return cleanup in libsmb/
needs doing (everything returning NTSTATUS not BOOL).
Jeremy

16 years agor13500: Fix ordering of FD_* arguments.
James Peach [Wed, 15 Feb 2006 01:05:06 +0000 (01:05 +0000)]
r13500: Fix ordering of FD_* arguments.

16 years agor13498: Fix the kernel oplocks code for IRIX. Should fix #3515.
Jeremy Allison [Tue, 14 Feb 2006 23:00:39 +0000 (23:00 +0000)]
r13498: Fix the kernel oplocks code for IRIX. Should fix #3515.
Jeremy.

16 years agor13497: Fix #3508 from jason@ncac.gwu.edu
Jeremy Allison [Tue, 14 Feb 2006 20:26:38 +0000 (20:26 +0000)]
r13497: Fix #3508 from jason@ncac.gwu.edu
Jeremy.

16 years agor13495: Derell, I'm removing that double setup_logging(), just a typo.
Günther Deschner [Tue, 14 Feb 2006 12:35:56 +0000 (12:35 +0000)]
r13495: Derell, I'm removing that double setup_logging(), just a typo.

Guenther

16 years agor13494: Merge the stuff I've done in head the last days.
Volker Lendecke [Mon, 13 Feb 2006 17:08:25 +0000 (17:08 +0000)]
r13494: Merge the stuff I've done in head the last days.

Volker

16 years agor13493: module_name and module_location are the same string. Fix a valgrind
Volker Lendecke [Mon, 13 Feb 2006 16:48:24 +0000 (16:48 +0000)]
r13493: module_name and module_location are the same string. Fix a valgrind
error.

Volker

16 years agor13492: As noone objected on the mailing-list:
Günther Deschner [Mon, 13 Feb 2006 15:12:22 +0000 (15:12 +0000)]
r13492: As noone objected on the mailing-list:

Fix parse_domain_user to fail when splitting a full name like "DOM\user"
when "winbind use default domain" and "winbind trusted domains only" are
not enabled.

This allows pam_winbind to behave correctly when more modules are
stacked in the "account" or "password" PAM facility. pam_winbindd calls
WINBINDD_GETPWNAM which can decide whether or not a user is a winbind
user and return correct PAM error codes.

Guenther

16 years agor13491: Fix bug # 3498 from jason@ncac.gwu.edu. Unsigned comparison
Jeremy Allison [Mon, 13 Feb 2006 13:36:22 +0000 (13:36 +0000)]
r13491: Fix bug # 3498 from jason@ncac.gwu.edu. Unsigned comparison
with < 0.
Jeremy.

16 years agor13489: Fix #3496 from jason@ncac.gwu.edu. Variable set but never used.
Jeremy Allison [Mon, 13 Feb 2006 13:25:36 +0000 (13:25 +0000)]
r13489: Fix #3496 from jason@ncac.gwu.edu. Variable set but never used.
Jeremy.

16 years agor13486: Two more -- fix bug 3503
Volker Lendecke [Mon, 13 Feb 2006 04:58:13 +0000 (04:58 +0000)]
r13486: Two more -- fix bug 3503

16 years agor13484: Add missing semi-colon.
James Peach [Mon, 13 Feb 2006 04:29:42 +0000 (04:29 +0000)]
r13484: Add missing semi-colon.

16 years agor13482: Push the FAM notification file descriptor into the select
James Peach [Mon, 13 Feb 2006 04:07:15 +0000 (04:07 +0000)]
r13482: Push the FAM notification file descriptor into the select
set to avoid unnecessary polling.

16 years agor13477: Fix code before declaration
Volker Lendecke [Sun, 12 Feb 2006 17:49:04 +0000 (17:49 +0000)]
r13477: Fix code before declaration

16 years agor13475: Fix erroneous initialization caused by my renaming types.
Jeremy Allison [Sun, 12 Feb 2006 16:45:50 +0000 (16:45 +0000)]
r13475: Fix erroneous initialization caused by my renaming types.
Jeremy.

16 years agor13473: Back port r13470, r13471, r13472 from Samba4. Thanks Andrew:
Jeremy Allison [Sun, 12 Feb 2006 16:44:30 +0000 (16:44 +0000)]
r13473: Back port r13470, r13471, r13472 from Samba4. Thanks Andrew:
-----------------------------------
Thanks to a report from VL:

We were causing mayhem by weakening the keys at the wrong point in time.

I think this is the correct place to do it.  The session key for SMB
signing, and the 'smb session key' (used for encrypting password sets)
is never weakened.

The session key used for bulk data encryption/signing is weakened.

This also makes more sense, when we look at the NTLM2 code.

Andrew Bartlett
-----------------------------------
With more 'try all options' testing, I found this 'simple' but in the
NTLM2 signing code.

Andrew Bartlett
-----------------------------------
After Volker's advise, try every combination of parameters.  This
isn't every parameter on NTLMSSP, but it is most of the important
ones.

This showed up that we had the '128bit && LM_KEY' case messed up.
This isn't supported, so we must look instead at the 56 bit flag.

Andrew Bartlett
-----------------------------------

We should now try retesting with NT4. This should be standalone
enough to port into a SAMBA_3_0_RELEASE branch fix.

Jeremy.

16 years agor13460: by popular demand....
Gerald Carter [Sat, 11 Feb 2006 21:27:08 +0000 (21:27 +0000)]
r13460: by popular demand....

* remove pdb_context data structure
* set default group for DOMAIN_RID_GUEST user as RID 513 (just
  like Windows)
* Allow RID 513 to resolve to always resolve to a name
* Remove auto mapping of guest account primary group given the
  previous 2 changes

16 years agor13458: Add parsing functions - but stub internals for lookupnames3 and 4.
Jeremy Allison [Sat, 11 Feb 2006 05:36:27 +0000 (05:36 +0000)]
r13458: Add parsing functions - but stub internals for lookupnames3 and 4.
Jeremy.

16 years agor13456: Add lsa_lookup_names2.
Jeremy Allison [Sat, 11 Feb 2006 04:25:06 +0000 (04:25 +0000)]
r13456: Add lsa_lookup_names2.
Jeremy.

16 years agor13455: Prepare to add lookupnames2.
Jeremy Allison [Sat, 11 Feb 2006 02:46:41 +0000 (02:46 +0000)]
r13455: Prepare to add lookupnames2.
Jeremy.

16 years agor13451: Fix build warning.
Günther Deschner [Sat, 11 Feb 2006 00:08:57 +0000 (00:08 +0000)]
r13451: Fix build warning.

Guenther

16 years agor13449: Ensure we don't crash if no dc struct on pipe.
Jeremy Allison [Sat, 11 Feb 2006 00:04:39 +0000 (00:04 +0000)]
r13449: Ensure we don't crash if no dc struct on pipe.
Jeremy.

16 years agor13448: Fix the build (again).
Günther Deschner [Fri, 10 Feb 2006 23:54:45 +0000 (23:54 +0000)]
r13448: Fix the build (again).

Guenther

16 years agor13447: Added LSA_LOOKUPSIDS2 and LSA_LOOKUPSIDS3.
Jeremy Allison [Fri, 10 Feb 2006 23:52:53 +0000 (23:52 +0000)]
r13447: Added LSA_LOOKUPSIDS2 and LSA_LOOKUPSIDS3.
Jeremy.

16 years agor13445: We already made the decision whether to include the dominfo and
Günther Deschner [Fri, 10 Feb 2006 23:49:52 +0000 (23:49 +0000)]
r13445: We already made the decision whether to include the dominfo and
changereject.

Guenther

16 years agor13444: Add REJECT_REASON_OTHER for samr_chgpasswd_user3
Günther Deschner [Fri, 10 Feb 2006 23:41:41 +0000 (23:41 +0000)]
r13444: Add REJECT_REASON_OTHER for samr_chgpasswd_user3

Guenther

16 years agor13443: Fix the build.
Günther Deschner [Fri, 10 Feb 2006 23:23:10 +0000 (23:23 +0000)]
r13443: Fix the build.

Guenther

16 years agor13442: Implement samr_chgpasswd_user3 server-side.
Günther Deschner [Fri, 10 Feb 2006 23:09:00 +0000 (23:09 +0000)]
r13442: Implement samr_chgpasswd_user3 server-side.

Guenther

16 years agor13439: Fix NET_SAM_LOGON_EX.
Jeremy Allison [Fri, 10 Feb 2006 19:16:50 +0000 (19:16 +0000)]
r13439: Fix NET_SAM_LOGON_EX.
Jeremy.

16 years agor13436: Add in NET_SAM_LOGON_EX. Still needs testing.
Jeremy Allison [Fri, 10 Feb 2006 18:51:18 +0000 (18:51 +0000)]
r13436: Add in NET_SAM_LOGON_EX. Still needs testing.
Jeremy

16 years agor13434: Add stub for NET_SAM_LOGON_EX.
Jeremy Allison [Fri, 10 Feb 2006 18:05:55 +0000 (18:05 +0000)]
r13434: Add stub for NET_SAM_LOGON_EX.
Jeremy.

16 years agor13433: Get ready to implement NET_SAM_LOGON_EX.
Jeremy Allison [Fri, 10 Feb 2006 17:55:44 +0000 (17:55 +0000)]
r13433: Get ready to implement NET_SAM_LOGON_EX.
Jeremy.

16 years agor13427: Fix ctime -> st_ctime.
Jeremy Allison [Fri, 10 Feb 2006 05:13:37 +0000 (05:13 +0000)]
r13427: Fix ctime -> st_ctime.
Jeremy.

16 years agor13425: Revert all the "clever" compiler options checks. They broke
James Peach [Fri, 10 Feb 2006 02:46:45 +0000 (02:46 +0000)]
r13425: Revert all the "clever" compiler options checks. They broke
the build on Solaris, AIX and S390. The fundamental problem is
that macros like AX_CFLAGS_IRIX_OPTION can spuriously succeed.

16 years agor13424: Don't attempt to use cc -O2. This breaks the solaris build.
James Peach [Fri, 10 Feb 2006 02:26:46 +0000 (02:26 +0000)]
r13424: Don't attempt to use cc -O2. This breaks the solaris build.

16 years agor13423: Write wrapper functions (and configure tests) so we can
Jeremy Allison [Fri, 10 Feb 2006 01:43:33 +0000 (01:43 +0000)]
r13423: Write wrapper functions (and configure tests) so we can
always assume we can get a struct timespec out of a stat
struct. This will allow us to portably move to nsec timestamps
on files and directories in the file server code in future.
Jeremy.

16 years agor13420: Support profile-guided optimisation in the build system. This is
James Peach [Thu, 9 Feb 2006 23:55:01 +0000 (23:55 +0000)]
r13420: Support profile-guided optimisation in the build system. This is
implemented for gcc 3.x, gcc 4.x and MIPSPro compilers.

16 years agor13418: Formalise support for checking compiler options.
James Peach [Thu, 9 Feb 2006 23:04:38 +0000 (23:04 +0000)]
r13418: Formalise support for checking compiler options.

16 years agor13417: Add .2 to the SONAME as version suffix if we link the nss modules on
Lars Müller [Thu, 9 Feb 2006 21:26:32 +0000 (21:26 +0000)]
r13417: Add .2 to the SONAME as version suffix if we link the nss modules on
linux.

Heads up: This might be required on other OS using glibc too.

16 years agor13416: Remove superfluous -lc while linking libnss_wins.so and pam_winbind.so.
Lars Müller [Thu, 9 Feb 2006 21:21:34 +0000 (21:21 +0000)]
r13416: Remove superfluous -lc while linking libnss_wins.so and pam_winbind.so.

16 years agor13412: Don't use arbitrary uint32 size for uid and gid storage. Use
Jeremy Allison [Thu, 9 Feb 2006 18:18:51 +0000 (18:18 +0000)]
r13412: Don't use arbitrary uint32 size for uid and gid storage. Use
correct system size. Fixed a bug that was accidentally introduced
by use of uint32 - uid was stored twice, not uid and gid.
Jeremy.

16 years agor13411: Sync with the latest fix I've made to package 3.0.21b
Simo Sorce [Thu, 9 Feb 2006 14:06:29 +0000 (14:06 +0000)]
r13411: Sync with the latest fix I've made to package 3.0.21b

16 years agor13410: Dump a netbootGUID as a GUID.
Günther Deschner [Thu, 9 Feb 2006 10:24:27 +0000 (10:24 +0000)]
r13410: Dump a netbootGUID as a GUID.

Guenther