summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper
Commit message (Collapse)AuthorAgeFilesLines
* added -L optionAndrew Tridgell2000-07-061-2/+8
|
* got smbw to compile again on LinuxAndrew Tridgell2000-07-062-3/+4
|
* removed extra arguements from make_nmb_name callsHerb Lewis2000-03-161-3/+3
|
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-136-55/+19
|
* Return a (void *)0 instead of NULL in readdir64() wrapper.Tim Potter1999-06-131-2/+1
|
* Return a #error if no functions could be found to wrap around.Tim Potter1999-06-131-0/+43
|
* removed encrypt-password code pre-cli_session_setup(), session setupLuke Leighton1999-01-291-6/+2
| | | | fn decides whether to encrypt password or not.
* - got client code cleartext passwords working again in cli_session_setup.Luke Leighton1999-01-271-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
* issues spotted by herb.Luke Leighton1998-12-071-1/+1
|
* weekend work. user / group database API.Luke Leighton1998-11-291-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...
* add a error code when failed to get lockAndrew Tridgell1998-11-211-1/+1
|
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-172-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.
* fixes for OSF1 compilationAndrew Tridgell1998-11-131-0/+6
|
* Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.Jeremy Allison1998-11-093-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.
* converted smbclient to use clientgen.c rather than clientutil.cAndrew Tridgell1998-11-092-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?
* some versions of Irix pass the HAVE__ACL test but don't have acl.hHerb Lewis1998-10-291-1/+1
| | | | test for both before including ACL support.
* handle the case of an intermediate binary not loading smbwrapper.soAndrew Tridgell1998-10-241-2/+1
| | | | (for example /usr/bin/man because it is setgid).
* volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell1998-10-243-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.
* make sure that apps can't close one of the internal smbw fileAndrew Tridgell1998-10-243-2/+30
| | | | | descriptors by catching close attempts on those fds and returning EBADF.
* don't use SMBW_PWD_ENV any moreAndrew Tridgell1998-10-231-3/+0
|
* fixed problems with PWD - we no longer use the PWD env variableAndrew Tridgell1998-10-233-11/+19
| | | | | | instead the shared variable area is used. this fixes problems with /bin/sh under solaris
* make the shared variable stuff slightly more sophisticatedAndrew Tridgell1998-10-231-12/+26
|
* server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison1998-10-221-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.
* oops, I ot the return type of putenv() wrongAndrew Tridgell1998-10-201-2/+3
|
* use putenv() more portablyAndrew Tridgell1998-10-201-1/+7
|
* removed setenv(), replaced with smbw_setenv()Andrew Tridgell1998-10-205-9/+29
|
* smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirectorJeremy Allison1998-10-203-5/+3
| | | | | | has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy.
* added command line options to smbshAndrew Tridgell1998-10-194-30/+72
|
* - don't use env variables for passwords and usernames (yeah!)Andrew Tridgell1998-10-194-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
* Small tidyups for gcc in 'preen' mode....Jeremy Allison1998-10-171-0/+4
| | | | Jeremy.
* changed some debug levelsAndrew Tridgell1998-10-162-6/+15
|
* Re-added code to tell the user how many open files theyJeremy Allison1998-10-161-1/+1
| | | | | have. Needed for server diagnosis purposes... Jeremy.
* tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of codeLuke Leighton1998-10-141-0/+2
| | | | | that didn't have _STAT_VER_LINUX_OLD defined. maybe you want to sort this out properly...
* smbsh launch program is now in CAndrew Tridgell1998-10-131-0/+62
|
* dce/rpc.Luke Leighton1998-10-091-1/+1
|
* dce/rpcLuke Leighton1998-10-081-1/+1
|
* - fixed a bunch of warnings and minor errorsAndrew Tridgell1998-10-081-1/+1
| | | | | | - got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway
* use 1 second resolution calls if possibleAndrew Tridgell1998-10-082-4/+5
|
* fixed a problem with fchdir() that broke "cvs -d" in smbshAndrew Tridgell1998-10-082-10/+10
|
* added some commentsAndrew Tridgell1998-10-081-1/+5
|
* don't prototype the acl() functionsAndrew Tridgell1998-10-071-5/+5
|
* restore errno after smbw initialisationAndrew Tridgell1998-10-071-0/+5
|
* we need realcalls.h in realcalls.cAndrew Tridgell1998-10-071-0/+1
|
* fixed a warning on SunOSAndrew Tridgell1998-10-071-1/+1
|
* use double for dummy arrays to ensure alignmentAndrew Tridgell1998-10-071-7/+7
|
* fixed fork() on SunOS4Andrew Tridgell1998-10-071-1/+1
|
* - updated docs to say OSF1 worksAndrew Tridgell1998-10-072-4/+7
| | | | - more solaris acl fixes
* fixed facl() bug for solarisAndrew Tridgell1998-10-071-2/+2
|
* fixed __xstat() under linuxAndrew Tridgell1998-10-071-1/+1
|
* return type cleanups for IRIXAndrew Tridgell1998-10-071-32/+33
|