summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-04Re-Indent function ldap_open_with_timeout().Michael Adam1-1/+1
This reverts commit #cafda34783f0961c9b463803c19cfcb69f836e3f . I just learned (the hard way) that these indeted functions are not indented by accident but that the intention of this is to not include the prototype into proto.h. Michael (This used to be commit 2e5d01b2146bb9e057b2779d9fe7691ed46d9f45)
2008-01-04Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-6/+13
v3-2-test (This used to be commit 3a62a177ba758b325ab98e9d77d302bc382e0df8)
2008-01-04Fix the build.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 25a0084af5978cc11cf4e83a641bc57e0e64eb89)
2008-01-04Add a debug message (when the LDAP server has really been connected).Michael Adam1-0/+1
Michael (This used to be commit 7d9d2de39072b3291b95ac3965df0d19f83792b9)
2008-01-04Untangle assignment and result check.Michael Adam1-3/+3
Michael (This used to be commit 465a3b356cffb855e26569d3752f15cac07208c0)
2008-01-04Enhance DEBUG-verbosity of ldap_open_with_timeout().Michael Adam1-1/+7
Michael (This used to be commit 9e70d1f24dd304c363a1bde97b5af618b46edc49)
2008-01-04Unindent function header.Michael Adam1-1/+1
Michael (This used to be commit cafda34783f0961c9b463803c19cfcb69f836e3f)
2008-01-04Fix a misleading DEBUG message.Michael Adam1-1/+1
At this stage, the (tcp) connection to the LDAP server has not been established, this is what is about to be attempted. What has been succesfully done, is a CLDAP netlogon query. Michael (This used to be commit 71c3c8ad4c92c5f6267b84ee1d207e5e49e9a4ec)
2008-01-04Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-1/+1
v3-2-test (This used to be commit 16224e8f4f22a8db0ed278d741a7706967f55335)
2008-01-04Refactor the crypto code after a very helpful conversationJeremy Allison25-359/+410
with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
2008-01-04Fix a DEBUG statement.Michael Adam1-1/+1
Michael (This used to be commit 18360b852c662d933ceff9854725f878a5de9a7d)
2008-01-04Fix spacing - spaces mixed with tabs.Michael Adam1-8/+8
Michael (This used to be commit a4ef828102417f04af1e9823c89404e77e4fd5c1)
2008-01-04Fix a comment.Michael Adam1-1/+1
Michael (This used to be commit fc9c3f39b5af55026f1e5e964857c203cf6c9316)
2008-01-04Remove the word "registry" from the help output of the "net conf" command.Michael Adam1-7/+6
Michael (This used to be commit 8d9e3e08f3cc6a1f54661d1e54a3902ad50be191)
2008-01-04Update the introductory comment to net_conf.c to mention linbet_conf.Michael Adam1-3/+7
Michael (This used to be commit e166b886375b450534c894676ab1f64571dd46b8)
2008-01-04Fix the inherited trust flags when spidering the trust heirarchy.Gerald (Jerry) Carter2-3/+19
Also *do not* clear the trust list when rescanning or else it is possible to suffer from a race condition where no trusted domains can be found. (This used to be commit e7164a252bf213a74d6eeac5aa04645eed5be241)
2008-01-04Add a missing check for dealing with a one-way trust in query_user().Gerald (Jerry) Carter1-0/+6
(This used to be commit f89e356bdaa203ef0a3ce6b8bd52170afa68a2c9)
2008-01-04Ensure that winbindd_getgroups() can deal with a UPN name.Gerald (Jerry) Carter1-1/+10
A user logging in via GDM was not getting a complete list of supplementary groups in his/her token. This is because getgroup() was not able to find the winbindd_domain* using the DNS name. Fallback to matching the DNS name is the short name match failes. (This used to be commit 2030a8de19a2c7c735a8aa367dd953e4a5c447b8)
2008-01-04When connecting to an AD DC, use the DsGetDCName variant.Gerald (Jerry) Carter1-2/+36
This allows us to deal with child domains in transitive forest trusts. It also allows us to fill in the forest name to the target domain to the struct winbindd_domain *. (This used to be commit ed30516bb0f55f9ba466debf91b6e33d1c28a484)
2008-01-04Map WERR_NO_SUCH_SERVICE with dos_errstr().Michael Adam1-0/+1
Michael (This used to be commit df5839b5376e903486982ddc7c4f4fbd4550c60a)
2008-01-04Remove the final regdb_close() from net_conf.cMichael Adam1-2/+0
This is to hide the registry from net_conf. Right now, it does not harm if "net conf" does not close the registry file explicitly just before exiting. I am working out a proper way of handling open/close operations transparently in the libnet_conf library. Michael (This used to be commit 790ef789444945fbae5637f0b469665859171dcd)
2008-01-04Fix the behaviour of "net conf setparm" to create the share if necessary.Michael Adam1-0/+9
This moves functionality taken away from libnet_conf_set_parameter() to the higher level user frontend function. (Somehow I thought I had done this already ... :-) Michael (This used to be commit fc0fca980f08a0af65d82784ef5a50a7b1ac0927)
2008-01-04Fix build warning.Günther Deschner1-1/+0
Guenther (This used to be commit a43125d9e9052fab8eb561976f45d1db4622482e)
2008-01-04Rename server_name to dc_name in libnet join structures.Günther Deschner3-10/+15
Guenther (This used to be commit ff5e15b1ba0d5c39ceef9f9995c107e510162564)
2008-01-04Separate out storing and removing secrets in libnet_join/unjoin.Günther Deschner1-31/+45
Guenther (This used to be commit b59ca2d9c3375c0d0b9f585e48d718689586bb92)
2008-01-04In libnet_join finally separate the admin from the machine pwd entirely.Günther Deschner3-21/+24
Guenther (This used to be commit d88bb94f0ef00ddbb48498797bd11448e0d74645)
2008-01-04Use the proper boolean constants.Michael Adam1-9/+9
Michael (This used to be commit 2ba625e473e8eb23d692566d32a8ac965785df4e)
2008-01-04Add debug switch to netdomjoin.Günther Deschner1-2/+10
Guenther (This used to be commit 2b221708c07967bccd68e8c7983791b4628405bb)
2008-01-04Minor cosmetic cleanup for netdomjoin-gui.Günther Deschner2-18/+37
Guenther (This used to be commit 02e3887f3962b469c965110b6141a6655f2347af)
2008-01-04Fix crash bug in regdb_close() when called with no ref count.Günther Deschner1-0/+4
Michael, please check. Guenther (This used to be commit d6575ff5d240ec431b6e837494913dbd06e5a299)
2008-01-04Fix some error strings in netdomjoin-gui.Günther Deschner1-12/+31
Guenther (This used to be commit aaea8f1ed744e9662f92a3840d86ad1aff943d18)
2008-01-04Robustness fix for libnet join when unjoining.Günther Deschner1-4/+5
Guenther (This used to be commit d7f01d940feb7dfedb6c4b8b88f5443434e03428)
2008-01-03Add ads_get_joinable_ous().Günther Deschner2-0/+64
Guenther (This used to be commit 5bbceac88159ef6ff83d9cc62c77c7af2116967d)
2008-01-03Use different error code for libnet_conf initialization failure.Günther Deschner1-2/+1
Guenther (This used to be commit 65537eae842065a1dd68d8e532e61502b61e1dbe)
2008-01-03Minor libnetapi join cosmetic cleanup.Günther Deschner1-3/+3
Guenther (This used to be commit 4deef80bed374af5032c0f3081d2ee3c70be99df)
2008-01-03Add some more join related werror codes.Günther Deschner2-0/+5
Guenther (This used to be commit 62e7d467ab1b2f98327960eec3a3a925b2f04bda)
2008-01-03Make libnet_conf handle opening/initialization of the registry.Michael Adam2-5/+32
Open state is currently tracked by a global variable to avoid double initialization. Later, this can possibly be replaced by a conf-context created by an initialization function and passed around to the other api functions. Michael (This used to be commit 77713e776405800ac54c692a77cd4efd153042cb)
2008-01-03Add a comment header and do some slight reformatting.Michael Adam1-5/+7
Michael (This used to be commit 5d557e3f95b8d53114c25ba7fa3e564a50be9e05)
2008-01-03Use GLOBAL_NAME constant.Michael Adam1-1/+1
Michael (This used to be commit 4c404d627ccfaf1c17f4b6b1ebab6fce357d9ab1)
2008-01-03Rename libnet_smbconf_set_global_param() to libnet_conf_set_global_parameter().Michael Adam3-13/+13
Now all functions are converted to the consistent naming scheme. Michael (This used to be commit a559533c0c8a80f3f4078bbc2675de395359485f)
2008-01-03Rename libnet_smbconf_delparm() to libnet_conf_delete_parameter().Michael Adam3-4/+3
Michael (This used to be commit 073eeca51e46da6a687175aadbfdbb9e029532d6)
2008-01-03Rename libnet_smbconf_getparm() to libnet_conf_get_parameter().Michael Adam2-5/+5
Michael (This used to be commit d08556dbc7071933feaeec538f01ac8f6a637b1d)
2008-01-03Rename libnet_smbconf_setparm() to libnet_conf_set_parameter().Michael Adam2-12/+12
Michael (This used to be commit e00cb415d30b3e72ccfb7e5c366c95ec0f9c6247)
2008-01-03Rename libnet_smbconf_delshare() to libnet_conf_delete_share().Michael Adam2-3/+3
Michael (This used to be commit 2075baf551ca7fc6bcee6b93f63fd7fbf75f9a50)
2008-01-03Rename libnet_smbconf_getshare() to libnet_conf_get_share().Michael Adam2-9/+9
Michael (This used to be commit 1575612f1936312125e7778a9a4227e444ea36cf)
2008-01-03Rename libnet_smbconf_create_share() to libnet_conf_create_share().Michael Adam2-2/+2
Michael (This used to be commit 6bc4ee210855dbfbee9e86b59e90b08ecb3a9df9)
2008-01-03Rename libnet_smbconf_share_exists() to libnet_conf_share_exists().Michael Adam2-8/+8
Michael (This used to be commit 3258758e5c8dfc2c681e1285cb34aaacae697a55)
2008-01-03Rename libnet_smbconf_get_share_names() to libnet_conf_get_share_names().Michael Adam2-5/+5
Michael (This used to be commit 2e4beee66b3672c3259b312aca3d482598731119)
2008-01-03Rename libnet_smbconf_get_config() to libnet_conf_get_config().Michael Adam2-6/+6
Michael (This used to be commit e8f7c07699b5b93acd81b24bca908769f0b5e8d8)
2008-01-03Rename libnet_smbconf_drop() to libnet_conf_drop().Michael Adam2-2/+2
Michael (This used to be commit 42ae33a96228e916d7d530d844be6937a80d4fea)