summaryrefslogtreecommitdiffstats
path: root/source/client/smbspool.c
Commit message (Collapse)AuthorAgeFilesLines
* fix dumb perror used without errno beeing set.Simo Sorce2003-02-151-2/+2
| | | | thanks to RedHat developers for the report
* BIG patch...Andrew Bartlett2003-01-021-2/+2
| | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-7/+7
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* Added new error codes. Fix up connection code to retry in the same wayJeremy Allison2002-10-171-1/+1
| | | | | that app-head does. Jeremy.
* Looks like I missed this earlier. We should connect as the specified workgroupAndrew Bartlett2002-07-211-1/+1
| | | | | | | | | - sombody using smbspool won't always have a full smb.conf, and this is how it was written in the first place anyway. Again, found by the IRIX compiler. Andrew Bartlett
* More fixes towards warnings on the IRIX compilerAndrew Bartlett2002-07-201-8/+5
| | | | | | | | | | | | (and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett
* Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett2002-06-251-57/+11
| | | | | | few more places to use it. Andrew Bartlett
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter2001-11-261-2/+1
| | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip);
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-2/+0
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-2/+2
| | | | default, rather than in preprocessor macros.
* fixed handling of 139/445 in clientsAndrew Tridgell2001-08-241-6/+0
|
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-4/+4
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-041-3/+0
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Applied Michael Sweet's patch, with one minor signal change.Jeremy Allison2001-07-031-4/+26
| | | | Jeremy.
* More gcc compile on solaris tidyups.Jeremy Allison2001-04-271-1/+1
| | | | Jeremy.
* a couple of minor merges from 2_2Andrew Tridgell2001-04-221-1/+1
|
* Updates for CUPS 1.1 from Michael Sweet.Jeremy Allison2001-03-161-1/+38
| | | | Jeremy.
* cli_open() wasn't handling DENY_FCB or O_WRONLY correctly.Andrew Tridgell2000-01-081-1/+1
| | | | | | After fixing that I needed to use O_RDWR instead of O_WRONLY in several places to avoid the silly bug in MS servers that doesn't allow getattrE on a file opened with O_WRONLY
* this looks like a big commit, but it isn't really :)Andrew Tridgell2000-01-071-2/+2
| | | | | | | | This fixes our netbios scope handling. We now have a 'netbios scope' option in smb.conf and the scope option is removed from make_nmb_name() this was prompted by a bug in our PDC finding code where it didn't append the scope to the query of the '*' name.
* client/smbspool.c from 2.0.6Andrew Tridgell1999-12-171-0/+366