samba.git
17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Thu, 27 Mar 2003 23:02:44 +0000 (23:02 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 6cd4d3f39a1258d51c022c99c73a7341b0ff94a5)

17 years agoDoc updates from John + some minor fixes by me
Jelmer Vernooij [Thu, 27 Mar 2003 23:02:43 +0000 (23:02 +0000)]
Doc updates from John + some minor fixes by me
(This used to be commit 7fc49746dfd8d93066fe6870e3b642a5898aa032)

17 years agocleanup the IPC/LPT:/A: mess I started
Gerald Carter [Thu, 27 Mar 2003 22:27:53 +0000 (22:27 +0000)]
cleanup the IPC/LPT:/A: mess I started
(This used to be commit e6034a03d543d8672303f2b24982cfc03b124391)

17 years agopdb_ldap may require ROOT privilages to access the group mapping. (yes, it's ugly :-)
Andrew Bartlett [Thu, 27 Mar 2003 22:01:22 +0000 (22:01 +0000)]
pdb_ldap may require ROOT privilages to access the group mapping. (yes, it's ugly :-)

Andrew Bartlett
(This used to be commit 12579a62945d0d475b53c4ab49761a01be9e8394)

17 years agoReflect current conversion status
Alexander Bokovoy [Thu, 27 Mar 2003 18:56:42 +0000 (18:56 +0000)]
Reflect current conversion status
(This used to be commit 8f1c78df1088beeb11de54b0369b4e5f036004d4)

17 years ago1. Fix generate-file-list.sh to produce a list sorted by parameter name, not paramet...
Alexander Bokovoy [Thu, 27 Mar 2003 18:28:55 +0000 (18:28 +0000)]
1. Fix  generate-file-list.sh to produce a list sorted by parameter name, not parameter section.
2. Convert base parameters to new meta-information scheme
(This used to be commit 6026e47cfe493625c6ed017ecae3cc785a6d0347)

17 years agoPut backwards compatibility support for old modules in a seperate function
Jelmer Vernooij [Thu, 27 Mar 2003 16:33:59 +0000 (16:33 +0000)]
Put backwards compatibility support for old modules in a seperate function
(This used to be commit 2dd00078eec736797e65f69ad00297068e57cd9a)

17 years agoAdd new framework for smb.conf(5). Please read README before trying to compile.
Alexander Bokovoy [Thu, 27 Mar 2003 15:27:19 +0000 (15:27 +0000)]
Add new framework for smb.conf(5). Please read README before trying to compile.
I will commit more meta-information updates during week-end.
(This used to be commit 8d684dffab6a90b3d612a1aa2b2c457a2bc2e6ac)

17 years agoThis is no functional change. It just makes pdb_ldap.c a bit
Volker Lendecke [Thu, 27 Mar 2003 14:31:46 +0000 (14:31 +0000)]
This is no functional change. It just makes pdb_ldap.c a bit
easier to understand by moving the logic for init_ldap_from_sam
and friends around.

Volker
(This used to be commit 09a92984baaee94521d0cacf16daaf0291242b42)

17 years agoThis is no functional change. It just makes pdb_ldap.c a bit
Volker Lendecke [Thu, 27 Mar 2003 14:30:10 +0000 (14:30 +0000)]
This is no functional change. It just makes pdb_ldap.c a bit
easier to understand by moving the logic for init_ldap_from_sam
and friends around.

Volker
(This used to be commit 124c80facba364033f72b20660f347390effba59)

17 years agoFix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.
Volker Lendecke [Thu, 27 Mar 2003 14:25:30 +0000 (14:25 +0000)]
Fix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.

Volker
(This used to be commit 5acb9f421c149126370e79d66d3d9ace6be9a695)

17 years agoTidy XML formating
Alexander Bokovoy [Thu, 27 Mar 2003 14:22:03 +0000 (14:22 +0000)]
Tidy XML formating
(This used to be commit f9515634f344f2408909d2398a7b585b91dca6ec)

17 years agoFix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.
Volker Lendecke [Thu, 27 Mar 2003 14:12:42 +0000 (14:12 +0000)]
Fix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.

Volker
(This used to be commit e92bfb766b08abccbf098c8d04347eb296b9be54)

17 years agolocal_gid_to_sid() could use pdb_ldap, which for now requires ROOT.
Andrew Bartlett [Thu, 27 Mar 2003 12:54:50 +0000 (12:54 +0000)]
local_gid_to_sid() could use pdb_ldap, which for now requires ROOT.
(This used to be commit a51ce67e322f91a56acb9e358ee8b2254b2e7792)

17 years agoUse the new modules system in VFS. If a module can't be loaded with the
Jelmer Vernooij [Thu, 27 Mar 2003 12:08:46 +0000 (12:08 +0000)]
Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
(This used to be commit cebe8d8b424f10006f2f791a8f086c6c8a7f5d57)

17 years agoThe definition of pstrcpy_base(), and the preceeding comments, were given
Christopher R. Hertel [Thu, 27 Mar 2003 05:17:28 +0000 (05:17 +0000)]
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
(This used to be commit d9b799d8c35a7453e6ccb92b3fc4ec2ec510449a)

17 years agoThe definition of pstrcpy_base(), and the preceeding comments, were given
Christopher R. Hertel [Thu, 27 Mar 2003 05:11:25 +0000 (05:11 +0000)]
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
(This used to be commit 5306f6f7c88234d51c4ff13d5451d3489de6b00e)

17 years agoFix DOS del command with widelinks = False.
Jeremy Allison [Wed, 26 Mar 2003 22:15:37 +0000 (22:15 +0000)]
Fix DOS del command with widelinks = False.
Jeremy.
(This used to be commit ae754e9355c78c22ff5ca5a7f3276e61b4a8fcb7)

17 years agoFix DOS del command with widelinks = False.
Jeremy Allison [Wed, 26 Mar 2003 22:15:21 +0000 (22:15 +0000)]
Fix DOS del command with widelinks = False.
Jeremy.
(This used to be commit ef1782121bc4ebcdd2731fd6863209352f815dbe)

17 years agoRemove LDAP_LIBS and just use LIBS again as before. I'll
Jelmer Vernooij [Wed, 26 Mar 2003 20:16:48 +0000 (20:16 +0000)]
Remove LDAP_LIBS and just use LIBS again as before. I'll
fix this better later.
(This used to be commit c6807d20457325012c4c9edd137b2f1f67e98ec4)

17 years agoAdd defines for platforms that need them.
Jeremy Allison [Wed, 26 Mar 2003 19:42:51 +0000 (19:42 +0000)]
Add defines for platforms that need them.
Jeremy.
(This used to be commit f81128bc0187765f6f9e6d7e05eaebf778cbfec8)

17 years agoAdd defines for platforms that need them.
Jeremy Allison [Wed, 26 Mar 2003 19:39:27 +0000 (19:39 +0000)]
Add defines for platforms that need them.
Jeremy.
(This used to be commit 7787815da498382a380230912e0573f41347d0d8)

17 years agoFix extra NULL arg added during app-head merge.
Jeremy Allison [Wed, 26 Mar 2003 19:35:37 +0000 (19:35 +0000)]
Fix extra NULL arg added during app-head merge.
Jeremy.
(This used to be commit b2ef052adad01c37f0fd4b9b82a16a9989d57082)

17 years agoFix extra NULL arg added during app-head merge.
Jeremy Allison [Wed, 26 Mar 2003 19:31:44 +0000 (19:31 +0000)]
Fix extra NULL arg added during app-head merge.
Jeremy.
(This used to be commit 4868633bc8182b939190d3cdb86b24cbdb78b5e1)

17 years agoDocument results of smb.conf(5) inspection. We have 13 undocumented parameters for...
Alexander Bokovoy [Wed, 26 Mar 2003 15:06:45 +0000 (15:06 +0000)]
Document results of smb.conf(5) inspection. We have 13 undocumented parameters for HEAD
(This used to be commit c6f6795710a5115903772a2938a028f20954deb5)

17 years agoUse SAFE_FREE() instead of plain free() - pointed out by metze
Jelmer Vernooij [Wed, 26 Mar 2003 13:49:23 +0000 (13:49 +0000)]
Use SAFE_FREE() instead of plain free() - pointed out by metze
(This used to be commit b49436d020f8d88d42428c83ea9a278d3433d134)

17 years agoUse execinfo.h to get prototypes for backtrace_symbols (fixes
Jelmer Vernooij [Wed, 26 Mar 2003 13:43:29 +0000 (13:43 +0000)]
Use execinfo.h to get prototypes for backtrace_symbols (fixes
some warnings)
(This used to be commit d453b656e56a9b836b76f1cdce8de65d7bc4eb6c)

17 years agoFix $LDAP_LIBS
Jelmer Vernooij [Wed, 26 Mar 2003 13:30:26 +0000 (13:30 +0000)]
Fix $LDAP_LIBS
(This used to be commit af98285f4e4fc4a0e890fed2c71b09280252b3f4)

17 years agoOutput backtrace to logfile in smb_panic(), as suggested by mbp
Jelmer Vernooij [Wed, 26 Mar 2003 12:53:28 +0000 (12:53 +0000)]
Output backtrace to logfile in smb_panic(), as suggested by mbp
(only on systems that support it, of course)
(This used to be commit bf439d733df6a11a25ff561a853c3382a3b34b96)

17 years ago- Patch from John to update PDC-HOWTO, add ServerType and CUPS (not finished yet)
Jelmer Vernooij [Wed, 26 Mar 2003 11:09:12 +0000 (11:09 +0000)]
- Patch from John to update PDC-HOWTO, add ServerType and CUPS (not finished yet)
- Regenerate docs
- Update docs-status
(This used to be commit adbb714ade8ab6f4e9b5d80f0f85041746c0edf1)

17 years agoA fixed type TRUE -> True, reported by Paul Green.
John Terpstra [Wed, 26 Mar 2003 03:40:24 +0000 (03:40 +0000)]
A fixed type TRUE -> True, reported by Paul Green.
(This used to be commit 14499e64555481fdd5fa8ba656a4cba9a597a86b)

17 years agoDon't do $(MAKE) modules_clean twice in a row - it breaks the build...
Jelmer Vernooij [Tue, 25 Mar 2003 23:53:34 +0000 (23:53 +0000)]
Don't do $(MAKE) modules_clean twice in a row - it breaks the build...
(This used to be commit 1e1544ecc12d1e7c00080894786f500cd774a6b3)

17 years agoGive PARAMS_OBJ more priority
Jelmer Vernooij [Tue, 25 Mar 2003 23:26:39 +0000 (23:26 +0000)]
Give PARAMS_OBJ more priority
(This used to be commit cf73797d110d271fc7a30c11e023c4d1ba2b5c9b)

17 years agoFix two typos
Jelmer Vernooij [Tue, 25 Mar 2003 23:03:03 +0000 (23:03 +0000)]
Fix two typos
(This used to be commit c682d5abf310e445f1629e9b48a15d10b176ed39)

17 years agoDo $(MAKE) modules_clean when compiling dynconfig.o. It's not the
Jelmer Vernooij [Tue, 25 Mar 2003 22:57:29 +0000 (22:57 +0000)]
Do $(MAKE) modules_clean when compiling dynconfig.o. It's not the
most elegant solution, but it works.
(This used to be commit 02d202034dad56365a15c4e9fdcb7c420a77e1ed)

17 years agoAdd notes about the rebuilding of files
Jelmer Vernooij [Tue, 25 Mar 2003 22:51:38 +0000 (22:51 +0000)]
Add notes about the rebuilding of files
(This used to be commit 0ab6e96c9b32526936878da62b3cc00edd0ac27c)

17 years agoAlways rebuild modules after running ./configure (to prevent
Jelmer Vernooij [Tue, 25 Mar 2003 22:37:43 +0000 (22:37 +0000)]
Always rebuild modules after running ./configure (to prevent
undefined symbol errors)
(This used to be commit e193b47259d11b0eaef4071acb406d6433426733)

17 years agoAdd example version identifier
Jelmer Vernooij [Tue, 25 Mar 2003 22:15:57 +0000 (22:15 +0000)]
Add example version identifier
(This used to be commit 0558cae208067aa1e10060f22f12b2b8c09c53b1)

17 years agoAdd documentation on unicode
Jelmer Vernooij [Tue, 25 Mar 2003 20:49:13 +0000 (20:49 +0000)]
Add documentation on unicode
(This used to be commit cdfb0161adb37f70247b047eb93b92cfcf11783b)

17 years agoAdd info about dual daemon mode
Jelmer Vernooij [Tue, 25 Mar 2003 20:14:41 +0000 (20:14 +0000)]
Add info about dual daemon mode
(This used to be commit 2018b331a17a4ac485ac03e175ab24d9457a5b77)

17 years agoRemove old check for TDB SAM (we now have --with-{static,shared}-modules=pdb_tdbsam)
Jelmer Vernooij [Tue, 25 Mar 2003 18:10:55 +0000 (18:10 +0000)]
Remove old check for TDB SAM (we now have --with-{static,shared}-modules=pdb_tdbsam)
(This used to be commit 760fd4e5c48276696182febcae3b0a997999b1e2)

17 years agoFix another opened-but-not-closed tag
Alexander Bokovoy [Tue, 25 Mar 2003 17:42:46 +0000 (17:42 +0000)]
Fix another opened-but-not-closed tag
(This used to be commit 1c53686f3a2b2ff220836b76755a184fac0b238e)

17 years ago- Support building all auth modules as .so's
Jelmer Vernooij [Tue, 25 Mar 2003 14:46:11 +0000 (14:46 +0000)]
- Support building all auth modules as .so's
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 71b05cd14ae6df8340730e7bad1c783dc278c5d3)

17 years agoDon't use 'opt'
Jelmer Vernooij [Tue, 25 Mar 2003 13:59:55 +0000 (13:59 +0000)]
Don't use 'opt'
(This used to be commit 6ab41e50fd0a36ebd9969064aa46235dc687dfba)

17 years agoMake variables static to satisfy exotic compilers
Jelmer Vernooij [Tue, 25 Mar 2003 13:40:34 +0000 (13:40 +0000)]
Make variables static to satisfy exotic compilers
(This used to be commit 094eed2c6222fe167ee9f596f4b849a4dea234bf)

17 years agoFixed opened-but-not-closed listitem/varlistentry for LDAPADMINDN
Alexander Bokovoy [Tue, 25 Mar 2003 13:37:36 +0000 (13:37 +0000)]
Fixed opened-but-not-closed listitem/varlistentry for LDAPADMINDN
(This used to be commit ec6b9e62fbfe417865e8e3b2ba7cc7473709c20e)

17 years agoPrint list of builtin modules in 'smbd -b'
Jelmer Vernooij [Tue, 25 Mar 2003 12:27:09 +0000 (12:27 +0000)]
Print list of builtin modules in 'smbd -b'
(This used to be commit 3a2ed0da40c9709cdae061927f44a38f58e44df0)

17 years agoRemove obsolete defines (because of new modules system). We need
Jelmer Vernooij [Tue, 25 Mar 2003 12:05:23 +0000 (12:05 +0000)]
Remove obsolete defines (because of new modules system). We need
a way to track which modules have been builtin
(This used to be commit 0f724be38439af9284e51b7b9b8605e8956e51ba)

17 years agoWe need to 'preprocess' in popt_common_samba as well
Jelmer Vernooij [Tue, 25 Mar 2003 10:37:58 +0000 (10:37 +0000)]
We need to 'preprocess' in popt_common_samba as well
(This used to be commit 37ee8aecf4ae570c3d08e9fa94724bc9c917108f)

17 years agoFix debug (thanks metze)
Andrew Bartlett [Tue, 25 Mar 2003 10:29:22 +0000 (10:29 +0000)]
Fix debug (thanks metze)

Andrew Bartlett
(This used to be commit 5562f1865c90e3f52a3178d9d9ded60909bbe5f0)

17 years agoMake auth.c compile again. I'm not sure what this does though...
Volker Lendecke [Tue, 25 Mar 2003 09:47:52 +0000 (09:47 +0000)]
Make auth.c compile again. I'm not sure what this does though...

Volker
(This used to be commit 8e3f300f21e23b7e6b68ddcc45d581a962cd8aa4)

17 years agoFix missing tag pairs
Alexander Bokovoy [Tue, 25 Mar 2003 09:46:57 +0000 (09:46 +0000)]
Fix missing tag pairs
(This used to be commit 44d9062f91d13b43b1e78c30931a017031f17116)

17 years agoMust have been somewhere else last sunday...
Volker Lendecke [Tue, 25 Mar 2003 08:55:37 +0000 (08:55 +0000)]
Must have been somewhere else last sunday...

Apply metzes patch (hopefully) correctly this time

Volker
(This used to be commit e52a2d5d49e3c784d5db06bade2c866422258fcc)

17 years agoMake these functions static, keep them out of proto.
Andrew Bartlett [Tue, 25 Mar 2003 07:55:10 +0000 (07:55 +0000)]
Make these functions static, keep them out of proto.
(This used to be commit 34934d2edf0d575fae7d729fe4d8d3ab034a544f)

17 years agoApply metze's change correctly this time. Playing 'patch' by
Volker Lendecke [Tue, 25 Mar 2003 07:54:34 +0000 (07:54 +0000)]
Apply metze's change correctly this time. Playing 'patch' by
hand can be somewhat error-prone..

Volker
(This used to be commit 12fabd07148c21f5481cb750f1cfdab2e8112e4b)

17 years agowin9x was suffered a case of the blues during a domain logon.
Gerald Carter [Tue, 25 Mar 2003 04:19:04 +0000 (04:19 +0000)]
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 c458179d21465165705e6c035776698cb824baf5)

17 years agowin9x was suffered a case of the blues during a domain logon.
Gerald Carter [Tue, 25 Mar 2003 04:14:54 +0000 (04:14 +0000)]
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 4dd81caeff96d2b7f08b4846a524f917a85407a4)

17 years ago- Add support to auth/ for the new modules system
Jelmer Vernooij [Mon, 24 Mar 2003 23:03:46 +0000 (23:03 +0000)]
- Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
(This used to be commit 3defbd5e0633acfa4631531b49601c7706072d86)

17 years agoFix two typos
Jelmer Vernooij [Mon, 24 Mar 2003 19:53:02 +0000 (19:53 +0000)]
Fix two typos
(This used to be commit 898a246c1650326cbd9b8ca49fb93963e589ea1f)

17 years agoWhen using --with-static-modules=subsystem, don't build modules that
Jelmer Vernooij [Mon, 24 Mar 2003 19:18:24 +0000 (19:18 +0000)]
When using --with-static-modules=subsystem, don't build modules that
can't be build
(This used to be commit bb943a68af20f87a4b2d6b257585615d1792dd33)

17 years agoAdd notes for packagers
Jelmer Vernooij [Mon, 24 Mar 2003 18:47:18 +0000 (18:47 +0000)]
Add notes for packagers
(This used to be commit 9bec6889047814dc00eea102d6c3368d3942db94)

17 years agoGive error message when module doesn't seem to contain
Jelmer Vernooij [Mon, 24 Mar 2003 18:38:59 +0000 (18:38 +0000)]
Give error message when module doesn't seem to contain
pipe functions
(This used to be commit 4dd16790436d18f5ac5868538309128e3f8ad1cc)

17 years agoSimplify modules interface and make it easier to build
Jelmer Vernooij [Mon, 24 Mar 2003 18:25:31 +0000 (18:25 +0000)]
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 f622bdc691fabed218598fb0546b9e933aed63ed)

