kai/samba.git
20 years agoPatch from Ken Cross to allow an ADS domain join with a username of the form
Andrew Bartlett [Sun, 4 May 2003 02:48:11 +0000 (02:48 +0000)]
Patch from Ken Cross to allow an ADS domain join with a username of the form
user@realm, where realm might not be the realm we are joining.

Andrew Bartlett
(This used to be commit 00e08efb5cd21bf42be9125d3188efbf9d13b8b7)

20 years agoUpdating ServerType. Now almost complete.
John Terpstra [Sun, 4 May 2003 01:16:08 +0000 (01:16 +0000)]
Updating ServerType. Now almost complete.
(This used to be commit ec025c353b6ba974bc73a31fd920cfb395f54abf)

20 years agoAdd doco to our SMB signing code.
Andrew Bartlett [Sun, 4 May 2003 01:05:39 +0000 (01:05 +0000)]
Add doco to our SMB signing code.

This should make it clearer what magic numbers refer to the magic numbers
in the CIFS spec, and what bits and peices are being appended into the MD5
calculation where.

Andrew Bartlett
(This used to be commit 7f1c271cfb04f621e36f1acf60979652e82dc6f4)

20 years agoFix up the setting up of the build_farm smb.conf from the templates in their
Andrew Bartlett [Sun, 4 May 2003 00:55:52 +0000 (00:55 +0000)]
Fix up the setting up of the build_farm smb.conf from the templates in their
new directory.

Andrew Bartlett
(This used to be commit 98f7ccebeb9369c972b432a8ac0a5853cd7a1bf6)

20 years agoconfigure.in updates:
Andrew Bartlett [Sat, 3 May 2003 15:30:41 +0000 (15:30 +0000)]
configure.in updates:

Now the IRIX and non-irix cases for one of these switch statements is the same,
eliminate the statement...

We now use autoconf > 2.50, so we can use some of it's features.

We also need to correctly include the magic for building vfs_fake_perms.
(This used to be commit a4ec8a615195f681f315ce23e799f2e7d35f27f6)

20 years agoMerge of new edits from HEAD.
John Terpstra [Sat, 3 May 2003 05:57:09 +0000 (05:57 +0000)]
Merge of new edits from HEAD.
(This used to be commit 9990dd7ef8a8b4b412edfab8f94d65a3b0b3525b)

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Sat, 3 May 2003 05:51:55 +0000 (05:51 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit f1e59906577a59269f1821d9e438fc56278b9dbe)

20 years agoRe-arrangement of Chapters 3-8, merges, updates - first installment only.
John Terpstra [Sat, 3 May 2003 05:51:54 +0000 (05:51 +0000)]
Re-arrangement of Chapters 3-8, merges, updates - first installment only.
(This used to be commit 549b047994bbaacc8e2e847c80bcb307c9f4a565)

20 years agoAdd a comment about the use of string functions in the modules code, and
Andrew Bartlett [Sat, 3 May 2003 04:34:13 +0000 (04:34 +0000)]
Add a comment about the use of string functions in the modules code, and
add \n to the end of the non-dlopen case DEBUGs.

Andrew Bartlett
(This used to be commit ce4ff4cc8e5f5d461797e42b2148b2827c058380)

20 years agoFix use of uninitialised value in TCONDEV test - found by sun1 on the build farm
Andrew Bartlett [Sat, 3 May 2003 04:30:21 +0000 (04:30 +0000)]
Fix use of uninitialised value in TCONDEV test - found by sun1 on the build farm
(This used to be commit 0dfeaf4535bb1b2345dfd51208c51ce5069ea154)

20 years agofixes to *_util.c files
Simo Sorce [Sat, 3 May 2003 01:29:18 +0000 (01:29 +0000)]
fixes to *_util.c files
add winbindd_passdb backend
this makes it possible to have nua accounts on security = user servers to
show up in unic through nss_winbind.so

the problem is that we do not have group support, so nss group support is
not very good at this time (read: totally absent)

we NEED group support in passdb
(This used to be commit 921215cf4bfbd4d7457f81e181bb1a74a4531ca1)

