Jelmer Vernooij
b97de4a655
r26676: libcli: Fill in lp_workgroup() again, should fix my breakage of cifsdd tests. Thanks to Andrew for catching this.
...
Also fixes a typo in sessetup.c.
2008-01-06 16:06:04 -06:00
Jelmer Vernooij
2df0f7016e
r26674: smb_composite: Avoid use of global_loadparm.
...
Hopefully this fixes OpenChange's mapiadmin.
2008-01-05 13:36:02 -06:00
Jelmer Vernooij
13cc6ca1d3
r26670: Janitorial: Remove global_loadparm uses.
2008-01-05 09:42:02 -06:00
Jelmer Vernooij
8a97886e24
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
9f64213463
r26651: libsmb: Allow specifying signing policy from higher up.
...
The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
0ef75e4e3c
r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
2008-01-02 12:48:04 -06:00
Jelmer Vernooij
385ffe4f4c
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
2008-01-02 12:48:03 -06:00
Jelmer Vernooij
2833f320de
r26409: Pass smb ports along.
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
459e1466a4
r26376: Add context for libcli_resolve.
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
99113075c4
r26266: Remove more global_loadparm uses.
2007-12-21 05:47:42 +01:00
Jelmer Vernooij
b9e3a4862e
r26260: Store loadparm context in gensec context.
2007-12-21 05:47:34 +01:00
Jelmer Vernooij
5b29ef7c03
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
2007-12-21 05:47:15 +01:00
Jelmer Vernooij
4b46888bd0
r26231: Spell check: credentails -> credentials.
2007-12-21 05:47:09 +01:00
Jelmer Vernooij
566aa14139
r25554: Convert last instances of BOOL, True and False to the standard types.
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
3468952e77
r25446: Merge some changes I made on the way home from SFO:
...
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
3fcc960839
r25398: Parse loadparm context to all lp_*() functions.
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
abe8349f9b
r25026: Move param/param.h out of includes.h
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
925abf74fa
r24994: Fix some C++ warnings.
2007-10-10 15:05:26 -05:00
Jelmer Vernooij
1ce32673d9
r24712: No longer expose the 'BOOL' data type in any interfaces.
2007-10-10 15:02:54 -05:00
Andrew Tridgell
fcf38a38ac
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
55306c6188
r22628: convert to new composite api
...
and free the smbcli_request explicit to fix a crash where
the request handler gets called after its private data is already
freed
metze
2007-10-10 14:51:55 -05:00
Andrew Bartlett
2b569c42e0
r19598: Ahead of a merge to current lorikeet-heimdal:
...
Break up auth/auth.h not to include the world.
Add credentials_krb5.h with the kerberos dependent prototypes.
Andrew Bartlett
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
1940fbed15
r19481: - reset the vuid before trying a new session setup
...
- only touch session->vuid when needed
- it make no sense to set an .spnego.out.vuid
metze
2007-10-10 14:21:41 -05:00
Stefan Metzmacher
97fb407a4c
r19480: - clear the whole session struct (only let the pid untouched)
...
- zero state struct
metze
2007-10-10 14:21:41 -05:00
Jelmer Vernooij
f7afa1cb77
r17930: Merge noinclude branch:
...
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
e231eba828
r17277: we need to trigger an event when we return directly,
...
otherwise the callers callback function will not be called
and the caller is hanging forever...
metze
2007-10-10 14:15:05 -05:00
Stefan Metzmacher
6164d1e22e
r16464: split client and server min/max protocol settings
...
metze
2007-10-10 14:09:29 -05:00
Stefan Metzmacher
9180635317
r15741: move smb2 request structures into the main smb request structs
...
as new levels
metze
2007-10-10 14:08:11 -05:00
Andrew Bartlett
8abe7ba619
r15416: Point out that this doesn't work, but for servers this old, I just
...
don't care...
Andrew Bartlett
2007-10-10 14:05:35 -05:00
Andrew Bartlett
3a4ddc8f59
r15415: Use Jelmer's new credentials 'wrong password' code to give the user 3
...
attempts for the password, when talking to a remote CIFS server.
Andrew Bartlett
2007-10-10 14:05:34 -05:00
Stefan Metzmacher
9ec706238c
r14860: create libcli/security/security.h
...
metze
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
3dd477ca51
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Andrew Tridgell
cd9f3adc75
r14414: added some error checks
2007-10-10 13:57:20 -05:00
Jelmer Vernooij
1a16a6f1df
r14380: Reduce the size of structs.h
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
98c4c30513
r14363: Remove credentials.h from the global includes.
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
be6d5298a2
r14256: - rename smb_file -> smb_handle
...
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
2007-10-10 13:57:06 -05:00
Andrew Tridgell
b78abbbce6
r14208: removed use of req->flags2 inside the ntvfs layer. This should help
...
metze on his quest to unify the ntvfs strucures for the smb and smb2
servers. The only place we needed flags2 inside ntvfs was for the
FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a
readx.in.read_for_execute flag instead.
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
180a79d103
r14205: move smb specific stuff out of includes.h (finally!!!:-)
...
all this changes really help ccache to speed up the samba4 build:-)
metze
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
2ef3f59709
r14173: change smb interface structures to always use
...
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2
the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2
metze
2007-10-10 13:56:57 -05:00
Jelmer Vernooij
1228358767
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
2007-10-10 13:52:24 -05:00
Andrew Bartlett
085ba80cc8
r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.
...
The switch to turn off SPNEGO in the client is a bit messy, but it works.
Andrew Bartlett
2007-10-10 13:52:15 -05:00
Andrew Bartlett
3e96975d91
r13405: Allow a fallback if SPNEGO is somehow disabled in the client, to just NTLMSSP.
...
Andrew Bartlett
2007-10-10 13:51:53 -05:00
Andrew Bartlett
8e2b461669
r13203: Make this comment clearer.
...
Andrew Bartlett
2007-10-10 13:51:33 -05:00
Jelmer Vernooij
70e7449318
r12608: Remove some unused #include lines.
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
0aca5fd513
r12542: Move some more prototypes out to seperate headers
2007-10-10 13:47:55 -05:00
Andrew Tridgell
7bf1046fbb
r11692: added a full composite (async) spnego session setup for SMB2. This
...
simplies the torture code a lot.
2007-10-10 13:46:14 -05:00
Volker Lendecke
f341c8b4c8
r11533: Be a bit less intrusive
2007-10-10 13:45:50 -05:00
Volker Lendecke
f0e4075db5
r11532: Enable kerberos session setup for winbind smb connections
2007-10-10 13:45:50 -05:00
Volker Lendecke
fed26bc4fd
r11424: Fix an uninitialized variable warning
2007-10-10 13:45:36 -05:00
Volker Lendecke
5718df44d9
r11369: Implement socket_connect_multi: Connect to multiple ipv4 tcp ports in
...
sequence, with a 2-millisecond timeout between firing the syn packets. Build
smbcli_sock_connect_send upon that.
Volker
2007-10-10 13:45:27 -05:00