17 years agoAdd static to satisfy exotic compilers
Jelmer Vernooij [Mon, 24 Mar 2003 16:16:13 +0000 (16:16 +0000)]
Add static to satisfy exotic compilers
(This used to be commit 269c93ca269e5badd5475d9ad53d06f9cb111d2c)

17 years agoAdd mapping for Bad Network Path
Jelmer Vernooij [Mon, 24 Mar 2003 16:15:10 +0000 (16:15 +0000)]
Add mapping for Bad Network Path
(This used to be commit 1481cd9ecf1658312424c193d8cd3632766eb058)

17 years agoRemove documentation for removed options
Jelmer Vernooij [Mon, 24 Mar 2003 14:32:55 +0000 (14:32 +0000)]
Remove documentation for removed options
(This used to be commit 2cb23016385a286006a08170188b4e7ca62429d9)

17 years agoDon't use old usage() function, but the one from popt.
Jelmer Vernooij [Mon, 24 Mar 2003 14:32:11 +0000 (14:32 +0000)]
Don't use old usage() function, but the one from popt.
Remove some useless arguments
(This used to be commit 8df30059ef100a4d5e21501d7746427b4d312589)

17 years agoeditreg, wrepld and ntlm_aut aren't documented yet..
Jelmer Vernooij [Mon, 24 Mar 2003 14:20:28 +0000 (14:20 +0000)]
editreg, wrepld and ntlm_aut aren't documented yet..
(This used to be commit bd197baa8657d7708804e67e37d10be6acf75af6)