20 years agoexclude tdbsam2.h generation until it will be used
Simo Sorce [Fri, 2 May 2003 18:24:30 +0000 (18:24 +0000)]
exclude tdbsam2.h generation until it will be used
(This used to be commit 28b73a39219fd717c60eba207143fb40d5ff123a)

20 years agofix pam_smbpass
Simo Sorce [Fri, 2 May 2003 17:44:59 +0000 (17:44 +0000)]
fix pam_smbpass
typos
(This used to be commit 7e28ee1cf8db065f2518b4543f2e54da97cc19e2)

20 years agoremove testing debug line
Simo Sorce [Fri, 2 May 2003 17:31:30 +0000 (17:31 +0000)]
remove testing debug line
(This used to be commit 08d4c2fa85ceaa9d5ff16e7e615bb29e0cde3022)

20 years agoAdd note on LDAP_EXOP_X_MODIFY_PASSWD. ldap passwd sync documentation should be
Jelmer Vernooij [Fri, 2 May 2003 15:04:12 +0000 (15:04 +0000)]
Add note on LDAP_EXOP_X_MODIFY_PASSWD. ldap passwd sync documentation should be
complete now.
(This used to be commit a9e1edbbf23c9648de0054da474eda9c19d57551)

20 years agoAdd note about 'ldap trust ids'.
Jelmer Vernooij [Fri, 2 May 2003 14:54:25 +0000 (14:54 +0000)]
Add note about 'ldap trust ids'.
(This used to be commit 1748fdfb43ddf6397240a8da1f967ceeb0879252)

20 years agoUpdate LDAP documentation for 3.0
Jelmer Vernooij [Fri, 2 May 2003 14:52:48 +0000 (14:52 +0000)]
Update LDAP documentation for 3.0
(This used to be commit a092928b8e864c5c29cc8541d2492f0aa18931f3)

20 years agoNow that multi-pdu schannel works and a but in the negotiator has been
Volker Lendecke [Fri, 2 May 2003 13:40:10 +0000 (13:40 +0000)]
Now that multi-pdu schannel works and a but in the negotiator has been
fixed I would like to see this tested a bit more. Default the schannel
stuff to auto which means 'offer, but do not enforce'.

Volker
(This used to be commit 7a1b8409bed13d0e7742cbcd3b0fa79b0c671404)

20 years agoshouldn't wellknown group be well.. ..WKN_GRP ?
Simo Sorce [Fri, 2 May 2003 08:03:25 +0000 (08:03 +0000)]
shouldn't wellknown group be well.. ..WKN_GRP ?
make a new sam_Account contain our domain by default, windows will complain
on logon otherwise.
fix stupid typo in idmap_util.c
(This used to be commit 21701876dc6c59ebfc51be708a98226a00a764e0)

20 years agoFix uninitialized blobs reported by Luke Howard.
Jeremy Allison [Thu, 1 May 2003 18:11:59 +0000 (18:11 +0000)]
Fix uninitialized blobs reported by Luke Howard.
Jeremy.
(This used to be commit e954ca2ce8ec6b36794585c3bc948140cf9e7947)

20 years agoFix uninitialized blobs reported by Luke Howard.
Jeremy Allison [Thu, 1 May 2003 18:11:24 +0000 (18:11 +0000)]
Fix uninitialized blobs reported by Luke Howard.
Jeremy.
(This used to be commit 8dcc00899977a126d5782e44bdae74175ecc0d93)

20 years agoFix for bugid 51 from Dragan Krnic.
Jeremy Allison [Thu, 1 May 2003 17:48:07 +0000 (17:48 +0000)]
Fix for bugid 51 from Dragan Krnic.
Jeremy.
(This used to be commit aeba1fcab2fa61859fc1052af4752512a33bd801)

20 years agoFix for bugid 51 from Dragan Krnic.
Jeremy Allison [Thu, 1 May 2003 17:45:38 +0000 (17:45 +0000)]
Fix for bugid 51 from Dragan Krnic.
Jeremy.
(This used to be commit a2af45154d0e1bb76e78fbde1572d4fcd1ba0da2)

20 years agofix wrong debug messages in idmap_util.c
Simo Sorce [Thu, 1 May 2003 16:02:55 +0000 (16:02 +0000)]
fix wrong debug messages in idmap_util.c
correctly handle allocated rids in tdbsam
(This used to be commit 7ae6162e1dd668897628c4f7edff508616644d21)

