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
Volker Lendecke
c26b432c27
r11264: Winbind does not rely on the hostname resolution mechanisms of
...
composite_connect, so in io.in.dest_host I'm setting the IP address. Gensec
does not like that as a target hostname, so if a called name is present, use
that. So we can session setup using kerberos now.
Volker
2007-10-10 13:45:10 -05:00
Volker Lendecke
13ebdea115
r11248: Fix anon fallback with spnego
2007-10-10 13:45:07 -05:00
Andrew Bartlett
09c9576330
r10981: Pull code to decide between and implement NTLMv2, NTLM and LM
...
authentication out of the various callers and into the kitchen
sink.. err, credentials subsystem.
This should ensure consistant logic, as well as get us one step closer
to security=server operation in future.
Andrew Bartlett
2007-10-10 13:39:50 -05:00
Volker Lendecke
deb127e04e
r10878: Reply to some comments by tridge and metze:
...
* rename the composite helper functions from comp_* to composite_*
* Move the lsa initialization to wb_connect_lsa.c
* Equip smb_composite_connect with a fallback_to_anonymous
The latter two simplify wb_init_domain.c quite a bit.
Volker
2007-10-10 13:39:39 -05:00
Volker Lendecke
6b88de182e
r10677: Add smb_composite_connectmulti: Send out multiple SYN packets at once, use the
...
first one that replies correctly.
Add a talloc context to smb_composite_connect()
Volker
2007-10-10 13:39:17 -05:00
Andrew Bartlett
0d757b169a
r10598: Factor out common code, in preperation for a move elsewhere.
...
Andrew Bartlett
2007-10-10 13:39:10 -05:00
Stefan Metzmacher
4527815a0a
r10504: - seperate implementation specific stuff, from the generic composite
...
stuff.
- don't use SMBCLI_REQUEST_* state's in the genreic composite stuff
- move monitor_fn to libnet.
NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR
state in the _send() function. I haven't fixed this bugs in this
commit! We may need some composite_trigger_*() functions or so.
And maybe some other generic helper functions...
metze
2007-10-10 13:38:57 -05:00