17 years agoRevoke some of the popt patch from metze I applied earlier today. It added
Jelmer Vernooij [Mon, 24 Mar 2003 14:15:14 +0000 (14:15 +0000)]
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 d5f9b0275c91512e1926504f22aaeec2d104430d)

17 years agoDocument common arguments with entities
Jelmer Vernooij [Mon, 24 Mar 2003 14:14:10 +0000 (14:14 +0000)]
Document common arguments with entities
(This used to be commit adafcbb9af4a22db0fefb70966564d8591b5baed)

17 years agoAdd modules support to charset
Jelmer Vernooij [Mon, 24 Mar 2003 12:47:21 +0000 (12:47 +0000)]
Add modules support to charset
(This used to be commit cf3d31b9801d7ccb30334a92d4dc8a0ced2ecd31)

17 years agoDefine POPT_TABLEEND if current popt.h doesn't contain it already
Jelmer Vernooij [Mon, 24 Mar 2003 12:18:56 +0000 (12:18 +0000)]
Define POPT_TABLEEND if current popt.h doesn't contain it already
(This used to be commit de4bdf42d8f27b54260f58ff37d438c67623f446)

17 years agoFix init function name and return value
Jelmer Vernooij [Mon, 24 Mar 2003 11:31:01 +0000 (11:31 +0000)]
Fix init function name and return value
(This used to be commit 27f3fbac724847f2d0926d2231808871508a7dd9)