20 years agoMove external links into new chapter "Further Resources"
Jelmer Vernooij [Thu, 1 May 2003 14:43:13 +0000 (14:43 +0000)]
Move external links into new chapter "Further Resources"
(This used to be commit 31560948d821a41c3c0468d2949cf87ec92ddabd)

20 years agoMove external links to new appendix called "Further Resources"
Jelmer Vernooij [Thu, 1 May 2003 14:39:53 +0000 (14:39 +0000)]
Move external links to new appendix called "Further Resources"
(This used to be commit cdfcdf39d1d74cdbf2eaf55601d9041f5016a5fa)

20 years agoinit wellknown in pdbedit too
Simo Sorce [Thu, 1 May 2003 14:32:24 +0000 (14:32 +0000)]
init wellknown in pdbedit too
add group mapping mappings to idmap at startup
(This used to be commit 62365023db61d5a4fa32845af3db73bce6cb94ea)

20 years agoMerge over Alexanders' conversion to docbook XML
Jelmer Vernooij [Thu, 1 May 2003 14:16:10 +0000 (14:16 +0000)]
Merge over Alexanders' conversion to docbook XML
(This used to be commit ab640d937f4c638c6e9b3b83f39eebbd62178dfc)

20 years agoOops. Missed some files
Jelmer Vernooij [Thu, 1 May 2003 14:14:14 +0000 (14:14 +0000)]
Oops. Missed some files
(This used to be commit c96107ba0551d33688018269cf2303c2861491f7)

20 years agoAdd support files for docbook 2 latex
Jelmer Vernooij [Thu, 1 May 2003 14:10:38 +0000 (14:10 +0000)]
Add support files for docbook 2 latex
(This used to be commit 07873fec8a97439491665822800bfef9b3f4fc58)

20 years agoproper wellknown sids initialization at startup
Simo Sorce [Thu, 1 May 2003 14:08:00 +0000 (14:08 +0000)]
proper wellknown sids initialization at startup
(This used to be commit 568feee8977ee1be210344c8ab1896512894cba2)

20 years agoAdd helper files for docbook XML
Jelmer Vernooij [Thu, 1 May 2003 14:06:15 +0000 (14:06 +0000)]
Add helper files for docbook XML
(This used to be commit 8de8af4443af1af9c759efcec5ca4c091ffa5b36)

20 years agoAdd smb.conf.5 manpage source
Jelmer Vernooij [Thu, 1 May 2003 14:04:06 +0000 (14:04 +0000)]
Add smb.conf.5 manpage source
(This used to be commit 248324779b7debd2640922be90fdd0f9aed20cf5)

20 years agoMerge over Alexanders' conversion to Docbook XML
Jelmer Vernooij [Thu, 1 May 2003 14:00:10 +0000 (14:00 +0000)]
Merge over Alexanders' conversion to Docbook XML
(This used to be commit b0e3fa7a3657a82a208fdee6cb587705db2b5ac4)

20 years agoRemove obsolete file (no longer necessary with docbook XML)
Jelmer Vernooij [Thu, 1 May 2003 13:58:48 +0000 (13:58 +0000)]
Remove obsolete file (no longer necessary with docbook XML)
(This used to be commit 3994ac4d22e666ae5ba38d2e6040fbf7b6e04617)

20 years agoMerge over Alexanders' conversion to docbook XML
Jelmer Vernooij [Thu, 1 May 2003 13:58:23 +0000 (13:58 +0000)]
Merge over Alexanders' conversion to docbook XML
(This used to be commit e75624c382d640747b54ba43f134fa043d23b7fe)

20 years agoMerge over Alexanders' conversion to XML
Jelmer Vernooij [Thu, 1 May 2003 13:54:48 +0000 (13:54 +0000)]
Merge over Alexanders' conversion to XML
(This used to be commit bde44c471b301c45f5106f6229579928b3c56b89)

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Thu, 1 May 2003 11:47:49 +0000 (11:47 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit a1ffe2a29c0e6be54af09d6647b7f54369d75a1e)

