summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-03-25- Support building all auth modules as .so'sJelmer Vernooij7-85/+120
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>) (This used to be commit 71b05cd14ae6df8340730e7bad1c783dc278c5d3)
2003-03-25Don't use 'opt'Jelmer Vernooij1-1/+1
(This used to be commit 6ab41e50fd0a36ebd9969064aa46235dc687dfba)
2003-03-25Make variables static to satisfy exotic compilersJelmer Vernooij2-3/+2
(This used to be commit 094eed2c6222fe167ee9f596f4b849a4dea234bf)
2003-03-25Print list of builtin modules in 'smbd -b'Jelmer Vernooij3-0/+6
(This used to be commit 3a2ed0da40c9709cdae061927f44a38f58e44df0)
2003-03-25Remove obsolete defines (because of new modules system). We needJelmer Vernooij1-9/+0
a way to track which modules have been builtin (This used to be commit 0f724be38439af9284e51b7b9b8605e8956e51ba)
2003-03-25We need to 'preprocess' in popt_common_samba as wellJelmer Vernooij1-1/+1
(This used to be commit 37ee8aecf4ae570c3d08e9fa94724bc9c917108f)
2003-03-25Fix debug (thanks metze)Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 5562f1865c90e3f52a3178d9d9ded60909bbe5f0)
2003-03-25Make auth.c compile again. I'm not sure what this does though...Volker Lendecke1-2/+3
Volker (This used to be commit 8e3f300f21e23b7e6b68ddcc45d581a962cd8aa4)
2003-03-25Make these functions static, keep them out of proto.Andrew Bartlett2-4/+4
(This used to be commit 34934d2edf0d575fae7d729fe4d8d3ab034a544f)
2003-03-25Apply metze's change correctly this time. Playing 'patch' byVolker Lendecke1-6/+6
hand can be somewhat error-prone.. Volker (This used to be commit 12fabd07148c21f5481cb750f1cfdab2e8112e4b)
2003-03-25win9x was suffered a case of the blues during a domain logon.Gerald Carter1-1/+14
For some reason, explicitly setting the service type during the tcon&X fixes this. (This used to be commit c458179d21465165705e6c035776698cb824baf5)
2003-03-24- Add support to auth/ for the new modules systemJelmer Vernooij12-90/+129
- Quite some small fixes (also fixes the build) (This used to be commit 3defbd5e0633acfa4631531b49601c7706072d86)
2003-03-24Fix two typosJelmer Vernooij2-2/+2
(This used to be commit 898a246c1650326cbd9b8ca49fb93963e589ea1f)
2003-03-24When using --with-static-modules=subsystem, don't build modules thatJelmer Vernooij2-4/+6
can't be build (This used to be commit bb943a68af20f87a4b2d6b257585615d1792dd33)
2003-03-24Give error message when module doesn't seem to containJelmer Vernooij1-0/+5
pipe functions (This used to be commit 4dd16790436d18f5ac5868538309128e3f8ad1cc)
2003-03-24Simplify modules interface and make it easier to buildJelmer Vernooij2-45/+39
complete subsystems as modules (--with-shared-modules=rpc,pdb_xml,pdb_ldap works now, for example) (This used to be commit f622bdc691fabed218598fb0546b9e933aed63ed)
2003-03-24Add static to satisfy exotic compilersJelmer Vernooij1-1/+1
(This used to be commit 269c93ca269e5badd5475d9ad53d06f9cb111d2c)
2003-03-24Add mapping for Bad Network PathJelmer Vernooij1-0/+1
(This used to be commit 1481cd9ecf1658312424c193d8cd3632766eb058)
2003-03-24Don't use old usage() function, but the one from popt.Jelmer Vernooij4-15/+2
Remove some useless arguments (This used to be commit 8df30059ef100a4d5e21501d7746427b4d312589)
2003-03-24Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij16-17/+41
some double options and broke some parameters. (This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
2003-03-24Add modules support to charsetJelmer Vernooij3-45/+78
(This used to be commit cf3d31b9801d7ccb30334a92d4dc8a0ced2ecd31)
2003-03-24Define POPT_TABLEEND if current popt.h doesn't contain it alreadyJelmer Vernooij1-0/+4
(This used to be commit de4bdf42d8f27b54260f58ff37d438c67623f446)
2003-03-24Fix init function name and return valueJelmer Vernooij1-2/+2
(This used to be commit 27f3fbac724847f2d0926d2231808871508a7dd9)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij20-357/+95
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-24Started working on python routines to add and delete domain users.Tim Potter4-146/+404
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 55a341a367a7d1b18ae7ef04678479eb74b68ea3)
2003-03-23Implement abartlet's suggestion to add attribs to ldap if theyVolker Lendecke2-30/+30
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 80d2578108da14f60133df3a308b867beb27e920)
2003-03-23Convert to popt.Jelmer Vernooij2-62/+30
(This used to be commit 18d52ce914715d188966be95f9e4466666a04f74)
2003-03-23Fix compile.Andrew Bartlett1-2/+2
(This used to be commit 6fbee12a8170e0bce4e94806105786b38160ada5)
2003-03-23Convert to popt.Jelmer Vernooij2-44/+31
(This used to be commit 691c63ad6b522ae7984017ebadffb5c7c13f6992)
2003-03-23NTLM Authentication:Andrew Bartlett14-144/+283
- 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 dcdc75ebd89f504a0f6e3a3bc5b43298858d276b)
2003-03-23Convert to popt.Jelmer Vernooij2-88/+28
(This used to be commit 83c7f1e1661da14ee46d4ca7a698728fb1beb23b)
2003-03-23Use popt_common for -s, -d and -VJelmer Vernooij2-16/+8
(This used to be commit a1576694a6f23e1c70d7d81ac4feedd4f29c5400)
2003-03-23Don't duplicate the default group mapping functions - use the onesJelmer Vernooij1-60/+0
from passdb (This used to be commit 78e135cdb17dcf70d8a1259897fd44ecd7a4b3c6)
2003-03-23This does two things:Volker Lendecke1-1/+37
* 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 6d3faeaef6c77e389d39b6d4660ffea13e7f25f2)
2003-03-23The group mapping functions are not calledVolker Lendecke1-6/+6
directly anymore, but instead through the passdb interface. So we can make them static. Volker (This used to be commit a91af4bea8e761a812f5c70fdc7c7cd15366b412)
2003-03-23This adds 'ldap delete dn' as the recommended parameterVolker Lendecke2-6/+7
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 353309e2a3bc27e918bd0a6cf22833d57895fbc8)
2003-03-23Metzes change:Volker Lendecke1-4/+10
> 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 3a7d1e72e208b9609da4ff65d9fff9179799ecac)
2003-03-23Patch from waider to update our samsync (net rpc vampire) code:Andrew Bartlett1-35/+155
- 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 6509397f91a4c218552a48a96df06e595b630898)
2003-03-23Don't declare variables after instructionsJelmer Vernooij1-12/+12
(This used to be commit 818bc35da7b66aa8c4156406b7ab3304d4c94a72)
2003-03-23We don't need optarg when we have poptJelmer Vernooij2-4/+2
(This used to be commit b46581ef153296a0a04f773115cb2ddad4d44686)
2003-03-23Convert to popt.Jelmer Vernooij2-137/+91
(This used to be commit 5f12b246b03aef93165059f632012b6fc4706c70)
2003-03-23Use True, not TRUEJelmer Vernooij1-2/+2
(This used to be commit eeeeb37fc6de60928f7efdeb05bb2c6516f24441)
2003-03-23Fix typo in commentJelmer Vernooij1-2/+2
(This used to be commit e7ed8bfc24d94b0b6e70a03eaae927fe1daa7d56)
2003-03-23Convert to popt.Jelmer Vernooij2-56/+59
(This used to be commit 633b3eb7812dc0a58785536a1e7d28329d488b43)
2003-03-23Move -V to -C to prevent conflict with -V for versionJelmer Vernooij1-1/+2
(This used to be commit 99de90adc98b8d5354c769dcd25cc1f34d3769e9)
2003-03-23Don't crash when initialising tdb failsJelmer Vernooij1-2/+2
(This used to be commit b18d02891be1ea3728239eee15a4aed3c3be2fea)
2003-03-22Convert to popt.Jelmer Vernooij1-361/+85
(This used to be commit 10c2fe08b6fdc2a9985a154b93555197bf5815fa)
2003-03-22Convert to poptJelmer Vernooij2-101/+26
(This used to be commit 8f285878b30bad7388f69075538c628a7e18ac8a)
2003-03-22Add nicer --help headersJelmer Vernooij2-8/+4
(This used to be commit e56ab71f1237a71c6ad4f321ce1db4e9397efd73)
2003-03-22Add -U, -N, -i, -A, -W to popt.Jelmer Vernooij3-17/+279
(This used to be commit 5a88d78f67fd7853d6f7d5042807afa56091d52c)