1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

22538 Commits

Author SHA1 Message Date
Michael Adam
91770e153d r23652: Use the recursive delete function instead of the original one
when deleting a share. Just to be sure...

Michael
2007-10-10 12:23:41 -05:00
Günther Deschner
accb40446a r23651: Always, always, always compile before commit...
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
b9d7a2962a r23650: Fix remaining callers of krb5_kt_default().
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
19020d19dc r23649: Fix the build (by moving smb_krb5_open_keytab() to clikrb5.c).
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
a2befee3f2 r23648: Allow to list a custom krb5 keytab file with:
net ads keytab list /path/to/krb5.keytab

Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
d22c0d291e r23647: Use smb_krb5_open_keytab() in smbd as well.
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
7ca002f4cc r23646: Generalize our internal keytab handling to support a broader range of default
keytabnames (like "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab"). This also
fixes keytab support with Heimdal (which supports the WRFILE pragma as well
now).

Guenther
2007-10-10 12:23:40 -05:00
Gerald Carter
c955151bb3 r23645: add examples and try to answer some common questions in the coding style guide 2007-10-10 12:23:40 -05:00
Michael Adam
00be68a841 r23641: Put check for forbidden values in smbconf into a function.
(This will be used in a next step to prevent storing these
values in reg_smbconf.c.)

Michael
2007-10-10 12:23:40 -05:00
Jeremy Allison
1b73bf79f4 r23640: When we support the SeSecurity privilage, this is where
we'll check it.
Jeremy.
2007-10-10 12:23:40 -05:00
Michael Adam
d4accdbb52 r23639: Eliminate trailing whitespaces in the new tdb_validate functions...
Michael
2007-10-10 12:23:39 -05:00
Gerald Carter
ff1c2fdc08 r23636: Adding coding style guide for Samba 3.0 branches (no differences from Tridge's prog_guide.txt so we should have a similar style throughout the project) 2007-10-10 12:23:39 -05:00
Gerald Carter
21dc46a2ba r23633: Fix a couple of crash bugs pointed out by Volker caused by an old
change from a pstring to a char* and still trying use pstrcpy().
2007-10-10 12:23:39 -05:00
Gerald Carter
04ae193ec4 r23632: Correctly return the new_group list pointer from expand_groups
or else getgrnam() always  acts like 'winbind expand groups = 1'
2007-10-10 12:23:38 -05:00
Günther Deschner
e744efa1ee r23630: Found out what LSA_LOOKUP_NAMES level 5 means:
only query transitive forest trusts.

Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
dee99e4045 r23628: Add LSA lookupnames_level to rpcclient.
Guenther
2007-10-10 12:23:38 -05:00
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