summaryrefslogtreecommitdiffstats
path: root/source/utils/net_time.c
Commit message (Collapse)AuthorAgeFilesLines
* BIG patch...Andrew Bartlett2003-01-021-6/+0
| | | | | | | | | | | | | | | | 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-2/+1
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* Add auto-detect of time server. Uses master browser.Jim McDonough2002-05-131-2/+4
|
* Some help cleanups. Formatting and consistency issues. Line up text ↵Jim McDonough2002-03-151-1/+2
| | | | nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that
* Removed version number from file header.Tim Potter2002-01-301-1/+0
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* print the timezone in the same format as 'date +%z' - much better for scriptingAndrew Tridgell2002-01-041-5/+8
|
* don't use -u switch to /bin/date - too many systems don't honor itAndrew Tridgell2001-12-141-4/+4
|
* added "net time zone" command to show the timezone on a computerAndrew Tridgell2001-12-121-6/+30
|
* prevent double freeAndrew Tridgell2001-12-111-2/+0
|
* better error handlingAndrew Tridgell2001-12-111-11/+17
|
* added a comment about /bin/dateAndrew Tridgell2001-12-111-1/+4
|
* added a net time command. Allow display or set of system time based onAndrew Tridgell2001-12-111-0/+151
a SMB server particularly useful for ADS is: net time set -S DOMAIN#1B this makes kerberos clock skew problems go away :)