1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

11206 Commits

Author SHA1 Message Date
Volker Lendecke
12fabd0714 Apply metze's change correctly this time. Playing 'patch' by
hand can be somewhat error-prone..

Volker
-
Gerald Carter
c458179d21 win9x was suffered a case of the blues during a domain logon.
For some reason, explicitly setting the service type during the
tcon&X fixes this.
-
Jelmer Vernooij
3defbd5e06 - Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
-
Jelmer Vernooij
898a246c16 Fix two typos -
Jelmer Vernooij
bb943a68af When using --with-static-modules=subsystem, don't build modules that
can't be build
-
Jelmer Vernooij
9bec688904 Add notes for packagers -
Jelmer Vernooij
4dd1679043 Give error message when module doesn't seem to contain
pipe functions
-
Jelmer Vernooij
f622bdc691 Simplify modules interface and make it easier to build
complete subsystems as modules (--with-shared-modules=rpc,pdb_xml,pdb_ldap
works now, for example)
-
Jelmer Vernooij
269c93ca26 Add static to satisfy exotic compilers -
Jelmer Vernooij
1481cd9ecf Add mapping for Bad Network Path -
Jelmer Vernooij
2cb2301638 Remove documentation for removed options -
Jelmer Vernooij
8df30059ef Don't use old usage() function, but the one from popt.
Remove some useless arguments
-
Jelmer Vernooij
bd197baa86 editreg, wrepld and ntlm_aut aren't documented yet.. -
Jelmer Vernooij
d5f9b0275c Revoke some of the popt patch from metze I applied earlier today. It added
some double options and broke some parameters.
-
Jelmer Vernooij
adafcbb9af Document common arguments with entities -
Jelmer Vernooij
cf3d31b980 Add modules support to charset -
Jelmer Vernooij
de4bdf42d8 Define POPT_TABLEEND if current popt.h doesn't contain it already -
Jelmer Vernooij
27f3fbac72 Fix init function name and return value -
Jelmer Vernooij
2ddfed298d Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes -
Tim Potter
55a341a367 Started working on python routines to add and delete domain users.
Unfortunately users get created with the ACB mask set to disabled and
must change password.  The set_user_info2 call required to fix this
doesn't quite work yet...
-
Jelmer Vernooij
5bf945d869 Build the profiles.1 and smbtree.1 manpages -
Jelmer Vernooij
aa528bf0f2 Document Tim's smbtree program -
Volker Lendecke
80d2578108 Implement abartlet's suggestion to add attribs to ldap if they
are 'SET' when adding the account.

I really don't like passing flags down to inner routines and
complicated if/else conditions, but this time he might be right. ;-)

Volker
-
Jelmer Vernooij
18d52ce914 Convert to popt. -
Andrew Bartlett
6fbee12a81 Fix compile. -
Jelmer Vernooij
691c63ad6b Convert to popt. -
Andrew Bartlett
dcdc75ebd8 NTLM Authentication:
- Add a 'privileged' mode to Winbindd.  This is achieved by means of a directory
  under lockdir, that the admin can change the group access for.

- This mode is now required to access with 'CRAP' authentication feature.
- This *will* break the current SQUID helper, so I've fixed up our ntlm_auth
  replacement:
 - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a
   challenge.
 - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5
   servers.
 - Tested - works for Win2k clients, but not Win9X at present.  NTLMSSP updates
   are needed.
 - Now uses fgets(), not x_fgets() to cope with Squid environment (I think
   somthing to do with non-blocking stdin).

- Add much more robust connection code to wb_common.c - it will not connect to
  a server of a different protocol version, and it will automatically try and
  reconnect to the 'privileged' pipe if possible.
  - This could help with 'privileged' idmap operations etc in future.

- Add a generic HEX encode routine to util_str.c,
- fix a small line of dodgy C in StrnCpy_fn()

- Correctly pull our 'session key' out of the info3 from th the DC.  This is
  used in both the auth code, and in for export over the winbind pipe to
  ntlm_auth.

- Given the user's challenge/response and access to the privileged pipe,
  allow external access to the 'session key'.  To be used for MSCHAPv2
  integration.

Andrew Bartlett
-
Jelmer Vernooij
83c7f1e166 Convert to popt. -
Jelmer Vernooij
a1576694a6 Use popt_common for -s, -d and -V -
Jelmer Vernooij
78e135cdb1 Don't duplicate the default group mapping functions - use the ones
from passdb
-
Volker Lendecke
6d3faeaef6 This does two things:
* pdbedit -i -e sets all SAM_ACCOUNT elements
  to CHANGED to satisfy the new pdb_ldap.c handling

* pdbedit -g transfers group mappings. I made this
  separate from the user database, as current installations
  have to live with a split backend.

  So, if you are running 3_0 alphas with LDAP as a backend
  and upgrade to the next 3_0 alpha, you should call

  pdbedit -i tdbsam -e ldapsam -g

  to transfer your group mapping database to LDAP.

  You certainly have to have all your groups as posixGroup
  objects in LDAP and adapt the LDAP schema before this
  call.

Volker
-
Volker Lendecke
a91af4bea8 The group mapping functions are not called
directly anymore, but instead through the passdb
interface. So we can make them static.

Volker
-
Volker Lendecke
353309e2a3 This adds 'ldap delete dn' as the recommended parameter
for the 'ldap del only sam attr' functionality. So
we are compatiple to the current SuSE patches as well
as to TNG... ;-)

Volker
-
Volker Lendecke
3a7d1e72e2 Metzes change:
> Hi Volker,
>
> if 'displayName' is not available we should fallback to 'cn' for map->nt_name
> 'cn' is used as unix group name by nss_ldap.
>
> and if nt_name is not available we should fail (so does this patch)

Volker
-
Andrew Bartlett
6509397f91 Patch from waider to update our samsync (net rpc vampire) code:
- Decode all the database names, even if we don't decode their contents
 - Update the 'set' code to match rpc_server/srv_samr_nt.c in only recording
   the difference between the old and new.

Andrew Bartlett
-
Jelmer Vernooij
818bc35da7 Don't declare variables after instructions -
Jelmer Vernooij
b46581ef15 We don't need optarg when we have popt -
Jelmer Vernooij
5f12b246b0 Convert to popt. -
Jelmer Vernooij
eeeeb37fc6 Use True, not TRUE -
Jelmer Vernooij
e7ed8bfc24 Fix typo in comment -
Jelmer Vernooij
8597b8cb95 Add minimum man page -
Jelmer Vernooij
633b3eb781 Convert to popt. -
Jelmer Vernooij
99de90adc9 Move -V to -C to prevent conflict with -V for version -
Jelmer Vernooij
33097cc661 Also move -V to -C in docs -
Jelmer Vernooij
b18d02891b Don't crash when initialising tdb fails -
Jelmer Vernooij
10c2fe08b6 Convert to popt. -
Jelmer Vernooij
8f285878b3 Convert to popt -
Jelmer Vernooij
e56ab71f12 Add nicer --help headers -
Jelmer Vernooij
5a88d78f67 Add -U, -N, -i, -A, -W to popt. -
Jelmer Vernooij
e149e70717 - Use FUNCTION_MACRO, not __FUNCTION__.
- Add some const
-