1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

370 Commits

Author SHA1 Message Date
Tim Potter
cd68afe312 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Jim McDonough
de260eadf9 Enable net ads commands to use existing tickets if the user doesn't specify a username on the commandline. Also don't continue past the kinit if a password is entered and fails because existing tickets would be used, which may not be desired if the username was specified.
(This used to be commit 7e5d7dfa834c0161460bde8a2f0d4824c0a0d1fe)
2002-01-25 22:07:46 +00:00
Andrew Tridgell
9f85d4ad5f much better support for organisational units in ADS join
(This used to be commit 7e876057d5e392f85e6fdb0f2c233b0fe76df688)
2002-01-16 02:22:30 +00:00
Andrew Tridgell
91ee73e300 make sure we store the domain sid when joining a ADS domain
(This used to be commit dfbe442c668480d88cb8b385c6b89f8e198ca500)
2001-12-20 23:35:53 +00:00
Andrew Tridgell
6c7e9dfb29 net ads password and net ads chostpass commands from Remus Koos
(This used to be commit 412e79c448bf02e3097b5c14a36fe0172d8d2895)
2001-12-20 03:54:52 +00:00
Andrew Tridgell
1f31ace6cb much better ADS error handling system
(This used to be commit 05a90a28843e0d69183a49a76617c5f32817df16)
2001-12-19 12:21:12 +00:00
Andrew Tridgell
a062e58d9e - added initial support for trusted domains in winbindd_ads
- gss error code patch from a.bokovoy@sam-solutions.net
- better sid dumping in ads_dump
- fixed help in wbinfo
(This used to be commit ee1c3e1f044b4ef62169ad74c5cac40eef81bfda)
2001-12-19 08:44:23 +00:00
Andrew Tridgell
48c45486e3 allow selection of the organisational unit when joining a realm
(This used to be commit f1231c2b54cac9d4fda7fa9d45fd329f1fd7b779)
2001-12-17 11:16:22 +00:00
Andrew Tridgell
1fb2f3649d added "net ads info" to fetch basic ADS info without any auth
(This used to be commit b107ecef7097e4b3b870f51fa6628b870703b4de)
2001-12-13 13:19:20 +00:00
Andrew Tridgell
5d378a280f added internal sasl/gssapi code. This means we are no longer dependent on cyrus-sasl which makes the code much less fragile. Also added code to auto-determine the server name or realm
(This used to be commit 435fdf276a79c2a517adcd7726933aeef3fa924b)
2001-12-08 11:18:56 +00:00
Andrew Bartlett
8ba00d147b OK. Smbpasswd -j is DEAD.
This moves the rest of the functionality into the 'net rpc join' code.

Futhermore, this moves that entire area over to the libsmb codebase, rather
than the crufty old rpc_client stuff.

I have also fixed up the smbpasswd -a -m bug in the process.

We also have a new 'net rpc changetrustpw' that can be called from a
cron-job to regularly change the trust account password, for sites
that run winbind but not smbd.

With a little more work, we can kill rpc_client from smbd entirly!
(It is mostly the domain auth stuff - which I can rework - and the
spoolss stuff that sombody else will need to look over).

Andrew Bartlett
(This used to be commit 575897e879fc175ba702adf245384033342c903d)
2001-12-05 11:00:26 +00:00
Andrew Tridgell
9421ad4a7a added a REALLY gross hack into kerberos_kinit_password so that
winbindd can do a kinit
this will be removed once we have code that gets a tgt
and puts it in a place where cyrus-sasl can see it
(This used to be commit 7d94f1b7365215a020d3678d03d820a7d086174f)
2001-12-05 09:46:53 +00:00
Andrew Bartlett
f018400b69 Follow herb's suggestion and don't strdup a string to itself.
(This used to be commit ea76a687fc2614912fd6b0458622495f9920749e)
2001-12-05 01:58:33 +00:00
Andrew Bartlett
fe64484824 Make better use of the ads_init() function to get the kerberos relam etc.
This allows us to use automagically obtained values in future, and the value
from krb5.conf now.

Also fix mem leaks etc.

Andrew Bartlett
(This used to be commit 8f9ce717819235d98a1463f20ac659cb4b4ebbd2)
2001-11-29 06:21:56 +00:00
Tim Potter
222311817f More compiler warnings fixed. Some minor reformatting.
(This used to be commit 8227f6909cca67fcc1a8455f4b386df7778ef2e7)
2001-11-26 04:53:08 +00:00
Andrew Tridgell
354cdfa8f8 better help
(This used to be commit b390d6eef95ee6094eb193006bc2f23c40291026)
2001-11-25 01:42:29 +00:00
Andrew Tridgell
a83e7725c4 use generate_random_str()
(This used to be commit 720c50a7514febdd7cfd6ce40b7b5a0c5cc0abf8)
2001-11-25 01:36:02 +00:00
Andrew Tridgell
cb697dd72a added "net ads user" and "net ads group" commands
(This used to be commit f482583139eedb75a23c7a720dca4e8fb7070fd5)
2001-11-25 01:31:07 +00:00
Andrew Tridgell
3906f9dff6 added "net ads status" command
(This used to be commit ae0eabd04c97320c2cf3c4575263c53cf61d03ea)
2001-11-25 01:06:56 +00:00
Andrew Tridgell
9255dc9a14 made a "net ads" command, currently with "net ads join" and "net ads leave"
(This used to be commit 2f8fa175b189c2d11676245b01d3201c0a4f0826)
2001-11-25 00:18:11 +00:00