ira/wip.git
17 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 years agoremoving printing = SOFTQ since no one knows what it is
Gerald Carter [Tue, 29 Apr 2003 05:30:42 +0000 (05:30 +0000)]
removing printing = SOFTQ since no one knows what it is
(This used to be commit 7daf5f004273156ae263129b847c601b210f4fdb)

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

17 years agoremoving printing = SOFTQ since no one knows what it is
Gerald Carter [Tue, 29 Apr 2003 05:06:18 +0000 (05:06 +0000)]
removing printing = SOFTQ since no one knows what it is
(This used to be commit 283953472229952f7f2613a207515580cd0919c3)

17 years agopackaging updates from Buchan
Gerald Carter [Tue, 29 Apr 2003 04:59:35 +0000 (04:59 +0000)]
packaging updates from Buchan
(This used to be commit e4754e0a2bd2ca7b2495a9d747fe08cdb45c8876)

17 years agook next_rid out as well local_*id_to*id functions
Simo Sorce [Tue, 29 Apr 2003 03:31:00 +0000 (03:31 +0000)]
ok next_rid out as well local_*id_to*id functions
reverted user making function, did not pass the abartlet test :-)
idmap is now fully integrated, we only miss user creation and removal of uid
and gid from SAM_ACCOUNT
(This used to be commit 67af8c26586c4829166795813a373bf9be27b753)

17 years agoFix for format string warning from vance
Andrew Bartlett [Tue, 29 Apr 2003 03:04:05 +0000 (03:04 +0000)]
Fix for format string warning from vance
(This used to be commit 0369d4432b9700626b6853dae8c93770bb1bcd59)

17 years agoRemove extra file
Andrew Bartlett [Tue, 29 Apr 2003 01:06:17 +0000 (01:06 +0000)]
Remove extra file
(This used to be commit 5d95309d8ab482e37ce96deb4a278186320e457f)

17 years agoUse current 3.0 paramater names
Andrew Bartlett [Tue, 29 Apr 2003 01:05:51 +0000 (01:05 +0000)]
Use current 3.0 paramater names
(This used to be commit 7ed8a0eb945df88d25ab8c444c92d09d6ac3fdf2)

17 years agoswat need idmap now
Simo Sorce [Mon, 28 Apr 2003 23:58:55 +0000 (23:58 +0000)]
swat need idmap now
(This used to be commit c4ba4db3414a2178a5314291c767d02e3f88525c)

17 years agonew helper functions to create users
Simo Sorce [Mon, 28 Apr 2003 23:36:54 +0000 (23:36 +0000)]
new helper functions to create users
(This used to be commit 74826e7ebb62ab09df68bb00fbd6097852ec5b6d)

17 years agoFixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy Allison [Mon, 28 Apr 2003 18:43:46 +0000 (18:43 +0000)]
Fixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy.
(This used to be commit 30512b7d3ea3470e4aca08638a5c0ea14791a6e7)

17 years agoFixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy Allison [Mon, 28 Apr 2003 18:42:34 +0000 (18:42 +0000)]
Fixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy.
(This used to be commit a330bf170eb8e78200367c90833cbc90255642cb)

17 years agoUse NTSTATUS as return value for smb_register_*() functions and init_module()
Jelmer Vernooij [Mon, 28 Apr 2003 18:33:25 +0000 (18:33 +0000)]
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)

17 years agoUse NTSTATUS as return value for smb_register_*() functions and init_module()
Jelmer Vernooij [Mon, 28 Apr 2003 17:48:48 +0000 (17:48 +0000)]
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)

17 years agoAdd example auth/ module
Jelmer Vernooij [Mon, 28 Apr 2003 17:15:21 +0000 (17:15 +0000)]
Add example auth/ module
(This used to be commit d16f8f661a2a0be4fd89f7469b7e3e6a42860ad2)

17 years agoAdd example authentication module
Jelmer Vernooij [Mon, 28 Apr 2003 17:14:49 +0000 (17:14 +0000)]
Add example authentication module
(This used to be commit e112dc1641c47c7185e098918980df1a4d950bd7)