20 years ago*id_to_*id call reshape to return NTSTATUS errors
Simo Sorce [Thu, 1 May 2003 11:47:48 +0000 (11:47 +0000)]
*id_to_*id call reshape to return NTSTATUS errors
plus internal fixes
1st stage
(This used to be commit 6d036761e565bc93964bb3c939d5b7d78d5778a3)

20 years agoFix disk quotas support on HP/UX (patch by David Nixon)
Jelmer Vernooij [Thu, 1 May 2003 11:02:54 +0000 (11:02 +0000)]
Fix disk quotas support on HP/UX (patch by David Nixon)
(This used to be commit a2c315dea6910e3f83ba2e9bad4312cf35f608da)

20 years agoFix disk quotas support on HP/UX (patch by David Nixon)
Jelmer Vernooij [Thu, 1 May 2003 11:02:26 +0000 (11:02 +0000)]
Fix disk quotas support on HP/UX (patch by David Nixon)
(This used to be commit 908d839b77a03ac07b00b43a3000c8ea53dd5e35)

20 years agoTurn down some DEBUG()s and remove some duplicate code spotted by dfenwick.
Andrew Bartlett [Thu, 1 May 2003 02:51:49 +0000 (02:51 +0000)]
Turn down some DEBUG()s and remove some duplicate code spotted by dfenwick.

Andrew Bartlett
(This used to be commit 542a8b1817d3930e03e08e16e9711cacceb6df61)

20 years agoApparently we do support RA=2.
Tim Potter [Thu, 1 May 2003 02:00:32 +0000 (02:00 +0000)]
Apparently we do support RA=2.
(This used to be commit e146682b9f0cd8c8f6be6cad4b05a86ca118e973)

20 years agoDon't crash if the underlying VFS doesn't support ACL's
Jelmer Vernooij [Thu, 1 May 2003 01:35:56 +0000 (01:35 +0000)]
Don't crash if the underlying VFS doesn't support ACL's
(This used to be commit a7520177b088589eec7f3989273020dab89d90b5)

20 years agoDon't crash if the underlying VFS doesn't support ACL's
Jelmer Vernooij [Thu, 1 May 2003 01:35:23 +0000 (01:35 +0000)]
Don't crash if the underlying VFS doesn't support ACL's
(This used to be commit 277fa587d596449a6ac15b440ae07d6707d758ac)

20 years agoUse ints for the version numbers in the smb_register_*() functions (patch by metze)
Jelmer Vernooij [Thu, 1 May 2003 00:51:54 +0000 (00:51 +0000)]
Use ints for the version numbers in the smb_register_*() functions (patch by metze)
(This used to be commit 3895571eeef81db7ce4c71e85b0be5c235b16efd)

20 years agoFleshed out the description of restrict anonymous parameter.
Tim Potter [Thu, 1 May 2003 00:43:18 +0000 (00:43 +0000)]
Fleshed out the description of restrict anonymous parameter.
(This used to be commit 2d150947082114f5e275a774baefc7e838ab5657)

20 years agoAdded missing documentation for 'max reported print jobs' parameter.
Tim Potter [Thu, 1 May 2003 00:31:56 +0000 (00:31 +0000)]
Added missing documentation for 'max reported print jobs' parameter.
(This used to be commit 21162481bcd26fc7c994bff60c2b0ad9f5fee245)

20 years agoMake the version numbers ints (patch from metze)
Jelmer Vernooij [Wed, 30 Apr 2003 23:06:44 +0000 (23:06 +0000)]
Make the version numbers ints (patch from metze)
(This used to be commit dbe36b4c43dceddea9f14161c6cf7b34709287c8)

20 years agoFix ulink in winbind section
Alexander Bokovoy [Wed, 30 Apr 2003 22:57:58 +0000 (22:57 +0000)]
Fix ulink in winbind section
(This used to be commit 3a28a287c08955bcd9387fbd08a1e742ffd969b9)

20 years agoRebuild docs
Alexander Bokovoy [Wed, 30 Apr 2003 22:52:23 +0000 (22:52 +0000)]
Rebuild docs
(This used to be commit 7cafdf9e9576f7988d72fccbc2fad3fbcd3c67df)

20 years agosmall fixes
Alexander Bokovoy [Wed, 30 Apr 2003 22:36:16 +0000 (22:36 +0000)]
small fixes
(This used to be commit 5b4274c3a10c3ab133fb8a0b8cff41413224f88a)

