1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

22622 Commits

Author SHA1 Message Date
Günther Deschner
e9a7512a9f r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
555ae4a19b r23625: Reformating WBFLAGs, just a cosmetic change.
Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
837b0a14c4 r23624: Merge dos error code from samba4 (returned from dfs_Enum against w2k3 as soon
as a one DFS_VOLUME_FLAVOR_AD_BLOB dfsroot exists).

Guenther
2007-10-10 12:23:37 -05:00
Günther Deschner
bffe33dd26 r23623: Fix rpcclient and rpc_server with new DFS idl.
Guenther
2007-10-10 12:23:37 -05:00
Günther Deschner
71b3259962 r23622: regenerate dfs rpc gen_ndr.
Guenther
2007-10-10 12:23:37 -05:00
Günther Deschner
bb43d56e92 r23621: Merge samba4 dfs rpc idl.
Guenther
2007-10-10 12:23:37 -05:00
Jeremy Allison
fc6899a550 r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chown
return to correctly return NT_STATUS_INVALID_OWNER if it
should be disallowed. Matches better what W2K3R3 does.

NFSv4 ACL module owners, please examine these changes.

Jeremy.
2007-10-10 12:23:37 -05:00
Gerald Carter
05520d6b0a r23619: Fix compile warning in fill_grent_mem() caused by mismatched counter size. 2007-10-10 12:23:37 -05:00
Jim McDonough
afabd68b6a r23616: Fix bugzilla #4719: must change password is not set from usrmgr.exe.
This was only affecting the newer versions of usrmgr.exe, because they
use a user_info_25 struct.  The password is getting set separately
inside that code, so the password last set time was getting set from the
password change logic.

We also were not parsing a number of fields (like logon hours) from the
user_info_25.  That should also be fixed.
2007-10-10 12:23:36 -05:00
Volker Lendecke
56a32f217a r23612: Revert 'net idmap dump' to the 3.0.24 behaviour. 2007-10-10 12:23:36 -05:00
James Peach
8ee76e4384 r23611: Fix typo in error message. 2007-10-10 12:23:36 -05:00
Michael Adam
062d8c6129 r23610: Move some winbindd_cache specific flags and actions
back to winbindd_cache.c. The generic mechanism
should open the cache tdb readonly and with default
flags.

Michael
2007-10-10 12:23:36 -05:00
Günther Deschner
eb1ec508ac r23609: Removing more redundant codepaths out of smb_krb5_renew_ticket().
Thanks Volker for the pointer hint :)

Guenther
2007-10-10 12:23:36 -05:00
Günther Deschner
90c810674d r23608: Just inline comment cosmetics.
Guenther
2007-10-10 12:23:36 -05:00
Günther Deschner
11b390309b r23607: Add legacy support for Services for Unix (SFU) 2.0.
Guenther
2007-10-10 12:23:35 -05:00
Kai Blin
6566e24c13 r23606: Merge Samba4 mkversion.sh to Samba3. 2007-10-10 12:23:35 -05:00
Gerald Carter
5e0f8b114b r23601: BUG 4579: Don't mark the SAM domain on a Samba DC as an internal domain or else all network connections from the local winbindd will fail 2007-10-10 12:23:35 -05:00
Michael Adam
527edfa0cb r23600: First step in abstracting the winbindd cache validation
code into a generic tdb validation code.
In lib/util_tdb.c for a start.

Michael
2007-10-10 12:23:35 -05:00
Gerald Carter
bc422ab5f1 r23599: Add new version of indent script copied from the the Linux
kernel tree.
2007-10-10 12:23:35 -05:00
Gerald Carter
58a68daef0 r23598: Add script for running indent and remove .indent.pro file 2007-10-10 12:23:35 -05:00
Gerald Carter
3fc0bd3e54 r23597: add a few utility scripts for code formatting 2007-10-10 12:23:34 -05:00
Volker Lendecke
4896b4ee55 r23596: Add notes about smbfs/cifs to usage() in smb[u]mount 2007-10-10 12:23:34 -05:00
Volker Lendecke
669eff902a r23595: One pstring a day... 2007-10-10 12:23:34 -05:00
Volker Lendecke
6beaa87da9 r23594: Fix parsing of local pids if cluster support is compiled in but no
cluster is used
2007-10-10 12:23:34 -05:00
Michael Adam
ae7e3c9708 r23593: Mention "net conf" in top level net usage.
Michael
2007-10-10 12:23:34 -05:00
Michael Adam
bbbfd7f41a r23592: Change a debuglevel to not clutter output when calling
net as a non-root user, e.g.

