summaryrefslogtreecommitdiffstats
path: root/source/lib/account_pol.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't crash when initialising tdb failsJelmer Vernooij2003-03-231-2/+2
|
* BIG patch...Andrew Bartlett2003-01-021-2/+2
| | | | | | | | | | | | | | | | 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
* Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2002-10-041-1/+1
| | | | | MAX_PRINT_JOBS in a queue. Jeremy.
* Spelling fixes.Tim Potter2002-08-221-2/+2
|
* *** empty log message ***Simo Sorce2002-08-151-1/+1
|
* Make it possible to query account policy values from pdbedit (set to come soon).Andrew Bartlett2002-07-241-26/+62
| | | | | | | | | | | Update account_pol.c to use just uint32, rather then uint32 for paramaters, int32 for storage. (The int32 functions didn't have seperate return/status values, uint32 functions use a pointer-paramater). Move the #define -> string from a swtich to a table, so we can look it up both ways. Andrew Bartlett
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison2002-01-091-7/+8
| | | | | in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy.
* Fixed nasty cast of tdb_delete in traversals.Jeremy Allison2002-01-031-1/+1
| | | | Jeremy.
* more irix -64 portability fixesAndrew Tridgell2001-12-311-10/+0
|
* - portablitity fixes for cc -64 on irixAndrew Tridgell2001-12-311-2/+2
| | | | - fixed gid* bug in rpc_server
* moved init_account_policy() to the right placeAndrew Tridgell2001-12-041-1/+5
|
* added a tdb to store the account policy informations.Jean-François Micouleau2001-12-031-0/+132
You can change them with either usermanager->policies->account or from a command prompt on NT/W2K: net accounts /domain we can add a rpc accounts to the net command. As the net_rpc.c is still empty, I did not start. How should I add command to it ? Should I take the rpcclient/cmd_xxx functions and call them from there ? alse changed the SAM_UNK_INFO_3 parser, it's an NTTIME. This one is more for jeremy ;-) J.F.