summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* netapi: add NetUserModalsGet and NetUserModalsSet to public headers.Günther Deschner2008-08-111-0/+62
| | | | | Guenther (This used to be commit b4c912bfbc62768ff4d7ecb39c02dc4a2a9825d2)
* netapi: add skeleton for NetUserModalsGet and NetUserModalsSet.Günther Deschner2008-08-113-0/+140
| | | | | Guenther (This used to be commit 5648145bec3bd24ecedea24a8834ac6768bfc640)
* netapi: add NetApiBufferAllocate.Günther Deschner2008-08-112-0/+33
| | | | | Guenther (This used to be commit 99cc8f023b4ad9210b677e11371f404048752031)
* netapi: add ConvertStringSidToSid().Günther Deschner2008-08-112-0/+41
| | | | | Guenther (This used to be commit 36f1e45e4ec295115f1ba39ec7ad3690a96dac3e)
* Make events robust against their event_context being freedVolker Lendecke2008-08-101-5/+28
| | | | (This used to be commit 3d4e7b29c235e329aaea4fa2c2078df0ce3e59eb)
* Remove an unused variable, process.c has its static copyVolker Lendecke2008-08-101-2/+0
| | | | (This used to be commit 59136544ec16b6ceb14a75259aedd22856832bf1)
* lib/access: make list_match() public.Michael Adam2008-08-091-1/+1
| | | | | Michael (This used to be commit 742bedce417c666b5e91d8d0a7dc7682dc62eba2)
* lib/access: make client_match() public.Michael Adam2008-08-091-1/+1
| | | | | Michael (This used to be commit 1b2dec93b635dfd23af78a370c223ea2dd486aa7)
* using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() ↵Yannick Bergeron2008-08-081-1/+1
| | | | | | subroutine in lib/replace/replace.c (This used to be commit 13b1a232d2fe05ae3e924ea2503d05ff5084146e)
* Add simple async wrappers around send, recv and connectVolker Lendecke2008-08-081-0/+674
| | | | | To be used later :-) (This used to be commit 0d161d336ab9eeccd90d19ef1473646c3008864a)
* Solve an IBM XL C/C++ compiler error encountered in get_exit_code() ↵Yannick Bergeron2008-08-061-1/+2
| | | | | | auth_errors array initialization in client/smbspool.c (This used to be commit b45e7fabc64e699e4fa013ef15f98a004dae3f32)
* fixed permissions on ctdb databasesAndrew Tridgell2008-08-061-0/+5
| | | | (This used to be commit 123fc3980a83d956bffaa689f3af81bbf81ce1c1)
* dbwrap: add comment describing behaviour of dbwrap_change_int32_atomic().Michael Adam2008-08-051-0/+7
| | | | | Michael (This used to be commit f8f21c8e3922806230e240cb54205fc2db7a3619)
* secrets: fix replacemend random seed generator (security issue).Michael Adam2008-08-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | This is a regression introduced by the change to dbwrap. The replacement dbwrap_change_int32_atomic() does not correctly mimic the behaviour of tdb_change_int32_atomic(): The intended behaviour is to use *oldval as an initial value when the entry does not yet exist in the db and to return the old value in *oldval. The effect was that: 1. get_rand_seed() always returns sys_getpid() in *new_seed instead of the incremented seed from the secrets.tdb. 2. the seed stored in the tdb is always starting at 0 instead of sys_getpid() + 1 and incremented in subsequent calls. In principle this is a security issue, but i think the danger is low, since this is only used as a fallback when there is no useable /dev/urandom, and this is at most called on startup or via reinit_after_fork. Michael (This used to be commit bfc5d34a196f667276ce1e173821db478d01258b)
* dbwrap: add comment describing behaviour of dbwrap_change_uint32_atomic().Michael Adam2008-08-051-0/+7
| | | | | Michael (This used to be commit 7edfb54c865ddcfd5cdcc8c2184b96aaac2d2ec0)
* idmap_tdb2: fix a race condition in idmap_tdb2_allocate_id().Michael Adam2008-08-051-2/+6
| | | | | | | | | | | | | | | | | The race is a regression introduced by the change to dbwrap. It might have led to two concurrent processes returning the same id. This fix is achieved by changing dbwrap_change_uint32_atomic() to match the original behaviour of tdb_change_uint32_atomic(), which is the following: *oldval is used as initial value when the value does not yet exist and that the old value should be returned in *oldval. dbwrap_change_uint32_atomic() is used (only) in idmap_tdb2.c, to get new ids. Michael (This used to be commit 72bd83fea7572a6202027b200d192c05023aa633)
* netapi: in NetLocalGroupAdd_r() only set description if necessary.Günther Deschner2008-07-311-1/+1
| | | | | Guenther (This used to be commit 7e9fa2c5396d3663e83ffbf90475473fdb509871)
* Fix uninitialized variables.Jeremy Allison2008-07-301-1/+1
| | | | | Jeremy. (This used to be commit 1db7e00a5400863fd5dbb81c1a4c6ea6092d0495)
* netapi: add NetGroupGetUsers example code.Günther Deschner2008-07-302-0/+138
| | | | | Guenther (This used to be commit 0298f7fe9e273a94d14b5b6ce3dbd5e6deee9ecb)
* netapi: add NetGroupGetUsers to public header.Günther Deschner2008-07-301-0/+38
| | | | | Guenther (This used to be commit d31f822b79ed5344ec3c6795d66ceefd024b7d30)
* netapi: add NetGroupGetUsers skeleton.Günther Deschner2008-07-303-0/+85
| | | | | GUenther (This used to be commit 0b4e2687ae8fb48faacceb4078d61f9fd2acea9d)
* netapi: fix libnetapi_samr_lookup_user_map_USER_INFO.Günther Deschner2008-07-301-37/+31
| | | | | Guenther (This used to be commit 52218506d6ad51c4f340206d035f79272ba15e3b)
* netapi: use "buffer" in libnetapi.Günther Deschner2008-07-305-41/+41
| | | | | Guenther (This used to be commit 80957bc1bc1462a2478b3eea64f5cb7a84d08677)
* netapi: use init_samr_CryptPasswordEx and init_samr_CryptPassword.Günther Deschner2008-07-301-25/+9
| | | | | Guenther (This used to be commit 97106199f1a2add886a14523aa7b402667d2cd89)
* netapi: implement NetUserSetInfo_r() for at least level 1007.Günther Deschner2008-07-301-1/+123
| | | | | Guenther (This used to be commit ff9bcd57738aa04c5e18e0e21dd0e788127317c4)
* netapi: add convert_USER_INFO_X_to_samr_user_info21 fn and use it NetUserAdd.Günther Deschner2008-07-301-49/+126
| | | | | Guenther (This used to be commit c3e4c7cb5f2728a8219789aeb2344bff368713d5)
* netapi: add netapi testsuite.Günther Deschner2008-07-308-0/+1211
| | | | | Guenther (This used to be commit 8b3149b4a663f59b504c1458cd7ecafe0c0e0322)
* netapi: fix NetLocalGroupAdd.Günther Deschner2008-07-301-0/+17
| | | | | Guenther (This used to be commit d4594a7a03381fb251c9f8caf4c70e1ed97674b6)
* Remove unused extern struct current_user from substitute.cVolker Lendecke2008-07-271-2/+0
| | | | | A bit hard to believe, but substitute.c does not use current_user anymore. (This used to be commit de5d27d70abcad996af91b4e93879fc415f2b38d)
* Create doxygen comments for async_req.[ch]Volker Lendecke2008-07-261-4/+80
| | | | (This used to be commit 1dab45b16a23b1126fbf29890747a2b256f08968)
* talloc_string_sub2: Don't return NULL if src is empty.Karolin Seeger2008-07-251-1/+1
| | | | | | | | | | | | | | | | This fixes BUG #5635. Finished print jobs were not removed from the $PRINTER.tdb file if "printing=cups". In print_queue_update, talloc_string_sub2 is used to assemble the "lprm command". In the case of using "printing=cups", the default "lprm command" is an empty string. talloc_string_sub2 is called with this empty string and returns NULL which leads to exiting print_queue_update without doing the actual print queue update. Signed-off by Michael Adam <obnox@samba.org> (This used to be commit 03d66554d1bbd9d6c72a3dd5203e5305343c76b8)
* Check for f_frsize when using statvfsZach Loafman2008-07-221-0/+5
| | | | | | | | Add a configure test for the availability of f_frsize in struct statvfs (for broken platforms that define statvfs but still have f_bsize/f_iosize). Also add sys/types.h to the other struct statvfs test (again, some platforms need it). (This used to be commit 591bf1d15ff3b93db908cc3a4b6e10d09e5b74b6)
* Fix warnings on FreeBSD-based platformsZach Loafman2008-07-221-19/+19
| | | | | | | Fix two shadowed declaration warnings on FreeBSD-based platform: 'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in netinet/tcp.h. (This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
* Fix various build warningsZach Loafman2008-07-223-4/+5
| | | | | | This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start. (This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
* Refactoring: libnetapi_open_pipe takes an interface instead of pipe_idxVolker Lendecke2008-07-218-68/+93
| | | | (This used to be commit 726e56c72fdb685ab5eddefd2fd8b043dc38d6ad)
* Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2008-07-201-2/+3
| | | | | Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
* Ooops, GUID_equal was already around :-)Volker Lendecke2008-07-191-10/+0
| | | | (This used to be commit 9a0bc277f23831124d049301bc7009a285d91a11)
* netapi: add caching of samr policy handles.Günther Deschner2008-07-184-106/+112
| | | | | Guenther (This used to be commit bf8453da9af1be788955204cc581c5143a854072)
* netapi: let libnetapi_samr_lookup_and_open_alias compose lsa string.Günther Deschner2008-07-181-17/+13
| | | | | Guenther (This used to be commit f93090037798ffb4d9b875a4320f970ae10a64b6)
* netapi: implement NetLocalGroupEnum_r.Günther Deschner2008-07-181-1/+165
| | | | | Guenther (This used to be commit 2cd91e7d4d4847e1daef2585b09da4e6da6c9d11)
* netapi: add NetLocalGroupEnum example code.Günther Deschner2008-07-182-0/+132
| | | | | Guenther (This used to be commit a5a8d03699220e1f237debb84a75cacbbb8899fa)
* netapi: add NetLocalGroupEnum to public header.Günther Deschner2008-07-181-0/+28
| | | | | Guenther (This used to be commit 151c8fa7901983a3e7a82f1af599c839249b6cd7)
* netapi: add skeleton for NetLocalGroupEnum().Günther Deschner2008-07-183-0/+82
| | | | | Guenther (This used to be commit 71bd0109d6c393d4361729b514e63fab113bf78a)
* netapi: make map_alias_info_to_buffer suitable for arrays in the buffer.Günther Deschner2008-07-181-11/+20
| | | | | Guenther (This used to be commit dc0f737bd5e86369b2bbfbef420a095205c2d3cb)
* netapi: add libnetapi_samr_open_alias_queryinfo.Günther Deschner2008-07-181-0/+44
| | | | | Guenther (This used to be commit 401d6ce210817d9ab6915ed838e1495ae220559a)
* netapi: add NetUserSetInfo example code.Günther Deschner2008-07-182-0/+103
| | | | | Guenther (This used to be commit 5000d4c743b09665405776569782f46eeb6c2e36)
* netapi: add NetUserSetInfo to public header.Günther Deschner2008-07-181-0/+22
| | | | | Guenther (This used to be commit 0acf8352a3ca7deb2e3465be441f20d455eb802b)
* netapi: add skeleton for NetUserSetInfo.Günther Deschner2008-07-183-0/+75
| | | | | Guenther (This used to be commit 8cc555602f53f6afaded2eff58ed57f87b915c64)
* netapi: fill in NetUserGetInfo_r().Günther Deschner2008-07-181-1/+104
| | | | | Guenther (This used to be commit d282e5eca298c4c45cbe91a93350273d1417a050)
* netapi: add NetUserGetInfo example code.Günther Deschner2008-07-182-0/+150
| | | | | Guenther (This used to be commit 62cdd66a7e91b986f76f94935f04375591671893)