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

11213 Commits

Author SHA1 Message Date
Jelmer Vernooij
e520d4be5e Print list of builtin modules in 'smbd -b'
(This used to be commit 3a2ed0da40)
2003-03-25 12:27:09 +00:00
Jelmer Vernooij
4987119020 Remove obsolete defines (because of new modules system). We need
a way to track which modules have been builtin
(This used to be commit 0f724be384)
2003-03-25 12:05:23 +00:00
Jelmer Vernooij
5ee88b1891 We need to 'preprocess' in popt_common_samba as well
(This used to be commit 37ee8aecf4)
2003-03-25 10:37:58 +00:00
Andrew Bartlett
c0efc3536f Fix debug (thanks metze)
Andrew Bartlett
(This used to be commit 5562f1865c)
2003-03-25 10:29:22 +00:00
Volker Lendecke
910da34e6d Make auth.c compile again. I'm not sure what this does though...
Volker
(This used to be commit 8e3f300f21)
2003-03-25 09:47:52 +00:00
Alexander Bokovoy
148d95ab87 Fix missing tag pairs
(This used to be commit 44d9062f91)
2003-03-25 09:46:57 +00:00
Andrew Bartlett
fc64b4c000 Make these functions static, keep them out of proto.
(This used to be commit 34934d2edf)
2003-03-25 07:55:10 +00:00
Volker Lendecke
25cdc523ed Apply metze's change correctly this time. Playing 'patch' by
hand can be somewhat error-prone..

Volker
(This used to be commit 12fabd0714)
2003-03-25 07:54:34 +00:00
Gerald Carter
b7c4fa4cc6 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.
(This used to be commit c458179d21)
2003-03-25 04:19:04 +00:00
Jelmer Vernooij
6d6f1c0522 - Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
(This used to be commit 3defbd5e06)
2003-03-24 23:03:46 +00:00
Jelmer Vernooij
cdfe4b9b85 Fix two typos
(This used to be commit 898a246c16)
2003-03-24 19:53:02 +00:00
Jelmer Vernooij
9ba1ed5271 When using --with-static-modules=subsystem, don't build modules that
can't be build
(This used to be commit bb943a68af)
2003-03-24 19:18:24 +00:00
Jelmer Vernooij
068b1e9141 Add notes for packagers
(This used to be commit 9bec688904)
2003-03-24 18:47:18 +00:00
Jelmer Vernooij
f2c1d6895f Give error message when module doesn't seem to contain
pipe functions
(This used to be commit 4dd1679043)
2003-03-24 18:38:59 +00:00
Jelmer Vernooij
acffe03f93 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)
(This used to be commit f622bdc691)
2003-03-24 18:25:31 +00:00
Jelmer Vernooij
75b3445d04 Add static to satisfy exotic compilers
(This used to be commit 269c93ca26)
2003-03-24 16:16:13 +00:00
Jelmer Vernooij
a4d819e1e8 Add mapping for Bad Network Path
(This used to be commit 1481cd9ecf)
2003-03-24 16:15:10 +00:00
Jelmer Vernooij
9e809e8dec Remove documentation for removed options
(This used to be commit 2cb2301638)
2003-03-24 14:32:55 +00:00
Jelmer Vernooij
66c321232a Don't use old usage() function, but the one from popt.
Remove some useless arguments
(This used to be commit 8df30059ef)
2003-03-24 14:32:11 +00:00
Jelmer Vernooij
3515f376c1 editreg, wrepld and ntlm_aut aren't documented yet..
(This used to be commit bd197baa86)
2003-03-24 14:20:28 +00:00
Jelmer Vernooij
41a09c3c53 Revoke some of the popt patch from metze I applied earlier today. It added
some double options and broke some parameters.
(This used to be commit d5f9b0275c)
2003-03-24 14:15:14 +00:00
Jelmer Vernooij
e5ae6d548f Document common arguments with entities
(This used to be commit adafcbb9af)
2003-03-24 14:14:10 +00:00
Jelmer Vernooij
9ae249c6f1 Add modules support to charset
(This used to be commit cf3d31b980)
2003-03-24 12:47:21 +00:00
Jelmer Vernooij
66876060fe Define POPT_TABLEEND if current popt.h doesn't contain it already
(This used to be commit de4bdf42d8)
2003-03-24 12:18:56 +00:00
Jelmer Vernooij
f9e66df9c7 Fix init function name and return value
(This used to be commit 27f3fbac72)
2003-03-24 11:31:01 +00:00
Jelmer Vernooij
11e9de855c Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes
(This used to be commit 2ddfed298d)
2003-03-24 11:25:34 +00:00
Tim Potter
2238286425 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...
(This used to be commit 55a341a367)
2003-03-24 06:31:49 +00:00
Jelmer Vernooij
4f70a8f658 Build the profiles.1 and smbtree.1 manpages
(This used to be commit 5bf945d869)
2003-03-23 16:27:31 +00:00
Jelmer Vernooij
93f7be0b3a Document Tim's smbtree program
(This used to be commit aa528bf0f2)
2003-03-23 16:26:53 +00:00
Volker Lendecke
b5762d9937 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
(This used to be commit 80d2578108)
2003-03-23 14:19:13 +00:00
Jelmer Vernooij
dc0ce6f158 Convert to popt.
(This used to be commit 18d52ce914)
2003-03-23 13:42:38 +00:00
Andrew Bartlett
8e2c74c6ee Fix compile.
(This used to be commit 6fbee12a81)
2003-03-23 13:18:05 +00:00
Jelmer Vernooij
67cf75843e Convert to popt.
(This used to be commit 691c63ad6b)
2003-03-23 13:12:04 +00:00
Andrew Bartlett
1f5e93e2e7 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
(This used to be commit dcdc75ebd8)
2003-03-23 13:03:25 +00:00
Jelmer Vernooij
b6520a4d48 Convert to popt.
(This used to be commit 83c7f1e166)
2003-03-23 13:02:15 +00:00
Jelmer Vernooij
be47eb5032 Use popt_common for -s, -d and -V
(This used to be commit a1576694a6)
2003-03-23 12:40:48 +00:00
Jelmer Vernooij
477e1a8cee Don't duplicate the default group mapping functions - use the ones
from passdb
(This used to be commit 78e135cdb1)
2003-03-23 12:29:19 +00:00
Volker Lendecke
cf4f074b94 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
(This used to be commit 6d3faeaef6)
2003-03-23 11:49:24 +00:00
Volker Lendecke
da7c72736a The group mapping functions are not called
directly anymore, but instead through the passdb
interface. So we can make them static.

