1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

14 Commits

Author SHA1 Message Date
Tim Potter
b4cf9e9505 r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of
'..' from all #include preprocessor commands.   This fixes bugzilla #1880
where OpenVMS gets confused about the '.' characters.
(This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
2007-10-10 10:52:55 -05:00
Gerald Carter
3a5dc7c2ec convert snprintf() calls using pstrings & fstrings
to pstr_sprintf() and fstr_sprintf() to try to standardize.
lots of snprintf() calls were using len-1; some were using
len.  At least this helps to be consistent.
(This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-23 12:33:59 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-12 23:20:50 +00:00
Andrew Tridgell
e90b652848 updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-07-15 10:35:28 +00:00
Jim McDonough
bb38f48f6f Some help cleanups. Formatting and consistency issues. Line up text nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that
(This used to be commit 17775dae28c724b11cc73f2aeac5f07f9656046c)
2002-03-15 20:03:07 +00:00
Tim Potter
cd68afe312 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Andrew Tridgell
9c7b042f31 print the timezone in the same format as 'date +%z' - much better for scripting
(This used to be commit faa1b222f170abe34f6930bb3493cbe8b4df4082)
2002-01-04 23:02:14 +00:00
Andrew Tridgell
d23723a3e4 don't use -u switch to /bin/date - too many systems don't honor it
(This used to be commit 0839cf03a92673b38f1afa103271c708fa7162a2)
2001-12-14 01:15:14 +00:00
Andrew Tridgell
60b53b3f6f added "net time zone" command to show the timezone on a computer
(This used to be commit 4e2691b1c13a7db4770effa6eddeb19adb47f8ae)
2001-12-12 09:37:17 +00:00
Andrew Tridgell
3607b3ccab prevent double free
(This used to be commit 3628a978d1881aa2a0939594b1c752475468965e)
2001-12-11 10:37:00 +00:00
Andrew Tridgell
6939dd050b better error handling
(This used to be commit 75621d528433a9c1af3eada0b748dfbcfdb8ad62)
2001-12-11 05:47:26 +00:00
Andrew Tridgell
e5dbe13b58 added a comment about /bin/date
(This used to be commit 2183c1f3b09db5c078327050279130ac825c71f8)
2001-12-11 05:28:56 +00:00
Andrew Tridgell
32ba2c889f added a net time command. Allow display or set of system time based on
a SMB server

particularly useful for ADS is:

	net time set -S DOMAIN#1B

this makes kerberos clock skew problems go away :)
(This used to be commit b3ba2293d0e4eac3b6408c3abc3dcacfa3f67fe4)
2001-12-11 05:21:50 +00:00