summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-04-27s3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.Günther Deschner1-1/+2
This fixes all kinds of encrypted passwords used in the shared auth code naturally. Andrew B., please check. Guenther
2009-04-27s3:libsmbconf: fix a comment typoMichael Adam1-1/+1
Michael
2009-04-27s3:registry: replace typedef REGISTRY_OPS by struct registry_opsMichael Adam1-1/+1
Michael
2009-04-23samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:Jelmer Vernooij2-17/+40
* ldb_dn_new() now takes an initial DN string * ldb_dn_string_compose() -> ldb_dn_new_fmt() * dummy ldb_dn_validate(), since LDB DNs in the current implementation are always valid if they could be created.
2009-04-23ldb/samba3: Support event context argument to ldb_init().Jelmer Vernooij8-9/+14
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
2009-04-23charcnv: Import push_codepoint().Jelmer Vernooij1-0/+61
2009-04-23Fix a couple of warningsVolker Lendecke1-1/+1
2009-04-23Fix a type-punned warningVolker Lendecke1-1/+1
2009-04-23Fix Coverity ID 884: DEADCODEVolker Lendecke1-3/+4
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