1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

17721 Commits

Author SHA1 Message Date
Volker Lendecke
c53e2e5475 r19066: Fix a memleak 2007-10-10 12:15:07 -05:00
Volker Lendecke
45628f71cf r19065: No functional change, just a trivial simplification 2007-10-10 12:15:07 -05:00
Volker Lendecke
27b063078d r19064: This code block is already #ifdef'ed by WITH_ADS which should imply
HAVE_KRB5. If WITH_ADS does not imply KRB5, we have to fix that.

Lets see what the build farm thinks about this.

Volker
2007-10-10 12:15:07 -05:00
Stefan Metzmacher
9cb182507c r19062: try to fix the valgrind noise in the build-farm
metze
2007-10-10 12:15:07 -05:00
Volker Lendecke
f8c4578f91 r19060: Attempt to fix the valgrind suppressions for "fort" 2007-10-10 12:15:06 -05:00
Jim McDonough
21abbeaee9 r19058: Implement "user cannot change password", and complete "user must change
password at next logon" code.  The "password last set time" of zero now
means "user must change password", because that's how windows seems to
use it.  The "can change" and "must change" times are now calculated
based on the "last set" time and policies.

We use the "can change" field now to indicate that a user cannot change
a password by putting MAX_TIME_T in it (so long as "last set" time isn't
zero).  Based on this, we set the password-can-change bit in the
faked secdesc.
2007-10-10 12:15:06 -05:00
Jeremy Allison
ec526e1b88 r19054: Callers of gencache may not have the rights to
open read/write. Allow them to fallback to read-only.
Jeremy
2007-10-10 12:15:06 -05:00
Volker Lendecke
3bf313240c r19046: It does not do much yet, but activate RPC-SAMBA3-SPOOLSS 2007-10-10 12:15:06 -05:00
Volker Lendecke
23549e6c08 r19043: There's no point in #ifdef'ing the detection whether we were offered KRB5 in
SPNEGO, as long as we don't make use of it without krb libs. Makes the code a
bit simpler.

Volker
2007-10-10 12:15:06 -05:00
Volker Lendecke
b601fc42cb r19042: Fix the non-krb5 build. This needs sooo severe cleanup ... :-)
Volker
2007-10-10 12:15:05 -05:00
Volker Lendecke
af85d8ec02 r19041: Make us connect to Vista RC1. Apparently metze had done the same patch some
weeks ago.

We have some work before us, when in AD mode Vista sends
"not_defined_in_RFC4178@please_ignore" as the principal.....

Volker
2007-10-10 12:15:05 -05:00
Stefan Metzmacher
e8dd73f796 r19040: use more portable shellscripting, hopefully give better results on Tru64
metze
2007-10-10 12:15:05 -05:00
Günther Deschner
359315021d r19039: Do not segfault in "net ads printer info" when a requested printserver
does not exist.

Guenther
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
9db9eb199f r19038: build libreplace testsuite as replacetort
and run it with make test

metze
2007-10-10 12:15:04 -05:00
Volker Lendecke
1c18ebe675 r19037: Fix a segfault 2007-10-10 12:15:04 -05:00
Stefan Metzmacher
281677084e r19034: merge from samba4:
prepare libreplace testsuite for usage in smbtorture

metze
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
fdad2ce734 r19031: merge from samba4:
add test that opendir() on files sets errno = ENOTDIR

metze
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
61aa60c60f r19030: merge missing stuff from samba4:
- strnlen() and strndup() are broken on AIX
- we need some extra CFLAGS on HPUX 11.11

metze
2007-10-10 12:15:03 -05:00
Volker Lendecke
d7248b6cfa r19028: Implement getprinterinfo level 6 (only the status) and get rid of snum in the
getprinter calls. Survives the RPC-SAMBA3-SPOOLSS test which I will activate
when the Samba4 build farm has picked it up.

Volker
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
5d16aa61c6 r19026: we don't need this twice
metze
2007-10-10 12:15:03 -05:00
Volker Lendecke
3f59c8ef0c r19016: As per Samba4 coding standards, turn tabs into spaces 2007-10-10 12:15:02 -05:00
Stefan Metzmacher
685304e574 r19015: we don't need talloc_* in proto.h
metze
2007-10-10 12:15:02 -05:00
Volker Lendecke
4a5d11e194 r19013: Fix some 64-bit warnings.
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is
being used uninitialized which I don't really know how to fix.

Any hints?

Volker
2007-10-10 12:15:02 -05:00
Volker Lendecke
46cae04fbe r19012: Fix an uninitialized variable 2007-10-10 12:15:01 -05:00
Volker Lendecke
448d7c0c4b r19011: Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

