summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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 09a3db0ffcbbe578788d3dd5ee7540d27cc7c09a)
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 99da1119a7a7fc0879e63f7e11cb4500419359e8)
2003-03-23Merge from HEAD:Volker Lendecke2-6/+7
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)
2003-03-23Metzes change:Volker Lendecke1-4/+9
> 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)
2003-03-23Merge of patch by waider to our samsync code.Andrew Bartlett1-35/+155
(Decode all database names, and set only changes, not all info from the samsync record). Andrew Bartlett (This used to be commit c7b8405bdebb9241ec335ccbbef630d90e61a419)
2003-03-22(merge from HEAD) Valgrind found some memory leaks!Andrew Bartlett3-2/+15
(This used to be commit 8315b9c3119dde62aeb72ad5e20f63aee89abd0b)
2003-03-22Merge from HEAD - Detect missing -lroken properly on machines without ↵Jelmer Vernooij1-2/+3
krb5-config (This used to be commit 70634d248e74395c05d9980b07d53a20327a30a8)
2003-03-22Never touch complicated if/else/elsif structures :-)Volker Lendecke1-23/+27
This repairs domain join with fully existing wks-account which I broke with my last patch... Volker (This used to be commit bc59912aa10e5000225110e48ad548f19756bed5)
2003-03-22This changes the way we do LDAP updates. We don't use LDAP_MOD_MODIFYVolker Lendecke1-121/+175
anymore, but instead look at what is currently stored in the database. Then we explicitly delete the existing attribute and add the new value if it is not NULL or "". This way we can handle appearing and disappearing attributes quite nicely. This currently breaks pdbedit -o, as this does not set the CHANGED flag on the SAM_ACCOUNT. Jelmer suggested that we set all the fields on CHANGED in context_add_sam_account. This sounds not too unreasonable. Volker (This used to be commit a75015c9ce8246670ee7c7d73df585390696fe95)
2003-03-22(merge from HEAD)Andrew Bartlett10-41/+96
Small clenaup patches: - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. - connection.c - use safe_strcpy() Andrew Bartlett (This used to be commit c91e76bddbe1244ddc8d12b092eba875834029ac)
2003-03-22Fix compile on IA64 by noting that this should be the integer, not a pointerAndrew Bartlett1-1/+1
to the integer for SIVAL(). (This used to be commit 5e20868fadc4e01ea09639bc57c51d1eb687f78c)
2003-03-22This caused problems on the build farm.Andrew Bartlett1-1/+1
(This used to be commit f16a70a405a702945ada42be638c3d17c59517c0)
2003-03-22Merge fixes to libsmbclient (fstring/pstring) from HEAD.Andrew Bartlett2-20/+20
Andrew Bartlett (This used to be commit 6bf04c41ed88528345f6bb19d48f5909753a8322)
2003-03-22Thanks to volker, merge passdb changes from HEAD:Andrew Bartlett9-229/+137
- pdb_guest (including change defaults) - 'default' passdb actions (instead of 'not implemented' stubs in each module) - net_rpc_samsync no longer assumes pdb_unix Andrew Bartlett (This used to be commit 4bec53c8c81019f0f06a93c4df0800bbf7281dd6)
2003-03-22Merge from HEAD - patch from Jianliang Lu <j.lu@tiesse.com> to set theAndrew Bartlett1-0/+11
'minimum password age' during a password SET. Andrew Bartlett (This used to be commit dd6516e2e87cbe6bcbc371756d99ebb3b5617c2b)
2003-03-21Merge of new appliance-head scalable printing fixes.Jeremy Allison1-142/+287
Jeremy. (This used to be commit 331e621b580f997592892be0226fb452c67ae9e1)
2003-03-21(merge from HEAD)Andrew Bartlett1-7/+33
Give volker a hand, and let domain joins with existing user accounts work a bit better. This just sets the minimum possible attributes - if we are 'upgrading' an LDAP based user account, the attributes will be there anyway. This matches NT pretty well to. This also fixes some use of unitialised values in the desired_access checking. (found by valgrind). Andrew Bartlett (This used to be commit 536e24ee5b83eaa77be81dd50e3e1a5010b5abf4)
2003-03-20Merge from HEADVolker Lendecke1-1/+1
(This used to be commit d59a7bea6b22a4c3e6cacd1a4c5ee95f42b13a26)
2003-03-20Patch from Samuel Thibault to convert messages from dos to unix charsetJelmer Vernooij3-13/+33
when sending(and vice versa when receiving). (This used to be commit 5310447ec6e0df1c000e3ee14572f5b7fee31f28)
2003-03-20use pstrcpy_base()Jim McDonough1-1/+1
(This used to be commit 2e3710f67293b01084026549246d494103b2d536)
2003-03-20Merge from HEADVolker Lendecke1-8/+8
(This used to be commit 62d5a78b024898485f610b5d9db1a6d9a5c68c21)
2003-03-20Make swat use poptJelmer Vernooij2-18/+20
(This used to be commit eccb6998111ce7a56bfd11578ccd7c09958f407e)
2003-03-20Merge of compiler warning fixups.Tim Potter10-328/+316
(This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
2003-03-20Merge of removal of py_samba.cTim Potter2-68/+1
(This used to be commit 68b4052281d22dace2ae9e48d022fa288c0a6425)
2003-03-20lib/messages.c: Check return from chainlock before modifying message queue.Jeremy Allison3-7/+8
Apply the job returned limit across all requests for job queues. Jeremy. (This used to be commit bf795b684e608f82db822e0759e7b69afd451b65)
2003-03-19void function cannot return a value (besides the function called wasHerb Lewis1-1/+1
a void) (This used to be commit 55681422e97ede0ff9446925c7678d6254b13878)
2003-03-19use strnlen to prevent coredumpsJim McDonough1-3/+3
(This used to be commit 5078436d83f0fdc568d6687809c7c70dea5fd382)
2003-03-19replace pstrcpyJim McDonough1-1/+1
(This used to be commit c5876f9f07bfff4e03f3a70136515c9daab20afd)
2003-03-19This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User4-0/+233
used to be commit 6f94672d3da070aae0b17f4dcdc6cd119b68d84c)
2003-03-19Put in the new modules system. It's now used by passdb and rpc. I willJelmer Vernooij23-331/+116
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
2003-03-19Merge from HEAD.Volker Lendecke2-59/+101
Volker (This used to be commit f42032060812e9bf409042c790e71fefb40ff17a)
2003-03-19Add paramter 'ldap del only sam attr'.Volker Lendecke2-59/+101
This patch is heavily based on a patch by SuSE. Thanks to Guenther Deschner <gd@suse.de> for providing it. Volker (This used to be commit 5eaf9195eefda5ababba85cc0f6d581ff6f0f454)
2003-03-19Fix some comment typosJelmer Vernooij1-2/+2
(This used to be commit 051b33e98f94ad09b4d8816a88e78715e7dc2a5e)
2003-03-19Fix some comment typosJelmer Vernooij1-2/+2
(This used to be commit 41ea416adbc074f3a34b66c18ed63c7d44ea28fc)
2003-03-19merge from HEADVolker Lendecke1-0/+1
(This used to be commit 12110a263b5ac65d6b965ccbe19b7be3025f0373)
2003-03-19Hey -- there is an error code NT_STATUS_CANNOT_DELETE :-)Volker Lendecke1-1/+1
(This used to be commit aa9b8382d38346cb3e94ddf2e7caf6d663034579)
2003-03-19If we fail, return an error code :-)Volker Lendecke1-0/+1
Volker (This used to be commit a5218499eb3f0a62cd663a06157591fbb0dfcbef)
2003-03-19GCC 3.x has deprecated multi-line string constants.Tim Potter5-307/+304
(This used to be commit 54000fc3b0daee452f4d5bc7dad40757f1cf7c11)
2003-03-19Fix compiler warning.Tim Potter2-3/+8
(This used to be commit 74c1cd0040890d24e6191d4cb0467e9f9d70f5dc)
2003-03-19Removed unused variable.Tim Potter1-2/+0
(This used to be commit 6326b0f0b489334c672548a50740890a124988a2)
2003-03-19Add function prototype.Tim Potter1-0/+4
(This used to be commit 57e5c2007b7390c06989b34c7ecf6b5f6f56a03b)
2003-03-19Remove py_samba.c experiment - it didn't work.Tim Potter2-68/+1
(This used to be commit e69c061211e9c64201b54087d1381740d82cbbcd)
2003-03-19Put group mapping into LDAP.Volker Lendecke1-30/+471
Volker (This used to be commit da83d97eb50c3c3a67985e22410842100207431f)
2003-03-19Put group mapping into LDAP.Volker Lendecke1-1/+501
Volker (This used to be commit f0f1518fc450834725902e9cdf33fb8d35f99360)
2003-03-19Fix debug message not to use an uninitialized variable.Volker Lendecke1-2/+1
Volker (This used to be commit 80bfa7efd65af02108e3ef1e2b2952cda6dc5999)
2003-03-19Add additional StrCaseCmp test cases.Martin Pool1-2/+14
Doc. (This used to be commit ac6027884b04943fac3d469ff6542d62293f46cc)
2003-03-19Fix debug message not to use an uninitialized variable.Volker Lendecke1-2/+1
Volker (This used to be commit 71906a5b4e4f93ebd4c27a0d22d74aad62e14924)
2003-03-19Add an STF module that defines the tests to be run by "make check".Martin Pool1-0/+33
(This used to be commit a5a2cc9ae9668e66d39beed1fdad4df0405fa4da)
2003-03-19Get rid of "make check" targets that call nonexistent code.Martin Pool1-30/+15
Add in new ones that run STF, after setting up a PATH and LD_LIBRARY_PATH that will let them find samba in the build directory. LD_LIBRARY_PATH is probably not portable but without libtool I don't know a portable way to do it. Perhaps the simple solution is just to link these things statically? (This used to be commit 27c1626ae0a30bf0f01ea6d6df5836425e6f9547)
2003-03-19A new STF test case! This one checks strcasecmp correctness forMartin Pool1-0/+57
various strings. (This used to be commit ef5bdb1700f6033f342d6bb32a8d0ee240dd34b8)