summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-04-21s3: Use common security_descriptor_equal().Jelmer Vernooij1-68/+0
2009-04-21s3-secdesc: move all winreg access bits to IDL.Günther Deschner1-1/+1
Guenther
2009-04-20Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() ifJelmer Vernooij2-19/+1
the system one is broken.
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett3-37/+36
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-15Merge branch 'master' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett1-0/+15
libcli-auth-merge-without-netlogond
2009-04-14netdomjoin-gui: make sure to grey out change fields when not running as root.Günther Deschner1-0/+15
Guenther
2009-04-14Make Samba3 use the new common libcli/auth codeAndrew Bartlett1-0/+38
This is particuarly in the netlogon client (but not server at this stage)
2009-04-14More work to adapt to merged libcli/auth function prototypesAndrew Bartlett1-0/+1
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