Volker
2007-10-10 12:14:57 -05:00
Volker Lendecke
3790d00a78 r19010: Fix bug 4137 2007-10-10 12:14:57 -05:00
Volker Lendecke
adfc82f0e6 r19008: Fix a segfault 2007-10-10 12:14:57 -05:00
Gerald Carter
d0658139a3 r19007: reformat service control manager IDL 2007-10-10 12:14:56 -05:00
Gerald Carter
c3d1c3ca4d r19006: Final cleanups for the winreg libmsrpc functions.
Needs thorough testing but the code has been adapted
to the new rpccli_winreg_XX() API.
2007-10-10 12:14:56 -05:00
Günther Deschner
d086babf9d r19003: Finally activate "net ads gpo".
For those who are interested, try

        net ads gpo refresh mybox$

to get your machine related GPOs downloaded to /var/lib/samba/gpo_cache.
Detailed information about GPOs is currently only printed when setting a
higher debuglevel then 0.

Guenther
2007-10-10 12:14:55 -05:00
Günther Deschner
02b75ff2a8 r19002: Add a very simple synchronisation function to download the full GPO.
Guenther
2007-10-10 12:14:55 -05:00
Volker Lendecke
048127f9dd r19001: Fix comment 2007-10-10 12:14:55 -05:00
Volker Lendecke
b2fbf5ac0c r19000: Merge the max tcon check from 3_0_23. Thanks to James Peach that this was not
done in the 3_0 tree.

Volker
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
8899bc45f9 r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
f5b0924f97 r18996: merge from samba4:
- fix bug 4078
- talloc_free(talloc_autofree_context()); should not result
  in a SIGABORT on exit
- add a test for this, but this test can also pass in the standalone build
  and samba3, as samba4 uses talloc_autofree_context()

metze
2007-10-10 12:14:54 -05:00
Stefan Metzmacher
372471cbad r18993: merge from samba4:
prepare SOCKET_WRAPPER_PCAP_FILE support

metze
2007-10-10 12:14:54 -05:00
Volker Lendecke
00f09d851c r18991: Fix bug 4133 -- Thanks to Olaf Flebbe 2007-10-10 12:14:54 -05:00
Günther Deschner
e0e44bfadb r18988: Check and refresh expired GPOs.
Guenther
2007-10-10 12:14:54 -05:00
Günther Deschner
581152f819 r18987: Add some usage prints for "net ads gpo".
Guenther
2007-10-10 12:14:54 -05:00
Günther Deschner
d2db3b6b46 r18986: Add some more GPO download helper functions.
Guenther
2007-10-10 12:14:53 -05:00
Günther Deschner
46db28de48 r18985: Add parse_gpt_ini() to parse GPT.INI files using iniparser.
Guenther
2007-10-10 12:14:53 -05:00
Günther Deschner
a597ef83c4 r18984: Removing ads_gpo_get_sysvol_gpt_version() which was just doing stupid
things.

Guenther
2007-10-10 12:14:53 -05:00
Günther Deschner
2c21ee684c r18983: Add some comments for the LDAP based GPO routines.
Guenther
2007-10-10 12:14:53 -05:00
Günther Deschner
1308a84271 r18982: Move the gpo related functions to "libgpo".
Guenther
2007-10-10 12:14:53 -05:00
Gerald Carter
5d843612a1 r18981: * cleanup some vestiges of old cli_reg.c code and mark some TODO
items in cac_winreg.c
* Get 'net rpc registry enumerate' to list values again
* Fix winreg.idl QueryInfoKey().  The max_subkeysize is the
  max_classlen (we previously had this correct in Samba3")
* fix valgrind error about uninitialized memory and use-before-set
  on size value inmemset() call
* Fix key enumeration in 'net rpc registry enumerate'
* regenerate gen_dir files based on local pidl patches

Please note that the generated ndr files are from my local
copy of pidl.  If you need to regenerate, please apply the
patch that I posted to the samba-technical list earlier today.
2007-10-10 12:14:53 -05:00
Jeremy Allison
51f0e60cc3 r18980: Be a little more intelligent about "startup_time",
move into the domain struct. Allow message to go online
to set this state and cope with removing it.
Jeremy.
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
4948b676a8 r18976: follow the advice from "William Jojo" <jojowil@hvcc.edu>
and pass -bbigtoc also to the linker when building shared libs

metze
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
3367e306e6 r18973: we should always set LDFLAGS and DYNEXP depending on the host_os
but disable building of shared libs and modules whe enable_shared != yes

Also make it easier to track down the problem with lost LDFLAGS values
on AIX.

metze
2007-10-10 12:14:52 -05:00
Günther Deschner
31f21282cd r18969: Fix typo.
Guenther
2007-10-10 12:14:52 -05:00
Andrew Tridgell
9df1e7d989 r18966: this bug affects Samba3 too. I'm actually surprised nobody has
reported that Samba3 on Solaris Sparc with the native compiler can't
join Windows domains. If it worked we were just lucky. I suspect it
just didn't work.
2007-10-10 12:14:52 -05:00