17 years agoPatch from metze to generalise POPT_COMMON_SAMBA, with some minor changes
Jelmer Vernooij [Mon, 24 Mar 2003 11:25:34 +0000 (11:25 +0000)]
Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)

17 years ago(merge from HEAD)
Andrew Bartlett [Mon, 24 Mar 2003 09:54:13 +0000 (09:54 +0000)]
(merge from HEAD)

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 ec071ca3dcbd3881dc08e6a8d7ac2ff0bcd57664)

17 years agoStarted working on python routines to add and delete domain users.
Tim Potter [Mon, 24 Mar 2003 06:31:49 +0000 (06:31 +0000)]
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 55a341a367a7d1b18ae7ef04678479eb74b68ea3)

17 years agoBuild the profiles.1 and smbtree.1 manpages
Jelmer Vernooij [Sun, 23 Mar 2003 16:27:31 +0000 (16:27 +0000)]
Build the profiles.1 and smbtree.1 manpages
(This used to be commit 5bf945d86927e09cbb665e6fb59111b6bdc60fd4)

17 years agoDocument Tim's smbtree program
Jelmer Vernooij [Sun, 23 Mar 2003 16:26:53 +0000 (16:26 +0000)]
Document Tim's smbtree program
(This used to be commit aa528bf0f2c3286a6f78c1a36e48c6ff15a85457)