20 years ago'add machine script' is used to create unix accounts for machine accounts
Jelmer Vernooij [Wed, 30 Apr 2003 22:19:40 +0000 (22:19 +0000)]
'add machine script' is used to create unix accounts for machine accounts
(This used to be commit 386ba78e787ebae8109e39686d0b8d9875dd12e1)

20 years agoFix FAQ build
Alexander Bokovoy [Wed, 30 Apr 2003 21:47:54 +0000 (21:47 +0000)]
Fix FAQ build
(This used to be commit 7c60a2a4394c9ce48c079c2c5233cd8002789e03)

20 years agoDocbook XML conversion: XSLT and build infrastructure
Alexander Bokovoy [Wed, 30 Apr 2003 21:39:49 +0000 (21:39 +0000)]
Docbook XML conversion: XSLT and build infrastructure
(This used to be commit f4f6e0b29e744077dfb836745716a659a49d7529)

20 years agoRemove strip-links.pl, not needed anymore
Alexander Bokovoy [Wed, 30 Apr 2003 21:27:38 +0000 (21:27 +0000)]
Remove strip-links.pl, not needed anymore
(This used to be commit 0cdab65ae336d8d1887519076a121deffe1ceb17)

20 years agoDocbook XML conversion: projdoc
Alexander Bokovoy [Wed, 30 Apr 2003 21:26:24 +0000 (21:26 +0000)]
Docbook XML conversion: projdoc
(This used to be commit f7c9df751459da2d4a996d5f0135334fb3f87f69)

20 years agoDocbook XML conversion: manpages
Alexander Bokovoy [Wed, 30 Apr 2003 21:23:00 +0000 (21:23 +0000)]
Docbook XML conversion: manpages
(This used to be commit b558088b85355e9f22c77b4267a038adc47e9630)

20 years agoDocbook XML conversion: faq
Alexander Bokovoy [Wed, 30 Apr 2003 21:20:11 +0000 (21:20 +0000)]
Docbook XML conversion: faq
(This used to be commit 6378451733bfddd3732dc3bbc7b814e625eaf649)

20 years agoDocbook XML conversion: devdoc
Alexander Bokovoy [Wed, 30 Apr 2003 21:17:53 +0000 (21:17 +0000)]
Docbook XML conversion: devdoc
(This used to be commit 4677d5e11c309b074be2ebb2e22394c5b3c13c58)

20 years agoRefactor existing sock_exec() and socketpair_tcp() functions into their own
Paul Green [Wed, 30 Apr 2003 17:48:46 +0000 (17:48 +0000)]
Refactor existing sock_exec() and socketpair_tcp() functions into their own
source file. I will be making changes to sock_exec to work on VOS, which
has a blocking connect() call, but first I want to get it in its own source
file so that it can be called from a test program.
(This used to be commit 10bf65d335b7d7076484172faa2b4689ed437552)

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Wed, 30 Apr 2003 17:35:57 +0000 (17:35 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 73473310533133d1d88ac86a84e10d85583a6855)

20 years agoRefactor existing sock_exec() and socketpair_tcp() functions into their own
Paul Green [Wed, 30 Apr 2003 17:35:56 +0000 (17:35 +0000)]
Refactor existing sock_exec() and socketpair_tcp() functions into their own
source file. I will be making changes to sock_exec to work on VOS, which
has a blocking connect() call, but first I want to get it in its own source
file so that it can be called from a test program.
(This used to be commit 2dd18ca0cfd4d793067b9b712554565965db0af1)

20 years agocorrectly initiazlize idmap tdb when creationg new
Simo Sorce [Wed, 30 Apr 2003 16:35:17 +0000 (16:35 +0000)]
correctly initiazlize idmap tdb when creationg new
few fixes to *id_to_*id functions, we don't set the mapping for algoritmic
RIDs, they are resolved in the classic way
eliminate getpw* calls from tdbsam
(This used to be commit 6a7689cf74cd4d5f29e0b12f4bf8ac3051d49157)

20 years agoMerge from HEAD.
John Terpstra [Wed, 30 Apr 2003 16:02:38 +0000 (16:02 +0000)]
Merge from HEAD.
(This used to be commit b962a8fa489439b9d666d068300d71d7aaaa6515)