17 years agoFix SGML/XML incompability before starting conversion to XML
Alexander Bokovoy [Mon, 28 Apr 2003 16:53:13 +0000 (16:53 +0000)]
Fix SGML/XML incompability before starting conversion to XML
(This used to be commit 1b5ad8a502a641f285b986c81216d7c5e5c33e79)

17 years agotesting commit
Gerald Carter [Mon, 28 Apr 2003 15:39:38 +0000 (15:39 +0000)]
testing commit
(This used to be commit ee1f0914ff7a915988156fc713f3891c3d8e5594)

17 years agoreadding template files on SAMBA_3_0 branch; not cvs tag
Gerald Carter [Mon, 28 Apr 2003 15:39:22 +0000 (15:39 +0000)]
readding template files on SAMBA_3_0 branch; not cvs tag
(This used to be commit fb6c5b293cdc9d4e98a975bd85ce2a55396c8e8d)

17 years agoAdd cast for compiler
Andrew Bartlett [Mon, 28 Apr 2003 14:23:44 +0000 (14:23 +0000)]
Add cast for compiler
(This used to be commit 456eb5d05a442ee380cfa756be54619b1d68fa48)

17 years agoRemove uid and gid column
Jelmer Vernooij [Mon, 28 Apr 2003 14:17:52 +0000 (14:17 +0000)]
Remove uid and gid column
(This used to be commit 1fda7847fcda5e4b693f1b132b45e9bd94abc245)

17 years agoAdd note on AIX
Jelmer Vernooij [Mon, 28 Apr 2003 14:16:10 +0000 (14:16 +0000)]
Add note on AIX
(This used to be commit c86d32d7343c160851a6937e51bea2de68de0db8)

17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Mon, 28 Apr 2003 13:53:26 +0000 (13:53 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 8fa5862a443f3126e410e0e2f2f12770a113792f)

17 years agoIn HEAD, idra removed _nua and renamed it to 'idmap uid'
Andrew Bartlett [Mon, 28 Apr 2003 13:53:25 +0000 (13:53 +0000)]
In HEAD, idra removed _nua and renamed it to 'idmap uid'
(This used to be commit 3c7155424aaa880c2e9e570f8c29fd5679e827b1)

17 years agoWe don't use 'non unix account range' any more
Andrew Bartlett [Mon, 28 Apr 2003 13:51:46 +0000 (13:51 +0000)]
We don't use 'non unix account range' any more
(This used to be commit 082bdcd662aed47827c9d4fb1272c327a0ae79b1)

17 years agoBugs should go into bugzilla!
Jelmer Vernooij [Mon, 28 Apr 2003 13:31:10 +0000 (13:31 +0000)]
Bugs should go into bugzilla!
(This used to be commit b295c3ac5ecb265b73d3ed0d5210c33ce4107c8a)

17 years agoUse entities and add overview of directories
Jelmer Vernooij [Mon, 28 Apr 2003 13:07:29 +0000 (13:07 +0000)]
Use entities and add overview of directories
(This used to be commit 5957e3bf33e8992eda620a6ab0b4f8a1dbe8cb7a)

17 years agoTypo in error message
Volker Lendecke [Mon, 28 Apr 2003 12:29:25 +0000 (12:29 +0000)]
Typo in error message

Volker
(This used to be commit a1cae680f98a128ab73306196a303d76e41f24c2)

17 years agoFix a confusing error message
Volker Lendecke [Mon, 28 Apr 2003 12:27:18 +0000 (12:27 +0000)]
Fix a confusing error message

Volker
(This used to be commit 69df898afb45e2e577a10649f66f5352887044a2)

17 years agoThe caller must always set the RID on the SAM_ACCOUNT, so don't try and guess
Andrew Bartlett [Mon, 28 Apr 2003 11:46:22 +0000 (11:46 +0000)]
The caller must always set the RID on the SAM_ACCOUNT, so don't try and guess
it from the UID.

Andrew Bartlett
(This used to be commit cdc1d0505107d05d784693d321b24208a386d4f0)

17 years agoThe RID must be 'SET', not 'DEFAULT' or we won't set it into LDAP, and try
Andrew Bartlett [Mon, 28 Apr 2003 11:40:58 +0000 (11:40 +0000)]
The RID must be 'SET', not 'DEFAULT' or we won't set it into LDAP, and try
to make it up from the algorithm...

