Jim McDonough
2cd33e88eb
Fix popt library checking
0001-01-01 00:00:00 +00:00
Jim McDonough
0be7bf421b
Replace getopt_long with popt for parsing commandline options
0001-01-01 00:00:00 +00:00
Jim McDonough
df34e11d84
Add popt for parsing commandline options
0001-01-01 00:00:00 +00:00
Simo Sorce
e48eb7b572
ops, some testing code in compat function let only mangled name come back.
0001-01-01 00:00:00 +00:00
Jim McDonough
d42c28fbad
server support for RAP session list function
0001-01-01 00:00:00 +00:00
Simo Sorce
1ffacd2068
lets try the new mangling code
...
all the calls go through a compatibility interface will
change that soon
a new mangle.tdb file will be set in the lock directory
it contains a static mapping longname<->manglename
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3f919b4360
a quick fix to get rpcclient working again. This just disables
...
NTLMSSP in cli_establish_connection()
What we really need to do is kill off the pwd_cache code. It is horrible,
and assumes the challenge comes in the negprot reply.
0001-01-01 00:00:00 +00:00
Jean-François Micouleau
0573caa91b
samr querydispinfo can change level, start index and max entries.
...
added level 4 decoding.
J.F.
0001-01-01 00:00:00 +00:00
Jean-François Micouleau
0157fdc8a2
allow the samr commands to work back and the help too ;-)
...
J.F.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
672df66296
- fixed link order of krb5 libs
...
- accept a wide range of principal names in session setup
0001-01-01 00:00:00 +00:00
Jeremy Allison
070fd5180f
Fix for @ in pathname from Kian Win.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
cf99f93613
Renamed inbuilt xstrdup to smb_xstrdup.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d01a9e5974
Added xstrdup, removed static version from smbpasswd.c
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
2cc262278f
Added xmalloc - calls smb_panic on zero size or malloc fail.
...
Added xmemdup - calls xmalloc.
Made data_blob() call xmemdup.
Defensive programming (I still hate the no error checking... :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
b668d7d656
Ok, I know it's a language thing and it shouldn't matter.... but a kerberos
...
name is a "principal", not a principle. English majors will complain :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
d50005d4c1
Fix for fussy Solaris compiler.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2472ecf7fc
patch for neater output() function from vance
0001-01-01 00:00:00 +00:00
Andrew Bartlett
44bdb8b12b
Fix for compilation on non-krb5 systems
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3dbb48b188
change smbd to use HOST/hostname principle form until I work out how
...
to use the other form in netjoin
smb_wct is a char, not a word
0001-01-01 00:00:00 +00:00
Andrew Tridgell
58cfa13d65
change smbd to use HOST/hostname principle form until I work out how
...
to use the other form in netjoin
0001-01-01 00:00:00 +00:00
Andrew Tridgell
d1341d74b7
made smbclient cope better with arbitrary principle forms
0001-01-01 00:00:00 +00:00
Andrew Tridgell
eac164c7e6
support both old and new kerberos OIDs
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8286e5307c
fixed the spnego detection code in session setup
...
this gets share mode working again
0001-01-01 00:00:00 +00:00
Tim Potter
b16a15a13e
Converted a bunch of 0x85 constants to SMBkeepalive.
0001-01-01 00:00:00 +00:00
Jeremy Allison
058ae6b58f
Move from timestamp to gen count file id's for finding oplocked files
...
in a tdb.
Jeremy.
0001-01-01 00:00:00 +00:00
Jim McDonough
6a734158d9
Use asprintf, do bounds check, better rc logic
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b3caf21090
crude fix for anonymous session setup with extended security
...
negotiated
0001-01-01 00:00:00 +00:00
Andrew Tridgell
fd3a3daef3
better krb5 error handling (thanks andrewb!)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e0c99e1f37
finished auth when we get a valid kerberos ticket
...
smbd now works with kerberos authentication if you use a MIT KDC and
smbclient. Next step is to make it work with a windows client
0001-01-01 00:00:00 +00:00
Andrew Tridgell
96f910bae5
add non_root_mode() check
0001-01-01 00:00:00 +00:00
Andrew Tridgell
9355f25165
removed an unused variable
0001-01-01 00:00:00 +00:00
Andrew Tridgell
a899086a51
don't need KRB5_DIR define
0001-01-01 00:00:00 +00:00
Andrew Tridgell
d23772c306
fixed LDSHFLAGS when using non-standard lib locations
0001-01-01 00:00:00 +00:00
Andrew Tridgell
7adad774d8
quick fix for krb5 compilation. I've told vance how to fix this module
...
properly and will wait for him to send a patch
0001-01-01 00:00:00 +00:00
Jeremy Allison
eac6bbd24e
Ensure we mask off deny modes correctly on being set (this shouldn't have
...
caused problems but is tidier).
Fix debug statement in locking.c
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
dac22352cf
Added include guards around file.
...
Jeremy
0001-01-01 00:00:00 +00:00
Jim McDonough
a70bc077a1
Add RAP net share add support
0001-01-01 00:00:00 +00:00
Jean-François Micouleau
255b197a5c
print in a human readable format when the password expired.
...
J.F.
0001-01-01 00:00:00 +00:00
Jim McDonough
53247f5880
Add build of net utility
0001-01-01 00:00:00 +00:00
Jim McDonough
50c243518a
Add command-line remote management utility
0001-01-01 00:00:00 +00:00
Jim McDonough
b94427ddd5
Add additional client RAP calls
0001-01-01 00:00:00 +00:00
Jim McDonough
3545de4773
Add rap.h for net utility and libsmb
0001-01-01 00:00:00 +00:00
Jim McDonough
7c38daa54a
Add header for common RAP definitions
0001-01-01 00:00:00 +00:00
Jeremy Allison
ce59e4a772
Fixed issues with changenotify only being called once in VC++.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7707c5e073
Tidy up debug in notify code.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
d52cd1854f
Fixed some memory leaks introduced by connection handling rewrite, as well
...
as one memory leak that has been there for ages!
Changed the way talloc is used in get{pw,gr}nam routines.
0001-01-01 00:00:00 +00:00
Tim Potter
46fe5a8fb9
Converted some more functions to create and dispose of a talloc context on a
...
per-call basis rather than per-connection.
Had a bit more of a reformatting fest.
Still need to run it through insure and handle downed connections.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7c1688fd67
Restored old Bmpx code - actually used by OS/2.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
c2e06ed221
client : Fixed error return.
...
uid.c: Added missing void.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
8d23a7441b
Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD.
...
Ensure make_conection() can only be called as root.
Jeremy.
0001-01-01 00:00:00 +00:00