20 years agoMerge from HEAD - the usual popt-needs-static for Sun CC.
Andrew Bartlett [Wed, 30 Apr 2003 14:25:13 +0000 (14:25 +0000)]
Merge from HEAD - the usual popt-needs-static for Sun CC.
(This used to be commit 2fabc356769477cc8bdbb23ecd8fee1e7d9fdb7d)

20 years agoTry to fix IRIX build - add quotes and never call libns_winbind by name - we
Andrew Bartlett [Wed, 30 Apr 2003 14:14:33 +0000 (14:14 +0000)]
Try to fix IRIX build - add quotes and never call libns_winbind by name - we
should only set that name once.
(This used to be commit 34f15bff6f4f847eb900174793dcbc638f96a5bd)

20 years agoTrailing , is non-standard (warning from IRIX)
Andrew Bartlett [Wed, 30 Apr 2003 14:03:29 +0000 (14:03 +0000)]
Trailing , is non-standard (warning from IRIX)
(This used to be commit 96134959d9f8385dfbf34445a3fe6911507cf51e)

20 years agoFix for AIX - you can't qualify a return type as const, when it's not a
Andrew Bartlett [Wed, 30 Apr 2003 14:01:16 +0000 (14:01 +0000)]
Fix for AIX - you can't qualify a return type as const, when it's not a
pointer.

(merge from HEAD).

Andrew Bartlett
(This used to be commit 9e3d0cd9dea1234d6e6a26d03995b5edfaed5186)

20 years agopam_smbpass will need at least IDMAP.
Andrew Bartlett [Wed, 30 Apr 2003 13:57:28 +0000 (13:57 +0000)]
pam_smbpass will need at least IDMAP.
(This used to be commit b05fa6b90a7f5b74824d32b687c17ef6e76f59c1)