17 years agoImplement abartlet's suggestion to add attribs to ldap if they
Volker Lendecke [Sun, 23 Mar 2003 14:20:21 +0000 (14:20 +0000)]
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 339c14906802db6ddb59f07a0c71dcc3c73cc3d6)

17 years agoImplement abartlet's suggestion to add attribs to ldap if they
Volker Lendecke [Sun, 23 Mar 2003 14:19:13 +0000 (14:19 +0000)]
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 80d2578108da14f60133df3a308b867beb27e920)

17 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 13:42:38 +0000 (13:42 +0000)]
Convert to popt.
(This used to be commit 18d52ce914715d188966be95f9e4466666a04f74)

17 years agoFix compile.
Andrew Bartlett [Sun, 23 Mar 2003 13:18:05 +0000 (13:18 +0000)]
Fix compile.
(This used to be commit 6fbee12a8170e0bce4e94806105786b38160ada5)

17 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 13:12:04 +0000 (13:12 +0000)]
Convert to popt.
(This used to be commit 691c63ad6b522ae7984017ebadffb5c7c13f6992)

17 years agoNTLM Authentication:
Andrew Bartlett [Sun, 23 Mar 2003 13:03:25 +0000 (13:03 +0000)]
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 dcdc75ebd89f504a0f6e3a3bc5b43298858d276b)