Michael
2007-10-10 12:23:34 -05:00
Jeremy Allison
ae239fec6f r23591: Fix bug #4725. Don't crash when no eventlogs specified. Needs
merging for 3.0.25b.
Jeremy.
2007-10-10 12:23:33 -05:00
Jeremy Allison
d7b39e4534 r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.
Jeremy.
2007-10-10 12:23:33 -05:00
Jeremy Allison
6de0970704 r23589: Ensure we will always release any timeout handler
on fsp close or removal of oplock. Mulitple removals
are safe.
Jeremy.
2007-10-10 12:23:33 -05:00
Günther Deschner
277e07c855 r23588: Some more cleanups and error checks in the krb5 renew function.
Guenther
2007-10-10 12:23:33 -05:00
Günther Deschner
0b9acc8610 r23587: Cleanup redundant code in the krb5 renew function.
Guenther
2007-10-10 12:23:33 -05:00
Günther Deschner
1e4a7af993 r23586: Fix heimdal path in the krb5 renew routine when we need to compose the tgt
string ourselves.

Guenther
2007-10-10 12:23:33 -05:00
Michael Adam
6d8973762e r23585: Add a "drop" function to "net conf" that clears the
whole configuration stored in registry.

Michael
2007-10-10 12:23:32 -05:00
Michael Adam
fb4ade3b4d r23584: Use a while loop instead of a for loop without increment... :-)
Michael
2007-10-10 12:23:32 -05:00
Michael Adam
41c3ff6e27 r23583: Add a utility function to recursively delete a Registry
key with all its subkeys. (reg_deletekey will refuse to
delete a key with subkeys with WERR_ACCESS_DENIED).

Michael
2007-10-10 12:23:32 -05:00
Günther Deschner
aa3511a5b5 r23582: Fix event based krb5 ticket refreshing in winbindd.
We were incorrectly using the renew_till timestamp instead of the renewed
ticket's endtime to calculate the next refreshing date.

Guenther
2007-10-10 12:23:32 -05:00
Michael Adam
aa702e53a7 r23581: Move regkey_open_onelevel from reg_frontend to reg_api,
where it actually belongs, and make it static.

Michael
2007-10-10 12:23:32 -05:00
Michael Adam
56f82485ec r23579: Up to now, the "allparameters" argument to lp_next_parameter was
not effective for the global section (snum < 0). This checkin
makes it effective for the global section, too.

This does not produce changes in the results of the present calls of
lp_next_parameter: Beside the new use in utils/net_conf.c (which is
hereby fixed), the only calls of lp_next_parameter are in web/swat.c,
where it is effectively always called with allparameters == 1.

Michael
2007-10-10 12:23:32 -05:00
Michael Adam
0c9cb69b45 r23578: When calling DeleteKey for a key that has subkey(s), Windows
returns WERR_ACCESS_DENIED. This adapts reg_deletekey to behave
the same way.

Michael
2007-10-10 12:23:32 -05:00
Jeremy Allison
e076dc1646 r23577: Fix winbindd (sorry). Ensure I set the new child_pid
variable at the correct point just before the write
call is scheduled.
Jeremy.
2007-10-10 12:23:31 -05:00
James Peach
8f6cf4b8c2 r23576: Fix some confusion between HAVE_BROKEN_GETGROUPS and USE_BSD_SETGROUPS. 2007-10-10 12:23:31 -05:00
Michael Adam
235a5ae4cd r23575: Fix a segfault when lp_load is called before init_registry.
Michael
2007-10-10 12:23:31 -05:00
Jeremy Allison
f075620d20 r23574: Remove double-null check (I hate people bitching at me
on the lists :-).
Jeremy.
2007-10-10 12:23:31 -05:00
Jeremy Allison
c366df2fe7 r23573: Cope with terminating winbindd children on read/write/timeout
communication failures. Set timeout to 5 mins. Ensure that
we're terminating the correct child (the one we thought we
were talking to). Still setting up my testing environment
but I have high hopes for this being the fix for the 3.0.25b
showstopper.
Jeremy.
2007-10-10 12:23:31 -05:00
Jeremy Allison
0f10d2ed31 r23572: Ensure we obey Unicode consortium restrictions. Code
based on patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>.
Jeremy.
2007-10-10 12:23:31 -05:00
Simo Sorce
d2846e6b90 r23571: Fix, parsing of multi byte share names.
Thanks to SATOH Fumiyasu
Fixes 4720

Jerry,
this is a showstopper for 3.0.25b, please grab it into
SAMBA_3_0_RELEASE before cuting the tarballs.

Simo.
2007-10-10 12:23:30 -05:00
Günther Deschner
27fdf995d1 r23569: Also dump fd_event in dump_event_list().
Guenther
2007-10-10 12:23:30 -05:00
Günther Deschner
7514a370ca r23568: Remove last traces of Heimdal KCM support (and don't misuse wbinfo where a
torture test would be much more appropriate). Fix #4408.

Guenther
2007-10-10 12:23:30 -05:00
Volker Lendecke
f2050f5a3a r23567: Fix bug 4721 2007-10-10 12:23:30 -05:00
Michael Adam
4b5d9b2ba7 r23566: Fix the sys_bsd_setgroups function. The actual workaround was inactive.
Michael
2007-10-10 12:23:30 -05:00