20 years agoGet pam_smbpass to compile again (it probably won't link or run, but at least
Andrew Bartlett [Wed, 30 Apr 2003 13:56:02 +0000 (13:56 +0000)]
Get pam_smbpass to compile again (it probably won't link or run, but at least
it compiles and lets the build farm get on it's way)
(This used to be commit 7498d69d9d69f70a4c7511b5032d7d5d2b9c846f)

20 years agoSun CC requires constant initialisers, so use a static here.
Andrew Bartlett [Wed, 30 Apr 2003 13:22:02 +0000 (13:22 +0000)]
Sun CC requires constant initialisers, so use a static here.

(a common bug with popt stuff, becouse it's fine with GCC).
(This used to be commit edbab685d181887f8cb055cc9dc175b2772bd0ff)

20 years agoauto-init for utility functions
Simo Sorce [Wed, 30 Apr 2003 00:44:45 +0000 (00:44 +0000)]
auto-init for utility functions
(This used to be commit db571a9fd7fbce1c13ed652616ad9725db00b49f)

20 years agoforgot to remove getpwnam
Simo Sorce [Tue, 29 Apr 2003 23:52:53 +0000 (23:52 +0000)]
forgot to remove getpwnam
(This used to be commit 1915ab7b95b2baade0f4293d5a7a96003888d1c9)

20 years agomore updates from Buchan after we removed some on the old/unstable tools/binaries...
Gerald Carter [Tue, 29 Apr 2003 22:42:50 +0000 (22:42 +0000)]
more updates from Buchan after we removed some on the old/unstable tools/binaries/scripts
(This used to be commit 1de2d29fc4921deb6b6509ce3bf49512e990e050)

20 years agoThis is a nice rewrite:
Simo Sorce [Tue, 29 Apr 2003 22:06:16 +0000 (22:06 +0000)]
This is a nice rewrite:

SAM_ACCOUNT does not have anymore uid and gid fields
all the code that used them has been fixed to use the proper idmap calls

fix to idmap_tdb for first time idmap.tdb initialization.

auth_serversupplied_info structure has now an uid and gid field

few other fixes to make the system behave correctly with idmap

tested only with tdbsam, but smbpasswd and nisplus should be ok

have not tested ldap !
(This used to be commit 6a6f6032467e55aa9b76390e035623976477ba42)

20 years agoremove 'devel' option to makerpms.sh.tmpl since we don't use it n the RH packaging...
Gerald Carter [Tue, 29 Apr 2003 15:54:26 +0000 (15:54 +0000)]
remove 'devel' option to makerpms.sh.tmpl since we don't use it n the RH packaging anymore and make sure to run autogen.sh if configure doesn't exist (make building from CVS easier)
(This used to be commit bfcdd769f5fd008bf8113c4fe82c3791bd354398)

20 years agosmbgroupedit has been replaced by 'net groupmap'
Gerald Carter [Tue, 29 Apr 2003 15:32:14 +0000 (15:32 +0000)]
smbgroupedit has been replaced by 'net groupmap'
remove related file.  Left in EHAD for reference (for now)
(This used to be commit 2e7537d8e29171bfddac984911c55cf567886956)

20 years agoremove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2...
Gerald Carter [Tue, 29 Apr 2003 15:27:06 +0000 (15:27 +0000)]
remove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2. if they still need them
(This used to be commit 237857a760974bb02000e5d3a776240ec73ca6b6)

20 years agoremove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2...
Gerald Carter [Tue, 29 Apr 2003 15:24:52 +0000 (15:24 +0000)]
remove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2. if they still need them
(This used to be commit 000fe6b2f0e87571d2a6f2f19d4f90076eaeee3e)

20 years agoAdding further change to accommodate the add machine script facility.
John Terpstra [Tue, 29 Apr 2003 15:18:57 +0000 (15:18 +0000)]
Adding further change to accommodate the add machine script facility.
(This used to be commit bec502c3b8bba1ae77a72c05da2f0de6e1b0931e)

20 years agoAdd reference to use of the add machine script for on-the-fly machine account creation.
John Terpstra [Tue, 29 Apr 2003 15:16:44 +0000 (15:16 +0000)]
Add reference to use of the add machine script for on-the-fly machine account creation.
(This used to be commit 843673947ed42720397ed30cf678e06f4fb11c6d)

20 years agoLike net rpc user -l, let net ads user -l allow more than 50 characters in
Jim McDonough [Tue, 29 Apr 2003 15:15:31 +0000 (15:15 +0000)]
Like net rpc user -l, let net ads user -l allow more than 50 characters in
comments.
(This used to be commit b5b1732b1144c9bcf5c3b08f6f9da9ad8875f5f7)

20 years agoAllow net rpc user -l to list longer than 50 characters in a user comment.
Jim McDonough [Tue, 29 Apr 2003 15:09:54 +0000 (15:09 +0000)]
Allow net rpc user -l to list longer than 50 characters in a user comment.
Net.exe on windows won't allow more than 50 characters to be entered, but
through AD you can have much more than this.
(This used to be commit ca2886c9385361ea401e3e0b47c26cb39adcadbc)

20 years agoadding ifdef'd code to add alias membership for vampire
Gerald Carter [Tue, 29 Apr 2003 14:43:16 +0000 (14:43 +0000)]
adding ifdef'd code to add alias membership for vampire
(This used to be commit 21867183e082a4ec7fec64a534677058cba1a598)

20 years agoadding ifdef'd code to add alias membership for vampire
Gerald Carter [Tue, 29 Apr 2003 14:42:49 +0000 (14:42 +0000)]
adding ifdef'd code to add alias membership for vampire
(This used to be commit 2557b94519fbb3110948a3c6a3f412622757d2b0)

20 years agoSome passdb backends really don't like having no primary group - so always
Andrew Bartlett [Tue, 29 Apr 2003 14:38:45 +0000 (14:38 +0000)]
Some passdb backends really don't like having no primary group - so always
set one - new accounts -> domain users, unless otherwise specified.

This moves that logic from pdb_set_sam_sids() into pdb_init_sam_new(), which
is called by all the 'new account' creators. (pdb_set_sam_sids() now only
deals with the mapping from an existing account)

Andrew Bartlett
(This used to be commit 2c7b3d9fd5bb327bdbd34ec27b36eb59cbc481af)

20 years agoChange order of parameters to smb_register_passdb()
Jelmer Vernooij [Tue, 29 Apr 2003 14:09:50 +0000 (14:09 +0000)]
Change order of parameters to smb_register_passdb()
(This used to be commit 63cf5637c16dc770f0ab2f73ff00577c7cd426ee)

20 years agoadd version back to lanman string in sessetup reply
Gerald Carter [Tue, 29 Apr 2003 13:29:14 +0000 (13:29 +0000)]
add version back to lanman string in sessetup reply
(This used to be commit 4ab1909378695383e7e5bd20898392e6d2166969)

20 years agoadd version back to lanman string in sessetup reply
Gerald Carter [Tue, 29 Apr 2003 13:28:48 +0000 (13:28 +0000)]
add version back to lanman string in sessetup reply
(This used to be commit dade462a168abe721c70022546109074961969b6)

20 years agoMerge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continue
Andrew Bartlett [Tue, 29 Apr 2003 12:54:46 +0000 (12:54 +0000)]
Merge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continue
his IDMAP work.

This version also works properly (the HEAD version had suffered from bitrot),
and should be a good basis to change into the new IDMAP rules.

It also includes UTF8 conversions.

Included also are the schema changes, and a note about the now very old scripts
in examples/LDAP (they don't work for this, or even the previous schema).

Andrew Bartlett
(This used to be commit 38a8f2b23a12f6a964d447f7904dd722a1ca046c)

20 years agoforgot to add the file where things moved
Simo Sorce [Tue, 29 Apr 2003 11:40:52 +0000 (11:40 +0000)]
forgot to add the file where things moved
(This used to be commit 3c2963f8e3f98ecae9fe59336c35000cf4d386c5)

20 years agoconsolidate idmap code in one place
Simo Sorce [Tue, 29 Apr 2003 10:54:13 +0000 (10:54 +0000)]
consolidate idmap code in one place
(This used to be commit f7041ec5d74475013c839b5ea9ecac10322e5e65)

20 years agoMerge 3.0's change to how we add users onto HEAD, including a few other bits
Andrew Bartlett [Tue, 29 Apr 2003 10:26:51 +0000 (10:26 +0000)]
Merge 3.0's change to how we add users onto HEAD, including a few other bits
of sync-up for the rpc_server/srv_samr_nt.c

Andrew Bartlett
(This used to be commit 3c867aedd9abc29389f5d049dbc94ada6738d1b0)

20 years agoUse a common function to create the SAM_ACCOUNT being used to add accounts
Andrew Bartlett [Tue, 29 Apr 2003 09:43:17 +0000 (09:43 +0000)]
Use a common function to create the SAM_ACCOUNT being used to add accounts
to the system.  This means that we always run Get_Pwnam(), and can never add
FOO when foo exists on the system (the idea is to instead add foo into
the passdb, using it's full name, RID etc).

Andrew Bartlett
(This used to be commit bb79b127e02cefae13c822fd0fd165f1f214b740)

20 years agosync with HEAD and remove --with-misplussam as well
Gerald Carter [Tue, 29 Apr 2003 06:06:41 +0000 (06:06 +0000)]
sync with HEAD and remove --with-misplussam as well
(This used to be commit 531c2df8d443fde8fafdc95250cb9eb809089d59)

20 years agoremove --with-tdbsam since it is always built now
Gerald Carter [Tue, 29 Apr 2003 06:03:04 +0000 (06:03 +0000)]
remove --with-tdbsam since it is always built now
(This used to be commit f277cd54ea6be5cad6ea765d992bc4133765ef92)

20 years agodo not build wrepld by default; package maintainers need to update their files now...
Gerald Carter [Tue, 29 Apr 2003 05:48:07 +0000 (05:48 +0000)]
do not build wrepld by default; package maintainers need to update their files now (john :) )
(This used to be commit 4a2bd728a5486764f0e50932d37c636ed8d226ea)

20 years agoonly call the add_script if the getpwnam_alloc() fails
Gerald Carter [Tue, 29 Apr 2003 05:37:42 +0000 (05:37 +0000)]
only call the add_script if the getpwnam_alloc() fails
(This used to be commit ba1e654a15fa800e56732fe005afd7479c18324b)

20 years agodon't implement any group mapping functions in the guest sam module
Gerald Carter [Tue, 29 Apr 2003 05:32:00 +0000 (05:32 +0000)]
don't implement any group mapping functions in the guest sam module
(This used to be commit a4056e2cae21e1f7e1aac1414bfa4158947fbfc7)