Volker
(This used to be commit a91af4bea8)
2003-03-23 11:44:14 +00:00
Volker Lendecke
933b4d0d1b 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
(This used to be commit 353309e2a3)
2003-03-23 09:04:25 +00:00
Volker Lendecke
8a55edea4d 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
(This used to be commit 3a7d1e72e2)
2003-03-23 08:40:28 +00:00
Andrew Bartlett
a8394385e6 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
(This used to be commit 6509397f91)
2003-03-23 01:33:13 +00:00
Jelmer Vernooij
dc1c29d29c Don't declare variables after instructions
(This used to be commit 818bc35da7)
2003-03-23 01:09:43 +00:00
Jelmer Vernooij
46a6e7f62b We don't need optarg when we have popt
(This used to be commit b46581ef15)
2003-03-23 00:47:35 +00:00
Jelmer Vernooij
8c7753e87f Convert to popt.
(This used to be commit 5f12b246b0)
2003-03-23 00:44:56 +00:00
Jelmer Vernooij
a76d82616a Use True, not TRUE
(This used to be commit eeeeb37fc6)
2003-03-23 00:30:17 +00:00
Jelmer Vernooij
73a7abf77d Fix typo in comment
(This used to be commit e7ed8bfc24)
2003-03-23 00:26:41 +00:00
Jelmer Vernooij
440709a9d8 Add minimum man page
(This used to be commit 8597b8cb95)
2003-03-23 00:26:09 +00:00
Jelmer Vernooij
6ab85f1997 Convert to popt.
(This used to be commit 633b3eb781)
2003-03-23 00:18:44 +00:00
Jelmer Vernooij
42879b0bf3 Move -V to -C to prevent conflict with -V for version
(This used to be commit 99de90adc9)
2003-03-23 00:12:54 +00:00