17 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 13:02:15 +0000 (13:02 +0000)]
Convert to popt.
(This used to be commit 83c7f1e1661da14ee46d4ca7a698728fb1beb23b)

17 years agoUse popt_common for -s, -d and -V
Jelmer Vernooij [Sun, 23 Mar 2003 12:40:48 +0000 (12:40 +0000)]
Use popt_common for -s, -d and -V
(This used to be commit a1576694a6f23e1c70d7d81ac4feedd4f29c5400)

17 years agoDon't duplicate the default group mapping functions - use the ones
Jelmer Vernooij [Sun, 23 Mar 2003 12:29:19 +0000 (12:29 +0000)]
Don't duplicate the default group mapping functions - use the ones
from passdb
(This used to be commit 78e135cdb17dcf70d8a1259897fd44ecd7a4b3c6)

17 years agoThis does two things:
Volker Lendecke [Sun, 23 Mar 2003 11:50:16 +0000 (11:50 +0000)]
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 09a3db0ffcbbe578788d3dd5ee7540d27cc7c09a)

17 years agoThis does two things:
Volker Lendecke [Sun, 23 Mar 2003 11:49:24 +0000 (11:49 +0000)]
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 6d3faeaef6c77e389d39b6d4660ffea13e7f25f2)

17 years agoThe group mapping functions are not called
Volker Lendecke [Sun, 23 Mar 2003 11:45:01 +0000 (11:45 +0000)]
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 99da1119a7a7fc0879e63f7e11cb4500419359e8)

