summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
AgeCommit message (Collapse)AuthorFilesLines
2000-07-06added -L optionAndrew Tridgell1-2/+8
(This used to be commit ae80ca637cd4de6d18f995a4b6e1e1e21ab63581)
2000-07-06got smbw to compile again on LinuxAndrew Tridgell2-3/+4
(This used to be commit 614fd4119ce5aa37acd03321dc6ef263ae16bdc5)
2000-03-16removed extra arguements from make_nmb_name callsHerb Lewis1-3/+3
(This used to be commit d97f5d57d07b03c1df69099625b9d3faabe3f605)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell6-55/+19
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-06-13Return a (void *)0 instead of NULL in readdir64() wrapper.Tim Potter1-2/+1
(This used to be commit d78224a7d27097fa00d9e2a7b02efd7383d833ff)
1999-06-13Return a #error if no functions could be found to wrap around.Tim Potter1-0/+43
(This used to be commit 36f9ce7993adc5a26e808842233108f28b8fdebf)
1999-01-29removed encrypt-password code pre-cli_session_setup(), session setupLuke Leighton1-6/+2
fn decides whether to encrypt password or not. (This used to be commit 6d14db6a6c101e86b3c62d5098a05d29ae4e9cd8)
1999-01-27- got client code cleartext passwords working again in cli_session_setup.Luke Leighton1-2/+6
needed this for some tests. - removed code that said "if lm password is not encrypted then encrypt both lm and nt passwords". actually it said "if lm password length is not 24 bytes and we're in security=user mode..." it didn't bother to check whether the nt password was NULL or not, and doing the encryption inside cli_session_setup is the wrong place. - checked all instances where cli_session_setup is called with cleartext passwords that are expected to then be encrypted (see above) with the test "if pwlen != 24...". there was only one: all the others either provide encrypted passwords, do null sessions or use cli_establish_connection. * recommendation: use cli_establish_connection() in smbwrapper/smbw.c (This used to be commit 2a509e9606f8aefbefa6e7b49878726464dbed44)
1998-12-07issues spotted by herb.Luke Leighton1-1/+1
(This used to be commit 57e025494692b1e54d4d83192e6c15d4d1454353)
1998-11-29weekend work. user / group database API.Luke Leighton1-1/+2
- split sam_passwd and smb_passwd into separate higher-order function tables - renamed struct smb_passwd's "smb_user" to "unix_user". added "nt_user" plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd password databases to fill in the blank entries that are not obtained from whatever password database API instance is being used. NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c for the only example outside of the password database APIs i could find. - added query_useraliases code to rpcclient. - dealt with some nasty interdependencies involving non-smbd programs and the password database API. this is still not satisfactorily resolved completelely, but it's the best i can do for now. - #ifdef'd out some password database options so that people don't mistakenly set them unless they recompile to _use_ those options. lots of debugging done, it's still not finished. the unix/NT uid/gid and user-rid/group-rid issues are better, but not perfect. the "BUILTIN" domain is still missing: users cannot be added to "BUILTIN" groups yet, as we only have an "alias" db API and a "group" db API but not "builtin-alias" db API... (This used to be commit 5d5d7e4de7d1514ab87b07ede629de8aa00519a1)
1998-11-21add a error code when failed to get lockAndrew Tridgell1-1/+1
(This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)
1998-11-17Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison2-2/+2
Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy. (This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
1998-11-13fixes for OSF1 compilationAndrew Tridgell1-0/+6
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
1998-11-09Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison3-6/+6
client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
1998-11-09converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell2-5/+4
I did this when I saw yet another bug report complaining about smbclient intermittently missing files. Rather than applying more patches to smbclient it was better to move to the more robust clientgen.c code. The conversion wasn't perfect, I probably lost some features of smbclient while doing it, but at least smbclient should be consistent now. It if fails it should _always_ fail rather than giving people the false impression of a reliable utility. the tar stuff seems to work, but hasn't had much testing as I never use it myself. I'm sure someone will find bugs in my conversion of smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It now uses clientgen.c exclusively. smbclient is still quite messy, but at least it doesn't build its own SMB packets. I haven't touched smbmount as I never use it. Mike, do you want to convert smbmount to use clientgen.c? (This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)
1998-10-29some versions of Irix pass the HAVE__ACL test but don't have acl.hHerb Lewis1-1/+1
test for both before including ACL support. (This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)
1998-10-24handle the case of an intermediate binary not loading smbwrapper.soAndrew Tridgell1-2/+1
(for example /usr/bin/man because it is setgid). (This used to be commit 85f639ab2ba72dda5a00cf11c8ee705f5a51ec54)
1998-10-24volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell3-11/+39
changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to try to provide inode numbers. If it is 0 then use the hash of the filename as before. (This used to be commit 2565ccf9de9d5e80fdb5bcadbc7130faba386d95)
1998-10-24make sure that apps can't close one of the internal smbw fileAndrew Tridgell3-2/+30
descriptors by catching close attempts on those fds and returning EBADF. (This used to be commit 9d863fb1681a5b03696552e1d93fe339b4bae455)
1998-10-23don't use SMBW_PWD_ENV any moreAndrew Tridgell1-3/+0
(This used to be commit 252fe1e7014b2bf79a3abfa52fb77db9129074c7)
1998-10-23fixed problems with PWD - we no longer use the PWD env variableAndrew Tridgell3-11/+19
instead the shared variable area is used. this fixes problems with /bin/sh under solaris (This used to be commit 4eb7b5c6a81447755dfa1be27479027333ed6f26)
1998-10-23make the shared variable stuff slightly more sophisticatedAndrew Tridgell1-12/+26
(This used to be commit 636182f18346af457f905cd784e68ae5d4f75d0e)
1998-10-22server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison1-2/+8
(as it is everywhere else). smbwrapper/smbsh.c: For IRIX n32 binaries, set _RLDN32_LIST not _RLD32_LIST. Exec users preferred shell is SHELL environment variable is set. tests/fcntl_lock.c: Added sys/types.h for systems that need this. Jeremy. (This used to be commit 50413d0d819d4f13e760ca8439c5bdde0898d63e)
1998-10-20oops, I ot the return type of putenv() wrongAndrew Tridgell1-2/+3
(This used to be commit 5b7b24d3f9a74b241f7e767de4a2bae601adf88a)
1998-10-20use putenv() more portablyAndrew Tridgell1-1/+7
(This used to be commit dc08f1a5c92e86c41dc03f6a4d10d5779f3d9c34)
1998-10-20removed setenv(), replaced with smbw_setenv()Andrew Tridgell5-9/+29
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
1998-10-20smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirectorJeremy Allison3-5/+3
has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy. (This used to be commit 76448d1d82a78520953c662afee0886122ce134b)
1998-10-19added command line options to smbshAndrew Tridgell4-30/+72
(This used to be commit 9b249c075e53e6cf75399d60a6371648c03104fa)
1998-10-19- don't use env variables for passwords and usernames (yeah!)Andrew Tridgell4-23/+242
- added a shared variable area based on a unlinked open file, and implement a general get/set interface to it - cache hostname lookups and master ip lookups in shared variable area (This used to be commit 279cbe69efd75450113d2da0da5e67b29f3702b1)
1998-10-17Small tidyups for gcc in 'preen' mode....Jeremy Allison1-0/+4
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
1998-10-16changed some debug levelsAndrew Tridgell2-6/+15
(This used to be commit 121e321a12c5da5cb44ca1baece7e25c3ab7f943)
1998-10-16Re-added code to tell the user how many open files theyJeremy Allison1-1/+1
have. Needed for server diagnosis purposes... Jeremy. (This used to be commit 04d79a9ae515e7259277f9980552f1d61df239f1)
1998-10-14tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of codeLuke Leighton1-0/+2
that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort this out properly... (This used to be commit aa9dd697d41ed5bed1bddab519ea80df9e6f21f1)
1998-10-13smbsh launch program is now in CAndrew Tridgell1-0/+62
(This used to be commit 784b1590c8c305d6876a14fcaa6fc17b9daac6d0)
1998-10-09dce/rpc.Luke Leighton1-1/+1
(This used to be commit e0445419b2d50ae6efef36f4f295ebcfdbf1ad82)
1998-10-08dce/rpcLuke Leighton1-1/+1
(This used to be commit 62fdeef1b79c5c4c9bf0e860881651711bb80b9a)
1998-10-08- fixed a bunch of warnings and minor errorsAndrew Tridgell1-1/+1
- got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway (This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
1998-10-08use 1 second resolution calls if possibleAndrew Tridgell2-4/+5
(This used to be commit 349469221a84658048790d7567b4fcea43c0b759)
1998-10-08fixed a problem with fchdir() that broke "cvs -d" in smbshAndrew Tridgell2-10/+10
(This used to be commit 6121f7c8c2d63fd12266327a6f2ac9a5e717dccc)
1998-10-08added some commentsAndrew Tridgell1-1/+5
(This used to be commit e5ed0e6f96835c5b189368faf4555d07f1f6b19c)
1998-10-07don't prototype the acl() functionsAndrew Tridgell1-5/+5
(This used to be commit 9efbb21f35aca6f86ed3cb9c58ebec40e5d44b90)
1998-10-07restore errno after smbw initialisationAndrew Tridgell1-0/+5
(This used to be commit f374706cbf654bdb33df3074cb1a8101af0201eb)
1998-10-07we need realcalls.h in realcalls.cAndrew Tridgell1-0/+1
(This used to be commit 42765a654f9fe45160760e61a80d789279ee6198)
1998-10-07fixed a warning on SunOSAndrew Tridgell1-1/+1
(This used to be commit fda52c6fd1ff0c46948bff7156742dab1dd1eacd)
1998-10-07use double for dummy arrays to ensure alignmentAndrew Tridgell1-7/+7
(This used to be commit d651229ef3eb06035d015770c5ea018f33234ebc)
1998-10-07fixed fork() on SunOS4Andrew Tridgell1-1/+1
(This used to be commit c506ffa527428897689dfd9ff48719208c47669d)
1998-10-07- updated docs to say OSF1 worksAndrew Tridgell2-4/+7
- more solaris acl fixes (This used to be commit 8fc7bc0ee6919f2c1d438e924fbb8b44f87dee63)
1998-10-07fixed facl() bug for solarisAndrew Tridgell1-2/+2
(This used to be commit ab5ed686f813c6294ca3eb9b800b3ad41a5a77c3)
1998-10-07fixed __xstat() under linuxAndrew Tridgell1-1/+1
(This used to be commit 15aa1b52cd78e9b59fa44b248267b9698a5b0d5c)
1998-10-07return type cleanups for IRIXAndrew Tridgell1-32/+33
(This used to be commit 96fc2856bcb1424f69ecf513f7b685bec08dcb1f)