summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison3-37/+36
What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
2009-04-14netdomjoin-gui: make sure to grey out change fields when not running as root.Günther Deschner1-0/+15
Guenther
2009-04-14s3:charcnv remove now unused malloc() based conversion functionsAndrew Bartlett1-39/+0
2009-04-14Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett5-259/+100
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett
2009-04-14Solve some of the conflict between Samba3 and Samba4 push_stringAndrew Bartlett1-5/+43
This renames push_string in Samba3 into push_string_base and push_string_check for the two different use cases. This should allow push_string to be imported from Samba4, using it's calling conventions.
2009-04-12Reactivate get_socket_portVolker Lendecke1-4/+1
2009-04-08s3-eventlog: split out evlog_convert_tdb_to_evt().Günther Deschner1-0/+74
Guenther
2009-04-08s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.Günther Deschner1-0/+960
Guenther
2009-04-08s3-util-sock: add ismyaddr() check in is_myname_or_ipaddr().Günther Deschner1-0/+4
Guenther
2009-04-08s3:lib Use push_ucs2_talloc() in ms_fnmatch()Andrew Bartlett1-7/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3:charcnv Remove unused unistrcpy() and unistrlen()Andrew Bartlett1-37/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3:charcnv Remove unused unistr2 functionsAndrew Bartlett1-116/+0
Natrually, the hard work to make these unsued was done by GD, not me :-) Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3:charcnv Remove unused ucs2_to_unistr2()Andrew Bartlett1-46/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3/smbconf_reg: Fix typo.Karolin Seeger1-1/+1
Karolin
2009-04-07s3:smbldap convert the easy cases to push_utf8_talloc()Andrew Bartlett1-8/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06Add read_smb_send/recv, dumping keepalivesVolker Lendecke1-0/+87
2009-04-06s3:smbldap Remove smbldap_get_dnAndrew Bartlett1-26/+4
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-31Tidy up some convert_string_internal error cases, found by Andrew Bartlett.Jeremy Allison1-6/+19
Jeremy.
2009-03-27Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison1-0/+27
correctly. For the clustering case. Clustered setups should have only ever used the unsigned version of TDB_DATA in the first place so they can't be in this mess :-). Just do the normal upgrade in the clustered case. Jeremy.
2009-03-26Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij4-7/+25
2009-03-26Fix a talloc/malloc screwup in file_lines_ploadVolker Lendecke1-1/+1
Another bug due to careless merge to /lib :-((( Volker
2009-03-26s3-libnetapi: fix creds in libnetapi_open_ipc_connection().Günther Deschner1-0/+5
Jeremy, this broke with 8dd1faaa2992851f6852ba7ea4498445af5faadd. Not sure if other users broke as well with that change. Guenther
2009-03-26s3-net: Fix Bug #6102. NetQueryDisplayInformation could return wrong ↵Günther Deschner1-6/+12
information. Guenther
2009-03-26Avahi disables a timer by tv=NULL in avahi_timeout_update(), do not crashVolker Lendecke1-0/+7
2009-03-25display_sec: Move to common libcli/security directory.Jelmer Vernooij1-317/+0
2009-03-25Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2-6/+274
2009-03-24wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULLKai Blin1-6/+6
2009-03-23Add tevent avahi bindingVolker Lendecke1-0/+268
2009-03-20Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij11-252/+231
2009-03-20s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-20s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-20s3-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner1-7/+3
Guenther
2009-03-19add a versiontest program to print samba_version_string().Michael Adam1-0/+26
This is to allow for testing samba_version_string() without the need to compile any of the larger binaries like smbd or net... Michael
2009-03-19s3: Fix a free of an uninitialized variable in winbind_get_sid_aliasesDan Sledz1-1/+0
2009-03-19s3:lib/util_sock: use sys_recv() instead of sys_read() on socketsStefan Metzmacher1-2/+2
This ways the pcap support in socket wrapper sees the received data. metze
2009-03-18s3: remove POLICY_HND.Günther Deschner3-10/+10
Guenther
2009-03-18s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner1-16/+0
Guenther
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2-16/+56
callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
2009-03-17s3:events: add support for immediate eventsStefan Metzmacher1-9/+15
metze
2009-03-17s3:events: make use of tevent_common_loop_wait()Stefan Metzmacher1-12/+1
metze
2009-03-16Add some appropriate const.Jeremy Allison1-8/+8
Jeremy.
2009-03-16Remove unused async_req references from wb_reqtrans.cVolker Lendecke1-37/+0
2009-03-16Convert wb_trans to tevent_reqVolker Lendecke1-63/+49
2009-03-16Remove an unnecessary variableVolker Lendecke1-5/+4
2009-03-16Make struct wb_context private to wbclient.cVolker Lendecke1-0/+6
2009-03-16Use tevent_wakeup_send in wb_transVolker Lendecke1-15/+13
2009-03-16Convert open_socket_out_defer to tevent_reqVolker Lendecke1-29/+29
2009-03-16Use tevent_wakeup_send in open_socket_out_deferVolker Lendecke1-22/+15
2009-03-15display_sec: Remove use of samba3-specific data types.Jelmer Vernooij1-3/+3
2009-03-15Add queue argument to wb_resp_writeVolker Lendecke1-2/+3