summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 f7149cf500d2b10ee72163c018a39fdd192d7632)
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-22Revert bogus part of previous patch.Andrew Bartlett1-6/+9
(This used to be commit 3cddfe211da812a533611eecba5d5da55fd3cf2d)
2003-03-22Small clenaup patches:Andrew Bartlett10-54/+98
- 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. Andrew Bartlett (This used to be commit a7eba37aadeb0b04cb1bd89deddb58be8aba825c)
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 e8b4b136669e7e415557956d698c66c254b28ec1)
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-22It seems that this causes some problems on some linux platforms - it's aAndrew Bartlett1-1/+1
pity becouse otherwise you need to link a program with it to get the fstring/pstring bugs. Andrew Bartlett (This used to be commit b1b4370955d50fd4997c7171a99fe03f97190aca)
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-22Patch from Jianliang Lu <j.lu@tiesse.com> to set the 'minimum password age'Andrew Bartlett1-0/+11
when setting the password. Andrew Bartlett (This used to be commit 552198b9e149c41f8cb2f976421ef030eac6fba6)
2003-03-22FALSE -> False (reported by Paul Green)Jelmer Vernooij1-1/+1
(This used to be commit 1002b0bbff295548b74580dbb0dc0c76474af23b)
2003-03-21Clobber the 'SAFETY_MARGIN' in libsmb.Andrew Bartlett1-3/+7
Andrew Bartlett (This used to be commit 05a63bd17e4c35979b3864b0969b2bfd945335d9)
2003-03-21Clobber our SMB buffers between packets. I hope this will help find bugsAndrew Bartlett1-2/+10
where we assume the buffer is zero, when it might not be (ie due to, previous packets). Andrew Bartlett (This used to be commit 191b0ab4d7c35c83d2bb2052b2e37d01fbf37b45)
2003-03-21Patch from colo (on IRC) to get libsmbclient building due to pstring/fstringAndrew Bartlett2-20/+20
issues. Also pick up these link failures at compile time (rather than runtime). Andrew Bartlett (This used to be commit 23c7342bc40daffbcd70ef04727cae2c2b2c366b)
2003-03-21Merge of new appliance-head scalable printing fixes.Jeremy Allison1-142/+287
Jeremy. (This used to be commit 331e621b580f997592892be0226fb452c67ae9e1)
2003-03-21Merge of new appliance-head scalable printing fixes.Jeremy Allison1-142/+287
Jeremy. (This used to be commit 301f17df51961b645b63d1520fc9c2e5627c1a0a)
2003-03-21Add more mappings to the nterr->errno mapping table. It should be fairlyJelmer Vernooij1-3/+75
complete now. (This used to be commit 72bb5615f3eef1c5b27716dfcabe4c8288729458)
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-21Give volker a hand, and let domain joins with existing user accounts workAndrew Bartlett1-12/+38
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 929213ff2a5829ba8435ba1be0de317bca1e0da0)
2003-03-20Merge from HEADVolker Lendecke1-1/+1
(This used to be commit d59a7bea6b22a4c3e6cacd1a4c5ee95f42b13a26)
2003-03-20Only build pdb_ldap if both ldap libs and headers are foundJelmer Vernooij1-2/+2
(This used to be commit 228110e83fce91c811c82f6f836d313b6b79ff87)
2003-03-20NT4 as well as W2k respond with IPC regardless of what serviceVolker Lendecke1-1/+1
type the client requested in the TCONX when connecting to IPC$. It is very well possible that this also applies to the DISK and PRINTER share types, not only IPC. Found this while trying to join a HEAD domain from NT4SP6. Volker (This used to be commit d42eb2116df4bb82c4199a688a057cd0a9f435ed)
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-20Patch from Samuel Thibault to convert messages from unix to dos charset. WorksJelmer Vernooij3-13/+33
on 2000. sending messages to 9x needs to be fixed, but that didn't work anyway (This used to be commit ca066502a2a3dbdd8943d515c9c6d21e62d757b6)
2003-03-20Fix setOtherHelp() - pointed out by metzeJelmer Vernooij1-1/+1
(This used to be commit 05b1681b03688c0d4e57e8dfb881b111f947e6c6)
2003-03-20use pstrcpy_base()Jim McDonough1-1/+1
(This used to be commit 2e3710f67293b01084026549246d494103b2d536)
2003-03-20Fix compile errors - don't use pstrcpy() on a fstringJelmer Vernooij1-7/+8
(This used to be commit 3bad73ca870bb43324bdb5dfc6bb02e0fa1fb1e0)
2003-03-20use pstrcpy_base()Jim McDonough1-1/+1
(This used to be commit 9387caf3cebecd50de2b295560355b779135d8c3)
2003-03-20Build samr as wellJelmer Vernooij1-0/+1
(This used to be commit 1d33afdef9ea11e17c633109170d35ed66c4e2b8)
2003-03-20Use True, not TRUE and False, not FALSEJelmer Vernooij5-8/+8
(This used to be commit 44e9bf88cc2bbb2aa34711354258c3abb319cb9b)
2003-03-20Merge from HEADVolker Lendecke1-8/+8
(This used to be commit 62d5a78b024898485f610b5d9db1a6d9a5c68c21)
2003-03-20Fix typoVolker Lendecke1-3/+3
(This used to be commit 5c6f5bef30db62f351d83ecdd6aa6990a567d842)
2003-03-20I like debug level 10, but these messages always get into my wayVolker Lendecke1-5/+5
when debugging pdc stuff... Volker (This used to be commit e1c275a66aa8a0fe29c61f4742fed5953671cb43)
2003-03-20Update smbcacls.1 for 3.0Jelmer Vernooij1-7/+15
(This used to be commit 0ab40fac3a45b1f72b8bd53a48fc39dd46c69086)
2003-03-20Convert smbcacls to poptJelmer Vernooij2-87/+53
(This used to be commit 45e5374e89730e7ad497edf9e344fbd1b8992589)
2003-03-20Make swat use poptJelmer Vernooij2-18/+20
(This used to be commit eccb6998111ce7a56bfd11578ccd7c09958f407e)
2003-03-20Make swat use poptJelmer Vernooij2-15/+19
(This used to be commit 3cd1650d389850c2a36997a1a404d37bb28130e4)
2003-03-20Update swat docs for 3.0Jelmer Vernooij2-12/+24
(This used to be commit 06c7a16b2d2040c0932eb663076cecb6d2cd3cdf)
2003-03-20Update wbinfo.1 for 3.0Jelmer Vernooij2-4/+25
(This used to be commit c057c6594e8c44993c01d6bb3a8d0916a2adcd24)
2003-03-20Merge Herb's change.Volker Lendecke1-1/+1
Volker (This used to be commit e8725913f9f174c03683a35bbce16ee33ab4c707)
2003-03-20If CFLAGS is set when running configure, then just use that.Martin Pool1-3/+7
Otherwise add -O. (We used to always set -O, which is sometimes annoying when debugging and anyhow clashes with normal autoconf behaviour.) (This used to be commit aee2ad9c3444d59dd6f53dda5379a6c391e00002)
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-20Merge new .cvsignore files.Tim Potter0-0/+0
(This used to be commit f0ab1b6147bc0a0e028e67b598bfc0cb9944c8cc)
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-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 dee1326a1d8a0bf8977df22a0fe014dd5d8dc769)
2003-03-20Cleanup bogus initialisation in SID_NAME_USE enum.Tim Potter2-9/+10
Added new sid type = 9 for "computer" from MSDN. (This used to be commit 45929d126932e5cac5a23fe76d28a4fa05b54b77)
2003-03-19void function cannot return a value (besides the function called wasHerb Lewis1-1/+1
a void) (This used to be commit 55681422e97ede0ff9446925c7678d6254b13878)