17 years agoThe group mapping functions are not called
Volker Lendecke [Sun, 23 Mar 2003 11:44:14 +0000 (11:44 +0000)]
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 a91af4bea8e761a812f5c70fdc7c7cd15366b412)

17 years agoMerge from HEAD:
Volker Lendecke [Sun, 23 Mar 2003 09:18:33 +0000 (09:18 +0000)]
Merge from HEAD:

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 53b5704ff21de6fce097d74dd7f235d3ceccec66)

17 years agoThis adds 'ldap delete dn' as the recommended parameter
Volker Lendecke [Sun, 23 Mar 2003 09:04:25 +0000 (09:04 +0000)]
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 353309e2a3bc27e918bd0a6cf22833d57895fbc8)

17 years agoMetzes change:
Volker Lendecke [Sun, 23 Mar 2003 08:41:05 +0000 (08:41 +0000)]
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 7ae9c2500e3ac5f671d41077327156f1f3767fff)

17 years agoMetzes change:
Volker Lendecke [Sun, 23 Mar 2003 08:40:28 +0000 (08:40 +0000)]
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 3a7d1e72e208b9609da4ff65d9fff9179799ecac)

17 years agoMerge of patch by waider to our samsync code.
Andrew Bartlett [Sun, 23 Mar 2003 02:22:41 +0000 (02:22 +0000)]
Merge of patch by waider to our samsync code.

(Decode all database names, and set only changes, not all info from the samsync
record).

Andrew Bartlett
(This used to be commit c7b8405bdebb9241ec335ccbbef630d90e61a419)

17 years agoPatch from waider to update our samsync (net rpc vampire) code:
Andrew Bartlett [Sun, 23 Mar 2003 01:33:13 +0000 (01:33 +0000)]
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 6509397f91a4c218552a48a96df06e595b630898)

17 years agoDon't declare variables after instructions
Jelmer Vernooij [Sun, 23 Mar 2003 01:09:43 +0000 (01:09 +0000)]
Don't declare variables after instructions
(This used to be commit 818bc35da7b66aa8c4156406b7ab3304d4c94a72)

17 years agoWe don't need optarg when we have popt
Jelmer Vernooij [Sun, 23 Mar 2003 00:47:35 +0000 (00:47 +0000)]
We don't need optarg when we have popt
(This used to be commit b46581ef153296a0a04f773115cb2ddad4d44686)

17 years agoConvert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 00:44:56 +0000 (00:44 +0000)]
Convert to popt.
(This used to be commit 5f12b246b03aef93165059f632012b6fc4706c70)