Andrew Bartlett
(This used to be commit 0d8e4066a3bfbe89b464a90fc9f16a7dd1539573)

17 years agoGuenther Deschner <gd@suse.de> notes that I missed out setting the default
Andrew Bartlett [Mon, 28 Apr 2003 11:14:12 +0000 (11:14 +0000)]
Guenther Deschner <gd@suse.de> notes that I missed out setting the default
for the 'normal' case (not --with-ldapsam).

Andrew Bartlett
(This used to be commit ebe5c618189391e6adf27e565a5821f8d47c8c7d)

17 years agoA new pdb_ldap!
Andrew Bartlett [Mon, 28 Apr 2003 10:20:55 +0000 (10:20 +0000)]
A new pdb_ldap!

This patch removes 'non unix account range' (same as idra's change in HEAD),
and uses the winbind uid range instead.

More importanly, this patch changes the LDAP schema to use 'ntSid' instead
of 'rid' as the primary attribute.  This makes it in common with the group
mapping code, and should allow it to be used closely with a future idmap_ldap.

Existing installations can use the existing functionality by using the
ldapsam_compat backend, and users who compile with --with-ldapsam will get
this by default.

More importantly, this patch adds a 'sambaDomain' object to our schema -
which contains 2 'next rid' attributes, the domain name and the domain sid.
Yes, there are *2* next rid attributes.  The problem is that we don't 'own'
the entire RID space - we can only allocate RIDs that could be 'algorithmic'
RIDs.  Therefore, we use the fact that UIDs in 'winbind uid' range will be
mapped by IDMAP, not the algorithm.

Andrew Bartlett
(This used to be commit 3e07406ade81e136f67439d4f8fd7fe1dbb6db14)

17 years agoinet_pton isn't portable, so use interpret_addr2.
Andrew Bartlett [Mon, 28 Apr 2003 09:19:09 +0000 (09:19 +0000)]
inet_pton isn't portable, so use interpret_addr2.
(This used to be commit 04d27381325561038bee1c27f10c748b9aaf447d)

17 years agoMerge memory leak fixes in our trusted domain list from 3.0 to HEAD
Andrew Bartlett [Mon, 28 Apr 2003 09:14:31 +0000 (09:14 +0000)]
Merge memory leak fixes in our trusted domain list from 3.0 to HEAD
(This used to be commit c7f06f3a480feb1c7b1a44d16c05e1c238800b15)

17 years agoMerge compile warning fixes from 3.0
Andrew Bartlett [Mon, 28 Apr 2003 09:02:21 +0000 (09:02 +0000)]
Merge compile warning fixes from 3.0
(This used to be commit c0903951a144b1f0502e77437ea166d7a26393ba)

17 years agoMerge compile and other fixes from 3.0 to HEAD.
Andrew Bartlett [Mon, 28 Apr 2003 08:54:51 +0000 (08:54 +0000)]
Merge compile and other fixes from 3.0 to HEAD.

Including smbtorture bugfixes, and a better TCONDEV test.

Andrew Bartlett
(This used to be commit 52c5806004022f153af7d022afdb3ec7cc0d2548)

17 years agoMerge:
Tim Potter [Mon, 28 Apr 2003 07:05:50 +0000 (07:05 +0000)]
Merge:

> Perform lp_load() before popt to fix -W option.
(This used to be commit f8db590b07cabea3e199109bcdc26eaede189915)

17 years agoPerform lp_load() before popt to fix -W option.
Tim Potter [Mon, 28 Apr 2003 07:03:08 +0000 (07:03 +0000)]
Perform lp_load() before popt to fix -W option.
(This used to be commit d20f4bf5d84f435a7b4b692bf33f05f4ec871a50)

17 years agoMerge of -W fixes for bug #39:
Tim Potter [Mon, 28 Apr 2003 06:59:08 +0000 (06:59 +0000)]
Merge of -W fixes for bug #39:

>Replace workgroup global variable with lp_workgroup()
>
>Call lp_load() before parsing command line options so we can override
>the workgroup value with the -W switch.
(This used to be commit 272d06369d79250b484a22bc7e531eecd03e7c90)

17 years agoReplace workgroup global variable with lp_workgroup()
Tim Potter [Mon, 28 Apr 2003 06:54:49 +0000 (06:54 +0000)]
Replace workgroup global variable with lp_workgroup()

Call lp_load() before parsing command line options so we can override
the workgroup value with the -W switch.

Fixes bug #39.
(This used to be commit 56f070cd5242ac6c10699ca35726ce68199dd274)

17 years agoFix compiler warning.
Tim Potter [Mon, 28 Apr 2003 06:19:11 +0000 (06:19 +0000)]
Fix compiler warning.
(This used to be commit f127f964250c86986996afab905b40cff420bfd5)

17 years agoFix compiler warning.
Tim Potter [Mon, 28 Apr 2003 06:18:44 +0000 (06:18 +0000)]
Fix compiler warning.
(This used to be commit 6a783ca81cead3eed556570152608fd7a224f1ee)

17 years agoGetting ready for code that actually writes a registry file out.
Richard Sharpe [Mon, 28 Apr 2003 06:16:01 +0000 (06:16 +0000)]
Getting ready for code that actually writes a registry file out.
(This used to be commit 22e61a7e77eabd462f192fb03b5adb1d07fa7409)

17 years agoMerge:
Tim Potter [Mon, 28 Apr 2003 05:54:37 +0000 (05:54 +0000)]
Merge:

>Patch from waider to set exit code of last executed command specified
>as an argument to -c.
(This used to be commit b1ad69268889dbc2765ae98789112a28dc4c40c6)

17 years agoWhitespace syncup.
Tim Potter [Mon, 28 Apr 2003 05:47:07 +0000 (05:47 +0000)]
Whitespace syncup.
(This used to be commit 7fd7af121ee8ba4f9540394f64fe3c78e2e96cd2)

17 years agoTwo character tabs - I don't think so.
Tim Potter [Mon, 28 Apr 2003 05:40:46 +0000 (05:40 +0000)]
Two character tabs - I don't think so.
(This used to be commit 40d370bec6ef14cfa85e75cdb2f9122110ae9f1d)

17 years agoMerge: we need a rule for t_snprintf
Tim Potter [Mon, 28 Apr 2003 05:29:10 +0000 (05:29 +0000)]
Merge: we need a rule for t_snprintf
(This used to be commit 4d2106f910d64bf599394c17a30c351244cc137c)

17 years agoIgnore t_snprintf binary.
Tim Potter [Mon, 28 Apr 2003 05:28:48 +0000 (05:28 +0000)]
Ignore t_snprintf binary.
(This used to be commit 8d70ef6b8cf52e582e385c8c9b8f085b183169fd)

17 years agoMerge of a debuglevel downgrade from HEAD.
Tim Potter [Mon, 28 Apr 2003 05:26:59 +0000 (05:26 +0000)]
Merge of a debuglevel downgrade from HEAD.
(This used to be commit d17e04e82b77256f10f4bdf4442dac6d30e197b5)

17 years agoMerge stf updates from HEAD.
Tim Potter [Mon, 28 Apr 2003 05:20:01 +0000 (05:20 +0000)]
Merge stf updates from HEAD.
(This used to be commit 20bde94eb881009128794283a1d7537bbc62e268)

17 years agoMerge of const fixes from HEAD.
Tim Potter [Mon, 28 Apr 2003 05:18:30 +0000 (05:18 +0000)]
Merge of const fixes from HEAD.
(This used to be commit a847ebd82732cc2b430c58c3b287a46db0e35ba1)

17 years agoMerge from HEAD:
Tim Potter [Mon, 28 Apr 2003 03:36:01 +0000 (03:36 +0000)]
Merge from HEAD:

>Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
>return unexpected data.
>
>Closes bug #2.
(This used to be commit 2e5f75beafd3f3d81869ce68e77b8c53cd7a2caf)

17 years agoReturn NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
Tim Potter [Mon, 28 Apr 2003 03:33:56 +0000 (03:33 +0000)]
Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
return unexpected data.

Closes bug #2.
(This used to be commit 0c3314ab97331aa709216e7ad2a1a0c8605eb160)

17 years agoUpdate for the new modules system
Jelmer Vernooij [Mon, 28 Apr 2003 01:24:26 +0000 (01:24 +0000)]
Update for the new modules system
(This used to be commit 528c56176b186d9fa43f6a0c9831562c123ec25d)